diff options
author | Andrew Dolgov <[email protected]> | 2010-02-17 16:38:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-02-17 16:38:51 +0300 |
commit | fa7c9e65f16086918adde001ed2531c488bd4ce8 (patch) | |
tree | 9bf273c1357d8106e45bf014ae5681b4e436fee1 /utils/notifier/options.html | |
parent | 1f7b77d1681626cb2071e29692be68d2dbd18b81 (diff) |
notifier: support showing fresh articles in the badge
Diffstat (limited to 'utils/notifier/options.html')
-rw-r--r-- | utils/notifier/options.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/notifier/options.html b/utils/notifier/options.html index d7becf222..2988f41c8 100644 --- a/utils/notifier/options.html +++ b/utils/notifier/options.html @@ -38,6 +38,7 @@ function save() { } localStorage['show_badge'] = (f.show_badge.checked) ? "1" : "0"; + localStorage['show_fresh'] = (f.show_fresh.checked) ? "1" : "0"; var d = new Date(); @@ -71,6 +72,11 @@ function init() { else f.show_badge.checked = true; + if (localStorage['show_fresh']) + f.show_fresh.checked = localStorage['show_fresh'] == "1"; + else + f.show_fresh.checked = false; + var last_updated = $('last_updated'); var d = new Date(); @@ -106,6 +112,11 @@ label { p.last-updated { color : gray; } +fieldset span.note { + color : gray; + font-style : italic; +} + </style> <body onload="init()"> @@ -140,6 +151,12 @@ p.last-updated { <input name="show_badge" type="checkbox" value="1"/> </fieldset> + <fieldset> + <label>Badge shows fresh articles:</label> + <input name="show_fresh" type="checkbox" value="1"/> + <span class="note">(requires Tiny Tiny RSS 1.4.1 or trunk)</span> + </fieldset> + <input type="submit" value="Save"/> </form> |