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