Blob Blame Raw
{% extends "master.html" %}

{% block title %}Home{% endblock %}
{%block tag %}admin{% endblock %}


{% block content %}

<h2>Admin section</h2>

<ul>
  <li>
    <form action="{{ url_for('admin_generate_acl') }}" method="post">
    <input type="submit" class="submit positive button"
        value="Re-generate gitolite ACLs file">
    {{ form.csrf_token }}
    </form>
  </li>
  <li>
    <form action="{{ url_for('admin_refresh_ssh') }}" method="post">
    <input type="submit" class="submit positive button"
        value="Re-generate ssh authorized_key file">
    {{ form.csrf_token }}
    </form>
  </li>
{% if config['PROGIT_AUTH'] == 'local' %}
  <li>
    <a href="{{ url_for('admin_groups') }}">
     Groups/Users management
    </a>
  </li>
{% endif %}
</ul>

{% endblock %}