]> source.dussan.org Git - gitblit.git/commitdiff
Improved commit message/ref panel layout
authorJames Moger <james.moger@gitblit.com>
Mon, 26 Mar 2012 00:15:45 +0000 (20:15 -0400)
committerJames Moger <james.moger@gitblit.com>
Mon, 26 Mar 2012 00:15:45 +0000 (20:15 -0400)
resources/gitblit.css
src/com/gitblit/wicket/panels/HistoryPanel.html
src/com/gitblit/wicket/panels/LogPanel.html
src/com/gitblit/wicket/panels/SearchPanel.html

index 7812ec49535d6cef4032f08d4c291c377beeab84..9b96a1ac8ff32cd2450a7a38e0416798648f6b13 100644 (file)
@@ -16,6 +16,9 @@ body, input, select {
 ul, ol {\r
        margin-bottom: 10px !important;\r
 }\r
+a:focus {\r
+       outline: none;\r
+}\r
 \r
 hr {\r
        margin-top: 10px;\r
@@ -657,6 +660,16 @@ table.pretty td {
        border-left: 0;\r
 }\r
 \r
+table.pretty td.message {\r
+       padding: 0px;\r
+}\r
+\r
+table.pretty table.nestedTable {\r
+       width: 100%;\r
+       margin-left: 4px !important;\r
+       margin-bottom: 0px !important;\r
+}\r
+\r
 table.comments td {\r
        padding: 4px;\r
        line-height: 17px;\r
index 9589d1411dcbdc18505546adeeb42fcd19f7bc51..3ae8a8f9c0f99324e39963489e9cae3913130206 100644 (file)
@@ -19,7 +19,7 @@
                        <td class="date"><span wicket:id="commitDate">[commit date]</span></td>\r
                        <td class="icon"><img wicket:id="commitIcon" /></td>\r
                        <td class="author"><span wicket:id="commitAuthor">[commit author]</span></td>\r
-                       <td><div class="references" wicket:id="commitRefs">[commit refs]</div><span wicket:id="commitShortMessage">[commit short message]</span></td>\r
+                       <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>\r
                        <td class="rightAlign">\r
                                <span wicket:id="historyLinks">[history links]</span>\r
                                </td>\r
index 96173062d7b02edb23a8c879858b02b63f67219d..7036fa4891396da90047bbf00f282adb3218d10e 100644 (file)
@@ -15,7 +15,7 @@
                        <td class="date"><span wicket:id="commitDate">[commit date]</span></td>\r
                        <td class="author"><span wicket:id="commitAuthor">[commit author]</span></td>\r
                        <td class="icon"><img wicket:id="commitIcon" /></td>\r
-                       <td><div class="references" wicket:id="commitRefs">[commit refs]</div><div style="vertical-align:middle;" wicket:id="commitShortMessage">[commit short message]</div></td>\r
+                       <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>\r
                        <td class="rightAlign">\r
                                <span class="link">\r
                                                <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>\r
index bfbcb6ba574261870ad3eaab286e86b559b70bb9..50f4638d0c718cd1ae8fc2a79dde66462592128d 100644 (file)
@@ -18,7 +18,7 @@
                        <td class="date"><span wicket:id="commitDate">[commit date]</span></td>\r
                        <td class="author"><span wicket:id="commitAuthor">[commit author]</span></td>\r
                        <td class="icon"><img wicket:id="commitIcon" /></td>\r
-                       <td><div class="references" wicket:id="commitRefs">[commit refs]</div><span wicket:id="commitShortMessage">[commit short message]</span></td>\r
+                       <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>\r
                        <td class="rightAlign">\r
                                <span class="link">\r
                                                <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>\r