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