From f76fee63ed9cb3a30d3c0c092d860b1cb93a481b Mon Sep 17 00:00:00 2001
From: Gerard Smyth <gerard.smyth@gmail.com>
Date: Thu, 08 May 2014 13:09:30 -0400
Subject: [PATCH] Updated the SyndicationServlet to provide an additional option to return details of the tags in the repository instead of the commits. This uses a new 'ot' request parameter to indicate the object type of the content to return, which can be ither TAG or COMMIT. If this is not provided, then COMMIT is assumed to maintain backwards compatability. If tags are returned, then the paging parameters, 'l' and 'pg' are still supported, but searching options are currently ignored.
---
src/main/resources/gitblit.css | 427 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 422 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css
index cd5c57b..748a319 100644
--- a/src/main/resources/gitblit.css
+++ b/src/main/resources/gitblit.css
@@ -38,11 +38,53 @@
font-weight: bold;
}
+.label a.bugtraq {
+ font-weight: normal;
+ color: white;
+}
+
+.lwbadge {
+ color: #888;
+ font-size: 11px;
+ background-color: #e8e8e8;
+ padding: 1px 7px 2px;
+ -webkit-border-radius: 9px;
+ -moz-border-radius: 9px;
+ border-radius: 9px;
+ line-height: 14px;
+ white-space: nowrap;
+ vertical-align: baseline;
+}
+
[class^="icon-"], [class*=" icon-"] i {
/* override for a links that look like bootstrap buttons */
vertical-align: text-bottom;
}
+.pagination-small, .pagination-small ul {
+ margin: 0px !important;
+}
+
+.pagination-small ul {
+ border-right: 1px solid #ddd;
+}
+
+.pagination-small ul > li > a,
+.pagination-small ul > li > span {
+ padding: 2px 8px;
+ font-size: 13px;
+ line-height: 22px;
+ border: 1px solid #ddd;
+ border-right: 0px;
+ border-radius: 0px !important;
+ float: left;
+}
+
+.btn.disabled em, .pagination-small ul > li > span em {
+ font-style: normal;
+ color: #444;
+}
+
hr {
margin-top: 10px;
margin-bottom: 10px;
@@ -137,7 +179,8 @@
color: #ffffff !important;
}
-.nav-pills > .active > a, .nav-pills > .active > a:hover {
+.nav-pills > .active > a, .nav-pills > .active > a:hover,
+.nav-list > .active > a, .nav-list > .active > a:hover {
color: #fff;
background-color: #002060;
}
@@ -520,6 +563,24 @@
text-align: left;
}
+table.tickets {
+ border-bottom: 1px solid #ccc;
+}
+
+table.tickets td.indicators {
+ width: 75px;
+ text-align: right;
+ padding-right: 5px;
+ color: #888;
+}
+
+.ticketLabel,
+table.tickets .label {
+ color: white;
+ font-weight: normal;
+ margin: 0px 2px;
+}
+
div.featureWelcome {
padding: 15px;
background-color: #fbfbfb;
@@ -532,6 +593,30 @@
font-size: 144px;
}
+li.dynamicQuery {
+ padding: 3px 0px;
+ margin: 1px 0px;
+ border-radius: 4px;
+}
+
+li.dynamicQuery i {
+ color: rgba(255, 255, 255, 0.5);
+ padding-right: 5px;
+}
+
+li.dynamicQuery a.active {
+ color: white;
+}
+
+div.milestoneOverview {
+ color:#888;
+ border: 1px solid #ddd;
+ padding: 2px 5px;
+ text-align: center;
+ font-size: 11px;
+ background-color: #fbfbfb;
+}
+
div.sourceview {
overflow: hidden;
}
@@ -619,6 +704,7 @@
border: 1px solid #ccc;
color: #ccc;
font-weight:bold;
+ display: inline-block;
}
.diffstat-inline {
@@ -650,7 +736,207 @@
.diffstat-delete {
color: #B9583B;
}
+.patch-group {
+ margin-bottom: 0px;
+ border: 1px solid #ccc;
+ background-color: #fbfbfb;
+}
+
+.patch-group .accordion-inner {
+ padding: 0px;
+}
+.ticket-meta-top {
+ padding: 0px 10px 10px 10px;
+}
+
+.ticket-meta-middle {
+ border: 1px solid #ccc;
+ padding: 10px;
+ background-color: #fbfbfb;
+}
+
+.ticket-meta-bottom {
+ border: 1px solid #ccc;
+ border-top: 0px;
+ padding: 10px;
+}
+
+.ticket-title {
+ font-size: 20px;
+}
+
+.ticket-number {
+ color: #ccc;
+ font-size: 20px;
+ font-weight: normal;
+}
+
+.ticket-list-icon {
+ padding: 8px 0px 8px 8px !important;
+ width: 24px;
+ font-size: 24px;
+ vertical-align: middle !important;
+ color: #888;
+}
+
+td.ticket-list-state {
+ vertical-align: middle;
+}
+
+.ticket-list-details {
+ font-size: 11px;
+ color: #888;
+}
+
+div.ticket-text {
+ max-width: 600px;
+}
+
+.ticket-text-editor {
+ height:7em;
+ border:0px;
+ border-radius: 0px;
+ border-top:1px solid #ccc;
+ margin-bottom:0px;
+ padding:4px;
+ background-color:#ffffff;
+ box-shadow: none;
+}
+
+.indicator-large-dark {
+ font-size: 20px;
+ color: #888;
+}
+
+.indicator-large-light {
+ font-size: 20px;
+ color: #bbb;
+}
+
+.indicator-huge-light {
+ font-size: 48px;
+ color: #bbb;
+}
+
+.attribution-emphasize {
+ font-weight: bold;
+}
+
+.attribution-text {
+ color: #888;
+}
+
+.attribution-border {
+}
+
+.attribution-header {
+ background-color: #fbfbfb;
+ padding: 8px;
+ border: 1px solid #ccc;
+}
+
+.attribution-header-pullright {
+ float: right;
+ text-align: right;
+ padding-right: 1px;
+}
+
+.attribution-patch-pullright {
+ float: right;
+ text-align: right;
+ margin: 5px 10px;
+}
+
+.attribution-date {
+ color: #999;
+ font-size: smaller;
+}
+
+.attribution-link {
+ color: #999;
+ padding-left: 5px;
+}
+
+.attribution-pullright {
+ float: right;
+ text-align: right;
+ padding-right: 8px;
+}
+
+.attribution-triangle {
+ position: absolute;
+ margin-left: -23px;
+ margin-top: 11px;
+ height: 0px;
+ width: 0px;
+ border-image: none;
+ border: 10px solid transparent;
+ border-right: 13px solid #ddd;
+}
+
+.attribution-comment {
+ padding: 10px 10px 0px 10px;
+ /*border: 1px solid #ccc;
+ border-top: 0px;*/
+}
+
+.ticket-simple-event {
+ padding: 5px 0px;
+}
+
+.status-display {
+ text-align: center;
+ font-weight: bold;
+}
+
+.status-change {
+ font-size: 1.0em;
+ text-shadow: none;
+ padding: 5px 10px !important;
+ font-weight: bold;
+ display: inline-block;
+ text-align: center;
+ width: 50px;
+ margin-right: 5px !important;
+}
+
+.submit-info {
+ margin-bottom: 0px;
+ border-radius: 0px;
+}
+
+.merge-panel {
+ padding: 5px 7px;
+ background-color: #fbfbfb;
+ color: #444
+}
+
+.merge-panel p.step {
+ margin: 10px 0px 5px;
+}
+
+.gitcommand {
+ margin-top: 5px;
+ border: 1px solid #ccc;
+ background-color: #333 !important;
+ color: #ccc;
+ border-radius: 3px;
+ padding: 5px;
+ margin-bottom: 5px;
+ text-shadow: none;
+}
+
+a.commit {
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ background-color: #fbfbfb;
+ padding: 2px 4px;
+ line-heihgt:99%;
+ font-size: 11px;
+ text-transform: lowercase;
+}
+
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
color: #888;
}
@@ -707,6 +993,11 @@
color: inherit;
}
+a.list-strikethrough {
+ text-decoration: line-through;
+ color: inherit;
+}
+
a.list.subject {
font-weight: bold;
}
@@ -727,6 +1018,12 @@
color: #008000;
}
+span.highlight {
+ background-color: rgb(255, 255, 100);
+ color: black;
+ padding: 0px 2px;
+}
+
span.link {
color: #888;
}
@@ -775,11 +1072,17 @@
img.gravatar {
background-color: #ffffff;
- border: 1px solid #ddd;
+ /*border: 1px solid #ddd;*/
border-radius: 5px;
padding: 2px;
}
+img.gravatar-round {
+ background-color: #ffffff;
+ border: 1px solid #ccc;
+ border-radius: 100%;
+}
+
img.navbarGravatar {
border: 1px solid #fff;
}
@@ -1157,7 +1460,7 @@
text-align: right;
}
-table.plain, table.summary {
+table.plain, table.summary, table.ticket {
width: 0 !important;
border: 0;
}
@@ -1168,11 +1471,16 @@
border: 0;
}
+table.ticket th, table.ticket td {
+ padding: 1px 3px;
+ border: 0;
+}
+
table.summary {
margin: 0px;
}
-table.summary th {
+table.summary th, table.ticket th {
color: #999;
padding-right: 10px;
text-align: right;
@@ -1409,6 +1717,14 @@
color: white;
}
+.merge {
+ opacity: 0.5;
+}
+
+.merge:hover {
+ opacity: 1;
+}
+
td.author {
font-style: italic !important;
white-space: nowrap;
@@ -1465,7 +1781,7 @@
font-size: 9px;
font-weight: normal;
border: 1px solid;
- color: black;
+ color: black;
}
.tagRef a, .headRef a, .localBranch a, .remoteBranch a, .otherRef a, .pullRef a {
@@ -1662,4 +1978,105 @@
vertical-align: top;
border-top: 1px solid #ccc;
padding:5px;
+}
+.resolution {
+ text-transform: uppercase;
+ font-weight: bold !important;
+ font-size: 11px;
+}
+.resolution-success, .resolution-success a {
+ color: #14892c !important;
+}
+.resolution-success a:hover {
+ color: white !important;
+}
+.resolution-error, .resolution-error a {
+ color: #d04437 !important;
+}
+.resolution-error a:hover {
+ color: white !important;
+}
+.resolution-complete, .resolution-complete a {
+ color: #4a6785 !important
+}
+.resolution-complete a:hover {
+ color: white !important;
+}
+.resolution-current, .resolution-current a {
+ color: #594300 !important;
+}
+.resolution-current, .resolution-current a:hover {
+ color: white;
+}
+
+/*! AUI Lozenge */
+.aui-lozenge {
+ background: #ccc;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ color: #333;
+ display: inline-block;
+ font-size: 11px;
+ font-weight: bold;
+ line-height: 99%; /* cross-browser compromise to make the line-height match the font-size */
+ margin: 0;
+ padding: 2px 5px;
+ text-align: center;
+ text-decoration: none;
+ text-transform: uppercase;
+}
+.aui-lozenge.aui-lozenge-subtle {
+ background-color: #fff;
+ border-color: #ccc;
+ color: #333;
+}
+.aui-lozenge-success {
+ background-color: #14892c;
+ border-color: #14892c;
+ color: #fff;
+}
+.aui-lozenge-success.aui-lozenge-subtle {
+ background-color: #fff;
+ border-color: #b2d8b9;
+ color: #14892c;
+}
+.aui-lozenge-error {
+ background-color: #d04437;
+ border-color: #d04437;
+ color: #fff;
+}
+.aui-lozenge-error.aui-lozenge-subtle {
+ background-color: #fff;
+ border-color: #f8d3d1;
+ color: #d04437;
+}
+.aui-lozenge-current {
+ background-color: #ffd351;
+ border-color: #ffd351;
+ color: #594300;
+}
+.aui-lozenge-current.aui-lozenge-subtle {
+ background-color: #fff;
+ border-color: #ffe28c;
+ color: #594300;
+}
+.aui-lozenge-complete {
+ background-color: #4a6785;
+ border-color: #4a6785;
+ color: #fff;
+}
+.aui-lozenge-complete.aui-lozenge-subtle {
+ background-color: #fff;
+ border-color: #e4e8ed;
+ color: #4a6785;
+}
+.aui-lozenge-moved {
+ background-color: #815b3a;
+ border-color: #815b3a;
+ color: #fff;
+}
+.aui-lozenge-moved.aui-lozenge-subtle {
+ background-color: #fff;
+ border-color: #ece7e2;
+ color: #815b3a;
}
\ No newline at end of file
--
Gitblit v1.9.1