Release 0.9.0

This commit is contained in:
2025-11-21 07:26:02 +01:00
committed by ecv
commit 472f0812e7
240 changed files with 20033 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{%- set logged_in_users_count = webserver_logged_in_users|length -%}
<tr id="server_status_widget_logged_in_users">
<td>
<strong>{{ logged_in_users_count }}</strong>{%- if logged_in_users_count == 1 %} user is {%- else %} users are {%- endif %} currently using the webinterface!<br />
{%- if webserver_logged_in_users -%}
({{ webserver_logged_in_users|join(', ') }})
{%- endif -%}
</td>
</tr>

View File

@@ -0,0 +1,5 @@
<div id="server_status_widget_servertime">
<span class="info">
<div>{{ time }}</div>
</span>
</div>

View File

@@ -0,0 +1,9 @@
{%- from 'jinja2_macros.html' import construct_toggle_link with context -%}
<div>
{{ construct_toggle_link(
options_view_toggle,
"options", ['widget_event', ['webserver', ['toggle_webserver_status_widget_view', {'steamid': steamid, "action": "show_options"}]]],
"back", ['widget_event', ['webserver', ['toggle_webserver_status_widget_view', {'steamid': steamid, "action": "show_frontend"}]]]
)}}
</div>

View File

@@ -0,0 +1,4 @@
<div id="webserver_status_widget_options_toggle" class="pull_out right">
{{ control_switch_options_view }}
{{ control_servertime }}
</div>

View File

@@ -0,0 +1,28 @@
<header>
<div>
<span>Webinterface</span>
</div>
</header>
<aside>
{{ options_toggle }}
</aside>
<main>
<table>
<caption>
<span>consume</span>
</caption>
<thead>
<tr>
<th>Webserver Status</th>
</tr>
</thead>
<tbody>
{{ component_logged_in_users }}
</tbody>
</table>
<div class="dialog">
<div class="modal-content">
<p>this is the text inside the modal</p>
</div>
</div>
</main>

View File

@@ -0,0 +1,27 @@
<header>
<div>
<span>Webinterface</span>
</div>
</header>
<aside>
{{ options_toggle }}
</aside>
<main>
<table>
<thead>
<tr>
<th colspan="2">webserver widget options</th>
</tr>
</thead>
<tbody>
<tr>
<th colspan="2"><span>widget-options</span></th>
</tr>
{% for key, value in widget_options.items() %}
<tr>
<td><span>{{key}}</span></td><td>{{value}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</main>