Compare commits

..

No commits in common. "3f888c39d22486b8f1832f970b798edf2e5d5387" and "bf48ed29d7421832ccc8b17f957cedae51b3a7fa" have entirely different histories.

3 changed files with 2 additions and 9 deletions

View File

@ -153,7 +153,7 @@ def inject_default_variables():
"""Inject the version number in the template variables"""
if __version__ == "unknown":
return {"version": ''}
return {"version": __version__, "lang": get_locale()}
return {"version": __version__}
@app.after_request

View File

@ -19,8 +19,4 @@
input:checked#slide-sidebar~#content-container {
position: initial;
}
input:checked#slide-sidebar~#footer,#content-container {
min-width: unset;
}
}

View File

@ -1,12 +1,9 @@
<!DOCTYPE html>
<html lang="{{ lang }}">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="{{ self.title() }}" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#eff1f5">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1e1e2e">
<title>{% block title %}{% endblock %} - PartitionCloud</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style/style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='style/mobile.css') }}">