2018-05-13 16:28:27 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-11-14 01:56:28 +01:00
|
|
|
Admin Tools
|
2018-05-13 16:28:27 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-07-12 04:38:14 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="list-group">
|
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('users.list_all') }}">User list</a>
|
2023-05-12 02:06:09 +02:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.restore') }}">Restore package</a>
|
2020-07-12 04:38:14 +02:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.tag_list') }}">Tag Editor</a>
|
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.license_list') }}">License Editor</a>
|
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.version_list') }}">Version Editor</a>
|
2020-07-17 21:48:51 +02:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.warning_list') }}">Warning Editor</a>
|
2020-12-05 20:38:16 +01:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.send_bulk_email') }}">Send bulk email</a>
|
2020-12-05 22:41:53 +01:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.send_bulk_notification') }}">Send bulk notification</a>
|
2020-07-12 04:38:14 +02:00
|
|
|
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.switch_user') }}">Sign in as another user</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-15 16:00:12 +02:00
|
|
|
|
2020-07-12 04:38:14 +02:00
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="card mb-4">
|
|
|
|
<h2 class="card-header">Do action</h2>
|
2018-05-15 16:00:12 +02:00
|
|
|
|
2020-07-12 04:38:14 +02:00
|
|
|
<form method="post" action="" class="card-body">
|
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
|
|
<div class="row px-3">
|
|
|
|
<select name="action" class="custom-select col">
|
2021-07-30 20:42:11 +02:00
|
|
|
{% for id, action in actions.items() %}
|
|
|
|
<option value="{{ id }}" {% if loop.first %}selected{% endif %}>
|
|
|
|
{{ action["title"] }}
|
|
|
|
</option>
|
|
|
|
{% endfor %}
|
2020-07-12 04:38:14 +02:00
|
|
|
</select>
|
|
|
|
<input type="submit" value="Perform" class="col-sm-auto btn btn-primary ml-2" />
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-15 16:00:12 +02:00
|
|
|
</div>
|
2018-05-13 16:28:27 +02:00
|
|
|
{% endblock %}
|