-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALS-5208] Remove Open Access from Authorized BDC
- Loading branch information
Showing
5 changed files
with
58 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 55 additions & 74 deletions
129
biodatacatalyst-ui/src/main/webapp/picsureui/studyAccess/studyAccess.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,78 @@ | ||
<style> | ||
.plain-list li i { | ||
width: 50%; | ||
} | ||
.plain-list li span { | ||
width: 50%; | ||
align-content: center; | ||
} | ||
.plain-list li{ | ||
margin-top: .5em; | ||
} | ||
.panel-heading div { | ||
width: 50%; | ||
} | ||
</style> | ||
<div class="center-panel"> | ||
<div class="panel panel-outline explor-panel"> | ||
<div class="panel-heading no-border center-panel"> | ||
<div class="side-border heading-space"> | ||
<div> | ||
<h4 class="access-title">Authorized Access</h4> | ||
<button type="button" data-href="/picsureui/queryBuilder" aria-label="Explore Authorized Access" | ||
<div style="text-align: center"> | ||
<h4 class="access-title">Authorized Access</h4> | ||
<button type="button" data-href="/picsureui/queryBuilder" aria-label="Explore Authorized Access" | ||
{{#if authorizedAccess}}class="btn btn-primary btn-blue clickable-button"{{/if}} | ||
{{#unless authorizedAccess}}class="btn btn-primary btn-grey"{{/unless}} | ||
{{#unless authorizedAccess}}disabled="disabled"{{/unless}}> | ||
Explore Now | ||
</button> | ||
</div> | ||
<div class="participants-container"> | ||
<h4 class="">{{auth_studies_cnt}} Studies</h4> | ||
<h5 class="" id="authorized-participants"></h5> | ||
<div id="authorized-participants-spinner"></div> | ||
</div> | ||
{{#unless authorizedAccess}}class="btn btn-primary btn-grey"{{/unless}} | ||
{{#unless authorizedAccess}}disabled="disabled"{{/unless}}> | ||
Explore Now | ||
</button> | ||
</div> | ||
<div class="heading-space"> | ||
<div> | ||
<h4 class="access-title">Open Access</h4> | ||
<button type="button" class="btn btn-primary btn-blue clickable-button" data-href="/picsureui/openAccess" aria-label="Explore Open Access">Explore Now</button> | ||
</div> | ||
<div class="participants-container"> | ||
<h4 id="open-studies-count" class=""></h4> | ||
<h5 id="open-participants" class=""></h5> | ||
<div id="open-participants-spinner"></div> | ||
</div> | ||
<div class="participants-container"> | ||
<h4 class="">{{auth_studies_cnt}} Studies</h4> | ||
<h5 class="" id="authorized-participants"></h5> | ||
<div style="width: 25%" id="authorized-participants-spinner"></div> | ||
</div> | ||
</div> | ||
<div class="panel-body" style="display: flex;"> | ||
<div class="body-space side-border"> | ||
<ul class="plain-list"> | ||
<li style="display: flex; flex-direction:row"> | ||
<i class="fa-regular fa-address-card" aria-hidden="true"></i> | ||
<i class="fa-solid fa-dna" aria-hidden="true"></i> | ||
<span>Authorized Phenotypic and Genomic Datasets</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-users" aria-hidden="true"></i> | ||
<span>Aggregate Counts</span> | ||
</li> | ||
<li> | ||
<i class="fa-regular fa-user" aria-hidden="true"></i> | ||
<span>Participant-level Data</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-pie-chart" aria-hidden="true"></i> | ||
<span>Visualizations</span> | ||
</li> | ||
<li> | ||
<i class="fa-solid fa-laptop-code" aria-hidden="true"></i> | ||
<span>R and Python API Access</span> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="body-space"> | ||
<ul class="plain-list"> | ||
<li> | ||
<i class="fa-regular fa-circle-check" aria-hidden="true"></i> | ||
<span>No Authorization Required</span> | ||
</li> | ||
<li> | ||
<i class="fa-regular fa-address-card" aria-hidden="true"></i> | ||
<span>All Phenotypic Datasets Available in PIC-SURE</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-users" aria-hidden="true"></i> | ||
<span>Aggregate Counts Only</span> | ||
</li> | ||
<li> | ||
<i class="fa-solid fa-laptop-code" aria-hidden="true"></i> | ||
<span>R and Python API Access</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div style="margin-top: 1em;"> | ||
<ul class="plain-list"> | ||
<li style="display: flex; flex-direction:row;"> | ||
<i class="fa-regular fa-address-card" aria-hidden="true" style="width: 20%; margin-left: 5%"></i> | ||
<i class="fa-solid fa-dna" aria-hidden="true" style="width: 20%; margin-right: 5%"></i> | ||
<span>Phenotypic and Genomic Datasets</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-users" aria-hidden="true"></i> | ||
<span>Aggregate Counts</span> | ||
</li> | ||
<li> | ||
<i class="fa-regular fa-user" aria-hidden="true"></i> | ||
<span>Participant-level Data</span> | ||
</li> | ||
<li> | ||
<i class="fa fa-pie-chart" aria-hidden="true"></i> | ||
<span>Visualizations</span> | ||
</li> | ||
<li> | ||
<i class="fa-solid fa-laptop-code" aria-hidden="true"></i> | ||
<span>R and Python API Access</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div id="studies-access"> | ||
<div class="space-out"> | ||
<div> | ||
<h2 class="studies-title">Data Access Table</h2> | ||
<h4 class="studies-sub-title">View all studies and associated information available in PIC-SURE separated by consent group. Check personalized authorization for available studies in the "Access" column.</h4> | ||
<h4 class="studies-sub-title">View all studies and associated information available in PIC-SURE separated by | ||
consent group. Check personalized authorization for available studies in the "Access" column.</h4> | ||
</div> | ||
<div class="freeze-message"> | ||
<div>{{freeze_msg}}</div> | ||
</div> | ||
</div> | ||
<div class="flex-col table-responsive" style="overflow-x: visible !important;"> | ||
<table id="data-access-table" style="width:100%" class="table table-striped row-border hover" role="region" aria-label="A table showing infomation about studies included in Pic-sure. Use the first column to request access to studies."></table> | ||
<table id="data-access-table" style="width:100%" class="table table-striped row-border hover" role="region" | ||
aria-label="A table showing infomation about studies included in Pic-sure. Use the first column to request access to studies."></table> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters