mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
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:
parent
f81cd5c799
commit
f21ea2042d
@ -1,4 +1,4 @@
|
|||||||
{% extends "service-subsubmenu.html" %}
|
{% extends "base.html" %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
#
|
#
|
||||||
# This file is part of FreedomBox.
|
# This file is part of FreedomBox.
|
||||||
@ -21,7 +21,7 @@
|
|||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block content %}
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
|
|||||||
@ -23,13 +23,13 @@
|
|||||||
|
|
||||||
{% block page_head %}
|
{% block page_head %}
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
.wiki-label {
|
.wiki-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
.list-group-item .btn {
|
.list-group-item .btn {
|
||||||
margin: -5px 0;
|
margin: -5px 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@ -160,9 +160,5 @@ def delete(request, name):
|
|||||||
return TemplateResponse(
|
return TemplateResponse(
|
||||||
request, 'ikiwiki_delete.html', {
|
request, 'ikiwiki_delete.html', {
|
||||||
'title': ikiwiki.name,
|
'title': ikiwiki.name,
|
||||||
'clients': ikiwiki.clients,
|
|
||||||
'description': ikiwiki.description,
|
|
||||||
'manual_page': ikiwiki.manual_page,
|
|
||||||
'subsubmenu': subsubmenu,
|
|
||||||
'name': name
|
'name': name
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user