{% extends ../base.html %} {% block meta %} {% end %} {% block title %}Crafty Controller - Panel Config{% end %} {% block content %}
{% for user in data['users'] %} {% end %}
User Enabled Allowed Servers Assigned Roles Edit
{{ user.username }} {% if user.enabled %} Yes {% else %} No {% end %}
    {% for item in data['auth-servers'][user.user_id] %}
  • {{item}}
  • {% end %}
    {% for item in data['user-roles'][user.user_id] %}
  • {{item}}
  • {% end %}
{% for role in data['roles'] %} {% end %}
Role Allowed Servers Role Users Edit
{{ role.role_name }}
    {% for item in data['role-servers'][role.role_id] %}
  • {{item}}
  • {% end %}
    {% for user in data['users'] %} {% for ruser in data['user-roles'][user.user_id] %} {% if ruser == role.role_name %}
  • {{ user.username }}
  • {% end %} {% end %} {% end %}
{% end %} {% block js %} {% end %}