]> nmode's Git Repositories - Rnaught/blob - inst/web/templates/content/estimation/estimates/estimates-table.html
Update web app entry point
[Rnaught] / inst / web / templates / content / estimation / estimates / estimates-table.html
1 <h4>Estimates table</h4>
2 <!-- Estimates table. -->
3 <div class="my-3">
4 {{ DT::dataTableOutput(outputId = "estimates_table") }}
5 </div>
6 <!-- Display inactive delete button when no rows are selected. -->
7 <button type="button" class="btn btn-primary btn-sm text-white" disabled
8 data-display-if="'estimates_table_rows_selected' in input && input.estimates_table_rows_selected.length == 0">
9 <span class="glyphicon glyphicon-remove"></span> Delete row(s)
10 </button>
11 <!-- Display active delete button when at least one row is selected. -->
12 <button id="estimators_delete" type="button" class="btn btn-primary btn-sm action-button text-white"
13 data-display-if="'estimates_table_rows_selected' in input && input.estimates_table_rows_selected.length != 0">
14 <span class="glyphicon glyphicon-remove"></span> Delete row(s)
15 </button>
16 <!-- Button to export estimates table as a CSV file. -->
17 <a id="estimates_export" type="button" class="btn btn-outline-primary btn-sm shiny-download-link">
18 <span class="glyphicon glyphicon-download-alt"></span> Export table
19 </a>