comparison booket.html @ 11:ef5d75bcac5e

Add Netscape bookmark file export function
author Guido Berhoerster <guido+booket@berhoerster.name>
date Wed, 17 Sep 2014 21:12:38 +0200
parents 20902b548d9f
children 948048e40fab
comparison
equal deleted inserted replaced
10:20902b548d9f 11:ef5d75bcac5e
87 <dd>Focus bookmark editor</dd> 87 <dd>Focus bookmark editor</dd>
88 <dt><kbd>Prefix</kbd>+<kbd>e</kbd></dt> 88 <dt><kbd>Prefix</kbd>+<kbd>e</kbd></dt>
89 <dd>Select bookmark file to import</dd> 89 <dd>Select bookmark file to import</dd>
90 <dt><kbd>Prefix</kbd>+<kbd>m</kbd></dt> 90 <dt><kbd>Prefix</kbd>+<kbd>m</kbd></dt>
91 <dd>Import selected file</dd> 91 <dd>Import selected file</dd>
92 <dt><kbd>Prefix</kbd>+<kbd>x</kbd></dt>
93 <dd>Export selected file</dd>
92 <dt><kbd>Prefix</kbd>+<kbd>f</kbd></dt> 94 <dt><kbd>Prefix</kbd>+<kbd>f</kbd></dt>
93 <dd>Focus search field</dd> 95 <dd>Focus search field</dd>
94 </dl> 96 </dl>
95 </aside> 97 </aside>
96 98
117 <fieldset> 119 <fieldset>
118 <legend>Import Bookmarks</legend> 120 <legend>Import Bookmarks</legend>
119 <label accesskey="e">File <input type="file" accept="text/html" 121 <label accesskey="e">File <input type="file" accept="text/html"
120 required="required" name="file"></input></label> 122 required="required" name="file"></input></label>
121 <button type="submit" name="import-file" accesskey="m">Import</button> 123 <button type="submit" name="import-file" accesskey="m">Import</button>
124 </fieldset>
125 </form>
126
127 <form id="export-form">
128 <fieldset>
129 <legend>Export Bookmarks</legend>
130 <a href="#" id="export-link" hidden="hidden"
131 download="bookmarks.html"></a>
132 <button type="submit" name="export-file"
133 accesskey="x">Export&#8230;</button>
122 </fieldset> 134 </fieldset>
123 </form> 135 </form>
124 </section> 136 </section>
125 137
126 <main> 138 <main>