mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-07-23 18:25:55 +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>
|
||||
<meta charset="UTF-8">
|
||||
<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>
|
||||
#content {
|
||||
margin: 1em;
|
||||
|
@ -23,6 +24,16 @@
|
|||
</style>
|
||||
</head>
|
||||
<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">
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
|
@ -39,7 +50,7 @@
|
|||
<div class="content has-text-centered">
|
||||
<p>
|
||||
<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 %}
|
||||
<br>This instance is running version "{{ version_info['hash'] }}" from branch "{{ version_info['branch'] }}" of py-kms.
|
||||
{% endif %}
|
||||
|
@ -47,10 +58,15 @@
|
|||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Scroll to Top Button -->
|
||||
<button class="scroll-to-top" onclick="window.scrollTo({top: 0, behavior: 'smooth'});">
|
||||
↑
|
||||
</button>
|
||||
|
||||
<script>
|
||||
for(let element of document.getElementsByClassName('convert_timestamp')) {
|
||||
element.innerText = new Date(element.innerText).toLocaleString();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue