comparison options/options.html @ 10:ff5e5e3eba32

Implement feed subscription for web-based feed readers Add options page for configuring web-based feed readers which allow for subscribing to feeds via GET requests. Track tabs containing feed previews and inject a content script which retrieves the configured feed readers and keeps them in sync.
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Fri, 07 Dec 2018 23:00:41 +0100
parents
children 688d75e554e0
comparison
equal deleted inserted replaced
9:fcd65cf3f634 10:ff5e5e3eba32
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <!--
6 Copyright (C) 2018 Guido Berhoerster <guido+feed-preview@berhoerster.name>
7
8 This Source Code Form is subject to the terms of the Mozilla Public
9 License, v. 2.0. If a copy of the MPL was not distributed with this
10 file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 -->
12 <script src="options.js" defer></script>
13 <link rel="stylesheet" href="options.css">
14 </head>
15 <body>
16 <template id="feed-reader-item-template">
17 <li class="feed-reader-item" draggable="true">
18 <label class="feed-reader-label">
19 <input type="radio" name="feed-reader" value="" required></input>
20 <div class="feed-reader-content">
21 <span class="feed-reader-title"></span>
22 <span class="feed-reader-url-template"></span>
23 </div>
24 </label>
25 </li>
26 </template>
27 <h1 id="feed-readers-title"></h1>
28 <form id="feed-readers">
29 <ul id="feed-reader-selection">
30 </ul>
31 <fieldset class="browser-style button-box" name="buttons">
32 <button type="submit" name="move-up" class="browser-style">
33 <button type="submit" name="move-down" class="browser-style">
34 <button type="submit" name="remove" class="browser-style">
35 </fieldset>
36 </form>
37 <form id="add-feed-reader">
38 <div class="browser-style">
39 <label for="feed-reader-title"></label>
40 <input type="text" id="feed-reader-title" name="title"
41 placeholder="" required>
42 </div>
43 <div class="browser-style">
44 <label for="feed-reader-url-template"></label>
45 <input type="text" id="feed-reader-url-template" placeholder=""
46 name="url-template" required>
47 <p id="feed-reader-url-caption" class="caption"></p>
48 </div>
49 <div class="browser-style">
50 <button type="submit" name="add" class="browser-style">
51 </div>
52 </form>
53 </body>
54 </html>