aboutsummaryrefslogtreecommitdiff
path: root/inst/app/templates/content/data/enter-data/upload-data.html
blob: 740047b93a07c81a38c19686529f3387d8d5571e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<!-- File input for data upload (hidden). -->
<input class="form-control" type="file" id="data_upload" accept="text/csv,text/comma-separated-values,text/plain,.csv">
<!-- Custom button to trigger file selector for data upload (visible). -->
<label class="form-label" for="data-upload-select">Upload a CSV file</label>
<div class="input-group">
  <button id="data-upload-select" type="button" class="btn btn-outline-primary btn-sm">
    <span class="glyphicon glyphicon-file"></span> Select file
  </button>
  <input type="text" id="data-upload-name" class="form-control" placeholder="No file selected" disabled>
</div>
<!-- Warning text. -->
<small id="data_upload_warn" class="form-text text-primary shiny-html-output"></small>