Skip to content

Commit

Permalink
Add help text about existing alleles in dialog
Browse files Browse the repository at this point in the history
Refs #2758
  • Loading branch information
kimrutherford committed Feb 28, 2024
1 parent b8b5856 commit a3965ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions root/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,11 @@ input[readonly="1"] {
margin-left: auto;
}

.curs-allele-edit-sub-heading {
font-size: 95%;
margin-bottom: 1em;
}

.curs-allele-evidence-select {
width: 22em;
}
Expand Down
6 changes: 4 additions & 2 deletions root/static/ng_templates/allele_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,12 @@ <h4 class="modal-title">

<div ng-switch-when="true" class="curs-box">
<div class="curs-box-title">
This is an existing allele, click "OK" to use this allele or
"Cancel" to create a new allele
Click "OK" to use this allele or "Cancel" to create a new allele
</div>
<div class="curs-box-body">
<div class="curs-allele-edit-sub-heading">
Note: this allele cannot be edited because it is already used in {{databaseName}}
</div>
<table class="curs-definition-table">
<tr>
<td class="title">
Expand Down

0 comments on commit a3965ab

Please sign in to comment.