Commit 918a17f2e686e4defa604dfa1c47ddba8dcb41d4
- Diff rendering mode:
- inline
- side by side
swtr/static/js/swtmaker.js
(1 / 3)
  | |||
277 | 277 | return false; | |
278 | 278 | }, | |
279 | 279 | showHide: function() { | |
280 | if($("input:checked").length) { | ||
281 | $("p").toggle(); | ||
280 | if($("#setbox:checked").length) { | ||
282 | 281 | $('.annotorious-item-unfocus').css("opacity", "0.5"); | |
283 | 282 | } | |
284 | 283 | else { | |
285 | $("p").toggle(); | ||
286 | 284 | $('.annotorious-item-unfocus').css("opacity", "0"); | |
287 | 285 | } | |
288 | 286 |
swtr/templates/index.html
(1 / 2)
  | |||
36 | 36 | <button class="btn btn-default" id="img-url-load">Annotate</button> | |
37 | 37 | <button class="btn btn-default" id="sweet">Sweet</button> | |
38 | 38 | <input id="setbox" type="checkbox"/ > <label | |
39 | id="setcontrol"><p>Show annotated areas</p><p style="display: none">Hide | ||
40 | annotated areas</p></label> | ||
39 | id="setcontrol"><p>Show annotated areas</p></label> | ||
41 | 40 | </div> | |
42 | 41 | </div> | |
43 | 42 | <div id="img-annotation-wrapper" class="col-md-12 col-xs-12 col-lg-12 col-sm-12 well"> |