Add icon to all delivered Sone pages.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 18 Oct 2010 13:47:11 +0000 (15:47 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 18 Oct 2010 13:47:11 +0000 (15:47 +0200)
src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
src/main/resources/static/images/icon.png [new file with mode: 0644]

index a152d30..2a56c57 100644 (file)
@@ -152,6 +152,14 @@ public class SoneTemplatePage extends TemplatePage {
        }
 
        /**
+        * {@inheritDoc}
+        */
+       @Override
+       protected String getShortcutIcon() {
+               return "images/icon.png";
+       }
+
+       /**
         * Returns whether this page requires the user to log in.
         *
         * @return {@code true} if the user is required to be logged in to use this
diff --git a/src/main/resources/static/images/icon.png b/src/main/resources/static/images/icon.png
new file mode 100644 (file)
index 0000000..7dbb827
Binary files /dev/null and b/src/main/resources/static/images/icon.png differ