blob: e81fff6dee59caf6ccc66d9463231f0b7064b0b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<h4>Estimates table</h4>
<!-- Estimates table. -->
<div class="my-3">
{{ DT::dataTableOutput(outputId = "estimates_table") }}
</div>
<!-- Display inactive delete button when no columns are selected. -->
<button type="button" class="btn btn-primary btn-sm text-white" disabled
data-display-if="'estimates_table_columns_selected' in input &&
input.estimates_table_columns_selected.length == 0">
<span class="glyphicon glyphicon-remove"></span> Delete column(s)
</button>
<!-- Display active delete button when at least one column is selected. -->
<button id="estimators_delete" type="button" class="btn btn-primary btn-sm action-button text-white"
data-display-if="'estimates_table_columns_selected' in input &&
input.estimates_table_columns_selected.length != 0">
<span class="glyphicon glyphicon-remove"></span> Delete column(s)
</button>
<!-- Button to export estimates table as a CSV file. -->
<a id="estimates_export" type="button" class="btn btn-outline-primary btn-sm shiny-download-link">
<span class="glyphicon glyphicon-download-alt"></span> Export table
</a>
|