mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-02-03 10:48:00 +01:00
Compare commits
2 Commits
bf48ed29d7
...
3f888c39d2
Author | SHA1 | Date | |
---|---|---|---|
3f888c39d2 | |||
eb5e1edf5e |
@ -153,7 +153,7 @@ def inject_default_variables():
|
|||||||
"""Inject the version number in the template variables"""
|
"""Inject the version number in the template variables"""
|
||||||
if __version__ == "unknown":
|
if __version__ == "unknown":
|
||||||
return {"version": ''}
|
return {"version": ''}
|
||||||
return {"version": __version__}
|
return {"version": __version__, "lang": get_locale()}
|
||||||
|
|
||||||
|
|
||||||
@app.after_request
|
@app.after_request
|
||||||
|
@ -19,4 +19,8 @@
|
|||||||
input:checked#slide-sidebar~#content-container {
|
input:checked#slide-sidebar~#content-container {
|
||||||
position: initial;
|
position: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input:checked#slide-sidebar~#footer,#content-container {
|
||||||
|
min-width: unset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="{{ lang }}">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
<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 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>
|
<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/style.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='style/mobile.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='style/mobile.css') }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user