1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

page header rearragements

This commit is contained in:
catborise 2020-10-21 12:09:06 +03:00 committed by catborise
parent 85d4c5f132
commit 488b71a68f
7 changed files with 8 additions and 9 deletions

View file

@ -6,7 +6,7 @@
{% block style %}
<link rel="stylesheet" href="{% static "css/sortable-theme-bootstrap.css" %}" />
{% endblock %}
{% block page_heading %}{{ compute.name }}{% endblock page_heading %}
{% block page_heading %}{{ compute.name }} - {% trans "Instances" %}{% endblock page_heading %}
{% block page_heading_extra %}
<a href="{% url 'instances:create_instance_select_type' compute.id %}"

View file

@ -4,7 +4,7 @@
{% block title %}{% trans "Interfaces" %} - {{ compute.name }}{% endblock %}
{% block page_heading%}{% trans "Interfaces" %} - {{ compute.name }}{% endblock page_heading %}
{% block page_heading %}{{ compute.name }} - {% trans "Interfaces" %}{% endblock page_heading %}
{% block page_heading_extra %}{% include 'create_iface_block.html' %}{% endblock page_heading_extra %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}{{ compute.name }} - {% trans "Networks" %}{% endblock %}
{% block title %}{% trans "Networks" %} - {{ compute.name }}{% endblock %}
{% block page_heading %}{{ compute.name }} - {% trans "Networks" %}{% endblock page_heading %}

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% load staticfiles %}
{% block title %}{{ compute.name }} - {% trans "NWFilters" %}{% endblock %}
{% block title %}{% trans "NWFilters" %} - {{ compute.name }}{% endblock %}
{% block page_heading %}{{ compute.name }} - {% trans "NWFilters" %}{% endblock page_heading %}

View file

@ -14,7 +14,6 @@
{% block content %}
<div class="row">
<div class="col-lg-12">
<h2 class="page-header"></h2>
<nav aria-label="breadcrumb">
<ol class="breadcrumb bg-light shadow-sm">
<li class="breadcrumb-item active">

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}{{ compute.name }} - {% trans "Storages" %}{% endblock %}
{% block title %}{% trans "Storages" %} - {{ compute.name }}{% endblock %}
{% block page_heading %}{{ compute.name }} - {% trans "Storages" %}{% endblock page_heading %}
@ -37,6 +37,7 @@
</nav>
</div>
</div>
<div class="row">
{% if not storages %}
<div class="col-lg-12">

View file

@ -40,18 +40,17 @@
<div role="main" class="container">
<div class"row">
<div class="col-sm-12">
<div>
<div class="float-right">
{% block page_heading_extra %}
{% endblock page_heading_extra %}
</div>
<h3 class="page-header">
<h3 class="ml-0 page-header">
{% block page_heading %}
{% endblock page_heading %}
</h3>
</div>
</div>
<hr>
{% bootstrap_messages %}
{% block content %}{% endblock %}
</div>