mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
feat: Add a page with some information about the server
This commit is contained in:
@@ -9,16 +9,18 @@ Device information
|
||||
<h1>About device <a class="back" href="{{ crate::ROUTE_PREFIX }}/account/">Back</a></h1>
|
||||
{{ device_card }}
|
||||
{% if let Some((client_metadata, _)) = client_metadata %}
|
||||
<section>
|
||||
<p>
|
||||
{% if let Some(tos_uri) = &client_metadata.tos_uri %}
|
||||
<a href="{{ tos_uri }}">Terms of service</a>
|
||||
{% endif %}
|
||||
{% if let Some(policy_uri) = &client_metadata.policy_uri %}
|
||||
• <a href="{{ policy_uri }}">Policies</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
</section>
|
||||
{% if client_metadata.tos_uri.is_some() || client_metadata.policy_uri.is_some() %}
|
||||
<section>
|
||||
<ul class="bullet-separated">
|
||||
{% if let Some(tos_uri) = &client_metadata.tos_uri %}
|
||||
<li><a href="{{ tos_uri }}">Terms of service</a></li>
|
||||
{% endif %}
|
||||
{% if let Some(policy_uri) = &client_metadata.policy_uri %}
|
||||
<li><a href="{{ policy_uri }}">Policies</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<section>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user