{% extends ../base.html %} {% block meta %} {% end %} {% block title %}Crafty Controller - Edit User{% end %} {% block content %}
{% if data['new_user'] %}
{% else %} {% end %} {% raw xsrf_form_html() %}
{% if len(data['servers_all']) > 0 %}
{% for role in data['roles_all'] %} {% end %}
Role Name Member?
{{ role.role_name }} {% if role.role_id in data['user']['roles'] %} {% else %} {% end %}
{% for server in data['servers_all'] %} {% end %}
Server Name Access?
{{ server['server_name'] }} {% if server['server_id'] in data['servers'] %} {% elif server['server_id'] in data['role-servers'] %} {% else %} {% end %}
{% end %}

User Config Area

Here is where you can change the configuration of your user

Created: {{ str(data['user']['created']) }}
Last login: {{ str(data['user']['last_login']) }}
Last update: {{ str(data['user']['last_update']) }}
Last IP: {{ data['user']['last_ip'] }}
API Key: {{ data['user']['api_token'] }}

{% if data['new_user'] %} Delete User
You cannot delete something that does not yet exist {% elif data['user']['superuser'] %} Delete User
You cannot delete a superuser {% else %} Delete User {% end %}
{% end %} {% block js %} {% end %}