Add initial "scanning" feature for Ordering Batches
This commit is contained in:
parent
801c56f06e
commit
329e75ee82
6 changed files with 553 additions and 32 deletions
|
@ -96,8 +96,9 @@
|
|||
<%def name="leading_buttons()">
|
||||
% if master.has_worksheet and master.allow_worksheet(batch) and master.has_perm('worksheet'):
|
||||
% if use_buefy:
|
||||
<once-button tag="a"
|
||||
href="${url('{}.worksheet'.format(route_prefix), uuid=batch.uuid)}"
|
||||
<once-button type="is-primary"
|
||||
tag="a" href="${url('{}.worksheet'.format(route_prefix), uuid=batch.uuid)}"
|
||||
icon-left="edit"
|
||||
text="Edit as Worksheet">
|
||||
</once-button>
|
||||
% else:
|
||||
|
@ -110,10 +111,10 @@
|
|||
% if master.batch_refreshable(batch) and master.has_perm('refresh'):
|
||||
% if use_buefy:
|
||||
## TODO: this should surely use a POST request?
|
||||
<once-button tag="a"
|
||||
href="${url('{}.refresh'.format(route_prefix), uuid=batch.uuid)}"
|
||||
<once-button type="is-primary"
|
||||
tag="a" href="${url('{}.refresh'.format(route_prefix), uuid=batch.uuid)}"
|
||||
text="Refresh Data"
|
||||
icon-left="fas fa-redo">
|
||||
icon-left="redo">
|
||||
</once-button>
|
||||
% else:
|
||||
<button type="button" class="button" id="refresh-data">Refresh Data</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue