diff booket.html @ 7:a1a934adff8d version-2

Add support for favicons
author Guido Berhoerster <guido+booket@berhoerster.name>
date Sun, 14 Sep 2014 23:12:37 +0200
parents e9ad4c625b7a
children 19900803f7d0
line wrap: on
line diff
--- a/booket.html	Wed Sep 10 19:45:23 2014 +0200
+++ b/booket.html	Sun Sep 14 23:12:37 2014 +0200
@@ -51,6 +51,9 @@
         name="url" size="60" placeholder="http://example.com/"></input></label>
         <label>Title <input type="text" name="title" size="60"
         placeholder="A Title"></input></label>
+        <label>Favicon <img width="16" height="16" src="missing-favicon.svg"
+        class="bookmark-favicon" alt=""></img><input type="hidden"
+        name="favicon"></input></label>
         <div>
           <ul class="tag-input-list"></ul>
           <button type="button" name="more-tags">Add more tags</button>
@@ -144,7 +147,8 @@
         <template id="bookmark-template">
           <li>
             <details>
-              <summary><p>
+              <summary><p><img width="16" height="16"
+                  class="bookmark-favicon"></img>
                   <a class="bookmark-link" target="_blank"></a>
                   <span class="bookmark-hostname"></span>
                 </p>