1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Cleanup and version bump

This commit is contained in:
Krateng 2020-11-11 17:45:40 +01:00
parent cfec8e089b
commit 3cf0dd9767
4 changed files with 6 additions and 4 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev", "email":"maloja@krateng.dev",
"github": "krateng" "github": "krateng"
} }
version = 2,10,3 version = 2,10,4
versionstr = ".".join(str(n) for n in version) versionstr = ".".join(str(n) for n in version)
links = { links = {
"pypi":"malojaserver", "pypi":"malojaserver",

View File

@ -250,7 +250,7 @@ def static_html(name):
if settings.get_settings("DEV_MODE"): jinja_environment.cache.clear() if settings.get_settings("DEV_MODE"): jinja_environment.cache.clear()
log("Generated page {name} in {time:.5f}s (Jinja)".format(name=name,time=clock.stop()),module="debug_performance") log("Generated page {name} in {time:.5f}s".format(name=name,time=clock.stop()),module="debug_performance")
return clean_html(res) return clean_html(res)

View File

@ -90,7 +90,9 @@
<h1><a class="stat_link_pulse" href="/pulse?trail=1&step=month">Pulse</a></h1> <h1><a class="stat_link_pulse" href="/pulse?trail=1&step=month">Pulse</a></h1>
{% for range in xranges -%} {% for range in xranges -%}
<span onclick="showRangeManual('pulse','{{ range.identifier }}')" class="stat_selector_pulse selector_pulse_{{ range.identifier }}">{{ range.localisation }}</span> <span onclick="showRangeManual('pulse','{{ range.identifier }}')" class="stat_selector_pulse selector_pulse_{{ range.identifier }}">
{{ range.localisation }}
</span>
{{ "|" if not loop.last }} {{ "|" if not loop.last }}
{%- endfor %} {%- endfor %}
<br/><br/> <br/><br/>

View File

@ -28,7 +28,7 @@
"48":"icon48.png" "48":"icon48.png"
}, },
"default_popup": "settings.html", "default_popup": "settings.html",
"default_title": "Settings" "default_title": "Maloja Scrobbler"
}, },
"icons": "icons":
{ {