diff options
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> |