[csw-devel] SF.net SVN: gar:[17462] csw/mgar/gar/v2/lib/web
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Mar 19 15:47:35 CET 2012
Revision: 17462
http://gar.svn.sourceforge.net/gar/?rev=17462&view=rev
Author: wahwah
Date: 2012-03-19 14:47:35 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
pkgdb-web: Overridden tags are greyed out
In the list of error tags, grey out the overridden ones.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/web/static/pkgdb.css
csw/mgar/gar/v2/lib/web/templates/ErrorTagDetail.html
Modified: csw/mgar/gar/v2/lib/web/static/pkgdb.css
===================================================================
--- csw/mgar/gar/v2/lib/web/static/pkgdb.css 2012-03-19 14:47:09 UTC (rev 17461)
+++ csw/mgar/gar/v2/lib/web/static/pkgdb.css 2012-03-19 14:47:35 UTC (rev 17462)
@@ -1,16 +1,13 @@
-body {
+body, p, th, td {
font-family: sans-serif;
font-size: 13px;
}
.annotation {
font-size: 80%;
}
-.overridden {
- color: gray;
+.overridden, .overridden a, tr.overridden > td {
+ color: #DDD;
}
-.overridden a {
- color: gray;
-}
ul.catalogname-list {
list-style: none;
margin: 0;
@@ -20,3 +17,6 @@
margin: 0.2em;
padding: 0;
}
+td.wordbag {
+ width: 30em;
+}
Modified: csw/mgar/gar/v2/lib/web/templates/ErrorTagDetail.html
===================================================================
--- csw/mgar/gar/v2/lib/web/templates/ErrorTagDetail.html 2012-03-19 14:47:09 UTC (rev 17461)
+++ csw/mgar/gar/v2/lib/web/templates/ErrorTagDetail.html 2012-03-19 14:47:35 UTC (rev 17462)
@@ -18,7 +18,10 @@
</tr>
$for tag in tags:
$if tag.srv4_file.registered:
- <tr>
+ <tr
+ $if tag.overridden:
+ class="overridden"
+ >
<td>
<a href="../../srv4/$tag.srv4_file.md5_sum/">$tag.srv4_file.basename</a>
</td>
@@ -31,7 +34,7 @@
<td>
$tag.catrel.name
</td>
- <td>
+ <td class="wordbag">
$tag.tag_info
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list