Titan/webapp/titanembeds/templates/admin_index.html.j2

41 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

{% extends 'site_layout.html.j2' %}
{% set title="Admin" %}
{% block content %}
<h1>Administrate Titan Embeds</h1>
<p class="flow-text">Select an action.</p>
<div class="row">
<div class="col s12">
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<h4>Cosmetics</h4>
<p class="flow-text">Give or revoke special <em>cosmetics privilages</em> for users.</p>
<a class="waves-effect waves-light btn" href="{{ url_for('admin.cosmetics') }}">Manage</a>
</div>
</div>
2017-07-27 22:55:28 +02:00
<div class="col s12">
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<h4>Guilds</h4>
<p class="flow-text">Manage any guild in Titan, this will give you the normal dashboard.</p>
<a class="waves-effect waves-light btn" href="{{ url_for('admin.guilds') }}">Manage</a>
</div>
</div>
<div class="col s12">
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<h4>Titan Tokens</h4>
<p class="flow-text">View transactions and modify Titan Tokens per user.</p>
<a class="waves-effect waves-light btn" href="{{ url_for('admin.manage_titan_tokens') }}">Manage</a>
</div>
</div>
<div class="col s12">
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<h4>Run a Database Cleanup</h4>
<p class="flow-text">Clears the keyval caches and purges the old messages. (Hit once, and wait a minute)</p>
<a class="waves-effect waves-light btn" id="db_cleanup_btn">Run DB Cleanup Task</a>
</div>
</div>
</div>
{% endblock %}
{% block script %}
<script type="text/javascript" src="{{ url_for('static', filename='js/admin_index.js') }}"></script>
{% endblock %}