diff --git a/.agents/skills/classic_ui_design/SKILL.md b/.agents/skills/classic_ui_design/SKILL.md index d28ce82..529afbc 100644 --- a/.agents/skills/classic_ui_design/SKILL.md +++ b/.agents/skills/classic_ui_design/SKILL.md @@ -7,7 +7,7 @@ description: Use this skill to ensure all UI designs follow a raw, text-based, t 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 `` to enforce the monospace rule with no exceptions. Do not use inline `style="..."` attributes (except maybe `display:inline` for form elements), or external stylesheets. Do not use Flexbox, CSS Grid, or margins/padding. 2. **No Layout Tables:** Do not use ``, ``, `
` for laying out pages, structure, or positioning items. Tables should only be used if explicitly requested for tabular data, but even then, basic text lists are preferred. 3. **No Centering or Alignment:** Do not use `
` tags, `align="..."` attributes, or `
`. The entirety of the text should remain left-aligned naturally within the browser window. 4. **Pure Structural Flow:** Rely strictly on basic structural blocks: @@ -21,6 +21,7 @@ When asked to design or update UIs under this style, you **MUST** strictly adher - Underline: `` - Basic Colors: ``, `` 6. **Form Elements:** Keep `
`, ``, `` instead of fancy buttons. Give inputs a basic `size="..."` if necessary for width. -7. **Body:** A common body tag to use is ``. Do not include a background or surface color. +8. **Monospace Font:** All text **must** use a monospace font, no exceptions. The best way to enforce this reliably across all elements, including form tags and tables, is to include `` in the `` of your HTML document. +9. **Body element:** A common body tag to use is ``. Do not include a background or surface color. By following these constraints, you will achieve the strict, highly generic, early web (1995-1998) look. diff --git a/templates/base.html b/templates/base.html index a5e05bc..1124b2a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,6 +4,11 @@ {% block title %}CMS{% endblock %} + diff --git a/templates/dashboard.html b/templates/dashboard.html index e69675c..bcbf2c7 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -14,26 +14,36 @@ {{ err }}
{% endif %} -{% for user in users %} -

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

-{% endif %} -
- - -
-{% endif %} -

-
-{% endfor %} + + + + + + {% if current_user.role == "admin" %} + + {% endif %} + + {% for user in users %} + + + + + {% if current_user.role == "admin" %} + + {% endif %} + + {% endfor %} +
IDUsernameRoleActions
{{ user.id }}{{ user.username }}{{ user.role }} + {% if user.id != current_user.id %} +
+ +
+ {% endif %} +
+ + +
+
{% if current_user.role == "admin" %}
diff --git a/templates/index.html b/templates/index.html index cdeae2d..4a17976 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,42 +1,19 @@ + - {{ title }} - -

Coming Soon

+ + +

{{ title }}

We are working hard to build something amazing.

- + + \ No newline at end of file