mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-12 08:58:20 +03:00
journal: make buttons bigger in browse.html
This commit is contained in:
parent
04909b0f2c
commit
33162605bb
@ -90,7 +90,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
font-size: 10pt;
|
font-size: 18pt;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -115,13 +115,13 @@
|
|||||||
<div id="diventry"><table id="tableentry"></table></div>
|
<div id="diventry"><table id="tableentry"></table></div>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<input id="head" type="button" value="|<" onclick="entriesLoadHead();"/>
|
<input id="head" type="button" value="⇤" onclick="entriesLoadHead();" title="First Page"/>
|
||||||
<input id="previous" type="button" value="<<" onclick="entriesLoadPrevious();"/>
|
<input id="previous" type="button" value="←" onclick="entriesLoadPrevious();" title="Previous Page"/>
|
||||||
<input id="next" type="button" value=">>" onclick="entriesLoadNext();"/>
|
<input id="next" type="button" value="→" onclick="entriesLoadNext();" title="Next Page"/>
|
||||||
<input id="tail" type="button" value=">|" onclick="entriesLoadTail();"/>
|
<input id="tail" type="button" value="⇥" onclick="entriesLoadTail();" title="Last Page"/>
|
||||||
|
|
||||||
<input id="more" type="button" value="More" onclick="entriesMore();"/>
|
<input id="more" type="button" value="+" onclick="entriesMore();" title="More Entries"/>
|
||||||
<input id="less" type="button" value="Less" onclick="entriesLess();"/>
|
<input id="less" type="button" value="-" onclick="entriesLess();" title="Fewer Entries"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="keynav">
|
<div id="keynav">
|
||||||
@ -139,7 +139,7 @@
|
|||||||
|
|
||||||
function getNEntries() {
|
function getNEntries() {
|
||||||
var n;
|
var n;
|
||||||
n = localStorage["n_entries"];
|
n = window.localStorage["n_entries"];
|
||||||
if (n == null)
|
if (n == null)
|
||||||
return 50;
|
return 50;
|
||||||
n = parseInt(n);
|
n = parseInt(n);
|
||||||
@ -156,7 +156,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setNEntries(n) {
|
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);
|
showNEntries(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -217,7 +221,7 @@
|
|||||||
function entriesLoad(range) {
|
function entriesLoad(range) {
|
||||||
|
|
||||||
if (range == null)
|
if (range == null)
|
||||||
range = localStorage["cursor"];
|
range = window.localStorage["cursor"] + ":0";
|
||||||
if (range == null)
|
if (range == null)
|
||||||
range = "";
|
range = "";
|
||||||
|
|
||||||
@ -333,7 +337,7 @@
|
|||||||
|
|
||||||
if (fc != null) {
|
if (fc != null) {
|
||||||
first_cursor = fc;
|
first_cursor = fc;
|
||||||
localStorage["cursor"] = fc;
|
window.localStorage["cursor"] = fc;
|
||||||
}
|
}
|
||||||
if (lc != null)
|
if (lc != null)
|
||||||
last_cursor = lc;
|
last_cursor = lc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user