From 33162605bb8b612cd047c1d817c1b3223aaa9add Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Oct 2012 01:52:35 +0200 Subject: [PATCH] journal: make buttons bigger in browse.html --- src/journal/browse.html | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/journal/browse.html b/src/journal/browse.html index a49dcf243..653282066 100644 --- a/src/journal/browse.html +++ b/src/journal/browse.html @@ -90,7 +90,7 @@ text-align: center; } input { - font-size: 10pt; + font-size: 18pt; font-weight: bold; } @@ -115,13 +115,13 @@
- - - - + + + +      - - + +
@@ -139,7 +139,7 @@ function getNEntries() { var n; - n = localStorage["n_entries"]; + n = window.localStorage["n_entries"]; if (n == null) return 50; n = parseInt(n); @@ -156,7 +156,11 @@ } function setNEntries(n) { - localStorage["n_entries"] = n.toString(); + if (n < 10) + return 10; + if (n > 1000) + return 1000; + window.localStorage["n_entries"] = n.toString(); showNEntries(n); } @@ -217,7 +221,7 @@ function entriesLoad(range) { if (range == null) - range = localStorage["cursor"]; + range = window.localStorage["cursor"] + ":0"; if (range == null) range = ""; @@ -333,7 +337,7 @@ if (fc != null) { first_cursor = fc; - localStorage["cursor"] = fc; + window.localStorage["cursor"] = fc; } if (lc != null) last_cursor = lc; -- 2.30.2