Fix oruga styles for batch view
also use typical panels, for row status breakdown etc.
This commit is contained in:
parent
358816d9e7
commit
33251e880e
|
@ -68,18 +68,19 @@
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="render_status_breakdown()">
|
<%def name="render_status_breakdown()">
|
||||||
<div class="object-helper">
|
<nav class="panel">
|
||||||
<h3>Row Status Breakdown</h3>
|
<p class="panel-heading">Row Status</p>
|
||||||
<div class="object-helper-content">
|
<div class="panel-block">
|
||||||
${status_breakdown_grid}
|
${status_breakdown_grid}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</nav>
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="render_execute_helper()">
|
<%def name="render_execute_helper()">
|
||||||
<div class="object-helper">
|
<nav class="panel">
|
||||||
<h3>Batch Execution</h3>
|
<p class="panel-heading">Execution</p>
|
||||||
<div class="object-helper-content">
|
<div class="panel-block">
|
||||||
|
<div style="display: flex; flex-direction: column; gap: 0.5rem;">
|
||||||
% if batch.executed:
|
% if batch.executed:
|
||||||
<p>
|
<p>
|
||||||
Batch was executed
|
Batch was executed
|
||||||
|
@ -89,7 +90,6 @@
|
||||||
% elif master.handler.executable(batch):
|
% elif master.handler.executable(batch):
|
||||||
% if master.has_perm('execute'):
|
% if master.has_perm('execute'):
|
||||||
<p>Batch has not yet been executed.</p>
|
<p>Batch has not yet been executed.</p>
|
||||||
<br />
|
|
||||||
<b-button type="is-primary"
|
<b-button type="is-primary"
|
||||||
% if not execute_enabled:
|
% if not execute_enabled:
|
||||||
disabled
|
disabled
|
||||||
|
@ -144,8 +144,9 @@
|
||||||
% else:
|
% else:
|
||||||
<p>TODO: batch cannot be executed..?</p>
|
<p>TODO: batch cannot be executed..?</p>
|
||||||
% endif
|
% endif
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</nav>
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="render_form_template()">
|
<%def name="render_form_template()">
|
||||||
|
|
|
@ -152,10 +152,10 @@
|
||||||
## ${h.stylesheet_link(request.static_url('tailbone:static/css/base.css') + '?ver={}'.format(tailbone.__version__))}
|
## ${h.stylesheet_link(request.static_url('tailbone:static/css/base.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
## ${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css') + '?ver={}'.format(tailbone.__version__))}
|
## ${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
## ${h.stylesheet_link(request.static_url('tailbone:static/css/grids.css') + '?ver={}'.format(tailbone.__version__))}
|
## ${h.stylesheet_link(request.static_url('tailbone:static/css/grids.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
## ${h.stylesheet_link(request.static_url('tailbone:static/css/grids.rowstatus.css') + '?ver={}'.format(tailbone.__version__))}
|
|
||||||
## ${h.stylesheet_link(request.static_url('tailbone:static/css/filters.css') + '?ver={}'.format(tailbone.__version__))}
|
## ${h.stylesheet_link(request.static_url('tailbone:static/css/filters.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
## ${h.stylesheet_link(request.static_url('tailbone:static/css/forms.css') + '?ver={}'.format(tailbone.__version__))}
|
## ${h.stylesheet_link(request.static_url('tailbone:static/css/forms.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
|
|
||||||
|
${h.stylesheet_link(request.static_url('tailbone:static/css/grids.rowstatus.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
${h.stylesheet_link(request.static_url('tailbone:static/css/diffs.css') + '?ver={}'.format(tailbone.__version__))}
|
${h.stylesheet_link(request.static_url('tailbone:static/css/diffs.css') + '?ver={}'.format(tailbone.__version__))}
|
||||||
|
|
||||||
## nb. this is used (only?) in /generate-feature page
|
## nb. this is used (only?) in /generate-feature page
|
||||||
|
|
Loading…
Reference in a new issue