Browse Source

Improved commit message/ref panel layout

tags/v0.9.0
James Moger 12 years ago
parent
commit
4b7b406a6d

+ 13
- 0
resources/gitblit.css View File

@@ -16,6 +16,9 @@ body, input, select {
ul, ol {
margin-bottom: 10px !important;
}
a:focus {
outline: none;
}
hr {
margin-top: 10px;
@@ -657,6 +660,16 @@ table.pretty td {
border-left: 0;
}
table.pretty td.message {
padding: 0px;
}
table.pretty table.nestedTable {
width: 100%;
margin-left: 4px !important;
margin-bottom: 0px !important;
}
table.comments td {
padding: 4px;
line-height: 17px;

+ 1
- 1
src/com/gitblit/wicket/panels/HistoryPanel.html View File

@@ -19,7 +19,7 @@
<td class="date"><span wicket:id="commitDate">[commit date]</span></td>
<td class="icon"><img wicket:id="commitIcon" /></td>
<td class="author"><span wicket:id="commitAuthor">[commit author]</span></td>
<td><div class="references" wicket:id="commitRefs">[commit refs]</div><span wicket:id="commitShortMessage">[commit short message]</span></td>
<td class="message"><table class="nestedTable"><tr><td><span style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</span></td><td><div style="text-align:right;" wicket:id="commitRefs">[commit refs]</div></td></tr></table></td>
<td class="rightAlign">
<span wicket:id="historyLinks">[history links]</span>
</td>

+ 1
- 1
src/com/gitblit/wicket/panels/LogPanel.html View File

@@ -15,7 +15,7 @@
<td class="date"><span wicket:id="commitDate">[commit date]</span></td>
<td class="author"><span wicket:id="commitAuthor">[commit author]</span></td>
<td class="icon"><img wicket:id="commitIcon" /></td>
<td><div class="references" wicket:id="commitRefs">[commit refs]</div><div style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</div></td>
<td class="message"><table class="nestedTable"><tr><td><span style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</span></td><td><div style="text-align:right;" wicket:id="commitRefs">[commit refs]</div></td></tr></table></td>
<td class="rightAlign">
<span class="link">
<a wicket:id="view"><wicket:message key="gb.view"></wicket:message></a> | <a wicket:id="diff"><wicket:message key="gb.diff"></wicket:message></a> | <a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a>

+ 1
- 1
src/com/gitblit/wicket/panels/SearchPanel.html View File

@@ -18,7 +18,7 @@
<td class="date"><span wicket:id="commitDate">[commit date]</span></td>
<td class="author"><span wicket:id="commitAuthor">[commit author]</span></td>
<td class="icon"><img wicket:id="commitIcon" /></td>
<td><div class="references" wicket:id="commitRefs">[commit refs]</div><span wicket:id="commitShortMessage">[commit short message]</span></td>
<td class="message"><table class="nestedTable"><tr><td><span style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</span></td><td><div style="text-align:right;" wicket:id="commitRefs">[commit refs]</div></td></tr></table></td>
<td class="rightAlign">
<span class="link">
<a wicket:id="commit"><wicket:message key="gb.commit"></wicket:message></a> | <a wicket:id="commitdiff"><wicket:message key="gb.commitdiff"></wicket:message></a> | <a wicket:id="tree"><wicket:message key="gb.tree"></wicket:message></a>

Loading…
Cancel
Save