contentdb/app/templates/admin/list.html

45 lines
2.0 KiB
HTML
Raw Normal View History

2018-05-13 16:28:27 +02:00
{% extends "base.html" %}
{% block title %}
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>
2023-07-29 22:34:23 +02:00
<a class="list-group-item list-group-item-action" href="{{ url_for('admin.transfer') }}">Transfer package(s)</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>
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>
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">
2023-08-22 20:58:43 +02:00
<select name="action" class="form-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>
2023-08-22 20:58:43 +02:00
<input type="submit" value="Perform" class="col-sm-auto btn btn-primary ms-2" />
2020-07-12 04:38:14 +02:00
</div>
</form>
</div>
</div>
</div>
2018-05-13 16:28:27 +02:00
{% endblock %}