Showing 1 changed files with 25 additions and 85 deletions
+25 -85
templates/main/projects.html.ep
... ...
@@ -7,95 +7,35 @@
7 7
 %>
8 8
 
9 9
 % layout 'common';
10
-  %= include '/css/common';
11 10
   %= include '/include/header', title => 'Project';
12
-  
13
-  %= stylesheet begin
14
-    /* Projects */
15
-    .projects {
16
-      overflow:hidden;
17
-      padding:20px;
18
-    }
19
-    
20
-    /* User */
21
-    .projects .puser {
22
-      font-size:180%;
23
-      margin-bottom:10px;
24
-      float:left;
25
-      width:150px;
26
-    }
27
-    
28
-    /* Projects */
29
-    .projects .pright {
30
-      float:left;
31
-      width:650px;
32
-    }
33
-    .projects .prepostiory {
34
-      background-color:white;
35
-      border:1px solid #ccc;
36
-      border-bottom:none;
37
-      width:150px;
38
-      text-align:center;
39
-      padding:5px;
40
-      font-weight:bold;
41
-      position: relative;
42
-      z-index:1;
43
-      border-top-left-radius:3px;
44
-      border-top-right-radius:3px;
45
-    }
46
-    .projects .propository_bottom {
47
-      border-top:1px solid #ccc;
48
-      margin-top:-1px;
49
-      position: relative;
50
-      z-index:0;
51
-    }
52
-    .projects .pproject {
53
-      border-bottom:1px solid #ccc;
54
-      padding:10px;
55
-    }
56
-    .projects .pname {
57
-      font-weight:bold;
58
-      font-size:150%;
59
-      margin-bottom:2px;
60
-      padding:5px;
61
-    }
62
-    .projects .pdescription {
63
-      margin-bottom:5px;
64
-      padding-left:5px;
65
-    }
66
-    .projects .pdate {
67
-      font-size:90%;
68
-      margin-bottom:5px;
69
-      padding-left:5px;
70
-      color:#999;
71
-    }
72
-    .projects a {
73
-      color:#4183C4;
74
-    }
75
-  % end
76
-  
77
-  <div class="main_panel">
78
-    <div class="projects">
79
-      <div class="puser"><%= $user %></div>
80
-      <div class="pright">
81
-        <div class="prepostiory">Repositories</div>
82
-        <div class="propository_bottom"></div>
83
-        
11
+
12
+  <div class="container">
13
+    <div>
14
+      <ul class="breadcrumb" style="margin-top:10px">
15
+        <li><a href="<%= url_for('/') %>">Home</a></li>
16
+        /
17
+        <li><a href="<%= url_for %>"><%= $user %></a></li>
18
+      </ul>
19
+
20
+      <h3>Repositories</h3>
21
+      
22
+      <table class="table">
84 23
         % for my $rep (@$reps) {
85
-          % my $pname = $rep->{name};
86
-          <div class="pproject">
87
-            <div class="pname">
88
-              <a class="ubar" href="<%= url_for("/$user/$pname") %>">
89
-                <%= $rep->{name} %>
90
-              </a>
91
-            </div>
92
-            <div class="pdescription">
93
-              <%= $rep->{descr} %>
24
+          <tr>
25
+            % my $pname = $rep->{name};
26
+              <td>
27
+                <a href="<%= url_for("/$user/$pname") %>">
28
+                  <%= $rep->{name} %>
29
+                </a>
30
+              </td>
31
+              <td>
32
+                <%= $rep->{descr} %>
33
+              </td>
34
+              <td>last updated <%= $rep->{age_string} %></td>
94 35
             </div>
95
-            <div class="pdate">last updated <%= $rep->{age_string} %></div>
96
-          </div>
36
+          </tr>
97 37
         % }
98
-      </div>
38
+      </table>
99 39
     </div>
100 40
   </div>
101 41
   %= include '/include/footer';