From cd4ac13e36aac02123b611e387f90792a3d3fa80 Mon Sep 17 00:00:00 2001 From: Retspen Date: Fri, 6 Mar 2015 15:06:29 +0200 Subject: [PATCH] Fix layout --- templates/create_inst_block.html | 39 ++++++++++++++++++++++++++++-- templates/create_secret_block.html | 10 ++++---- templates/instances.html | 18 +++++++++----- templates/networks.html | 26 ++++++++++---------- 4 files changed, 67 insertions(+), 26 deletions(-) diff --git a/templates/create_inst_block.html b/templates/create_inst_block.html index e81a484..f0fa1c0 100644 --- a/templates/create_inst_block.html +++ b/templates/create_inst_block.html @@ -1,5 +1,40 @@ +{% load i18n %} {% if request.user.is_superuser %} - + + + + {% endif %} \ No newline at end of file diff --git a/templates/create_secret_block.html b/templates/create_secret_block.html index 9a71469..d2a52d1 100644 --- a/templates/create_secret_block.html +++ b/templates/create_secret_block.html @@ -49,11 +49,11 @@ - - + + diff --git a/templates/instances.html b/templates/instances.html index f50147a..6157c6a 100644 --- a/templates/instances.html +++ b/templates/instances.html @@ -189,10 +189,16 @@ {% endblock %} -{% block javascript %} - +{% block script %} + + {% endblock %} \ No newline at end of file diff --git a/templates/networks.html b/templates/networks.html index 3deab5b..e2e122f 100644 --- a/templates/networks.html +++ b/templates/networks.html @@ -64,17 +64,17 @@ {% endblock %} {% block script %} - + {% endblock %} \ No newline at end of file