Showing 1 changed files with 1 additions and 119 deletions
+1 -119
templates/compare.html.ep
... ...
@@ -9,7 +9,6 @@
9 9
   my $rev1 = param('rev1');
10 10
   my $rev2 = param('rev2');
11 11
   my $page = param('page') || 0;
12
-  my $root_ns = $api->root_ns(config->{root});
13 12
   
14 13
   # Git
15 14
   my $git = $self->app->git;
... ...
@@ -57,124 +56,7 @@
57 56
 %>
58 57
 
59 58
 % layout 'common';
60
-  %= include '/css/common';
61
-  
62
-  %= stylesheet begin
63
-    /* Title */
64
-    h2 {
65
-      font-size:150%;
66
-      padding-bottom:5px;
67
-    }
68
-    
69
-    /* Compare header */
70
-    .compare_header {
71
-      border-bottom:1px solid #ccc;
72
-      padding-bottom:10px;
73
-      margin-bottom:10px;
74
-      overflow:hidden;
75
-    }
76
-    .compare_header .cdate {
77
-      color:#999;
78
-      float:left;
79
-    }
80
-    .compare_header .ctarget {
81
-      float:right;
82
-    }
83
-    
84
-    /* Compare tabs */
85
-    .compare_tabs {
86
-      margin-top:7px;
87
-      margin-bottom:10px;
88
-      height:30px;
89
-      overflow:hidden;
90
-    }
91
-    .compare_tabs .ctop {
92
-      text-align:right;
93
-      overflow:hidden;
94
-      height:27px;
95
-    }
96
-    .compare_tabs .ctop li {
97
-      float:left;
98
-      padding:5px 10px;
99
-      height:27px;
100
-    }
101
-    .compare_tabs .cbottom {
102
-      border-top:1px solid #E5E5E5;
103
-      margin-top:-1px;
104
-    }
105
-    .compare_tabs a {
106
-      color:#666;
107
-    }
108
-    .compare_tabs .ccount {
109
-      display:inline-block;
110
-      font-weight:normal;
111
-      border:1px solid #CCC;
112
-      background-color:#EEE;
113
-      padding:2px;
114
-      padding-left:5px;
115
-      padding-right:5px;
116
-      border-radius:9px;
117
-      font-size:75%;
118
-    }
119
-    
120
-    .compare_tabs .ccommits {
121
-      border:1px solid #E5E5E5;
122
-      border-bottom:none;
123
-      background-color:white;
124
-      font-weight:bold;
125
-    }
126
-    .compare_tabs .ccommits a {
127
-      color:#333;
128
-    }
129
-    
130
-    /* Commits number */
131
-    .commits_number {
132
-      color:#333;
133
-      padding-bottom:10px;
134
-    }
135
-    
136
-    /* Commits header */
137
-    .commits {
138
-      margin-bottom:15px;
139
-    }
140
-    .commits .cdate {
141
-      background-color:#F3F3F3;
142
-      border:1px solid #ccc;
143
-      padding:7px;
144
-    }
145
-    .commits .cbody  {
146
-      width:100%;
147
-      text-align:left;
148
-    }
149
-    .commits .crecord {
150
-      border:1px solid #ccc;
151
-      border-top:none;
152
-    }
153
-    .commits td {
154
-      padding:7px;
155
-    }
156
-    .commits .cauthor {
157
-      width:80px;
158
-    }
159
-    .commits .ccomment {
160
-      
161
-    }
162
-    .commits .ccomment a {
163
-      color:#999;
164
-    }
165
-    .commits .cid {
166
-      width:1%;
167
-    }
168
-    .commits .cid a {
169
-      color:#4183C4;
170
-    }
171
-    
172
-    /* Files changed */
173
-    .files_changed_panel {
174
-      display:none;
175
-    }
176
-  % end
177
-  
59
+
178 60
   %= javascript begin
179 61
     $(document).ready(function () {
180 62
       $('#compare-tab a').on('click', function () {