2020-05-25 11:32:36 +00:00
|
|
|
{% load i18n %}
|
2023-08-09 06:20:18 +00:00
|
|
|
{% load bootstrap_icons %}
|
2020-05-19 16:53:54 +00:00
|
|
|
<nav class="navbar navbar-expand-sm fixed-bottom navbar-light bg-light" aria-label="Instance bottom navbar">
|
2020-05-25 11:32:36 +00:00
|
|
|
<div class="container">
|
2020-05-19 16:53:54 +00:00
|
|
|
<a class="navbar-brand" href="#">{% trans 'HOST' %}</a>
|
2021-07-07 11:12:38 +00:00
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar_bottom" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
2020-05-19 16:53:54 +00:00
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
2020-05-25 11:32:36 +00:00
|
|
|
<div id="navbar_bottom" class="navbar-collapse collapse">
|
2020-05-19 16:53:54 +00:00
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{% url 'overview' compute.id %}">
|
2023-08-09 06:20:18 +00:00
|
|
|
{% bs_icon 'server'%}
|
2020-05-25 11:32:36 +00:00
|
|
|
{{ compute.name }} {% if compute.name != compute.hostname %} - {{ compute.hostname }}{% endif %}
|
|
|
|
</a>
|
|
|
|
</li>
|
2020-05-19 16:53:54 +00:00
|
|
|
<li class="nav-item">
|
2023-08-09 06:20:18 +00:00
|
|
|
<a class="nav-link" href="{% url 'instances' compute.id %}">{% bs_icon 'laptop'%} {% trans "Instances" %}</a>
|
2020-05-25 11:32:36 +00:00
|
|
|
</li>
|
2020-05-19 16:53:54 +00:00
|
|
|
<li class="nav-item active">
|
2023-08-09 06:20:18 +00:00
|
|
|
<a class="nav-link" href="{% url 'instances:instance' instance.id %}">{% bs_icon 'device-hdd'%} {{ instance.name }}</a>
|
2020-05-25 11:32:36 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-04 12:22:55 +00:00
|
|
|
</nav>
|