File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed
Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > py-kms {% block title %}{% endblock %}</ title >
6+ < link rel ="icon " type ="image/x-icon " href ="{{ url_for('static', filename= 'favicon.ico') }} ">
7+ < link rel ="stylesheet " href ="{{ url_for('static', filename= 'css/bulma.min.css') }} ">
8+ < style >
9+ # content {
10+ margin : 1em ;
11+ overflow-x : auto;
12+ }
13+ pre {
14+ overflow-x : auto;
15+ padding : 0.5em ;
16+ }
17+ {% if path != '/' %}
18+ div.backtohome {
19+ display : flex;
20+ justify-content : center;
21+ }
22+ {% endif %}
23+ {% block style %}{% endblock %}
24+ </ style >
25+ </ head >
26+ < body >
27+ < div id ="content ">
28+ {% block content %}{% endblock %}
29+
30+ {% if path != '/' %}
31+ < div class ="block backtohome ">
32+ < a class ="button is-normal is-responsive " href ="/ ">
33+ Back to home
34+ </ a >
35+ </ div >
36+ {% endif %}
37+ </ div >
38+
39+ < footer class ="footer ">
40+ < div class ="content has-text-centered ">
41+ < p >
42+ < strong > py-kms</ strong > is online since < span class ="convert_timestamp "> {{ start_time }}</ span > .
43+ This instance was accessed {{ get_serve_count() }} times. View this softwares license < a href ="/license "> here</ a > .
44+ {% if version_info %}
45+ < br > This instance is running version "{{ version_info['hash'] }}" from branch "{{ version_info['branch'] }}" of py-kms.
46+ {% endif %}
47+ </ p >
48+ </ div >
49+ </ footer >
50+
51+ < script >
52+ for ( let element of document . getElementsByClassName ( 'convert_timestamp' ) ) {
53+ element . innerText = new Date ( element . innerText ) . toLocaleString ( ) ;
54+ }
55+ </ script >
56+ </ body >
57+ </ html >
You can’t perform that action at this time.
0 commit comments