Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Revert "Revert "Add help icon and text to VSAC API KEY field (#1560)""
Browse files Browse the repository at this point in the history
This reverts commit 8786da4.
  • Loading branch information
mattg committed Oct 8, 2020
1 parent c95279a commit dfadf9c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
12 changes: 10 additions & 2 deletions app/assets/javascripts/templates/import/import_measure.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,20 @@
</div>
</div>
</div>
<div class="hidden" id="vsacSignIn">
<div class="hidden vsac-sign-in" id="vsacSignIn">
<div class="form-group">
<label for="vsacApiKey" class="col-sm-{{titleSize}} control-label">VSAC API Key</label>
<div class="col-sm-{{dataSize}}">
<div class="col-sm-{{subtract dataSize 1}}">
<input type="password" class="form-control" id="vsacApiKey" name="vsac_api_key" placeholder="API Key" aria-required="true">
</div>
<div class="col-sm-1 vsac-help-container">
<a tabindex="0" role="button" data-toggle="popover" data-trigger="focus"
data-title="VSAC API Key"
data-content='<p>You can find your API key by going to <a href="https://uts.nlm.nih.gov/" target="_blank">https://uts.nlm.nih.gov/</a>, signing in to your UTS account, and clicking “<strong>My Profile</strong>.” If you do not already have an API key, you can generate one by clicking “<strong>Edit Profile</strong>” then checking the box that says “<strong>Generate new API Key</strong>” then clicking “<strong>Save Profile</strong>.”</p>'
data-placement="bottom">
<i class="fa fa-info-circle"></i>
</a>
</div>
<div class="col-sm-offset-{{titleSize}} vsac-registration"><a href="https://uts.nlm.nih.gov/license.html" target="_blank"><i class="fa fa-plus-circle" aria-hidden="true"></i> Register for VSAC</a></div>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions app/assets/stylesheets/measures.less
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@
margin-bottom: 4px;
}

.vsac-parameters {
.vsac-parameters,
.vsac-sign-in {
// Make the dropdowns not curvy and use bonnie colors.
select {
border: 0;
Expand All @@ -249,7 +250,7 @@
height: 34px;
padding-top: 4px;

a {
i {
font-size: 18px;
color: @brand-faded;
&:focus {
Expand Down

0 comments on commit dfadf9c

Please sign in to comment.