diff --git a/.agents/skills/classic_ui_design/SKILL.md b/.agents/skills/classic_ui_design/SKILL.md new file mode 100644 index 0000000..d28ce82 --- /dev/null +++ b/.agents/skills/classic_ui_design/SKILL.md @@ -0,0 +1,26 @@ +--- +name: Classic Text-Based UI Design +description: Use this skill to ensure all UI designs follow a raw, text-based, table-free, CSS-free nostalgic 90s aesthetic. +--- +# Classic Text-Based UI Design Skill + +When asked to design or update UIs under this style, you **MUST** strictly adhere to the following rules to maintain a nostalgic, purely text-based aesthetic: + +## Core Rules +1. **No CSS or Styling:** Absolutely no ` + {% block title %}CMS{% endblock %} - -
- {% block content %}{% endblock %} -
+ + + {% block content %}{% endblock %} + \ No newline at end of file diff --git a/templates/dashboard.html b/templates/dashboard.html index e02230b..e69675c 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -1,83 +1,53 @@ {% extends "base.html" %} -{% block title %}Dungeon Dashboard{% endblock %} +{% block title %}Dashboard{% endblock %} {% block content %} -
-

Dungeon Dashboard

-
- -
-
+

Dashboard

+ +
+ +
+

+ +System Users
{% if let Some(err) = error %} -
{{ err }}
+{{ err }}
{% endif %} -
-
-

Users

-
- - - - - - - - - - - {% for user in users %} - - - - - - - {% endfor %} - -
IDUsernameRoleActions
{{ user.id }}{{ user.username }}{{ - user.role }} - {% if current_user.role == "admin" %} -
- {% if user.id != current_user.id %} -
- -
- {% endif %} -
- - -
-
- {% endif %} -
-
-
+{% for user in users %} +

+ ID: {{ user.id }}
+ Username: {{ user.username }}
+ Role: {{ user.role }}
{% if current_user.role == "admin" %} -

-
-

Add User

-
- - - - - - - -
-
-
- {% endif %} -
+ {% if user.id != current_user.id %} +
+ +
+{% endif %} +
+ + +
+{% endif %} +

+
+{% endfor %} + +{% if current_user.role == "admin" %} +
+System Administration - Add New User
+
+ Username:
+ Password:
+ Role: +

+ +
+{% endif %} + {% endblock %} \ No newline at end of file diff --git a/templates/login.html b/templates/login.html index 33c064c..0e5a53a 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,17 +1,20 @@ {% extends "base.html" %} -{% block title %}Dungeon Login{% endblock %} +{% block title %}Login{% endblock %} {% block content %} -
-

Enter the Dungeon

- {% if let Some(err) = error %} -
{{ err }}
- {% endif %} -
- - - - - -
-
+ +

Login

+

Please provide your credentials below.

+ +{% if let Some(err) = error %} +

+ {{ err }} +

+{% endif %} + +
+ Username:
+ Password:

+ +
+ {% endblock %} \ No newline at end of file diff --git a/templates/setup.html b/templates/setup.html index e6b7a00..78b10aa 100644 --- a/templates/setup.html +++ b/templates/setup.html @@ -1,18 +1,20 @@ {% extends "base.html" %} -{% block title %}Setup Dungeon{% endblock %} +{% block title %}Setup{% endblock %} {% block content %} -
-

Initial Setup

-

Create the initial admin user to access the dungeon.

- {% if let Some(err) = error %} -
{{ err }}
- {% endif %} -
- - - - - -
-
+ +

Initial Setup

+

Create the initial admin user to access the system.

+ +{% if let Some(err) = error %} +

+ {{ err }} +

+{% endif %} + +
+ Username:
+ Password:

+ +
+ {% endblock %} \ No newline at end of file