mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-07-24 18:48:17 +02:00
copy, instructions, home, anchor
Added name filter, "copy" button, "Instructions" page, "Home" button, anchor
This commit is contained in:
parent
c04182aa62
commit
74cea36bbe
1 changed files with 19 additions and 3 deletions
|
@ -3,7 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>py-kms {% block title %}{% endblock %}</title>
|
<title>py-kms {% block title %}{% endblock %}</title>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename= 'css/bulma.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
||||||
<style>
|
<style>
|
||||||
#content {
|
#content {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
@ -23,6 +24,16 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||||
|
<div class="navbar-menu">
|
||||||
|
<div class="navbar-start">
|
||||||
|
<a class="navbar-item" href="/">Home</a>
|
||||||
|
<a class="navbar-item" href="/instructions">Instructions</a>
|
||||||
|
<!-- Add more navigation items if needed -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
|
|
||||||
|
@ -39,7 +50,7 @@
|
||||||
<div class="content has-text-centered">
|
<div class="content has-text-centered">
|
||||||
<p>
|
<p>
|
||||||
<strong>py-kms</strong> is online since <span class="convert_timestamp">{{ start_time }}</span>.
|
<strong>py-kms</strong> is online since <span class="convert_timestamp">{{ start_time }}</span>.
|
||||||
This instance was accessed {{ get_serve_count() }} times. View this softwares license <a href="/license">here</a>.
|
This instance was accessed {{ get_serve_count() }} times. View this software's license <a href="/license">here</a>.
|
||||||
{% if version_info %}
|
{% if version_info %}
|
||||||
<br>This instance is running version "{{ version_info['hash'] }}" from branch "{{ version_info['branch'] }}" of py-kms.
|
<br>This instance is running version "{{ version_info['hash'] }}" from branch "{{ version_info['branch'] }}" of py-kms.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -47,10 +58,15 @@
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<!-- Scroll to Top Button -->
|
||||||
|
<button class="scroll-to-top" onclick="window.scrollTo({top: 0, behavior: 'smooth'});">
|
||||||
|
↑
|
||||||
|
</button>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
for(let element of document.getElementsByClassName('convert_timestamp')) {
|
for(let element of document.getElementsByClassName('convert_timestamp')) {
|
||||||
element.innerText = new Date(element.innerText).toLocaleString();
|
element.innerText = new Date(element.innerText).toLocaleString();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue