Changesets can be listed by changeset number.
The Git repository is here.
Changeset 62
Configured for RISC OS Open site, including CSS changes. Small
change to CGI script to ensure that a title heading in the page
is always produced, even in the CVS root directory.
- Comitted by: adh
- Date: Sunday August 06 17:53:18 2006 (over 18 years ago)
Affected files:
- rool/perl/cvsweb/trunk/css/cvsweb.css (diff)
- rool/perl/cvsweb/trunk/cvsweb.cgi (diff)
- rool/perl/cvsweb/trunk/cvsweb.conf (diff)
rool/perl/cvsweb/trunk/css/cvsweb.css:
prev. | current | |
/* CSS for FreeBSD-CVSweb */ | ||
/* $FreeBSD: projects/cvsweb/css/cvsweb.css,v 1.15 2004/07/20 20:04:00 scop Exp $ */ | ||
4 | ||
5 | | |
6 | | |
4 | div#content h1 { | |
5 | margin: 0; | |
6 | padding: 5px; | |
7 | font-size: 150%; | |
8 | border: 1px solid #333; | |
9 | color: #9a9a9a; | |
10 | background: #ffe; | |
} | ||
8 | ||
9 | | |
12 | ||
13 | div#content h3 { | |
14 | margin: 12pt 0; | |
} | ||
16 | ||
17 | div#content { | |
18 | display: block; | |
19 | margin: 0 29% 0 8%; | |
20 | padding-right: 1%; | |
21 | border-right: 1px solid #e5ffd4; | |
22 | } | |
23 | ||
24 | div.sidebar { | |
25 | display: block; | |
26 | width: 20%; | |
27 | float: right; | |
28 | margin-right: 8%; | |
29 | padding-left: 1%; | |
30 | border-left: 1px solid #e5ffd4; | |
31 | } | |
32 | ||
hr { | ||
height: 1px; | ||
border: none; | ||
14 | | |
36 | background-color: #e5ffd4; | |
} | ||
16 | ||
17 | | |
38 | ||
39 | a[name] | |
40 | { | |
41 | text-decoration: none; | |
42 | color: #000; | |
43 | border: none; | |
44 | font-size: 80%; | |
} | ||
19 | ||
20 | | |
21 | | |
46 | ||
47 | /* Forms (from Collaboa CSS file, with tweaks) */ | |
48 | ||
49 | FIELDSET | |
50 | { | |
51 | display: block; | |
52 | margin: 10px 0 10px 0; | |
53 | border: 1px solid #ccc; | |
54 | background: #f6f6f6; | |
} | ||
23 | ||
24 | | |
25 | | |
56 | ||
57 | FIELDSET LEGEND | |
58 | { | |
59 | padding: 2px 10px 2px 10px; | |
60 | border: 1px solid #ccc; | |
61 | background: #fff; | |
} | ||
64 | LEGEND | |
65 | { | |
66 | font-weight: bold; | |
67 | font-size: 80%; | |
68 | } | |
69 | ||
70 | LABEL | |
71 | { | |
72 | font-size: 80%; | |
73 | } | |
74 | ||
75 | LABEL.first | |
76 | { | |
77 | padding-top: 10px; | |
78 | } | |
79 | ||
80 | FIELDSET BR | |
81 | { | |
82 | display: block; | |
83 | } | |
84 | ||
/* Generic nowrap class */ | ||
86 | ||
.nowrap { | ||
white-space: nowrap; | ||
} | ||
/* Source, diff and annotate views */ | ||
92 | ||
.src { | ||
color: #000; | ||
background-color: #eee; | ||
... | ... | |
font-weight: normal; | ||
} | ||
100 | pre { | |
101 | font-size: 90%; | |
102 | overflow: auto; | |
103 | } | |
104 | ||
/* Navigation header for source views, diffs and annotations */ | ||
106 | ||
.navigate-header { | ||
43 | | |
108 | background-color: #eee; | |
padding: 2px; | ||
45 | | |
110 | font-size: 80%; | |
} | ||
48 | ||
113 | /* Directory listing */ | |
114 | ||
table.dir { | ||
50 | | |
116 | font-size: 80%; | |
} | ||
118 | ||
/* Cells */ | ||
120 | ||
table.dir * td { | ||
54 | | |
55 | | |
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
125 | ||
/* Column headers */ | ||
127 | ||
table.dir * th { | ||
61 | | |
62 | | |
129 | background-color: #ddd; | |
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
133 | ||
/* Sorted column header */ | ||
135 | ||
table.dir * th.sorted { | ||
68 | | |
69 | | |
137 | background-image: url("/rails/collaboa/images/sort_desc.png"); | |
138 | background-repeat: no-repeat; | |
139 | padding-right: 12px; | |
140 | background-position: 99% 50%; | |
141 | background-color: #ddd; | |
} | ||
143 | ||
/* Even rows */ | ||
145 | ||
table.dir * tr.even { | ||
73 | | |
147 | background-color: #fbfbfb; | |
} | ||
149 | ||
/* Odd rows */ | ||
151 | ||
table.dir * tr.odd { | ||
77 | | |
153 | background-color: #f1f1f1; | |
} | ||
155 | ||
/* File and dir name columns */ | ||
157 | ||
table.dir * td.file, table.dir * td.dir { | ||
white-space: nowrap; | ||
} | ||
161 | ||
/* Graph link column */ | ||
163 | ||
table.dir * td.graph { | ||
padding-left: 3px; | ||
padding-right: 3px; | ||
text-align: center; | ||
width: 1%; | ||
} | ||
170 | ||
/* Age column */ | ||
172 | ||
table.dir * td.age { | ||
font-style: italic; | ||
white-space: nowrap; | ||
} | ||
177 | ||
table.dir * td.author { | ||
white-space: nowrap; | ||
} | ||
181 | ||
/* Log entry column */ | ||
183 | ||
table.dir * td.log { | ||
font-size: smaller; | ||
} | ||
187 | ||
/* Attic toggles in directory view */ | ||
189 | ||
.attic { | ||
font-size: smaller; | ||
} | ||
/* Option table labels and values */ | ||
195 | ||
.opt-label { | ||
text-align: right; | ||
padding-left: 0.5em; | ||
} | ||
200 | ||
.opt-value { | ||
padding-right: 0.5em; | ||
} | ||
/* Log entry in markup */ | ||
206 | ||
.log-markup { | ||
background-color: #fff; | ||
width: 100%; | ||
} | ||
/* Diff-selected revision in log */ | ||
213 | ||
.diff-selected { | ||
padding-right: 0.5em; | ||
border-right: 10px solid #fc6; | ||
} | ||
/* 'Line'-header of each diffed file */ | ||
220 | ||
.diff-heading { | ||
background-color: #9cc; | ||
border: 2px outset; | ||
padding: 5px; | ||
} | ||
226 | ||
/* Common properties for diff "contents" */ | ||
228 | ||
.diff { | ||
font-family: sans-serif; | ||
font-size: smaller; | ||
} | ||
233 | ||
/* Lines that are the same */ | ||
235 | ||
.diff-same { | ||
background-color: inherit; | ||
} | ||
239 | ||
/* Empty lines */ | ||
241 | ||
.diff-empty { | ||
background-color: #ccc; | ||
} | ||
245 | ||
/* Added lines */ | ||
247 | ||
.diff-added { | ||
background-color: #9f9; | ||
} | ||
251 | ||
/* Removed lines */ | ||
253 | ||
.diff-removed { | ||
background-color: #f99; | ||
} | ||
257 | ||
/* Changed lines */ | ||
259 | ||
.diff-changed { | ||
background-color: #ff6; | ||
} | ||
263 | ||
/* Empty changed lines */ | ||
265 | ||
.diff-changed-missing { | ||
background-color: #ee6; | ||
} | ||
269 | ||
/* Unchanged text in ediffs */ | ||
271 | ||
.diff-unchanged { | ||
background-color: #ccc; | ||
} | ||
/* Current revision lines in annotate view */ | ||
277 | ||
.current-rev { | ||
font-weight: bold; | ||
} | ||
/* Download links */ | ||
283 | ||
.download-link { | ||
font-weight: bold; | ||
} | ||
177 | ||
178 | ||
179 | | |
180 | ||
287 |
rool/perl/cvsweb/trunk/cvsweb.cgi:
prev. | current | |
my $l = $logo || ''; | ||
my $css = $CSS || ''; | ||
http_header('text/html', $moddate); | ||
4310 | $title = "CVS Root" if ($title eq ''); | |
print <<EOH; | ||
$HTML_DOCTYPE | ||
<html> |
rool/perl/cvsweb/trunk/cvsweb.conf:
prev. | current | |
# ln: Show line numbers in HTMLized views | ||
# 1 Show line numbers | ||
# 0 Don't show line numbers | ||
166 | | |
166 | "ln" => "1", | |
); | ||
# | ||
... | ... | |
# The title of the Page on startup. This will be put inside <h1> and <title> | ||
# tags, and HTML escaped. | ||
# | ||
180 | ||
180 | $defaulttitle = ''; | |
# The address is shown on the footer. This will be put inside a <address> tag. | ||
# | ||
184 | ||
184 | $address = ''; | |
185 | $long_intro = ''; | |
186 | $short_instruction = ''; | |
186 | ||
187 | ||
188 | ||
189 | ||
190 | ||
191 | ||
192 | ||
193 | ||
194 | ||
195 | ||
196 | ||
197 | ||
198 | ||
199 | ||
200 | ||
201 | ||
202 | ||
203 | ||
204 | ||
205 | ||
206 | ||
207 | ||
208 | ||
209 | ||
210 | ||
211 | ||
212 | ||
213 | ||
214 | ||
215 | ||
216 | ||
217 | ||
218 | ||
219 | ||
220 | ||
221 | ||
# Icons for the web UI. If ICON-URL is empty, the TEXT representation is | ||
# used. If you do not want to have a tool tip for an icon, set TEXT empty. | ||
# The width and height of the icon allow the browser to correctly display | ||
... | ... | |
# The traditional mime.types file, eg. the one from Apache is fine. | ||
# See above where this gets used. | ||
# | ||
371 | ||
337 | $mime_types = '/etc/mime.types'; | |
# Charset appended to the Content-Type HTTP header for text/* MIME types. | ||
# Note that the web server may default to some charset which may take effect | ||
... | ... | |
# settings in the configuration file with command line options, see | ||
# doGraph() and doGraphView() in cvsweb.cgi for details. | ||
# | ||
508 | ||
474 | $cvsgraph_config = "/home/adh/local/etc/cvsgraph.conf"; | |
# URL to the CVSHistory script. This should be absolute (but does not need | ||
# to include the host and port if the script is on the same server as | ||
... | ... | |
# Enables syntax highlighting using GNU Enscript if set. | ||
# You will need GNU Enscript version 1.6.3 or newer for this to work. | ||
# | ||
577 | ||
543 | $allow_enscript = $CMD{enscript} ? 1 : 0; | |
# Options to pass to enscript(1). | ||
# Do not set the -q, --language, -o or --highlight options here. |