# $feature{'blame'}{'default'} = [1];
<feature>
- <blame>
- default = 1
- </blame>
+ <blame>
+ default = 1
+ </blame>
</feature>
# fs traversing limit for getting project list
<paging>
log = 50
- summary = 16
+ summary = 17
</paging>
-<table class='diff-tree'>
+<table class='diff-tree listing'>
<thead>
<tr>
<th>file</th>
<tbody>
[% FOREACH line IN diff_tree -%]
<tr>
- <td class='filename'>
+ <td class='file-name'>
[% line.file %]
</td>
<td class='status'>
-<table class='heads'>
+<table class='heads listing'>
<thead>
<tr>
<th>HEAD</th>
<tbody>
[% FOREACH head IN heads %]
<tr>
- <td>[% INCLUDE '_chroma_hash.tt2' sha1 = head.sha1.substr(0,7) %]</td>
- <td class='time-since'>[% time_since(head.last_change) %]</td>
+ <td class='sha1' title='[% head.sha1 %]'>[% INCLUDE '_chroma_hash.tt2' sha1 = head.sha1.substr(0,7) %]</td>
+ <td class='time-since' title='[% head.last_change %]'>[% time_since(head.last_change) %]</td>
<td class='head[% head.sha1 == HEAD ? ' current' : '' %]'>[% head.name %]</td>
<td class='action-list'>
<a href="[% c.uri_for("shortlog", {h='refs/heads/' _ head.name}) %]">shortlog</a>
-<table class='shortlog'>
+<table class='shortlog listing'>
<thead>
<tr>
<th>sha1</th>
<tbody>
[% FOREACH line IN log_lines %]
<tr>
- <td class='sha1'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
- <td class='time-since'>[% time_since(line.authored_time) %]</td>
+ <td class='sha1' title='[% line.sha1 %]'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1.substr(0, 7) %]</td>
+ <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
<td class='author'>[% line.author.name | html %]</td>
<td>
[% short_cmt(line.comment) | html %]
-<table>
+<table class='tree listing'>
<thead>
<tr>
<th>mode</th>
<tbody>
[% FOREACH item IN tree_list %]
<tr>
- <td>[% item.modestr %]</td>
+ <td class='file-mode'>[% item.modestr %]</td>
[% theact = item.type == 'tree' ? 'tree' : 'blob' -%]
- <td class='filename'>
+ <td class='file-name'>
<a href="[% c.uri_for(theact, {h=item.sha1, hb=commit.sha1, f=(path ? path _ '/' _ item.file : item.file)}) %]">[% item.file %]</a>
</td>
<td class='action-list'>
</div>
<div class="meta">
<table class='summary' cellspacing='0' cellpadding='0'>
- <tr><td>author</td><td>[% line.author.name | html %]</td></tr>
- <tr><td>authored time</td><td>[% line.authored_time %]</td></tr>
+ <tr><td>author</td><td class='author'>[% line.author.name | html %]</td></tr>
+ <tr><td>authored time</td><td class='time'>[% line.authored_time %]</td></tr>
[% IF line.author.name != line.committer.name %]
- <tr><td>committer</td><td>[% line.committer.name | html %]</td></tr>
- <tr><td>committered time</td><td>[% line.committed_time %]</td></tr>
+ <tr><td>committer</td><td class='author'>[% line.committer.name | html %]</td></tr>
+ <tr><td>committered time</td><td class='time'>[% line.committed_time %]</td></tr>
[% END %]
</table>
<span class="time-since">[% time_since(line.authored_time) %]</span>
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre {margin:1.5em 0;white-space:pre;}
-pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
+pre, code, tt {font:1.1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0;}
ul, ol {margin:0 1.5em 1.5em 0;padding-left:3.333em;}
ul {list-style-type:disc;}
border-top: solid 1px #777;
}
+.listing tbody tr:nth-child(even) {
+ background-color: #f7f7f7;
+}
+.listing tbody tr:hover {
+ background-color: #fefeaa;
+}
+
span.chroma-hash {
font-family: monospace;
font-size: 1em;
font-family: "Trebuchet MS", "Lucida Grande", serif;
}
+.file-name, .file-mode {
+ font-family: monospace;
+}
+.action-list {
+ font-size: smaller;
+}
+
+.path {
+ border-bottom: solid 1px #ddd;
+ padding: 3px 0;
+ font-weight: bold;
+}
+
+
/* header */
#page-header {
height: 25px;
/* /commit page */
.commit-message {
font-family: monospace;
+ font-size: 1.2em;
}
div.commit-message {
margin-bottom: 10px;
font-family: monospace;
}
-.filename {
- font-family: monospace;
-}
-.action-list {
- font-size: smaller;
-}
-
-.path {
- border-bottom: solid 1px #ddd;
- padding: 3px 0;
- font-weight: bold;
-}
-
/* /heads */
.heads .head {
font-weight: bold;
border-bottom: solid 1px green;
}
+/* /commitdiff */
+.diff-patch {
+ font-size: 0.8em;
+}
+
/* /log */
#log .entry {
border: solid 1px grey;
}
#log .meta {
border-top: dotted 1px #ddd;
- color: #755;
+ color: #311;
}
#log table.summary {
width: 33%;
#log .message {
font-family: monospace;
font-size: 1.15em;
+ /* XXX Need to enforce find the CSS switch to force the chroma-hash below the message box */
}
#log .age {
float: right;
font-style: italic;
}
-/**
- * from gitweb.css
- * XXX These can be rejigged once gitweb.css has gone away.
- */
+/* /tree */
+table.tree {
+ width: 65%;
+}
+
+/* Formerly of gitweb.css */
span.refs span {
padding: 0px 4px;