mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
backups: Fix HTML template indentation, remove inline styling
Remove inline styling as it won't work with upcoming content security rules. They should be re-added in CSS files. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
c64fea7746
commit
229843cd1e
@ -24,7 +24,6 @@
|
|||||||
<thead class="collapsible-button" data-toggle="collapse" data-target="#{{ uuid }}">
|
<thead class="collapsible-button" data-toggle="collapse" data-target="#{{ uuid }}">
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2">
|
<th colspan="2">
|
||||||
<span style="vertical-align: text-top">
|
|
||||||
<span class="fa fa-chevron-right fa-fw" aria-hidden="true"></span>
|
<span class="fa fa-chevron-right fa-fw" aria-hidden="true"></span>
|
||||||
{% if repository.error %}
|
{% if repository.error %}
|
||||||
<span class="fa fa-exclamation-triangle mount-error"
|
<span class="fa fa-exclamation-triangle mount-error"
|
||||||
@ -47,7 +46,7 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit" class="btn btn-sm btn-default"
|
<button type="submit" class="btn btn-sm btn-default"
|
||||||
title="{% trans 'Unmount Location' %}">
|
title="{% trans 'Unmount Location' %}">
|
||||||
<span class="fa fa-eject" aria-hidden="true">
|
<span class="fa fa-eject" aria-hidden="true"></span>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
@ -58,7 +57,7 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit" class="btn btn-sm btn-default"
|
<button type="submit" class="btn btn-sm btn-default"
|
||||||
title="{% trans 'Mount Location' %}">
|
title="{% trans 'Mount Location' %}">
|
||||||
<span class="fa fa-eye" aria-hidden="true">
|
<span class="fa fa-eye" aria-hidden="true"></span>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
@ -67,13 +66,11 @@
|
|||||||
<a title="{% trans 'Remove Backup Location. This will not delete the remote backup.' %}"
|
<a title="{% trans 'Remove Backup Location. This will not delete the remote backup.' %}"
|
||||||
role="button" class="repository-remove btn btn-sm btn-default"
|
role="button" class="repository-remove btn btn-sm btn-default"
|
||||||
href="{% url 'backups:repository-remove' uuid %}">
|
href="{% url 'backups:repository-remove' uuid %}">
|
||||||
<span class="fa fa-trash-o" aria-hidden="true">
|
<span class="fa fa-trash-o" aria-hidden="true"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</span>
|
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user