Skip to content

Commit

Permalink
Cleanup html tags
Browse files Browse the repository at this point in the history
  • Loading branch information
daniviga committed Sep 21, 2023
1 parent 64eefe4 commit 5ebce94
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions ram/portal/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@
<div class="navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="rosterDropdownMenu" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Roster
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<ul class="dropdown-menu" aria-labelledby="rosterDropdownMenu">
<li><a class="dropdown-item" href="{% url 'roster' %}">Rolling stock</a></li>
<li><a class="dropdown-item" href="{% url 'companies' %}">Companies</a></li>
<li><a class="dropdown-item" href="{% url 'types' %}">Types</a></li>
Expand All @@ -163,10 +163,10 @@
<a class="nav-link" href="{% url 'consists' %}">Consists</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="manufacturersDropdownMenu" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Manufacturers
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<ul class="dropdown-menu" aria-labelledby="manufacturersDropdownMenu">
<li><a class="dropdown-item" href="{% url 'manufacturers' category='model' %}">Models</a></li>
<li><a class="dropdown-item" href="{% url 'manufacturers' category='real' %}">Real</a></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/companies.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/consist.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/consists.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

<div class="container">
<p class="small text-muted">Made with ❤️ for 🚂 and <a href="https://github.com/daniviga/django-ram">django-ram</a>
{% if site_conf.show_version %}<br/>Version {{ site_conf.version }}{% endif %}
{% if site_conf.show_version %}<br>Version {{ site_conf.version }}{% endif %}
</div>
</footer>
2 changes: 1 addition & 1 deletion ram/portal/templates/manufacturers.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/roster.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/scales.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/portal/templates/types.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{% for i in page_range %}
{% if data.number == i %}
<li class="page-item active">
<span class="page-link">{{ i }}</span></span>
<span class="page-link">{{ i }}</span>
</li>
{% else %}
{% if i == data.paginator.ELLIPSIS %}
Expand Down
2 changes: 1 addition & 1 deletion ram/ram/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ram.utils import git_suffix

__version__ = "0.3.1"
__version__ = "0.3.2"
__version__ += git_suffix(__file__)

0 comments on commit 5ebce94

Please sign in to comment.