Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#tag_icons: added a system tag icon

  • Loading branch information...
commit e37e7c0374a0cdb2255a89e522a0709c229fcc14 1 parent d7b6180
@marubinotto authored
View
2  src/main/java/marubinotto/piggydb/ui/page/common/HtmlFragments.java
@@ -200,7 +200,7 @@ public String miniTagIconClass(Tag tag) {
String c = "miniTagIcon";
if (tag.getName().startsWith("#")) {
- c += " miniTagIcon-" + WebUtils.escapeHtml(tag.getName().substring(1));
+ c += " miniTagIcon-system miniTagIcon-" + WebUtils.escapeHtml(tag.getName().substring(1));
}
else {
c += " miniTagIcon-" + (tag.isTagFragment() ? "fragment" : "plain");
View
BIN  src/main/webapp/style/images/mini-tag-system.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  src/main/webapp/style/images/tag-system.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 src/main/webapp/style/piggydb-shared.css
@@ -532,6 +532,10 @@ span.miniTagIcon-fragment {
background: url(images/mini-tag-fragment.png) 0 50% no-repeat;
}
+span.miniTagIcon-system {
+ background: url(images/mini-tag-system.png) 0 50% no-repeat;
+}
+
span.tagIcon-trash {
background: url(images/tag-trash.png) 0 50% no-repeat;
}
Please sign in to comment.
Something went wrong with that request. Please try again.