commit aff22f9d3624a20fcb58dcdec1d4b4c8f4ed8476
parent f179c489d546de97281e4f97a14cf80dc4c0b0d5
Author: Felicitus <felicitus@felicitus.org>
Date: Tue, 5 Jul 2011 06:15:12 +0200
Added footprint icon to the category tree
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/frontend/css/PartKeepr.css b/frontend/css/PartKeepr.css
@@ -69,3 +69,7 @@ td.o2 {
#loading { position: absolute; width: 180px; margin: -70px 0 0 -90px; height: 140px; top: 50%; left: 50%; }
#loading .logo { background: url(../resources/images/loading.gif) no-repeat; position: absolute; display: block; top: 25px; left: 22px; width: 120px; height: 120px; }
+
+.footprint-icon {
+ background-image: url(../resources/fugue-icons/icons/fingerprint.png) !important;
+}+
\ No newline at end of file
diff --git a/frontend/js/Components/Footprint/FootprintTree.js b/frontend/js/Components/Footprint/FootprintTree.js
@@ -125,7 +125,8 @@ Ext.define("PartKeepr.FootprintTree", {
nodeData = {
name: record.getRecordName(),
footprintId: record.get("id"),
- leaf: true
+ leaf: true,
+ iconCls:'footprint-icon'
};