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