Add Control Plane bubble help and step-by-step guidance
Context ? help popovers, lifecycle checklist, and recommended-next-step cards on login, dashboard, phase detail/new, and extensions. Pure guidance helpers + CSS; deploy image 0.1.4.
This commit is contained in:
parent
8cf124530c
commit
f1109d54ee
14 changed files with 1031 additions and 65 deletions
|
|
@ -1,24 +1,54 @@
|
|||
{% extends "base.html" %}
|
||||
{% from "macros.html" import help_bubble, render_next_steps %}
|
||||
{% block title %}Dashboard — Target Revenue Control Plane{% endblock %}
|
||||
{% block content %}
|
||||
<wn-page-header>
|
||||
<span slot="title">Phases for {{ session_licensor_id }}</span>
|
||||
<span slot="title">
|
||||
Phases for {{ session_licensor_id }}
|
||||
{{ help_bubble(
|
||||
"A Phase is one monetization undertaking: an Initial Target, Milestone Release, "
|
||||
"Future License, and degeneration policy. Ledger activity (Development Credit and "
|
||||
"Remission Credit) always belongs to a Phase."
|
||||
) }}
|
||||
</span>
|
||||
</wn-page-header>
|
||||
|
||||
{{ render_next_steps(next_steps, title='Recommended next step') }}
|
||||
|
||||
{% if session_rights in ("operator", "admin") %}
|
||||
<p><a href="{{ root_path }}/phases/new">+ Register a new Phase</a></p>
|
||||
<p>
|
||||
<a href="{{ root_path }}/phases/new">+ Register a new Phase</a>
|
||||
{{ help_bubble(
|
||||
"Operators declare Phases. Registration is append-only: the Manifest cannot be "
|
||||
"edited in place after publish. Choose Initial Target carefully."
|
||||
) }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if pending_proposals and pending_proposals > 0 and session_rights in ("operator", "admin") %}
|
||||
<p>
|
||||
<a href="{{ root_path }}/proposals"><strong>{{ pending_proposals }}</strong> proposal(s) awaiting review</a>
|
||||
{{ help_bubble("Contributors submit Development Credit; Operators approve or reject.") }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if phases %}
|
||||
<table class="wn-plain">
|
||||
<thead><tr><th>Phase</th><th>Milestone Release</th><th>Initial Target</th><th></th></tr></thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Phase {{ help_bubble("Globally unique id, usually trsl:phase:…") }}</th>
|
||||
<th>Milestone Release</th>
|
||||
<th>Initial Target {{ help_bubble("Immutable commercial ceiling for this Phase. Outstanding Target starts here.") }}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for phase in phases %}
|
||||
<tr>
|
||||
<td>{{ phase.phase.id }}</td>
|
||||
<td>{{ phase.phase.milestone_release.name }}</td>
|
||||
<td>{{ phase.phase.initial_target.amount }} {{ phase.phase.initial_target.currency }}</td>
|
||||
<td><a href="{{ root_path }}/phases/{{ phase.phase.id }}">View</a></td>
|
||||
<td><a href="{{ root_path }}/phases/{{ phase.phase.id }}">Open →</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue