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 committed 2019-03-08 14:25:48 -08:00
1 parent f81cd5c799
commit f21ea2042d
3 files changed
+9 -13

No files matched your search

@@ -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 %}
@@ -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 %}
-4
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
})