summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-12-12 16:40:11 +0000
committerRomain d'Alverny <rda@mageia.org>2012-12-12 16:40:11 +0000
commitafb52420c640fd93e2ff53214efb6a91c73e97da (patch)
tree924407cb43f587c1b61bd4ca55f59ab09d86d05b
parenta53a437b67da9a261f757ab3ad0c76399be51b77 (diff)
downloadpkgsubmit-afb52420c640fd93e2ff53214efb6a91c73e97da.tar
pkgsubmit-afb52420c640fd93e2ff53214efb6a91c73e97da.tar.gz
pkgsubmit-afb52420c640fd93e2ff53214efb6a91c73e97da.tar.bz2
pkgsubmit-afb52420c640fd93e2ff53214efb6a91c73e97da.tar.xz
pkgsubmit-afb52420c640fd93e2ff53214efb6a91c73e97da.zip
Color code events summary.
-rw-r--r--js/pkgsubmit.js2
-rw-r--r--themes/mageia/style.css1
2 files changed, 2 insertions, 1 deletions
diff --git a/js/pkgsubmit.js b/js/pkgsubmit.js
index 1a27f43..80b13f8 100644
--- a/js/pkgsubmit.js
+++ b/js/pkgsubmit.js
@@ -34,7 +34,7 @@ var events_log = {
report: function () {
s = [];
for (i in this.events) {
- s.push(this.events[i] + ' ' + i);
+ s.push('<span class="hl hl-' + i + '">' + this.events[i] + ' ' + i + '</span>');
}
return s.join(", ");
}
diff --git a/themes/mageia/style.css b/themes/mageia/style.css
index 5be755d..b04a6bf 100644
--- a/themes/mageia/style.css
+++ b/themes/mageia/style.css
@@ -122,6 +122,7 @@ ul > li > ul > li > ul > li .file-view { left: -66px; }
margin: 0.6em 1em 0.6em 0;
font-size: 90%;
}
+.controls .p { display: inline; }
.hl-none { font-weight: bold; }
.hl { font-weight: bold; }