ikiwiki: Move the create button to manage section

- Also make it the default button rather than primary button to avoid multiple
  primary buttons in the page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-11-27 00:21:51 -08:00 committed by James Valleroy
parent 05daf33ff8
commit eff9f619c7
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -21,19 +21,19 @@
{% load bootstrap %}
{% load i18n %}
{% block status %}
<a href="{% url 'ikiwiki:create' %}" class="btn btn-primary"
role="button" title="{% trans 'Create Wiki or Blog' %}">
<span class="fa fa-plus" aria-hidden="true"></span>
{% trans 'Create Wiki or Blog' %}
</a>
{% endblock %}
{% block configuration %}
{{ block.super }}
<h3>{% trans "Manage Wikis and Blogs" %}</h3>
<div class="btn-toolbar">
<a href="{% url 'ikiwiki:create' %}" class="btn btn-default"
role="button" title="{% trans 'Create Wiki or Blog' %}">
<span class="fa fa-plus" aria-hidden="true"></span>
{% trans 'Create Wiki or Blog' %}
</a>
</div>
<div class="row">
<div class="col-sm-6">
{% if not sites %}