mirror of
https://github.com/YGGverse/hlstate-rs.git
synced 2026-03-31 17:15:37 +00:00
implement state update on background (basics for subscription feature)
This commit is contained in:
parent
e77d101b70
commit
8daa729bf9
8 changed files with 167 additions and 96 deletions
|
|
@ -9,7 +9,7 @@
|
|||
padding: 0;
|
||||
font-family: monospace;
|
||||
color-scheme: light dark;
|
||||
--container-max-width: 1024px;
|
||||
--container-max-width: 1128px;
|
||||
--color-success: #4bc432;
|
||||
--color-warning: #f37b21;
|
||||
--color-error: #ff6363;
|
||||
|
|
@ -75,6 +75,19 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
header > div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
header > div:first-child {
|
||||
float: left;
|
||||
}
|
||||
|
||||
header > div:last-child {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
main {
|
||||
display: block;
|
||||
margin: 16px auto;
|
||||
|
|
@ -101,10 +114,7 @@
|
|||
<body>
|
||||
<header>
|
||||
<h1></h1>
|
||||
<div class="float-left">
|
||||
|
||||
</div>
|
||||
<div class="float-right">
|
||||
<div>
|
||||
<strong>
|
||||
<a href="/">{{ title }}</a> |
|
||||
<a href="https://store.steampowered.com/app/70/HalfLife/" target="_blank">Game</a> |
|
||||
|
|
@ -113,18 +123,21 @@
|
|||
<a href="https://github.com/YGGverse/hlstate-rs" target="_blank" title="v{{ version }}">GitHub</a>
|
||||
</strong>
|
||||
</div>
|
||||
<div>
|
||||
{% if updated %}{{ updated }}{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
{% block content %}{% endblock content %}
|
||||
</main>
|
||||
<footer>
|
||||
<h2>Master</h2>
|
||||
<h2>Masters</h2>
|
||||
{% if masters %}
|
||||
<ul>
|
||||
{% for master in masters %}
|
||||
<li{# class="online" #}>{{ master }}</li>
|
||||
{% endfor %}
|
||||
<ul>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</footer>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue