Fix styles for admin service list

This commit is contained in:
Daniel Markstedt 2023-11-04 13:45:46 +09:00
parent 0457b32f43
commit 57d1c1c979
2 changed files with 11 additions and 11 deletions

View File

@ -974,12 +974,12 @@ section#manual a p {
Admin > Section: Services
------------------------------------------------------------------------------
*/
section#services ul {
section#services ul.service-list {
list-style: none;
padding-left: 0;
}
section#services li {
section#services li.service-item {
margin-bottom: 0.5em;
padding: 0.25rem 0 0.25rem 2rem;
}

View File

@ -117,12 +117,12 @@
<li>{{ _("In order to manage the services in the Web UI, you may install Webmin as well.") }}</li>
</ul>
</details>
<ul>
<ul class="service_status">
{% if netatalk_configured %}
<li class="enabled">
<li class="service-item enabled">
{{ _("Mac AFP file sharing is enabled.") }}
{% else %}
<li class="disabled">
<li class="service-item disabled">
{{ _("Mac AFP file sharing is disabled.") }}
{% endif %}
</li>
@ -134,10 +134,10 @@
</li>
{% endif %}
{% if samba_configured %}
<li class="enabled">
<li class="service-item enabled">
{{ _("Windows SMB file sharing is enabled.") }}
{% else %}
<li class="disabled">
<li class="service-item disabled">
{{ _("Windows SMB file sharing is disabled.") }}
{% endif %}
</li>
@ -149,18 +149,18 @@
</li>
{% endif %}
{% if ftp_configured %}
<li class="enabled">
<li class="service-item enabled">
{{ _("FTP file sharing is enabled.") }}
{% else %}
<li class="disabled">
<li class="service-item disabled">
{{ _("FTP file sharing is disabled.") }}
{% endif %}
</li>
{% if macproxy_configured %}
<li class="enabled">
<li class="service-item enabled">
{{ _("Vintage web proxy is running at %(ip_addr)s (default port 5000)", ip_addr=env['ip_addr']) }}
{% else %}
<li class="disabled">
<li class="service-item disabled">
{{ _("Vintage web proxy is disabled.") }}
{% endif %}
</li>