Highlight tags in the shortlog/summary.
Thu Nov 10 00:34:34 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Highlight tags in the shortlog/summary.
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2013-08-19 15:01:14.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2013-08-19 15:01:15.000000000 +0000
@@ -870,7 +870,9 @@
alt = False
for p in ps:
- if alt:
+ if p.name.startswith("TAG "):
+ print '<tr class="tag">'
+ elif alt:
print '<tr class="dark">'
else:
print '<tr class="light">'
diff -rN -u old-darcsweb/style.css new-darcsweb/style.css
--- old-darcsweb/style.css 2013-08-19 15:01:14.000000000 +0000
+++ new-darcsweb/style.css 2013-08-19 15:01:15.000000000 +0000
@@ -158,6 +158,14 @@
background-color:#edece6;
}
+.tag {
+ background-color:#f0f0ff;
+}
+
+.tag:hover {
+ background-color:#e0e0ff;
+}
+
td {
padding:2px 5px;
font-size:12px;