Mercurial > projects > booket
diff 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 |
line wrap: on
line diff
--- a/booket.html Sun Sep 14 23:14:02 2014 +0200 +++ b/booket.html Wed Sep 17 19:55:26 2014 +0200 @@ -85,6 +85,10 @@ <dd>Save bookmark file</dd> <dt><kbd>Prefix</kbd>+<kbd>a</kbd></dt> <dd>Focus bookmark editor</dd> + <dt><kbd>Prefix</kbd>+<kbd>e</kbd></dt> + <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>f</kbd></dt> <dd>Focus search field</dd> </dl> @@ -108,6 +112,15 @@ accesskey="s">Save…</button> </fieldset> </form> + + <form id="import-form"> + <fieldset> + <legend>Import Bookmarks</legend> + <label accesskey="e">File <input type="file" accept="text/html" + required="required" name="file"></input></label> + <button type="submit" name="import-file" accesskey="m">Import</button> + </fieldset> + </form> </section> <main>