##// END OF EJS Templates
coal: more tweaks...
Matt Mackall -
r6463:5e011a40 default
parent child Browse files
Show More
@@ -1,69 +1,69 b''
1 1 default = 'shortlog'
2 2
3 3 mimetype = 'text/html; charset={encoding}'
4 4 header = header.tmpl
5 5 footer = footer.tmpl
6 6 search = search.tmpl
7 7
8 8 changelog = shortlog.tmpl
9 9 shortlog = shortlog.tmpl
10 10 shortlogentry = shortlogentry.tmpl
11 11
12 12 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
13 13 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 14 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
15 15 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
16 16 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
17 17 fileellipses = '...'
18 18 changelogentry = shortlogentry.tmpl
19 19 searchentry = shortlogentry.tmpl
20 20 changeset = changeset.tmpl
21 21 manifest = manifest.tmpl
22 22
23 direntry = '<tr class="fileline parity{parity}"><td class="name"><img src="{staticurl}coal-folder.png"> <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
24 fileentry = '<tr class="fileline parity{parity}"><td clase="filename"><img src="{staticurl}coal-file.png"> <a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}">{basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
23 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
24 fileentry = '<tr class="fileline parity{parity}"><td clase="filename"><a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
25 25
26 26 filerevision = filerevision.tmpl
27 27 fileannotate = fileannotate.tmpl
28 28 filediff = filediff.tmpl
29 29 filelog = filelog.tmpl
30 30 fileline = '<tr class="parity{parity}"><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
31 31 filelogentry = filelogentry.tmpl
32 32
33 33 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}">{author|obfuscate}@{rev}</a></td><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
34 34
35 35 diffblock = '<table class="bigtable parity{parity}">{lines}</table>'
36 36 difflineplus = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source plusline">{line|escape}</td></tr>'
37 37 difflineminus = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source minusline">{line|escape}</td></tr>'
38 38 difflineat = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source atline">{line|escape}</td></tr>'
39 39 diffline = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
40 40
41 41 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
42 42
43 43 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
44 44
45 45 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
46 46 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
47 47
48 48 filerename = '{file|escape}@'
49 49 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
50 50 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
51 51 changesetchild = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
52 52 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
53 53 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
54 54 tags = tags.tmpl
55 55 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
56 56 changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>'
57 57 changelogtag = '<span class="tag">{name|escape}</span> '
58 58 changesettag = '<span class="tag">{tag|escape}</span> '
59 59 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
60 60 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
61 61 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
62 62 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
63 63 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a> {archives%archiveentry}</td></tr>'
64 64 index = index.tmpl
65 65 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
66 66 notfound = notfound.tmpl
67 67 error = error.tmpl
68 68 urlparameter = '{separator}{name}={value|urlescape}'
69 69 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
@@ -1,154 +1,156 b''
1 1 body {
2 2 margin: 0;
3 3 padding: 0;
4 4 background: black url(background.png) repeat-x;
5 5 font-family: sans-serif;
6 6 }
7 7
8 8 .container {
9 9 padding-right: 150px;
10 10 }
11 11
12 12 .main {
13 13 position: relative;
14 14 background: white;
15 15 padding: 2em;
16 16 border-right: 15px solid black;
17 17 border-bottom: 15px solid black;
18 18 }
19 19
20 20 .overflow {
21 21 width: 100%;
22 22 overflow: auto;
23 23 }
24 24
25 25 .menu {
26 26 background: #999;
27 27 padding: 10px;
28 28 width: 75px;
29 29 margin: 0;
30 font-size: 80% /*smaller*/;
30 font-size: 80%;
31 31 text-align: left;
32 32 position: fixed;
33 33 top: 27px;
34 34 left: auto;
35 35 right: 27px;
36 36 }
37 37
38 38 .menu ul {
39 39 list-style: none;
40 40 padding: 0;
41 41 margin: 10px 0 0 0;
42 42 }
43 43
44 44 .menu li {
45 45 margin-bottom: 3px;
46 46 padding: 2px 4px;
47 47 background: white;
48 48 color: black;
49 49 font-weight: normal;
50 50 }
51 51
52 52 .menu li.active {
53 border-left: 3px solid black;
53 background: black;
54 color: white;
54 55 }
55 56
57 .menu a { color: black; display: block; }
58
56 59 .search {
57 60 position: absolute;
58 61 top: .7em;
59 62 right: 2em;
60 63 }
61 64
62 .menu a { color: black; display: block; }
63
64 65 a { text-decoration:none; }
65 66 .age { white-space:nowrap; }
66 67 .date { white-space:nowrap; }
67 68 .indexlinks { white-space:nowrap; }
68 69 .parity0 { background-color: #f5f5f5; }
69 70 .parity1 { background-color: white; }
70 71 .plusline { color: green; }
71 72 .minusline { color: red; }
72 73 .atline { color: purple; }
73 74
74 75 .navigate {
75 76 text-align: right;
76 77 font-size: 60%;
77 78 margin: 1em 0 1em 0;
78 79 }
79 80
80 81 .tag {
81 82 color: #999;
82 83 font-size: 70%;
83 84 font-weight: normal;
84 85 margin-left: .5em;
85 86 vertical-align: text-baseline;
86 87 }
87 88
88 89 /* Common */
89 90 pre { margin: 0; }
90 91
91 92 h2 { font-size: 120%; border-bottom: 1px solid #999; }
92 93 h3 {
93 94 margin-top: -.7em;
94 95 font-size: 100%;
95 96 }
96 97
97 98 /* log and tags tables */
98 99 .bigtable {
99 100 border-bottom: 1px solid #999;
100 101 border-collapse: collapse;
101 102 font-size: 90%;
102 103 width: 100%;
103 104 font-weight: normal;
104 105 text-align: left;
105 106 }
106 107
107 108 .bigtable td {
108 109 padding: 1px 4px 1px 4px;
109 110 vertical-align: top;
110 111 }
111 112
112 113 .bigtable th {
113 114 padding: 1px 4px 1px 4px;
114 115 border-bottom: 1px solid #999;
115 116 font-size: smaller;
116 117 }
117 118 .bigtable tr { border: none; }
118 119 .bigtable .age { width: 6em; }
119 120 .bigtable .author { width: 10em; }
120 121 .bigtable .description { }
121 122 .bigtable .node { width: 5em; font-family: monospace;}
122 123 .bigtable .lineno { width: 2em; text-align: right;}
123 124 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
124 125 .bigtable td.source { font-family: monospace; white-space: pre; }
125 126 .bigtable .permissions { width: 8em; text-align: left;}
126 127 .bigtable .size { width: 5em; text-align: right; }
127 128 .bigtable .annotate { text-align: right; padding-right: }
128 129 .bigtable td.annotate { font-size: smaller; }
129 130
130 131 .fileline { font-family: monospace; }
132 .fileline img { border: 0; }
131 133
132 134 /* Changeset entry */
133 135 #changesetEntry {
134 136 border-collapse: collapse;
135 137 font-size: 90%;
136 138 width: 100%;
137 139 margin-bottom: 1em;
138 140 }
139 141
140 142 #changesetEntry th {
141 143 padding: 1px 4px 1px 4px;
142 144 width: 4em;
143 145 text-align: right;
144 146 font-weight: normal;
145 147 color: #999;
146 148 margin-right: .5em;
147 149 vertical-align: top;
148 150 }
149 151
150 152 div.description {
151 153 border-left: 3px solid #999;
152 154 margin: 1em 0 1em 0;
153 155 padding: .3em;
154 156 }
General Comments 0
You need to be logged in to leave comments. Login now