web interface for table_definition improved
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{# GET /admin/table-definition — crate::pages::admin::table_definition::ui::TableDefinitionPage #}
|
||||
{% extends "ui/base.html" %}
|
||||
|
||||
{% block title %}Table definition{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<main>
|
||||
<section class="heading">
|
||||
<div>
|
||||
<p class="eyebrow">Table definition</p>
|
||||
<h1>Table definition</h1>
|
||||
<p>Pick a profile and a table, then change its definition.</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<a href="/admin">← Admin panel</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{#
|
||||
One swap target for the whole workspace. Every write answers with this
|
||||
markup re-read from the backend, so the screen after a change is the
|
||||
definition as it now is, not the form that was submitted.
|
||||
#}
|
||||
<div id="table-definition-workspace" aria-live="polite">
|
||||
{% include "pages/admin/table_definition/workspace.html" %}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<datalist id="currency-codes">
|
||||
{% for code in currency_codes %}<option value="{{ code }}"></option>{% endfor %}
|
||||
</datalist>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user