pull-requests: fixed small UI glitches in pull request view.
marcink -
r4291:a3f90209 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -265,7 +265,7
265 .btn-action-switcher-container{
265 .btn-action-switcher-container{
266 position: absolute;
266 position: absolute;
267 top: 30px;
267 top: 30px;
268 left: 0px;
268 left: -82px;
269 }
269 }
270
270
271 .btn-action-switcher {
271 .btn-action-switcher {
@@ -378,7 +378,9
378 background-color: transparent;
378 background-color: transparent;
379 border: none;
379 border: none;
380 }
380 }
381 .noselect
381 }
382 }
383
382 .grid_delete {
384 .grid_delete {
383 .action_button {
385 .action_button {
384 border: none;
386 border: none;
@@ -419,8 +419,8
419 }
419 }
420
420
421 .pr-title-input {
421 .pr-title-input {
422 width: 80%;
422 width: 100%;
423 font-size: 1em;
423 font-size: 18px;
424 margin: 0 0 4px 0;
424 margin: 0 0 4px 0;
425 padding: 0;
425 padding: 0;
426 line-height: 1.7em;
426 line-height: 1.7em;
@@ -440,6 +440,7
440 color: black;
440 color: black;
441 opacity: 1;
441 opacity: 1;
442 background: #fff;
442 background: #fff;
443 font-size: 18px;
443 }
444 }
444 }
445 }
445
446
@@ -1483,10 +1484,16
1483 border-bottom: @border-thickness solid @grey5;
1484 border-bottom: @border-thickness solid @grey5;
1484 margin-bottom: @space;
1485 margin-bottom: @space;
1485 }
1486 }
1487
1486 .reviewers-title {
1488 .reviewers-title {
1487 width: 25%;
1489 width: 25%;
1488 min-width: 200px;
1490 min-width: 200px;
1491
1492 &.first-panel {
1493 margin-top: 34px;
1494 }
1489 }
1495 }
1496
1490 .reviewers {
1497 .reviewers {
1491 width: 25%;
1498 width: 25%;
1492 min-width: 200px;
1499 min-width: 200px;
@@ -15,5 +15,4
15 'webapp_location': '${h.route_url('home').rstrip('/')}'
15 'webapp_location': '${h.route_url('home').rstrip('/')}'
16 };
16 };
17 %endif
17 %endif
18
19 </script>
18 </script>
@@ -11,15 +11,6
11
11
12 <%def name="breadcrumbs_links()">
12 <%def name="breadcrumbs_links()">
13
13
14 <div id="pr-title">
15 % if c.pull_request.is_closed():
16 <span class="pr-title-closed-tag tag">${_('Closed')}</span>
17 % endif
18 <input class="pr-title-input large disabled" disabled="disabled" name="pullrequest_title" type="text" value="${c.pull_request.title}">
19 </div>
20 <div id="pr-title-edit" class="input" style="display: none;">
21 <input class="pr-title-input large" id="pr-title-input" name="pullrequest_title" type="text" value="${c.pull_request.title}">
22 </div>
23 </%def>
14 </%def>
24
15
25 <%def name="menu_bar_nav()">
16 <%def name="menu_bar_nav()">
@@ -40,11 +31,19
40
31
41 <div class="box">
32 <div class="box">
42
33
43 ${self.breadcrumbs()}
44
45 <div class="box pr-summary">
34 <div class="box pr-summary">
46
35
47 <div class="summary-details block-left">
36 <div class="summary-details block-left">
37 <div id="pr-title">
38 % if c.pull_request.is_closed():
39 <span class="pr-title-closed-tag tag">${_('Closed')}</span>
40 % endif
41 <input class="pr-title-input large disabled" disabled="disabled" name="pullrequest_title" type="text" value="${c.pull_request.title}">
42 </div>
43 <div id="pr-title-edit" class="input" style="display: none;">
44 <input class="pr-title-input large" id="pr-title-input" name="pullrequest_title" type="text" value="${c.pull_request.title}">
45 </div>
46
48 <% summary = lambda n:{False:'summary-short'}.get(n) %>
47 <% summary = lambda n:{False:'summary-short'}.get(n) %>
49 <div class="pr-details-title">
48 <div class="pr-details-title">
50 <div class="pull-left">
49 <div class="pull-left">
@@ -295,7 +294,7
295 </div>
294 </div>
296
295
297 ## REVIEWERS
296 ## REVIEWERS
298 <div class="reviewers-title block-right">
297 <div class="reviewers-title first-panel block-right">
299 <div class="pr-details-title">
298 <div class="pr-details-title">
300 ${_('Pull request reviewers')}
299 ${_('Pull request reviewers')}
301 %if c.allowed_to_update:
300 %if c.allowed_to_update:
Comments 0
You need to be logged in to leave comments. Login now