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 | 538 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 525 insertions(+), 13 deletions(-)
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css
index 9e75fa6..748a319 100644
--- a/src/main/resources/gitblit.css
+++ b/src/main/resources/gitblit.css
@@ -34,11 +34,57 @@
vertical-align: text-bottom;
}
+a.bugtraq {
+ 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;
@@ -103,6 +149,16 @@
margin-bottom: -1px;
}
+ul.nav {
+ border-color: #ccc;
+}
+
+.nav-tabs > .active > a,
+.nav-tabs > .active > a:hover {
+ border: 1px solid #ccc;
+ border-bottom-color: transparent;
+}
+
.navbar .active a {
background-color: transparent !important;
outline: 0;
@@ -123,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;
}
@@ -506,6 +563,60 @@
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;
+ border: 1px solid #ccc;
+ border-radius: 5px;
+}
+
+div.featureWelcome div.icon {
+ color: #ccc;
+ 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;
}
@@ -593,6 +704,7 @@
border: 1px solid #ccc;
color: #ccc;
font-weight:bold;
+ display: inline-block;
}
.diffstat-inline {
@@ -624,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;
}
@@ -681,6 +993,11 @@
color: inherit;
}
+a.list-strikethrough {
+ text-decoration: line-through;
+ color: inherit;
+}
+
a.list.subject {
font-weight: bold;
}
@@ -701,6 +1018,12 @@
color: #008000;
}
+span.highlight {
+ background-color: rgb(255, 255, 100);
+ color: black;
+ padding: 0px 2px;
+}
+
span.link {
color: #888;
}
@@ -749,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;
}
@@ -1131,7 +1460,7 @@
text-align: right;
}
-table.plain, table.summary {
+table.plain, table.summary, table.ticket {
width: 0 !important;
border: 0;
}
@@ -1142,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;
@@ -1277,6 +1611,11 @@
}
table.palette td.pane {
padding: 0px;
+ width: 250px !important;
+}
+
+table.palette td.pane select {
+ width: 250px !important;
}
table.gitnotes {
@@ -1308,6 +1647,7 @@
}
table.annotated {
+ width: 100%;
border:1px solid #ddd;
}
@@ -1322,6 +1662,24 @@
table.annotated td {
padding: 0px;
border: 0;
+}
+
+table.annotated td.lineCommit {
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+table.annotated td.lineNumber {
+ border-right: 1px solid #ddd;
+ border-left: 1px solid #ddd;
+ padding-left: 5px;
+ padding-right: 5px;
+ text-align: right;
+}
+
+table.annotated td.lineContent {
+ padding-left: 5px;
+ font: monospace;
}
table.activity {
@@ -1359,6 +1717,14 @@
color: white;
}
+.merge {
+ opacity: 0.5;
+}
+
+.merge:hover {
+ opacity: 1;
+}
+
td.author {
font-style: italic !important;
white-space: nowrap;
@@ -1369,7 +1735,7 @@
white-space: nowrap;
}
-span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1 {
+span.sha1, span.sha1 a, span.sha1 a span, .commit_message, span.shortsha1, td.sha1 {
font-family: consolas, monospace;
font-size: 13px;
}
@@ -1415,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 {
@@ -1507,8 +1873,57 @@
li.L7,
li.L9 { background: #fafafa !important; }
-div.markdown {
- max-width: 900px;
+div.docs {
+ max-width: 880px;
+}
+
+div.docs ul.nav {
+ margin-bottom: 0px !important;
+}
+
+div.docs div.docnav {
+ display: inline-block;
+ padding: 6px 5px 6px 5px;
+ border-left: 1px solid #ccc;
+ border-right: 1px solid #ccc;
+ border-bottom: 1px solid #ccc;
+ border-radius: 0px 0px 3px 3px;
+ background-color: #ECF1F4;
+ color: #666;
+ text-align: left;
+ margin-top: -10px;
+}
+
+div.docs .content {
+ margin-top: 10px;
+}
+
+div.docs div.markdown {
+ margin-top: 10px;
+}
+
+div.markdown {
+ line-height: 1.4;
+}
+
+div.markdown h1 {
+ padding: 0px 0px 4px;
+ border-bottom: 1px solid rgb(221, 221, 221);
+ margin: 4px 0px 8px;
+}
+
+div.markdown h2 {
+ padding: 4px 0px;
+ border-bottom: 1px solid rgb(238, 238, 238);
+ margin: 4px 0px 8px;
+}
+
+div.markdown h3 {
+ padding: 8px 0px 4px;
+}
+
+div.markdown li {
+ line-height: 1.4;
}
div.markdown pre {
@@ -1533,11 +1948,7 @@
background-color: rgb(250, 250, 250);
border: 1px solid rgb(221, 221, 221);
border-radius: 3px;
- padding: 0 0.2em;
-}
-
-div.markdown a {
- text-decoration: underline;
+ padding: 0 0.4em;
}
div.markdown table {
@@ -1567,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