~alcinnz/Hearth

ref: 9e6825a2aaa3509e098aab05258c4b6f49736e5e Hearth/tpl/bookmarks/new.html -rw-r--r-- 822 bytes
9e6825a2 — Adrian Cochrane Basic favourites support, commit missing files. 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8 />
  <title>➕️{{ _["Add Bookmark"] }}</title>
</head>
<body><form method="POST">
  <dl>
    <dt><label for="input-name">{{ _["Name"] }}</label></dt>
    <dd><input type="text" name="label" value="{{ Q.label }}" required
            id="input-name" /></dd>
    <dt><label for="input-url">{{ _["Web Address"] }}</label></dt>
    <dd><input type="url" name="href" value="{{ Q.href }}" required id="input-url" /></dd>
    <dt><label for="input-title">{{ _["Description"] }}</label></dt>
    <dd><textarea id="input-title" name="title"></textarea></dd>
  </dl>
  <p><button type="submit" formaction="read-later">📚️{{ _["Read Later"] }}</button>
    <!-- TODO: Implement these! -->
    <button type="submit">⭐️{{ _["Favourite"] }}</button>
</form></body>
</html>