diff booket.html @ 6:e9ad4c625b7a

Add bookmarklet for bookmarking Add a bookmarklet which gathers the URL and title of the current page which can then be copied and pasted into Booket
author Guido Berhoerster <guido+booket@berhoerster.name>
date Wed, 10 Sep 2014 19:45:23 +0200
parents 39c95b9826d2
children a1a934adff8d
line wrap: on
line diff
--- a/booket.html	Tue Sep 09 20:23:58 2014 +0200
+++ b/booket.html	Wed Sep 10 19:45:23 2014 +0200
@@ -55,6 +55,9 @@
           <ul class="tag-input-list"></ul>
           <button type="button" name="more-tags">Add more tags</button>
         </div>
+        <label>Import from Bookmarklet
+        <textarea name="bookmarklet-import" cols="60" rows="4"
+        spellcheck="false"></textarea></label>
         <button type="reset" name="cancel">Cancel</button><button type="submit"
         name="save-bookmark">Save</button>
       </fieldset>
@@ -63,6 +66,11 @@
 
   <section id="actions">
     <h2>Actions</h2>
+    <aside id="bookmarklet">
+      <h3>Bookmarklet</h3>
+      <a title="Create Bookmark" id="bookmarklet-link">Create Bookmark</a>
+    </aside>
+
     <aside id="keyboard-shortcuts">
       <h3>Keyboard Shortcuts</h3>
       <dl>
@@ -78,6 +86,7 @@
         <dd>Focus search field</dd>
       </dl>
     </aside>
+
     <form id="load-form">
       <fieldset>
         <legend>Load Bookmarks</legend>