Skip to content

Commit

Permalink
chore: fixes html linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorpirgie committed Sep 13, 2023
1 parent ec26c86 commit 09f6282
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<h2>
<a href="{{ object.get_prev_url }}" style="float:right">
<span class="material-symbols-outlined">chevron_left</span>

</a>
</h2>
{% endif %}
Expand All @@ -55,23 +54,20 @@ <h2 style="text-align: center;">
{% if object.get_edit_url %}
<a href="{{ object.get_edit_url }}">
<span class="material-symbols-outlined">edit</span>

</a>
{% endif %}

{% if object.get_delete_url %}
|
<a href="{{ object.get_delete_url }}">
<span class="material-symbols-outlined">delete</span>

</a>
{% endif %}

{% if object.get_duplicate_url %}
|
<a href="{{ object.get_duplicate_url }}" title="Duplicate">
<span class="material-symbols-outlined">content_copy</span>

</a>
{% endif %}
{% endif %}
Expand All @@ -89,7 +85,6 @@ <h2 style="text-align: center;">
<h2>
<a href="{{ object.get_next_url }}" style="float:left">
<span class="material-symbols-outlined">chevron_right</span>

</a>
</h2>
{% endif %}
Expand All @@ -107,7 +102,6 @@ <h3>
<a href="/entity/{{ object.id }}">
<small>
<span class="material-symbols-outlined">database</span>

</small>
</a>
</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ <h2 style="text-align: center;">
{% if object.get_edit_url %}
<a href="{{ object.get_edit_url }}">
<span class="material-symbols-outlined">edit</span>

</a>
{% endif %}

Expand Down
14 changes: 7 additions & 7 deletions apis_core/apis_metainfo/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
href="{{ SHARED_URL }}favicon/favicon-16x16.png" />
<link rel="manifest" href="{{ SHARED_URL }}favicon/manifest.json" />
<link rel="mask-icon"
href="{{ SHARED_URL }}favicon/safari-pinned-tab.svg"
color="#00aba9" />
<link
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"
rel="stylesheet" />
href="{{ SHARED_URL }}favicon/safari-pinned-tab.svg"
color="#00aba9" />
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"
rel="stylesheet" />

{% block styles %}
{% include "partials/bootstrap4_css.html" %}
{% endblock styles %}
Expand Down Expand Up @@ -157,8 +157,8 @@
<li class="nav-item dropdown ml-auto">
<a class="nav-link p-0"
href="{% url 'admin:login' %}?next={{ request.path|urlencode }}">
<span class="material-symbols-outlined">login</span>
</a>
<span class="material-symbols-outlined">login</span>
</a>
</li>
{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
<a id="tempEntity_{% if record.relation_pk %}{{ record.relation_pk }}{% else %}{{ record.pk }}{% endif %}" class="reldelete" aria-label="Left Align" onclick=DeleteTempEntity('{% if record.relation_pk %}{{ record.relation_pk }}{% else %}{{ record.pk }}{% endif %}',"relations/{{ record|content_type|lower }}")>
{# djlint:on #}
<span class="material-symbols-outlined">delete</span>

</a>
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
<a class='reledit' onclick=GetFormAjax(null,"{% if record.relation_pk %}{{ record.relation_pk }}{% else %}{{ record.pk }}{% endif %}")>
{# djlint:on #}
<span class="material-symbols-outlined">edit</span>

</a>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
<a class="bibsonomy-anker" data-bibs-contenttype="{{ record|content_type|lower }}" data-bibs-object_pk="
{% if record.relation_pk %}{{ record.relation_pk }}{% else %}{{ record.pk }}{% endif %}
">
<span class="material-symbols-outlined">import_contacts</span>

<span class="material-symbols-outlined">import_contacts</span>
</a>

0 comments on commit 09f6282

Please sign in to comment.