gitweb: Move create button into 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 authored and James Valleroy committed 2019-12-01 16:52:22 -05:00
1 parent eff9f619c7
commit cc1aef969c
1 file changed
+8 -8
@@ -40,19 +40,19 @@
</style>
{% endblock %}
{% block status %}
<a href="{% url 'gitweb:create' %}" class="btn btn-primary"
role="button" title="{% trans 'Create repository' %}">
<span class="fa fa-plus" aria-hidden="true"></span>
{% trans 'Create repository' %}
</a>
{% endblock %}
{% block configuration %}
{{ block.super }}
<h3>{% trans "Manage Repositories" %}</h3>
<div class="btn-toolbar">
<a href="{% url 'gitweb:create' %}" class="btn btn-default"
role="button" title="{% trans 'Create repository' %}">
<span class="fa fa-plus" aria-hidden="true"></span>
{% trans 'Create repository' %}
</a>
</div>
<div class="row">
<div class="col-sm-6">
{% if not repos %}