Skip to content

Commit

Permalink
fix: Tabs on Machine Apps
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzi authored and np5 committed Nov 7, 2023
1 parent c0e0bdc commit 61c3432
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2>
{% if tabs %}
<ul class="nav nav-tabs">
{% for ms, rows in tabs %}
<li role="presentation"{% if forloop.first %} class="active"{% endif %}>
<a href="#" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}">
<li role="presentation" class="nav-item">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}" data-bs-toggle="tab">
{{ ms.source.name }}
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2>
{% if tabs %}
<ul class="nav nav-tabs">
{% for ms, rows in tabs %}
<li role="presentation"{% if forloop.first %} class="active"{% endif %}>
<a href="#" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}">
<li role="presentation" class="nav-item">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}" data-bs-toggle="tab">
{{ ms.source.name }}
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,12 +415,12 @@ <h3>Certificate{{ certificates.count|pluralize }}</h3>
{% for certificate in certificates %}
<dl class="row">
<dt class="col-sm-3 text-md-end">Common Name</dt>
<dd style="overflow:hidden;text-overflow:ellipsis;">{{ certificate.short_repr }}</dd>
<dd style="col-sm-9">{{ certificate.short_repr }}</dd>
<dt class="col-sm-3 text-md-end">Dates</dt>
<dd class="col-sm-9">{{ certificate.valid_from }} - {{ certificate.valid_until }}</dd>
{% if certificate.signed_by %}
<dt class="col-sm-3 text-md-end">Issuer</dt>
<dd style="overflow:hidden;text-overflow:ellipsis;">{{ certificate.signed_by.short_repr|default:"?" }}</dd>
<dd style="col-sm-9">{{ certificate.signed_by.short_repr|default:"?" }}</dd>
{% endif %}
</dl>
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2>
{% if tabs %}
<ul class="nav nav-tabs">
{% for ms, rows in tabs %}
<li role="presentation"{% if forloop.first %} class="active"{% endif %}>
<a href="#" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}">
<li role="presentation" class="nav-item">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}" data-bs-toggle="tab">
{{ ms.source.name }}
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h2>
<ul class="nav nav-tabs">
{% for ms, rows in tabs %}
<li role="presentation" class="nav-item">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="appstab" data-tabid="apps-{{ ms.id }}">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="appstab" data-tabid="apps-{{ ms.id }}" data-bs-toggle="tab">
{{ ms.source.name }}
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2>
{% if machine.snapshots_with_profiles %}
<ul class="nav nav-tabs">
{% for ms in machine.snapshots_with_profiles %}
<li role="presentation"{% if forloop.first %} class="active"{% endif %}>
<a href="#" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}">
<li role="presentation" class="nav-item">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="mstab" data-tabid="ms-{{ ms.id }}" data-bs-toggle="tab">
{{ ms.source.name }} (<span id="profile-count-{{ ms.id }}">{{ ms.ordered_profiles.count }}</span>)
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h2>
{% if tabs %}
<ul class="nav nav-tabs">
{% for ms, rows in tabs %}
<li role="presentation"{% if forloop.first %} class="active"{% endif %}>
<a href="#" data-tabclass="pitab" data-tabid="ms-{{ ms.id }}">
<li role="presentation" class="nav-item">
<a href="#" class="nav-link{% if forloop.first %} active{% endif %}" data-tabclass="pitab" data-tabid="ms-{{ ms.id }}" data-bs-toggle="tab">
{{ ms.source.name }}
</a>
</li>
Expand Down

0 comments on commit 61c3432

Please sign in to comment.