Skip to content

Commit b204f9f

Browse files
author
Richard Jones
committed
finished off colourising the classic template
1 parent fb7df2a commit b204f9f

File tree

3 files changed

+75
-19
lines changed

3 files changed

+75
-19
lines changed

roundup/templates/classic/html/issue.item

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
<!-- $Id: issue.item,v 1.3 2001-07-30 08:12:17 richard Exp $-->
1+
<!-- $Id: issue.item,v 1.4 2001-08-03 01:19:43 richard Exp $-->
22
<table border=0 cellspacing=0 cellpadding=2>
33

4-
<tr class="strong-header">
5-
<td colspan=4>Item Information</td>
6-
</td>
7-
84
<tr bgcolor="ffffea">
95
<td width=1% nowrap align=right><span class="form-label">Title</span></td>
106
<td colspan=3 class="form-text"><display call="field('title', size=80)"></td>
@@ -42,28 +38,36 @@
4238
<td colspan=3 class="form-text"><display call="submit()"></td>
4339
</tr>
4440

45-
<tr class="strong-header">
41+
<tr class="msg-header">
4642
<td colspan=4><b>Messages</b></td>
4743
</tr>
4844
<property name="messages">
49-
<tr>
45+
<tr>
5046
<td colspan=4><display call="list('messages')"></td>
5147
</tr>
5248
</property>
5349

54-
<tr class="strong-header">
50+
<tr class="file-header">
5551
<td colspan=4><b>Files</b></td>
5652
</tr>
5753
<tr class="form-help">
5854
<td colspan=4>
59-
<a href="newfile?:multilink=issue<display call="plain('id')">:files">Attach a file to this issue</a>
55+
<a href="newfile?:multilink=issue<display
56+
call="plain('id')">:files">Attach a file to this issue</a>
6057
</td>
6158
</tr>
6259
<property name="files">
63-
<tr>
60+
<tr>
6461
<td colspan=4><display call="list('files')"></td>
6562
</tr>
6663
</property>
6764

65+
<tr class="history-header">
66+
<td colspan=4><b>History</b></td>
67+
</tr>
68+
<tr>
69+
<td colspan=4><display call="history()"></td>
70+
</tr>
71+
6872
</table>
6973

roundup/templates/classic/html/style.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,30 @@ th {
7979
color: #ffffff;
8080
}
8181

82+
.msg-header {
83+
font-family: Verdana, Helvetica, sans-serif;
84+
font-size: 12pt;
85+
font-weight: bold;
86+
background-color: #EE71AC;
87+
color: #ffffff;
88+
}
89+
90+
.file-header {
91+
font-family: Verdana, Helvetica, sans-serif;
92+
font-size: 12pt;
93+
font-weight: bold;
94+
background-color: #41BE62;
95+
color: #ffffff;
96+
}
97+
98+
.history-header {
99+
font-family: Verdana, Helvetica, sans-serif;
100+
font-size: 12pt;
101+
font-weight: bold;
102+
background-color: #739DEE;
103+
color: #ffffff;
104+
}
105+
82106
.list-header {
83107
background-color: #aaccff;
84108
color: #000000;

roundup/templates/classic/htmlbase.py

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@
7474
issueDOTitem = """<!-- dollarId: issue.item,v 1.3 2001/07/30 08:12:17 richard Exp dollar-->
7575
<table border=0 cellspacing=0 cellpadding=2>
7676
77-
<tr class="strong-header">
78-
<td colspan=4>Item Information</td>
79-
</td>
80-
8177
<tr bgcolor="ffffea">
8278
<td width=1% nowrap align=right><span class="form-label">Title</span></td>
8379
<td colspan=3 class="form-text"><display call="field('title', size=80)"></td>
@@ -115,29 +111,37 @@
115111
<td colspan=3 class="form-text"><display call="submit()"></td>
116112
</tr>
117113
118-
<tr class="strong-header">
114+
<tr class="msg-header">
119115
<td colspan=4><b>Messages</b></td>
120116
</tr>
121117
<property name="messages">
122-
<tr>
118+
<tr>
123119
<td colspan=4><display call="list('messages')"></td>
124120
</tr>
125121
</property>
126122
127-
<tr class="strong-header">
123+
<tr class="file-header">
128124
<td colspan=4><b>Files</b></td>
129125
</tr>
130126
<tr class="form-help">
131127
<td colspan=4>
132-
<a href="newfile?:multilink=issue<display call="plain('id')">:files">Attach a file to this issue</a>
128+
<a href="newfile?:multilink=issue<display
129+
call="plain('id')">:files">Attach a file to this issue</a>
133130
</td>
134131
</tr>
135132
<property name="files">
136-
<tr>
133+
<tr>
137134
<td colspan=4><display call="list('files')"></td>
138135
</tr>
139136
</property>
140137
138+
<tr class="history-header">
139+
<td colspan=4><b>History</b></td>
140+
</tr>
141+
<tr>
142+
<td colspan=4><display call="history()"></td>
143+
</tr>
144+
141145
</table>
142146
143147
"""
@@ -276,6 +280,30 @@
276280
color: #ffffff;
277281
}
278282
283+
.msg-header {
284+
font-family: Verdana, Helvetica, sans-serif;
285+
font-size: 12pt;
286+
font-weight: bold;
287+
background-color: #EE71AC;
288+
color: #ffffff;
289+
}
290+
291+
.file-header {
292+
font-family: Verdana, Helvetica, sans-serif;
293+
font-size: 12pt;
294+
font-weight: bold;
295+
background-color: #41BE62;
296+
color: #ffffff;
297+
}
298+
299+
.history-header {
300+
font-family: Verdana, Helvetica, sans-serif;
301+
font-size: 12pt;
302+
font-weight: bold;
303+
background-color: #739DEE;
304+
color: #ffffff;
305+
}
306+
279307
.list-header {
280308
background-color: #aaccff;
281309
color: #000000;

0 commit comments

Comments
 (0)