Lines 368-373
Link Here
|
368 |
<a class="collapse-textarea" id="collapse_opacusercss" data-target="opacusercss" data-syntax="css" style="display:none" href="#">Collapse<br /></a> |
368 |
<a class="collapse-textarea" id="collapse_opacusercss" data-target="opacusercss" data-syntax="css" style="display:none" href="#">Collapse<br /></a> |
369 |
</div> |
369 |
</div> |
370 |
</li> |
370 |
</li> |
|
|
371 |
<li> |
372 |
<label for="colorpicker">Primary branch color: </label> |
373 |
<input type="color" name="colorpicker" id="colorpicker" value="[% library.library_color | html %]" /> |
374 |
<input type="text" name="library_color" id="library_color" readonly="readonly" size="10" maxlength="16" value="[% library.library_color | html %]" /> |
375 |
<a href="#" class="clear_color"><i class="fa fa-fw fa-trash-can"></i> Clear</a> |
376 |
</li> |
371 |
</ol> |
377 |
</ol> |
372 |
</fieldset> |
378 |
</fieldset> |
373 |
[% IF additional_fields.size %] |
379 |
[% IF additional_fields.size %] |
Lines 609-614
Link Here
|
609 |
<span>Library hours not set</span> |
615 |
<span>Library hours not set</span> |
610 |
[% END %] |
616 |
[% END %] |
611 |
</li> |
617 |
</li> |
|
|
618 |
<li> |
619 |
<span class="label">Library color</span> |
620 |
[% library.library_color | html %] |
621 |
</li> |
612 |
</ol> |
622 |
</ol> |
613 |
</div> |
623 |
</div> |
614 |
<!-- /.rows --> |
624 |
<!-- /.rows --> |
Lines 880-885
Link Here
|
880 |
} |
890 |
} |
881 |
$( "#" + target ).hide(); |
891 |
$( "#" + target ).hide(); |
882 |
}); |
892 |
}); |
|
|
893 |
$("#colorpicker").on("change", function(){ |
894 |
let library_color = this.value; |
895 |
$("#library_color").val( library_color ); |
896 |
}); |
897 |
|
898 |
$(".clear_color").on("click", function(e){ |
899 |
e.preventDefault(); |
900 |
$("#library_color, #colorpicker").val( "" ); |
901 |
}); |
883 |
</script> |
902 |
</script> |
884 |
[% END %] |
903 |
[% END %] |
885 |
|
904 |
|
886 |
- |
|
|