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

page header rearragements

This commit is contained in:
catborise 2020-10-21 12:09:06 +03:00
parent f759dc6564
commit 5a3e0ad6f2
7 changed files with 8 additions and 9 deletions

View file

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

View file

@ -4,7 +4,7 @@
{% block title %}{% trans "Interfaces" %} - {{ compute.name }}{% endblock %} {% 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 %} {% block page_heading_extra %}{% include 'create_iface_block.html' %}{% endblock page_heading_extra %}

View file

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n %} {% 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 %} {% block page_heading %}{{ compute.name }} - {% trans "Networks" %}{% endblock page_heading %}

View file

@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% 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 %} {% block page_heading %}{{ compute.name }} - {% trans "NWFilters" %}{% endblock page_heading %}

View file

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

View file

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

View file

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