Tue Feb 21 21:24:30 UTC 2006 Alberto Bertogli <albertogli@telpin.com.ar>
* Begin with alt = True in listings.
I think it looks better if we start a listing with alt = True (the dark one).
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2013-08-21 15:46:16.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2013-08-21 15:46:16.000000000 +0000
@@ -1073,7 +1073,7 @@
% (config.myreponame, ntopi)
print '</td></tr>'
- alt = False
+ alt = True
for p in ps:
if p.name.startswith("TAG "):
print '<tr class="tag">'
@@ -1585,7 +1585,7 @@
print '<table cellspacing="0">'
changed.sort()
- alt = False
+ alt = True
for f in changed:
if alt:
print '<tr class="dark">'
@@ -1693,7 +1693,7 @@
path = realpath(dname) + '/'
- alt = False
+ alt = True
files = os.listdir(path)
files.sort()
@@ -1990,7 +1990,7 @@
% (config.searchlimit, escape(s))
print '<table cellspacing="0">'
- alt = False
+ alt = True
for p in ps:
match = p.matches(s)
if not match:
@@ -2080,7 +2080,7 @@
}
# some python magic
- alt = False
+ alt = True
expand_multi_config(all_configs)
for conf in dir(all_configs):
if conf.startswith('__'):