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