Commit 7e81d1dc137037b460d41232081e73e78948511b
- Diff rendering mode:
- inline
- side by side
swtr/static/js/swtmaker.js
(11 / 0)
  | |||
284 | 284 | this.showSweets(); | |
285 | 285 | return false; | |
286 | 286 | }, | |
287 | showHide: function() { | ||
288 | if($("input:checked").length) { | ||
289 | $("p").toggle(); | ||
290 | $('.annotorious-item-unfocus').css("opacity", "0.5"); | ||
291 | } | ||
292 | else { | ||
293 | $("p").toggle(); | ||
294 | $('.annotorious-item-unfocus').css("opacity", "0"); | ||
295 | } | ||
296 | |||
297 | }, | ||
287 | 298 | getSignInCredentials: function(event) { | |
288 | 299 | event.preventDefault(); | |
289 | 300 | if(swtr.who === 'Guest' && !$('#username').length) { |
swtr/templates/index.html
(3 / 1)
  | |||
31 | 31 | </div> | |
32 | 32 | <button class="btn btn-default" id="img-url-submit">GO</button> | |
33 | 33 | <button class="btn btn-default" id="sweet">Sweet</button> | |
34 | <input id="setbox" type="checkbox" >Show/Hide Box</input> | ||
34 | <input id="setbox" type="checkbox"/ > <label | ||
35 | id="setcontrol"><p>Show Box</p><p style="display: none">Hide | ||
36 | Box</p></label> | ||
35 | 37 | </div> | |
36 | 38 | <div id="img-annotation-wrapper" class="col-md-12 col-xs-12 col-lg-12 col-sm-12 well"> | |
37 | 39 | {% if url %} |