From 706603db209a5536ebd4b19c09070051aa56c7a1 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 1 Jan 2015 20:29:01 +0000 Subject: [PATCH] Added card icon for master-flagged files. Using a crown icon for the moment, that may change based on user feedback. --- resources/report/html/loot-custom-icons.html | 15 +++++++++++++++ resources/report/html/loot-plugin-card.html | 5 +++++ resources/report/js/plugin.js | 1 + resources/report/report.html | 2 +- src/gui/handler.cpp | 1 + 5 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 resources/report/html/loot-custom-icons.html diff --git a/resources/report/html/loot-custom-icons.html b/resources/report/html/loot-custom-icons.html new file mode 100644 index 00000000..720576a6 --- /dev/null +++ b/resources/report/html/loot-custom-icons.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/report/html/loot-plugin-card.html b/resources/report/html/loot-plugin-card.html index 5ea516ea..c3288b0d 100644 --- a/resources/report/html/loot-plugin-card.html +++ b/resources/report/html/loot-plugin-card.html @@ -23,6 +23,7 @@ loot-clear-metadata + @@ -53,6 +54,7 @@ loot-clear-metadata } :host([data-bsa=false]) #loadsBSA, :host([data-empty=false]) #emptyPlugin, + :host([data-master=false]) #isMaster, :host(:not([data-edits])) #hasUserEdits { display: none; } @@ -151,6 +153,9 @@ loot-clear-metadata + + + diff --git a/resources/report/js/plugin.js b/resources/report/js/plugin.js index 20f89da9..bd70fb15 100644 --- a/resources/report/js/plugin.js +++ b/resources/report/js/plugin.js @@ -29,6 +29,7 @@ function Plugin(obj) { this.version = obj.version; this.isActive = obj.isActive; this.isEmpty = obj.isEmpty; + this.isMaster = obj.isMaster; this.loadsBSA = obj.loadsBSA; this.masterlist = obj.masterlist; diff --git a/resources/report/report.html b/resources/report/report.html index ed6c1112..772cc092 100644 --- a/resources/report/report.html +++ b/resources/report/report.html @@ -203,7 +203,7 @@