Fix oruga styles for batch view

also use typical panels, for row status breakdown etc.
This commit is contained in:
Lance Edgar 2024-04-28 01:58:19 -05:00
parent 358816d9e7
commit 33251e880e
2 changed files with 11 additions and 10 deletions

View file

@ -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
@ -144,8 +144,9 @@
% else:
<p>TODO: batch cannot be executed..?</p>
% endif
</div>
</div>
</div>
</nav>
</%def>
<%def name="render_form_template()">

View file

@ -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