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 name="render_status_breakdown()">
|
||||
<div class="object-helper">
|
||||
<h3>Row Status Breakdown</h3>
|
||||
<div class="object-helper-content">
|
||||
<nav class="panel">
|
||||
<p class="panel-heading">Row Status</p>
|
||||
<div class="panel-block">
|
||||
${status_breakdown_grid}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</%def>
|
||||
|
||||
<%def name="render_execute_helper()">
|
||||
<div class="object-helper">
|
||||
<h3>Batch Execution</h3>
|
||||
<div class="object-helper-content">
|
||||
<nav class="panel">
|
||||
<p class="panel-heading">Execution</p>
|
||||
<div class="panel-block">
|
||||
<div style="display: flex; flex-direction: column; gap: 0.5rem;">
|
||||
% if batch.executed:
|
||||
<p>
|
||||
Batch was executed
|
||||
|
@ -89,7 +90,6 @@
|
|||
% elif master.handler.executable(batch):
|
||||
% if master.has_perm('execute'):
|
||||
<p>Batch has not yet been executed.</p>
|
||||
<br />
|
||||
<b-button type="is-primary"
|
||||
% if not execute_enabled:
|
||||
disabled
|
||||
|
@ -146,6 +146,7 @@
|
|||
% endif
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</%def>
|
||||
|
||||
<%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/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.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/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__))}
|
||||
|
||||
## nb. this is used (only?) in /generate-feature page
|
||||
|
|
Loading…
Reference in a new issue