feat: reorder card layout + svc_cred_hint field for credentials note
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
<div class="tile-icon-box">
|
||||
<img class="tile-icon" src="{{ service.icon_path or '/static/service-placeholder.svg' }}" alt="icon" />
|
||||
</div>
|
||||
<h3>{{ service.name }}</h3>
|
||||
{% if service.svc_login or service.svc_password %}
|
||||
<div class="svc-credentials" onclick="event.preventDefault();event.stopPropagation()">
|
||||
{% if service.svc_login %}
|
||||
@@ -98,13 +99,14 @@
|
||||
<button class="svc-cred-copy" type="button" data-copy="{{ service.svc_password }}" title="Копировать пароль"></button>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if service.svc_cred_hint %}
|
||||
<p class="svc-cred-hint">{{ service.svc_cred_hint }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if service.comment %}
|
||||
<small class="tile-comment">{{ service_comment_html.get(service.id, '') }}</small>
|
||||
<div class="tile-comment">{{ service_comment_html.get(service.id, '') }}</div>
|
||||
{% endif %}
|
||||
<h3>{{ service.name }}</h3>
|
||||
<p>Открыть сервис</p>
|
||||
{% if svc_cats %}
|
||||
<div class="service-categories">
|
||||
{% for category in svc_cats %}
|
||||
|
||||
Reference in New Issue
Block a user