##// 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 .flag_status {
1067 .flag_status {
1068 margin: 2px 8px 6px 2px;
1068 margin: 2px;
1069 &.under_review {
1069 &.under_review {
1070 .circle(5px, @alert3);
1070 .circle(5px, @alert3);
1071 }
1071 }
@@ -67,12 +67,12 b''
67 height: 30px;
67 height: 30px;
68 margin: 0;
68 margin: 0;
69 padding: 0;
69 padding: 0;
70 width: 100px;
70 width: 130px;
71 font-weight: @text-semibold-weight;
71 font-weight: @text-semibold-weight;
72 font-family: @text-semibold;
72 font-family: @text-semibold;
73 }
73 }
74 .left-clone select {
74 .left-clone select {
75 width: 100px;
75 width: 130px;
76 margin-right: 0;
76 margin-right: 0;
77 background-color: @grey7;
77 background-color: @grey7;
78 border-color: @grey4;
78 border-color: @grey4;
@@ -83,7 +83,7 b''
83
83
84 .right-clone {
84 .right-clone {
85 float: left;
85 float: left;
86 width: ~"calc(100% - 150px)";
86 width: ~"calc(100% - 170px)";
87
87
88 .clipboard-action {
88 .clipboard-action {
89 margin-left: -30px;
89 margin-left: -30px;
@@ -91,7 +91,7 b''
91 }
91 }
92
92
93 .clone_url_input {
93 .clone_url_input {
94 width: ~"calc(100% - 70px)";
94 width: ~"calc(100% - 90px)";
95 padding: 6px 30px 6px 10px;
95 padding: 6px 30px 6px 10px;
96 height: 14px;
96 height: 14px;
97 box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
97 box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07);
@@ -209,6 +209,13 b''
209 p {
209 p {
210 margin-bottom: 5px;
210 margin-bottom: 5px;
211 color: @grey1;
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 td.td-status {
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 <div class="left-label-summary">
145 <div class="left-label-summary">
146 <p>${_('Repository size')}</p>
146 <p>${_('Repository size')}</p>
147
147
148 <div class="commit-info">
148 <div class="right-label-summary">
149 <div class="tags">
149 <div class="tags">
150 ## repo size
150 ## repo size
151 % if commit_rev == -1:
151 % if commit_rev == -1:
@@ -167,7 +167,7 b''
167 <div class="left-label-summary">
167 <div class="left-label-summary">
168 <p>${_('Description')}</p>
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 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
171 <%namespace name="dt" file="/data_table/_dt_elements.mako"/>
172 ${dt.repo_desc(c.rhodecode_db_repo.description_safe, c.visual.stylify_metatags)}
172 ${dt.repo_desc(c.rhodecode_db_repo.description_safe, c.visual.stylify_metatags)}
173 </div>
173 </div>
@@ -179,7 +179,7 b''
179 <div class="left-label-summary">
179 <div class="left-label-summary">
180 <p>${_('Downloads')}</p>
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 % if c.rhodecode_repo and len(c.rhodecode_repo.commit_ids) == 0:
183 % if c.rhodecode_repo and len(c.rhodecode_repo.commit_ids) == 0:
184 <span class="disabled">
184 <span class="disabled">
185 ${_('There are no downloads yet')}
185 ${_('There are no downloads yet')}
@@ -210,7 +210,7 b''
210 <div class="left-label-summary">
210 <div class="left-label-summary">
211 <p>${_('Statistics')}</p>
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 % if c.show_stats:
214 % if c.show_stats:
215 <div id="lang_stats" class="enabled">
215 <div id="lang_stats" class="enabled">
216 ${_('Calculating Code Statistics...')}
216 ${_('Calculating Code Statistics...')}
@@ -231,7 +231,7 b''
231 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
231 <div class="fieldset collapsable-content" data-toggle="summary-details" style="display: none;">
232 <div class="left-label-summary">
232 <div class="left-label-summary">
233 <p>${_('Owner')}</p>
233 <p>${_('Owner')}</p>
234 <div class="">
234 <div class="right-label-summary">
235 ${base.gravatar_with_user(c.rhodecode_db_repo.user.email, 16)}
235 ${base.gravatar_with_user(c.rhodecode_db_repo.user.email, 16)}
236 </div>
236 </div>
237
237
@@ -4,12 +4,12 b''
4 <table class="rctable repo_summary table_disp">
4 <table class="rctable repo_summary table_disp">
5 <tr>
5 <tr>
6
6
7 <th class="status" colspan="2"></th>
7 <th class="status"></th>
8 <th>${_('Commit')}</th>
8 <th>${_('Commit')}</th>
9 <th>${_('Commit message')}</th>
9 <th>${_('Commit message')}</th>
10 <th>${_('Age')}</th>
10 <th>${_('Age')}</th>
11 <th>${_('Author')}</th>
11 <th>${_('Author')}</th>
12 <th>${_('Refs')}</th>
12 <th colspan="2">${_('Refs')}</th>
13 </tr>
13 </tr>
14
14
15 ## to speed up lookups cache some functions before the loop
15 ## to speed up lookups cache some functions before the loop
@@ -37,13 +37,6 b''
37 <div class="tooltip flag_status not_reviewed" title="${_('Commit status: Not Reviewed')}"></div>
37 <div class="tooltip flag_status not_reviewed" title="${_('Commit status: Not Reviewed')}"></div>
38 %endif
38 %endif
39 </td>
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 <td class="td-commit">
40 <td class="td-commit">
48 <code>
41 <code>
49 <a href="${h.route_path('repo_commit', repo_name=c.repo_name, commit_id=cs.raw_id)}">${h.show_id(cs)}</a>
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 %endif
81 %endif
89 </div>
82 </div>
90 </td>
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 </tr>
91 </tr>
92 %endfor
92 %endfor
93
93
General Comments 0
You need to be logged in to leave comments. Login now