##// END OF EJS Templates
ui: fixed commits page details
marcink -
r3771:c26fb0fb new-ui
parent child Browse files
Show More
@@ -996,7 +996,7 b' label {'
996 #graph_nodes {
996 #graph_nodes {
997 width: 100px;
997 width: 100px;
998 position: absolute;
998 position: absolute;
999 left: 120px;
999 left: 70px;
1000 z-index: -1;
1000 z-index: -1;
1001 }
1001 }
1002 }
1002 }
@@ -119,7 +119,9 b' table.dataTable {'
119 }
119 }
120
120
121 &.td-graphbox {
121 &.td-graphbox {
122 width: 140px;
122 width: 100px;
123 max-width: 100px;
124 min-width: 100px;
123 }
125 }
124
126
125 &.td-time {
127 &.td-time {
@@ -433,6 +435,9 b' table.trending_language_tbl {'
433
435
434 // Changesets
436 // Changesets
435 #changesets.rctable {
437 #changesets.rctable {
438 th {
439 padding: 0 1em 0.65em 0;
440 }
436
441
437 // td must be fixed height for graph
442 // td must be fixed height for graph
438 td {
443 td {
@@ -98,9 +98,9 b' var CommitsController = function () {'
98
98
99 this.setLabelText(edgeData);
99 this.setLabelText(edgeData);
100
100
101 var padding = 98;
101 var padding = 90;
102 if (prev_link) {
102 if (prev_link) {
103 padding += 32;
103 padding += 34;
104
104
105 }
105 }
106 $('#graph_nodes').css({'padding-top': padding});
106 $('#graph_nodes').css({'padding-top': padding});
@@ -110,11 +110,6 b''
110 <div class="btn btn-sm disabled" disabled="disabled" id="rev_range_more" style="display:none;">${_('Select second commit')}</div>
110 <div class="btn btn-sm disabled" disabled="disabled" id="rev_range_more" style="display:none;">${_('Select second commit')}</div>
111 <a href="#" class="btn btn-success btn-sm" id="rev_range_container" style="display:none;"></a>
111 <a href="#" class="btn btn-success btn-sm" id="rev_range_container" style="display:none;"></a>
112 </th>
112 </th>
113 ## graph
114
115 ## review box
116
117 <th>${_('Commit')}</th>
118
113
119 ## commit message expand arrow
114 ## commit message expand arrow
120 <th></th>
115 <th></th>
@@ -184,8 +179,12 b''
184
179
185 var lbl_start = 'r{0}:{1}'.format(commitStart.commitIdx, commitStart.commitId.substr(0,6));
180 var lbl_start = 'r{0}:{1}'.format(commitStart.commitIdx, commitStart.commitId.substr(0,6));
186 var lbl_end = 'r{0}:{1}'.format(commitEnd.commitIdx, commitEnd.commitId.substr(0,6));
181 var lbl_end = 'r{0}:{1}'.format(commitEnd.commitIdx, commitEnd.commitId.substr(0,6));
182
183 var lbl_start = '{0}'.format(commitStart.commitId.substr(0,6));
184 var lbl_end = '{0}'.format(commitEnd.commitId.substr(0,6));
185
187 var url = pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}', 'commit_id': revStart+'...'+revEnd});
186 var url = pyroutes.url('repo_commit', {'repo_name': '${c.repo_name}', 'commit_id': revStart+'...'+revEnd});
188 var link = _gettext('Show selected commits {0} ... {1}').format(lbl_start, lbl_end);
187 var link = _gettext('Show commit range {0} ... {1}').format(lbl_start, lbl_end);
189
188
190 if (selectedCheckboxes.length > 1) {
189 if (selectedCheckboxes.length > 1) {
191 $commitRangeClear.show();
190 $commitRangeClear.show();
@@ -3,7 +3,7 b''
3
3
4 % if c.prev_page:
4 % if c.prev_page:
5 <tr>
5 <tr>
6 <td colspan="9" class="load-more-commits">
6 <td colspan="10" class="load-more-commits">
7 <a class="prev-commits" href="#loadPrevCommits" onclick="commitsController.loadPrev(this, ${c.prev_page}, '${c.branch_name}', '${c.commit_id}', '${c.f_path}');return false">
7 <a class="prev-commits" href="#loadPrevCommits" onclick="commitsController.loadPrev(this, ${c.prev_page}, '${c.branch_name}', '${c.commit_id}', '${c.f_path}');return false">
8 ${_('load previous')}
8 ${_('load previous')}
9 </a>
9 </a>
General Comments 0
You need to be logged in to leave comments. Login now