Commit f06e85e59d167de902d8711dc8fdc7d60d9771f3
- Diff rendering mode:
- inline
- side by side
swtr/static/js/app.js
(4 / 4)
  | |||
241 | 241 | $("#sweet-list").html(''); | |
242 | 242 | alert("Your SWeets are posted!!"); | |
243 | 243 | }, | |
244 | error: function(data) { | ||
245 | alert("Failed to post your SWeets, please try again."); | ||
246 | } | ||
247 | }); | ||
244 | error: function(data) { | ||
245 | alert("Failed to post your SWeets, please try again."); | ||
246 | } | ||
247 | }); | ||
248 | 248 | } | |
249 | 249 | }); | |
250 | 250 | new AppView; |
swtr/static/js/swtmaker.js
(1 / 1)
  | |||
546 | 546 | switch (n) { | |
547 | 547 | case 0 : text = 'Getting annotations..'; | |
548 | 548 | break; | |
549 | case 1: text = 'Enter the URL of an image below, and start annotating!'; | ||
549 | case 1: text = 'Enter the URL of an image or web page below, and start annotating!'; | ||
550 | 550 | break; | |
551 | 551 | case 2: text = 'Annotate the image, or see other annotations'; | |
552 | 552 | break; |
swtr/templates/index.html
(1 / 1)
  | |||
38 | 38 | <div class="form-group col-md-11"> | |
39 | 39 | <label class="sr-only" for="img-url-input">Enter URL of the image</label> | |
40 | 40 | <input class="form-control" type="text" | |
41 | placeholder="Enter URL of the image" id="img-url-input"> | ||
41 | placeholder="Enter URL of the image or web page" id="img-url-input"> | ||
42 | 42 | </div> | |
43 | 43 | <button type="submit" class="btn btn-primary" id="img-url-load">Load</button> | |
44 | 44 | </form> |