Mercurial > projects > booket
diff 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 |
line wrap: on
line diff
--- a/booket.html Wed Sep 17 19:55:26 2014 +0200 +++ b/booket.html Wed Sep 17 21:12:38 2014 +0200 @@ -89,6 +89,8 @@ <dd>Select bookmark file to import</dd> <dt><kbd>Prefix</kbd>+<kbd>m</kbd></dt> <dd>Import selected file</dd> + <dt><kbd>Prefix</kbd>+<kbd>x</kbd></dt> + <dd>Export selected file</dd> <dt><kbd>Prefix</kbd>+<kbd>f</kbd></dt> <dd>Focus search field</dd> </dl> @@ -121,6 +123,16 @@ <button type="submit" name="import-file" accesskey="m">Import</button> </fieldset> </form> + + <form id="export-form"> + <fieldset> + <legend>Export Bookmarks</legend> + <a href="#" id="export-link" hidden="hidden" + download="bookmarks.html"></a> + <button type="submit" name="export-file" + accesskey="x">Export…</button> + </fieldset> + </form> </section> <main>