mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Changed design
This commit is contained in:
parent
f3fe8bb121
commit
15103da70b
@ -536,11 +536,11 @@ def module_filterselection(keys,time=True,delimit=False):
|
|||||||
if timekeys.get("timerange").next(-1) is not None:
|
if timekeys.get("timerange").next(-1) is not None:
|
||||||
prevrange = timekeys.get("timerange").next(-1)
|
prevrange = timekeys.get("timerange").next(-1)
|
||||||
html += "<a href='?" + compose_querystring(unchangedkeys,internal_to_uri({"timerange":prevrange})) + "'><span class='stat_selector'>" + prevrange.desc() + "</span></a>"
|
html += "<a href='?" + compose_querystring(unchangedkeys,internal_to_uri({"timerange":prevrange})) + "'><span class='stat_selector'>" + prevrange.desc() + "</span></a>"
|
||||||
html += " | "
|
html += " « "
|
||||||
if timekeys.get("timerange").next(-1) is not None or timekeys.get("timerange").next(1) is not None:
|
if timekeys.get("timerange").next(-1) is not None or timekeys.get("timerange").next(1) is not None:
|
||||||
html += "<span class='stat_selector' style='opacity:0.5;'>" + timekeys.get("timerange").desc() + "</span>"
|
html += "<span class='stat_selector' style='opacity:0.5;'>" + timekeys.get("timerange").desc() + "</span>"
|
||||||
if timekeys.get("timerange").next(1) is not None:
|
if timekeys.get("timerange").next(1) is not None:
|
||||||
html += " | "
|
html += " » "
|
||||||
nextrange = timekeys.get("timerange").next(1)
|
nextrange = timekeys.get("timerange").next(1)
|
||||||
html += "<a href='?" + compose_querystring(unchangedkeys,internal_to_uri({"timerange":nextrange})) + "'><span class='stat_selector'>" + nextrange.desc() + "</span></a>"
|
html += "<a href='?" + compose_querystring(unchangedkeys,internal_to_uri({"timerange":nextrange})) + "'><span class='stat_selector'>" + nextrange.desc() + "</span></a>"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user