add mod panel view
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<li><a href="{{ url_for('users.bookmarks', username=user.username) }}">Bookmarks</a></li>
|
||||
{% endif %}
|
||||
{% if user.is_mod() %}
|
||||
<li><a href="{{ url_for("mod.user_list") }}">User list</a></li>
|
||||
<li><a href="{{ url_for("mod.panel") }}">Moderation</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endwith %}
|
||||
|
||||
11
app/templates/mod/panel.html
Normal file
11
app/templates/mod/panel.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}moderation{% endblock %}
|
||||
{% block content %}
|
||||
<div class="darkbg settings-container">
|
||||
<h1>Moderation actions</h1>
|
||||
<ul>
|
||||
<li><a href="{{ url_for('mod.user_list') }}">User list</a></li>
|
||||
<li><a href="{{ url_for('mod.sort_topics') }}">Sort topics</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user