diff --git a/app/web/templates/admin_welcome.html b/app/web/templates/admin_welcome.html index 9cae702..b353308 100644 --- a/app/web/templates/admin_welcome.html +++ b/app/web/templates/admin_welcome.html @@ -1,27 +1,201 @@ {% extends "base.html" %} -{% block title %}Welcome Prompt — Admin{% endblock %} +{% block title %}Welcome Prompt — {{ config.INSTANCE_NAME }}{% endblock %} + {% block content %} -
-

Analyst Welcome Prompt

-

- This is the CLAUDE.md generated for analysts when they run - da analyst setup. Edit it to customize the onboarding - instructions for this instance. Leave empty (or click Reset to default) - to use the OSS-shipped default. -

+ + +
+
+
+

Analyst Welcome Prompt

+

Customise the CLAUDE.md generated for analysts on da analyst setup.

+
+
+ {% if is_override %} + + Override active + + {% else %} + Using default + {% endif %} +
+
+ +
+
+

+ Edit the template below to customise onboarding instructions for analysts on this instance. + Leave empty or click Reset to default to revert to the OSS-shipped template. + The override is rendered server-side — placeholders like + {{ "{{ user.name }}" }} are substituted at delivery time. +

+ +
+ Available placeholders +
+ {{ "{{ instance.name }}" }} — instance display name {{ "{{ instance.subtitle }}" }} — operator name {{ "{{ server.url }}" }} — full server URL {{ "{{ server.hostname }}" }} — host part @@ -31,95 +205,213 @@ {{ "{{ metrics.count }}" }}, {{ "{{ metrics.categories }}" }} {{ "{{ marketplaces }}" }} — RBAC-filtered list of {slug, name, plugins[]} {{ "{{ user.email }}" }}, {{ "{{ user.name }}" }}, {{ "{{ user.is_admin }}" }}, {{ "{{ user.groups }}" }} -{{ "{{ now }}" }}, {{ "{{ today }}" }} - +{{ "{{ now }}" }}, {{ "{{ today }}" }} + +
+
-
- -
- - - +
-
- -
+
+ + + +
+
+ +
+ + + +
+ {% endblock %}