##// END OF EJS Templates
Aligned expanded sumarry box content better and moved comments as last column
Liviu -
r3639:7ee2e326 new-ui
parent child Browse files
Show More
@@ -1065,7 +1065,7 b' label {'
1065 1065 }
1066 1066
1067 1067 .flag_status {
1068 margin: 2px 8px 6px 2px;
1068 margin: 2px;
1069 1069 &.under_review {
1070 1070 .circle(5px, @alert3);
1071 1071 }
@@ -67,12 +67,12 b''
67 67 height: 30px;
68 68 margin: 0;
69 69 padding: 0;
70 width: 100px;
70 width: 130px;
71 71 font-weight: @text-semibold-weight;
72 72 font-family: @text-semibold;
73 73 }
74 74 .left-clone select {
75 width: 100px;
75 width: 130px;
76 76 margin-right: 0;
77 77 background-color: @grey7;
78 78 border-color: @grey4;
@@ -83,7 +83,7 b''
83 83
84 84 .right-clone {
85 85 float: left;
86 width: ~"calc(100% - 150px)";
86 width: ~"calc(100% - 170px)";
87 87
88 88 .clipboard-action {
89 89 margin-left: -30px;
@@ -91,7 +91,7 b''
91 91 }
92 92
93 93 .clone_url_input {
94 width: ~"calc(100% - 70px)";
94 width: ~"calc(100% - 90px)";
95 95 padding: 6px 30px 6px 10px;
96 96 height: 14px;
97 97 box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
@@ -209,6 +209,13 b''
209 209 p {
210 210 margin-bottom: 5px;
211 211 color: @grey1;
212 float: left;
213 width: 130px;
214 }
215
216 .right-label-summary {
217 float: left;
218 margin-top: 7px;
212 219 }
213 220 }
214 221
@@ -396,7 +403,7 b''
396 403 }
397 404
398 405 td.td-status {
399 padding-left: 10px;
406 padding: 0 0 0 10px;
400 407 }
401 408 }
402 409
@@ -145,7 +145,7 b''
145 145 <div class="left-label-summary">
146 146 <p>${_('Repository size')}</p>
147 147
148 <div class="commit-info">
148 <div class="right-label-summary">
149 149 <div class="tags">
150 150 ## repo size
151 151 % if commit_rev == -1:
@@ -167,7 +167,7 b''
167 167 <div class="left-label-summary">
168 168 <p>${_('Description')}</p>
169 169
170 <div class="input ${summary(c.show_stats)}">
170 <div class="right-label-summary input ${summary(c.show_stats)}">
171 171 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
172 172 ${dt.repo_desc(c.rhodecode_db_repo.description_safe, c.visual.stylify_metatags)}
173 173 </div>
@@ -179,7 +179,7 b''
179 179 <div class="left-label-summary">
180 180 <p>${_('Downloads')}</p>
181 181
182 <div class="input ${summary(c.show_stats)} downloads">
182 <div class="right-label-summary input ${summary(c.show_stats)} downloads">
183 183 % if c.rhodecode_repo and len(c.rhodecode_repo.commit_ids) == 0:
184 184 <span class="disabled">
185 185 ${_('There are no downloads yet')}
@@ -210,7 +210,7 b''
210 210 <div class="left-label-summary">
211 211 <p>${_('Statistics')}</p>
212 212
213 <div class="input ${summary(c.show_stats)} statistics">
213 <div class="right-label-summary input ${summary(c.show_stats)} statistics">
214 214 % if c.show_stats:
215 215 <div id="lang_stats" class="enabled">
216 216 ${_('Calculating Code Statistics...')}
@@ -231,7 +231,7 b''
231 231 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
232 232 <div class="left-label-summary">
233 233 <p>${_('Owner')}</p>
234 <div class="">
234 <div class="right-label-summary">
235 235 ${base.gravatar_with_user(c.rhodecode_db_repo.user.email, 16)}
236 236 </div>
237 237
@@ -4,12 +4,12 b''
4 4 <table class="rctable repo_summary table_disp">
5 5 <tr>
6 6
7 <th class="status" colspan="2"></th>
7 <th class="status"></th>
8 8 <th>${_('Commit')}</th>
9 9 <th>${_('Commit message')}</th>
10 10 <th>${_('Age')}</th>
11 11 <th>${_('Author')}</th>
12 <th>${_('Refs')}</th>
12 <th colspan="2">${_('Refs')}</th>
13 13 </tr>
14 14
15 15 ## to speed up lookups cache some functions before the loop
@@ -37,13 +37,6 b''
37 37 <div class="tooltip flag_status not_reviewed" title="${_('Commit status: Not Reviewed')}"></div>
38 38 %endif
39 39 </td>
40 <td class="td-comments">
41 %if c.comments.get(cs.raw_id,[]):
42 <a title="${_('Commit has comments')}" href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=cs.raw_id,_anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
43 <i class="icon-comment"></i> ${len(c.comments[cs.raw_id])}
44 </a>
45 %endif
46 </td>
47 40 <td class="td-commit">
48 41 <code>
49 42 <a href="${h.route_path('repo_commit', repo_name=c.repo_name, commit_id=cs.raw_id)}">${h.show_id(cs)}</a>
@@ -88,6 +81,13 b''
88 81 %endif
89 82 </div>
90 83 </td>
84 <td class="td-comments">
85 %if c.comments.get(cs.raw_id,[]):
86 <a title="${_('Commit has comments')}" href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=cs.raw_id,_anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
87 <i class="icon-comment"></i> ${len(c.comments[cs.raw_id])}
88 </a>
89 %endif
90 </td>
91 91 </tr>
92 92 %endfor
93 93
General Comments 0
You need to be logged in to leave comments. Login now