From f06e85e59d167de902d8711dc8fdc7d60d9771f3 Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Mon, 7 Jul 2014 21:01:34 +0530 Subject: [PATCH] Fix message in the landing page of app Change message in landing page of app from mentioning only image to mentioning image and web page. --- swtr/static/js/app.js | 8 ++++---- swtr/static/js/swtmaker.js | 2 +- swtr/templates/index.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/swtr/static/js/app.js b/swtr/static/js/app.js index a2ecb4c..3471201 100644 --- a/swtr/static/js/app.js +++ b/swtr/static/js/app.js @@ -241,10 +241,10 @@ window.swtr = window.swtr || {}; $("#sweet-list").html(''); alert("Your SWeets are posted!!"); }, - error: function(data) { - alert("Failed to post your SWeets, please try again."); - } - }); + error: function(data) { + alert("Failed to post your SWeets, please try again."); + } + }); } }); new AppView; diff --git a/swtr/static/js/swtmaker.js b/swtr/static/js/swtmaker.js index 420dbb8..9a6287e 100644 --- a/swtr/static/js/swtmaker.js +++ b/swtr/static/js/swtmaker.js @@ -546,7 +546,7 @@ switch (n) { case 0 : text = 'Getting annotations..'; break; - case 1: text = 'Enter the URL of an image below, and start annotating!'; + case 1: text = 'Enter the URL of an image or web page below, and start annotating!'; break; case 2: text = 'Annotate the image, or see other annotations'; break; diff --git a/swtr/templates/index.html b/swtr/templates/index.html index 1f4c7ed..869b0ad 100644 --- a/swtr/templates/index.html +++ b/swtr/templates/index.html @@ -38,7 +38,7 @@
+ placeholder="Enter URL of the image or web page" id="img-url-input">
-- 1.7.10.4