]> nmode's Git Repositories - Rnaught/blob - inst/app/templates/content/data/enter-data/single-entry.html
Revamp Shiny app
[Rnaught] / inst / app / templates / content / data / enter-data / single-entry.html
1 <h4>Single entry</h4>
2 <!-- Dataset name. -->
3 <div class="my-3">
4 <label class="form-label" for="data_name">Dataset name</label>
5 <input name="data_name" class="form-control" type="text">
6 <small id="data_name_warn" class="form-text text-primary shiny-text-output"></small>
7 </div>
8 <!-- Case counts. -->
9 <div class="mb-3">
10 <label class="form-label" for="data_counts">
11 Case counts
12 <sup data-bs-toggle="tooltip" data-bs-placement="right"
13 data-bs-title="Enter as a comma-separated list of non-negative integers (example: 0,1,1,2,3,5,8,13).">
14 [?]
15 </sup>
16 </label>
17 <input name="data_counts" class="form-control" type="text">
18 <small id="data_counts_warn" class="form-text text-primary shiny-text-output"></small>
19 </div>
20 <!-- Time units. -->
21 <div class="mb-3">
22 <label class="form-label" for="data_units">Time units</label>
23 <div class="shiny-input-radiogroup" id="data_units">
24 <div class="form-check form-check-inline">
25 <label class="form-check-label">
26 <input type="radio" class="form-check-input me-2" name="data_units" value="Days">Days
27 </label>
28 </div>
29 <div class="form-check form-check-inline">
30 <label class="form-check-label">
31 <input type="radio" class="form-check-input me-2" name="data_units" value="Weeks" checked>Weeks
32 </label>
33 </div>
34 </div>
35 </div>
36 <!-- Submit data. -->
37 <button id="data_single" type="button" class="btn btn-outline-primary btn-sm action-button">
38 <span class="glyphicon glyphicon-plus"></span> Add
39 </button>