projects/booket

view booket.html @ 32:06eba1bf219d

Exclude "." from tarballs
author Guido Berhoerster <guido+booket@berhoerster.name>
date Tue Sep 13 16:23:34 2016 +0200 (15 months ago)
parents 8c2f3e72d514
children
line source
1 <!DOCTYPE html>
2 <!--
3 Copyright (C) 2014 Guido Berhoerster <guido+booket@berhoerster.name>
5 Permission is hereby granted, free of charge, to any person obtaining
6 a copy of this software and associated documentation files (the
7 "Software"), to deal in the Software without restriction, including
8 without limitation the rights to use, copy, modify, merge, publish,
9 distribute, sublicense, and/or sell copies of the Software, and to
10 permit persons to whom the Software is furnished to do so, subject to
11 the following conditions:
13 The above copyright notice and this permission notice shall be included
14 in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 -->
24 <html>
25 <head>
26 <meta charset="utf-8"></meta>
27 <title>Booket</title>
28 <link rel="stylesheet" type="text/css" href="booket.css"></link>
29 <link rel="icon" type="image/png" href="booket-favicon.png"></link>
30 <script src="booket.js"></script>
31 </head>
32 <body>
33 <header>
34 <img src="booket-logo.svg" alt="Booket Logo" id="logo"><img>
35 <h1>Booket</h1>
36 <p>Version 5</p>
37 </header>
39 <datalist id="tag-datalist"></datalist>
41 <section id="notifications">
42 <div id="keyboard-shortcuts">
43 <h3>Keyboard Shortcuts</h3>
44 <dl>
45 <dt><kbd>Prefix</kbd>+<kbd>i</kbd></dt>
46 <dd>Select bookmark file to load</dd>
47 <dt><kbd>Prefix</kbd>+<kbd>l</kbd></dt>
48 <dd>Load selected bookmark file</dd>
49 <dt><kbd>Prefix</kbd>+<kbd>s</kbd></dt>
50 <dd>Save bookmark file</dd>
51 <dt><kbd>Prefix</kbd>+<kbd>a</kbd></dt>
52 <dd>Focus bookmark editor</dd>
53 <dt><kbd>Prefix</kbd>+<kbd>e</kbd></dt>
54 <dd>Select bookmark file to import</dd>
55 <dt><kbd>Prefix</kbd>+<kbd>m</kbd></dt>
56 <dd>Import selected file</dd>
57 <dt><kbd>Prefix</kbd>+<kbd>x</kbd></dt>
58 <dd>Export selected file</dd>
59 <dt><kbd>Prefix</kbd>+<kbd>f</kbd></dt>
60 <dd>Focus search field</dd>
61 </dl>
62 </div>
64 <p class="unsaved-changes-message" hidden="hidden"><strong>There are
65 unsaved changes to your bookmarks.</strong></p>
66 </section>
68 <template id="tag-input-template">
69 <li><label class="top-label">Tag <input type="text" name="tag"
70 pattern="[^,;]*" size="20" list="tag-datalist" placeholder="tag"></input>
71 </label></li>
72 </template>
74 <template id="bookmark-editor-template">
75 <form class="bookmark-editor-form">
76 <fieldset>
77 <legend></legend>
78 <input type="hidden" name="original-url"></input>
79 <label class="top-label">URL <input type="url" required="required"
80 name="url" size="60" placeholder="http://example.com/"></input></label>
81 <label class="top-label">Title <input type="text" name="title" size="60"
82 placeholder="A Title"></input></label>
83 <label class="top-label">Favicon <img width="16" height="16"
84 src="missing-favicon.svg" class="bookmark-favicon" alt=""></img><input
85 type="hidden" name="favicon"></input></label>
86 <div>
87 <ul class="tag-input-list"></ul>
88 <button type="button" name="more-tags">Add more tags</button>
89 </div>
90 <label class="top-label">Import from Bookmarklet
91 <textarea name="bookmarklet-import" cols="60" rows="4"
92 spellcheck="false"></textarea></label>
93 <button type="reset" name="cancel">Cancel</button><button type="submit"
94 name="save-bookmark">Save</button>
95 </fieldset>
96 </form>
97 </template>
99 <section id="actions">
100 <h2>Actions</h2>
101 <aside id="bookmarklet">
102 <h3>Bookmarklet</h3>
103 <a title="Create Bookmark" id="bookmarklet-link">Create Bookmark</a>
104 </aside>
106 <form id="load-form">
107 <fieldset class="expander">
108 <legend tabindex="0" class="expander-label">Load Bookmarks</legend>
109 <label accesskey="i" class="top-label">File <input type="file"
110 accept="application/json" required="required"
111 name="file"></input></label>
112 <label><input type="checkbox" name="merge"></input> Merge with existing
113 bookmarks</label>
114 <button type="submit" name="load-file" accesskey="l">Load</button>
115 </fieldset>
116 </form>
118 <form id="save-form">
119 <fieldset class="expander">
120 <legend tabindex="0" class="expander-label">Save Bookmarks</legend>
121 <a href="#" id="save-link" hidden="hidden"
122 download="bookmarks.json"></a>
123 <button type="submit" name="save-file"
124 accesskey="s">Save&#8230;</button>
125 </fieldset>
126 </form>
128 <form id="import-form">
129 <fieldset class="expander">
130 <legend tabindex="0" class="expander-label">Import Bookmarks</legend>
131 <label accesskey="e" class="top-label">File <input type="file"
132 accept="text/html" required="required" name="file"></input></label>
133 <label><input type="checkbox" name="merge"></input> Merge with existing
134 bookmarks</label>
135 <button type="submit" name="import-file" accesskey="m">Import</button>
136 </fieldset>
137 </form>
139 <form id="export-form">
140 <fieldset class="expander">
141 <legend tabindex="0" class="expander-label">Export Bookmarks</legend>
142 <a href="#" id="export-link" hidden="hidden"
143 download="bookmarks.html"></a>
144 <button type="submit" name="export-file"
145 accesskey="x">Export&#8230;</button>
146 </fieldset>
147 </form>
148 </section>
150 <main>
151 <section id="bookmarks">
152 <h2>Bookmarks</h2>
154 <aside id="tags">
155 <h3>Tags</h3>
157 <ul class="tag-list">
158 <template id="tag-template">
159 <li><button type="button" name="set-tag"></button><span
160 class="tag-count"></span><button type="button"
161 name="toggle-tag"></button></li>
162 </template>
163 </ul>
165 <label><input type="checkbox" name="show-tag-cloud"></input> Show tag
166 cloud</label>
167 </aside>
169 <aside id="search">
170 <h3>Search</h3>
172 <form id="search-form">
173 <input type="search" name="search-term" size="20" placeholder="Search"
174 accesskey="f"></input>
175 <button type="submit" name="search">Search</button><button
176 type="reset" name="clear">Clear</button>
177 </form>
178 </aside>
180 <p id="bookmark-message"></p>
182 <ul id="bookmark-list">
183 <template id="bookmark-tag-template">
184 <li><button type="button" name="set-tag"></button><button
185 type="button" name="toggle-tag"></button></li>
186 </template>
187 <template id="bookmark-template">
188 <li>
189 <div class="expander">
190 <div class="expander-label" tabindex="0"><p><img width="16"
191 height="16" class="bookmark-favicon"></img>
192 <a class="bookmark-link" target="_blank"></a>
193 <span class="bookmark-hostname"></span>
194 </p>
195 <ul class="tag-list"></ul></div>
196 <div class="bookmark-actions">
197 <button type="button" name="edit-bookmark">Edit</button><button
198 type="button" name="delete-bookmark">Delete</button>
199 </div>
200 <dl class="bookmark-metadata">
201 <dt>URL</dt>
202 <dd class="bookmark-url"></dd>
203 <dt>Added</dt>
204 <dd><time class="ctime"></time></dd>
205 <dt>Last modified</dt>
206 <dd><time class="mtime"></time></dd>
207 </dl>
208 </div>
209 </li>
210 </template>
211 </ul>
212 </section>
213 </main>
215 <footer><address>Copyright 2014
216 <a href="mailto:guido+booket@berhoerster.name"
217 title="guido+booket@berhoerster.name">Guido
218 Berhörster</a></address>
219 </footer>
220 </body>
221 </html>