ikiwiki: Consistent styling for delete warning page

- Do not use subsubmenu styling for delete confirmation page. This will make it
  consistent with the rest of the UI where confirmation pages are shown. Also
  showing a confirmation under a tab is confusing.

- Undo incorrect styling changes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2019-03-08 14:21:45 -08:00
parent f81cd5c799
commit f21ea2042d
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
3 changed files with 9 additions and 13 deletions

View File

@ -1,4 +1,4 @@
{% extends "service-subsubmenu.html" %}
{% extends "base.html" %}
{% comment %}
#
# This file is part of FreedomBox.
@ -21,7 +21,7 @@
{% load bootstrap %}
{% load i18n %}
{% block configuration %}
{% block content %}
<h3>
{% blocktrans trimmed %}

View File

@ -23,13 +23,13 @@
{% block page_head %}
<style type="text/css">
.wiki-label {
display: inline-block;
width: 40%;
}
.list-group-item .btn {
margin: -5px 0;
}
.wiki-label {
display: inline-block;
width: 40%;
}
.list-group-item .btn {
margin: -5px 0;
}
</style>
{% endblock %}

View File

@ -160,9 +160,5 @@ def delete(request, name):
return TemplateResponse(
request, 'ikiwiki_delete.html', {
'title': ikiwiki.name,
'clients': ikiwiki.clients,
'description': ikiwiki.description,
'manual_page': ikiwiki.manual_page,
'subsubmenu': subsubmenu,
'name': name
})