Tweak icon for Download Results button

make it more portable for oruga
This commit is contained in:
Lance Edgar 2024-04-24 20:19:15 -05:00
parent 0ca3b31b2e
commit ddafa9ed97

View file

@ -20,7 +20,7 @@
<li>${h.link_to("Download results as XLSX", url('{}.results_xlsx'.format(route_prefix)))}</li> <li>${h.link_to("Download results as XLSX", url('{}.results_xlsx'.format(route_prefix)))}</li>
% endif % endif
% if master.has_input_file_templates and master.has_perm('create'): % if master.has_input_file_templates and master.has_perm('create'):
% for template in six.itervalues(input_file_templates): % for template in input_file_templates.values():
<li>${h.link_to("Download {} Template".format(template['label']), template['effective_url'])}</li> <li>${h.link_to("Download {} Template".format(template['label']), template['effective_url'])}</li>
% endfor % endfor
% endif % endif
@ -45,7 +45,7 @@
% if master.results_downloadable and master.has_perm('download_results'): % if master.results_downloadable and master.has_perm('download_results'):
<b-button type="is-primary" <b-button type="is-primary"
icon-pack="fas" icon-pack="fas"
icon-left="fas fa-download" icon-left="download"
@click="showDownloadResultsDialog = true" @click="showDownloadResultsDialog = true"
:disabled="!total"> :disabled="!total">
Download Results Download Results
@ -86,7 +86,7 @@
<div> <div>
<b-field horizontal label="Format"> <b-field horizontal label="Format">
<b-select v-model="downloadResultsFormat"> <b-select v-model="downloadResultsFormat">
% for key, label in six.iteritems(master.download_results_supported_formats()): % for key, label in master.download_results_supported_formats().items():
<option value="${key}">${label}</option> <option value="${key}">${label}</option>
% endfor % endfor
</b-select> </b-select>