Skip to content
Snippets Groups Projects
Commit db200603 authored by Rachel TORCHET's avatar Rachel TORCHET
Browse files

Update ProteinDomainComplexTypeForm form and JS to show/hide inhibited/stabilized configurations

Former-commit-id: 74e03458a2cbd9c9aaa36c2383664bd869036c3b
parent f2b433a0
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 1 deletion
......@@ -643,7 +643,6 @@ body {
display:inline-block;
}
/* BUTTONS */
/* IdForm*/
......@@ -745,6 +744,9 @@ body {
overflow: hidden;
width: 600px;
padding-bottom: 5px;
background-image: url('/static/images/PPITypes/Inhibited/{{radio.choice_label|cut:" "}}_Apo.png');
background-position: center;
background-repeat: no-repeat;
}
#id_ProteinDomainComplexTypeForm-inhibited label span{
......@@ -754,6 +756,7 @@ body {
border: 1px solid #8D8888;
height: 180px;
font-size: 12px;
}
#id_ProteinDomainComplexTypeForm-inhibited input {
......@@ -779,8 +782,24 @@ body {
border-right: 1px solid #E3E9EB;
}
.image-inhibited label span{
background-image: url('/static/images/PPITypes/Inhibited/{{radio.choice_label|cut:" "}}_Apo.png');
background-position: center;
background-repeat: no-repeat;
}
.image-inhibited label span:hover {
background-image: url('/static/images/PPITypes/Inhibited/{{radio.choice_label|cut:" "}}_Halo.png');
background-position: center;
background-repeat: no-repeat;
}
/* Stabilized */
#stabilized{
display:none;
}
#id_ProteinDomainComplexTypeForm-stabilized {
overflow: hidden;
width: 600px;
......
ippisite/ippidb/static/images/PPITypes/Inhibited/Customyourown_Holo.png

1.35 KiB

ippisite/ippidb/static/images/PPITypes/Stabilized/Customyourown_Apo.png

1.35 KiB

ippisite/ippidb/static/images/PPITypes/Stabilized/Customyourown_Holo.png

1.35 KiB

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment