mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Implemented Bot Admin Blueprint
Todo and not yet fully functional yet Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing Fix Titan Dev thing
This commit is contained in:
6
webapp/titanembeds/templates/admin_index.html.j2
Normal file
6
webapp/titanembeds/templates/admin_index.html.j2
Normal file
@ -0,0 +1,6 @@
|
||||
{% extends 'site_layout.html.j2' %}
|
||||
{% block title %}Admin{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% endblock %}
|
@ -24,6 +24,10 @@
|
||||
{% if session['unauthenticated'] is defined and not session['unauthenticated'] %}
|
||||
<ul id="menu_dropdown" class="dropdown-content">
|
||||
<li><a href="{{ url_for('user.dashboard') }}">Dashboard</a></li>
|
||||
{% if session['user_id'] is defined and session['user_id'] in devs %}
|
||||
<li class="divider"></li>
|
||||
<li><a href="{{ url_for('admin.index') }}">Admin</a></li>
|
||||
{% endif %}
|
||||
<li class="divider"></li>
|
||||
<li><a href="{{ url_for('user.logout') }}">Logout</a></li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user