You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2010/10/12 09:31:50 UTC
svn commit: r1021643 - in /felix/trunk/webconsole/src/main/resources/res/ui:
bundles.css bundles.js
Author: cziegeler
Date: Tue Oct 12 07:31:50 2010
New Revision: 1021643
URL: http://svn.apache.org/viewvc?rev=1021643&view=rev
Log:
FELIX-2614 : Mark unresolved packages
Modified:
felix/trunk/webconsole/src/main/resources/res/ui/bundles.css
felix/trunk/webconsole/src/main/resources/res/ui/bundles.js
Modified: felix/trunk/webconsole/src/main/resources/res/ui/bundles.css
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/resources/res/ui/bundles.css?rev=1021643&r1=1021642&r2=1021643&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/resources/res/ui/bundles.css (original)
+++ felix/trunk/webconsole/src/main/resources/res/ui/bundles.css Tue Oct 12 07:31:50 2010
@@ -30,4 +30,6 @@ th.col_Actions { width: 121px }
.symName:after { content: ")" }
.filterClear { display: inline-block; vertical-align: middle }
.bIcon, .bName { display: inline-block }
-.bIcon { float: left }
\ No newline at end of file
+.bIcon { float: left }
+
+.ui-state-info-text { color: grey; }
Modified: felix/trunk/webconsole/src/main/resources/res/ui/bundles.js
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/resources/res/ui/bundles.js?rev=1021643&r1=1021642&r2=1021643&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/resources/res/ui/bundles.js (original)
+++ felix/trunk/webconsole/src/main/resources/res/ui/bundles.js Tue Oct 12 07:31:50 2010
@@ -179,7 +179,14 @@ function renderDetails( data ) {
for(var pi in prop.value) {
var value = prop.value[pi];
if (i > 0) { txt = txt + "<br/>"; }
- txt = txt + value;
+ var span;
+ if (value.substring(0, 6) == "INFO: ") {
+ txt = txt + "<span class='ui-state-info-text'>" + value.substring(5) + "</span>";
+ } else if (value.substring(0, 7) == "ERROR: ") {
+ txt = txt + "<span class='ui-state-error-text'>" + value.substring(6) + "</span>";
+ } else {
+ txt = txt + value;
+ }
i++;
}
} else {