From 7ee3c96abc0d2efe6a738fdd30c1f7d0bdbbb387 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Fri, 30 Nov 2018 17:08:14 +0530 Subject: [PATCH] snapshots: Place the subsubmenu below the description Signed-off-by: Joseph Nuthalapati Reviewed-by: James Valleroy --- .../modules/snapshot/templates/snapshot.html | 4 +- .../snapshot/templates/snapshot_manage.html | 6 +- plinth/modules/snapshot/views.py | 14 +++-- plinth/templates/service-subsubmenu.html | 63 +++++++++++++++++++ 4 files changed, 75 insertions(+), 12 deletions(-) create mode 100644 plinth/templates/service-subsubmenu.html diff --git a/plinth/modules/snapshot/templates/snapshot.html b/plinth/modules/snapshot/templates/snapshot.html index 297f1ee17..79e55a02f 100644 --- a/plinth/modules/snapshot/templates/snapshot.html +++ b/plinth/modules/snapshot/templates/snapshot.html @@ -1,4 +1,4 @@ -{% extends "simple_service.html" %} +{% extends "service-subsubmenu.html" %} {% comment %} # # This file is part of FreedomBox. @@ -22,7 +22,6 @@ {% load i18n %} {% block configuration %} -
{% csrf_token %}

{% trans "Configuration" %}

@@ -30,5 +29,4 @@
- {% endblock %} diff --git a/plinth/modules/snapshot/templates/snapshot_manage.html b/plinth/modules/snapshot/templates/snapshot_manage.html index a5ee28f21..8f8ba75e6 100644 --- a/plinth/modules/snapshot/templates/snapshot_manage.html +++ b/plinth/modules/snapshot/templates/snapshot_manage.html @@ -1,4 +1,4 @@ -{% extends "simple_service.html" %} +{% extends "service-subsubmenu.html" %} {% comment %} # # This file is part of FreedomBox. @@ -21,8 +21,7 @@ {% load bootstrap %} {% load i18n %} -{% block content %} - {% block configuration %} +{% block configuration %}
@@ -83,7 +82,6 @@
{% endblock %} -{% endblock %} {% block page_js %}