diff options
author | James Moger <james.moger@gitblit.com> | 2012-07-11 17:10:03 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-07-11 17:10:03 -0400 |
commit | ab3aab468400a927a943e178be50058345192fb1 (patch) | |
tree | 9742e04beed50323b4ce2a66879a61f158f63557 | |
parent | 3868ed986fc557007f9ff34d529575341de89311 (diff) | |
download | gitblit-ab3aab468400a927a943e178be50058345192fb1.tar.gz gitblit-ab3aab468400a927a943e178be50058345192fb1.zip |
Tweak to repositories panel in responsive mode
-rw-r--r-- | resources/gitblit.css | 8 | ||||
-rw-r--r-- | src/com/gitblit/wicket/panels/RepositoriesPanel.html | 16 |
2 files changed, 16 insertions, 8 deletions
diff --git a/resources/gitblit.css b/resources/gitblit.css index d2acaf5c..b8792dcd 100644 --- a/resources/gitblit.css +++ b/resources/gitblit.css @@ -700,13 +700,18 @@ table.repositories th { border:0;
}
+table.repositories th.right {
+ border-right: 1px solid #ddd;
+}
+
table.repositories td {
padding: 2px;
border-left: 0;
}
table.repositories td.rightAlign {
- text-align: right;
+ text-align: right;
+ border-right: 1px solid #ddd;
}
table.repositories td.icon img {
@@ -826,6 +831,7 @@ td.author { td.date {
/*font-style: italic !important;*/
+ white-space: nowrap;
}
span.sha1, span.sha1 a, span.sha1 a span, pre.commit_message {
diff --git a/src/com/gitblit/wicket/panels/RepositoriesPanel.html b/src/com/gitblit/wicket/panels/RepositoriesPanel.html index 7e1f1879..5b53d772 100644 --- a/src/com/gitblit/wicket/panels/RepositoriesPanel.html +++ b/src/com/gitblit/wicket/panels/RepositoriesPanel.html @@ -47,7 +47,7 @@ <th class="hidden-phone"></th>
<th wicket:id="orderByDate"><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
<th class="hidden-phone"></th>
- <th class="hidden-phone right"></th>
+ <th class="right"></th>
</tr>
</wicket:fragment>
@@ -62,7 +62,7 @@ <th class="hidden-phone"></th>
<th><wicket:message key="gb.lastChange">Last Change</wicket:message></th>
<th class="hidden-phone"></th>
- <th class="hidden-phone right"></th>
+ <th class="right"></th>
</tr>
</wicket:fragment>
@@ -77,11 +77,13 @@ <td class="hidden-phone" style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="ticketsIcon" /><img class="inlineIcon" wicket:id="docsIcon" /><img class="inlineIcon" wicket:id="frozenIcon" /><img class="inlineIcon" wicket:id="federatedIcon" /><img class="inlineIcon" wicket:id="accessRestrictionIcon" /></td>
<td><span wicket:id="repositoryLastChange">[last change]</span></td>
<td class="hidden-phone" style="text-align: right;padding-right:15px;"><span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span></td>
- <td class="hidden-phone rightAlign">
- <span wicket:id="repositoryLinks"></span>
- <a style="text-decoration: none;" wicket:id="syndication">
- <img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>
- </a>
+ <td class="rightAlign">
+ <span class="hidden-phone">
+ <span wicket:id="repositoryLinks"></span>
+ <a style="text-decoration: none;" wicket:id="syndication">
+ <img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>
+ </a>
+ </span>
</td>
</wicket:fragment>
|