penguinui
This commit is contained in:
@@ -8,9 +8,17 @@
|
||||
sections are what carry the draft across requests.
|
||||
#}
|
||||
{% import "ui/alert.html" as alert %}
|
||||
{% import "ui/dialog.html" as dialog %}
|
||||
|
||||
{#
|
||||
A failure is a dialog, not an inline alert: the builder is taller than the
|
||||
viewport, so an alert at the top is off screen for anyone who has scrolled
|
||||
down to the column list or the Create table button. The alert stays too, as
|
||||
what is left on the page after the dialog is dismissed.
|
||||
#}
|
||||
{%- if let Some(message) = page.error %}{% call alert::error("Could not continue", message) %}{% endcall %}{% endif -%}
|
||||
{%- if let Some(message) = page.status %}{% call alert::success("Draft updated", message) %}{% endcall %}{% endif -%}
|
||||
{%- if let Some(message) = page.error %}{% call dialog::error("Could not continue", message) %}{% endcall %}{% endif -%}
|
||||
|
||||
<section class="builder-section">
|
||||
<h2>Table</h2>
|
||||
|
||||
Reference in New Issue
Block a user