Skip to content

Commit

Permalink
Add csv for comparison conceptsets
Browse files Browse the repository at this point in the history
Resolves OHDSI#2800.
  • Loading branch information
anton-abushkevich authored Feb 6, 2023
1 parent b1b038b commit 190dfee
Show file tree
Hide file tree
Showing 9 changed files with 318 additions and 155 deletions.
8 changes: 8 additions & 0 deletions js/pages/concept-sets/components/tabs/conceptset-compare.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
<button class="btn btn-primary" data-bind="click: chooseCS1">
<i class="fa fa-folder-open"></i>
</button>
<div class="upload-container">
<input id="file-CS1" type="file" name="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" data-bind="event: { change: function(data, event) { uploadCS1(event) } }">
<label class="btn btn-primary" for="file-CS1"><i class="fas fa-file-excel"></i></label>
</div>
<button class="btn btn-danger" data-bind="
disable: $component.compareCS1Id() == 0,
click: clearCS1
Expand All @@ -49,6 +53,10 @@
<button class="btn btn-primary" data-bind="click:chooseCS2">
<i class="fa fa-folder-open"></i>
</button>
<div class="upload-container">
<input id="file-CS2" type="file" name="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" data-bind="event: { change: function(data, event) { uploadCS2(event) } }">
<label class="btn btn-primary" for="file-CS2"><i class="fas fa-file-excel"></i></label>
</div>
<button class="btn btn-danger" data-bind="
disable: $component.compareCS2Id() == 0,
click: clearCS2
Expand Down
Loading

0 comments on commit 190dfee

Please sign in to comment.