comparison booket.html @ 10:20902b548d9f

Add Netscape bookmark file import function
author Guido Berhoerster <guido+booket@berhoerster.name>
date Wed, 17 Sep 2014 19:55:26 +0200
parents 19900803f7d0
children ef5d75bcac5e
comparison
equal deleted inserted replaced
9:19900803f7d0 10:20902b548d9f
83 <dd>Load selected bookmark file</dd> 83 <dd>Load selected bookmark file</dd>
84 <dt><kbd>Prefix</kbd>+<kbd>s</kbd></dt> 84 <dt><kbd>Prefix</kbd>+<kbd>s</kbd></dt>
85 <dd>Save bookmark file</dd> 85 <dd>Save bookmark file</dd>
86 <dt><kbd>Prefix</kbd>+<kbd>a</kbd></dt> 86 <dt><kbd>Prefix</kbd>+<kbd>a</kbd></dt>
87 <dd>Focus bookmark editor</dd> 87 <dd>Focus bookmark editor</dd>
88 <dt><kbd>Prefix</kbd>+<kbd>e</kbd></dt>
89 <dd>Select bookmark file to import</dd>
90 <dt><kbd>Prefix</kbd>+<kbd>m</kbd></dt>
91 <dd>Import selected file</dd>
88 <dt><kbd>Prefix</kbd>+<kbd>f</kbd></dt> 92 <dt><kbd>Prefix</kbd>+<kbd>f</kbd></dt>
89 <dd>Focus search field</dd> 93 <dd>Focus search field</dd>
90 </dl> 94 </dl>
91 </aside> 95 </aside>
92 96
104 <legend>Save Bookmarks</legend> 108 <legend>Save Bookmarks</legend>
105 <a href="#" id="save-link" hidden="hidden" 109 <a href="#" id="save-link" hidden="hidden"
106 download="bookmarks.json"></a> 110 download="bookmarks.json"></a>
107 <button type="submit" name="save-file" 111 <button type="submit" name="save-file"
108 accesskey="s">Save&#8230;</button> 112 accesskey="s">Save&#8230;</button>
113 </fieldset>
114 </form>
115
116 <form id="import-form">
117 <fieldset>
118 <legend>Import Bookmarks</legend>
119 <label accesskey="e">File <input type="file" accept="text/html"
120 required="required" name="file"></input></label>
121 <button type="submit" name="import-file" accesskey="m">Import</button>
109 </fieldset> 122 </fieldset>
110 </form> 123 </form>
111 </section> 124 </section>
112 125
113 <main> 126 <main>