Commit c8fac8c8 authored by Maxim's avatar Maxim Committed by Matija Obreza

De/Selecting accessions

parent dd7af809
......@@ -1998,9 +1998,9 @@ $light-font-family: 'Roboto-Light';
background-position: center left;
cursor: pointer;
display: inline-block;
width: 20px;
width: 32px;
height: 20px;
background-size: 250%;
background-size: 196%;
}
tr.acn span.sel.picked {
background-position: center right;
......@@ -4238,5 +4238,47 @@ h1.green-bg {
}
}
.acn .sel a {
padding: 7px 0 7px 7px;
text-transform: uppercase;
&.add:before {
background-position: -4px -4px;
}
&.remove:before {
background-position: -36px -4px;
}
html[dir="rtl"] & {
padding: 7px 7px 7px 0;
}
&:before {
content: "";
float: left;
width: 32px;
height: 32px;
margin: 0;
padding: 0;
background: url('../images/icon_row_select.png') no-repeat;
html[dir="rtl"] & {
float: right;
}
}
}
.acn .sel a.remove {
display: none;
}
.acn .sel.picked a.remove {
display: inline;
}
.acn .sel.picked a.add {
display: none;
}
......@@ -18,15 +18,12 @@
</h1>
<div class="main-col-header acn">
<div class="" x-aid="${accession.id}">
<div class="checkbox">
<label>
<input type="checkbox" value="">
<a class="add" href=""><spring:message code="selection.add" arguments="${accession.accessionName}" /></a> <a class="remove" href=""><spring:message code="selection.remove"
arguments="${accession.accessionName}" /></a>
</label>
<div class="sel" x-aid="${accession.id}">
<a class="add" href=""><spring:message code="selection.add" arguments="${accession.accessionName}" /></a>
<a class="remove" href=""><spring:message code="selection.remove" arguments="${accession.accessionName}" /></a>
</div>
</div>
</div>
<gui:alert type="warning" display="${accession.historic eq true or accession.getClass().simpleName eq 'AccessionHistoric'}">
......
Markdown is supported
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