Showing 2 changed files with 28 additions and 15 deletions
+3
templates/layouts/common.html.ep
... ...
@@ -65,6 +65,9 @@
65 65
       }
66 66
       
67 67
       /* Border */
68
+      .border-bottom-none {
69
+        border-bottom:none;
70
+      }
68 71
       .border-gray {
69 72
         border:1px solid #ccc;
70 73
       }
+25 -15
templates/main/commits.html.ep
... ...
@@ -43,33 +43,39 @@
43 43
     
44 44
     %= include '/include/code_menu', display => 'commits';
45 45
         
46
-    <div style="font-weight:bold;margin-bottom:5px">
47
-      % if (defined $blob) {
48
-        History for
49
-        %= include '/include/page_path', type => 'blob', Path => $blob, operation => 'commits';
50
-      % } else {
51
-        <a class="ubar" href="<%= url_for("/$user/$project") %>">
52
-          <%= $project %>
53
-        </a>
54
-        /
55
-        Commit History
56
-      % }
46
+    <div>
47
+      <b>
48
+        % if (defined $blob) {
49
+          History for
50
+          %= include '/include/page_path', type => 'blob', Path => $blob, operation => 'commits';
51
+        % } else {
52
+          <a class="ubar" href="<%= url_for("/$user/$project") %>">
53
+            <%= $project %>
54
+          </a>
55
+          /
56
+          Commit History
57
+        % }
58
+      </b>
57 59
     </div>
58 60
 
61
+    <div class="vspace5"></div>
62
+
59 63
     % for my $date (reverse sort keys %$commits_date) {
60
-      <div style="padding-bottom:20px">
64
+      <div>
61 65
         % my $commits = $commits_date->{$date};
62 66
         
63 67
         <div class="row">
64
-          <div class="span12 padding-default bk-blue-light border-top-gray border-3-gray">
68
+          <div class="span12 vpadding5 bk-blue-light border-top-gray border-3-gray">
69
+            <div class="space5"></div>
65 70
             <b><%= $date %></b>
66 71
           </div>
67 72
         </div>
68 73
         % for my $commit (sort {$a->{author_epoch} <=> $b->{author_epoch}} @$commits) {
69 74
           <div class="row">
70
-            <div class="span12 padding-default border-3-gray" style="padding-bottom:0;border-bottom:none">
75
+            <div class="span12 vpadding5 border-3-gray" style="padding-bottom:0;border-bottom:none">
71 76
               <div class="row">
72 77
                 <div class="span8">
78
+                  <div class="space5"></div>
73 79
                   <a class="font-black" href="<%= url_for("/$user/$project/commit/$commit->{id}") %>">
74 80
                     <b><%= $commit->{title_short} %></b>
75 81
                   </a>
... ...
@@ -78,25 +84,29 @@
78 84
                   <a href="<%= url_for("/$user/$project/commit/$commit->{id}") %>">
79 85
                     <%= substr($commit->{id}, 0, 10) %>
80 86
                   </a>
87
+                  <div class="space5"></div>
81 88
                 </div>
82 89
               </div>
83 90
             </div>
84 91
           </div>
85 92
           <div class="row">
86
-            <div class="span12 padding-default border-3-gray">
93
+            <div class="span12 vpadding5 border-3-gray">
87 94
               <div class="row">
88 95
                 <div class="span8 muted">
96
+                  <div class="space5"></div>
89 97
                   yuki-kimoto authored 7 days ago
90 98
                 </div>
91 99
                 <div class="span4 text-right">
92 100
                   <a href="<%= url_for("/$user/$project/commit/$commit->{id}") %>">
93 101
                     Browse code
94 102
                   </a>
103
+                  <div class="space5"></div>
95 104
                 </div>
96 105
               </div>
97 106
             </div>
98 107
           </div>
99 108
         % }
109
+        <div class="vspace20"></div>
100 110
       </div>
101 111
     % }
102 112