Skip to content

Commit 7f9899f

Browse files
committed
adjusting layout buttons sizing
1 parent cfee955 commit 7f9899f

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

css/style.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,14 @@ body {
220220
.search-action-bar {
221221
display: flex;
222222
gap: 12px;
223-
align-items: stretch;
223+
align-items: flex-start;
224+
margin-bottom: 8px;
225+
flex-wrap: wrap;
226+
}
227+
228+
.tab-actions {
229+
display: flex;
230+
gap: 8px;
224231
margin-bottom: 12px;
225232
flex-wrap: wrap;
226233
}

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ <h2>Settings</h2>
140140
<button class="btn btn-secondary" onclick="DictApp.selectAllVisible('dx')">Check All</button>
141141
<button class="btn btn-secondary" onclick="DictApp.deselectAll('dx')">Uncheck All</button>
142142
</div>
143+
</div>
144+
<div class="tab-actions">
143145
<button class="btn btn-success" onclick="DictApp.downloadCsv('dx')" title="Downloads all matching rows. Each row has a desired column (TRUE/FALSE) you can edit.">&#8681; Download Matching Rows</button>
144146
<button class="btn btn-crdw" onclick="DictApp.sendToCrdw('dx')" title="Push SS files directly to the project's GitHub repo">&#9654; Send to CRDW</button>
145147
</div>
@@ -206,6 +208,8 @@ <h2>Settings</h2>
206208
<button class="btn btn-secondary" onclick="DictApp.selectAllVisible('medication')">Check All</button>
207209
<button class="btn btn-secondary" onclick="DictApp.deselectAll('medication')">Uncheck All</button>
208210
</div>
211+
</div>
212+
<div class="tab-actions">
209213
<button class="btn btn-success" onclick="DictApp.downloadCsv('medication')" title="Downloads all matching rows. Each row has a desired column (TRUE/FALSE) you can edit.">&#8681; Download Matching Rows</button>
210214
<button class="btn btn-crdw" onclick="DictApp.sendToCrdw('medication')" title="Push SS files directly to the project's GitHub repo">&#9654; Send to CRDW</button>
211215
</div>
@@ -294,6 +298,8 @@ <h2>Settings</h2>
294298
<button class="btn btn-secondary" onclick="DictApp.selectAllVisible('lab')">Check All</button>
295299
<button class="btn btn-secondary" onclick="DictApp.deselectAll('lab')">Uncheck All</button>
296300
</div>
301+
</div>
302+
<div class="tab-actions">
297303
<button class="btn btn-success" onclick="DictApp.downloadCsv('lab')" title="Downloads all matching rows. Each row has a desired column (TRUE/FALSE) you can edit.">&#8681; Download Matching Rows</button>
298304
<button class="btn btn-crdw" onclick="DictApp.sendToCrdw('lab')" title="Push SS files directly to the project's GitHub repo">&#9654; Send to CRDW</button>
299305
</div>
@@ -362,6 +368,8 @@ <h2>Settings</h2>
362368
<button class="btn btn-secondary" onclick="DictApp.selectAllVisible('location')">Check All</button>
363369
<button class="btn btn-secondary" onclick="DictApp.deselectAll('location')">Uncheck All</button>
364370
</div>
371+
</div>
372+
<div class="tab-actions">
365373
<button class="btn btn-success" onclick="DictApp.downloadCsv('location')" title="Downloads all matching rows. Each row has a desired column (TRUE/FALSE) you can edit.">&#8681; Download Matching Rows</button>
366374
<button class="btn btn-crdw" onclick="DictApp.sendToCrdw('location')" title="Push SS files directly to the project's GitHub repo">&#9654; Send to CRDW</button>
367375
</div>
@@ -429,6 +437,8 @@ <h2>Settings</h2>
429437
<button class="btn btn-secondary" onclick="DictApp.selectAllVisible('procedure')">Check All</button>
430438
<button class="btn btn-secondary" onclick="DictApp.deselectAll('procedure')">Uncheck All</button>
431439
</div>
440+
</div>
441+
<div class="tab-actions">
432442
<button class="btn btn-success" onclick="DictApp.downloadCsv('procedure')" title="Downloads all matching rows. Each row has a desired column (TRUE/FALSE) you can edit.">&#8681; Download Matching Rows</button>
433443
<button class="btn btn-crdw" onclick="DictApp.sendToCrdw('procedure')" title="Push SS files directly to the project's GitHub repo">&#9654; Send to CRDW</button>
434444
</div>

js/search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const SearchEngine = (function () {
6363
'medication-epic': ['name', 'generic_name', 'pharmaceutical_class', 'pharmaceutical_subclass', 'therapeutic_class'],
6464
'medication-meditech': ['medication_name', 'generic', 'medication_mnemonic'],
6565
'medication-centricity': ['description', 'genericmed'],
66+
lab: ['name', 'common_name', 'base_name', 'mnemonic', 'abbreviation', 'loinc'],
6667
'lab-epic': ['name', 'common_name', 'loinc_code', 'loinc_name'],
6768
'lab-meditech': ['lab_desc', 'lab_mnemonic', 'abbreviation', 'loinc'],
6869
'location-epic': ['department_name', 'department_external_name', 'department_specialty', 'location_name', 'department_type'],

0 commit comments

Comments
 (0)