From f1e3cecdc08195061d659e9710e42161aee4d5fb Mon Sep 17 00:00:00 2001
From: =?utf8?q?Aleksander=20=C5=81ukasz?=
Date: Mon, 18 Nov 2013 14:44:44 +0100
Subject: [PATCH 1/1] Spinner
---
wtem/static/wtem/spinner.gif | Bin 0 -> 9136 bytes
wtem/static/wtem/wtem.js | 3 +++
wtem/templates/wtem/main.html | 12 +++++++++++-
3 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 wtem/static/wtem/spinner.gif
diff --git a/wtem/static/wtem/spinner.gif b/wtem/static/wtem/spinner.gif
new file mode 100644
index 0000000000000000000000000000000000000000..ec0ad80f885e191dc77ce804989383c5be610d50
GIT binary patch
literal 9136
zcmcJUYgChWwuj#&Z|?UHLJ|Um5JG@}0jcE@osfh(ViHma2o?|o6crV$T51CXL`6hy
z-mnEkydfegRg0DYS`;sMt*zFgqD89?ZMC%>k8?J1rnA-=W_R&fyELJ9$N+_M$ABvnD9Wav4cKd}sE()IjzvdI+B!_xjDZ?`
zsPj>Tm*k!y!1El){!xbZc2qB(M
z5`1l%ci!m|(s<7(Pj+u(e)-rNpX|w#{bZ6AkT@@Y(=yb9ENn3^1le6TT*DZ#kZ6Gc
zFA3sA%~FJ>k13mZXIhTk#X_81GgO|;jTq2&H<;Z+*DgZDa{Vg9O>$_mJvJ}g7k;5_?>>_
z8O;K}jd48e(M+E-F~@?=UXD@j@ftc8gef1+BVB$^NLt+duvOlC=wY?^AM3GfB34>j
z0Wzcp@CQM_9RLez44fGNcfcud2gn0|Pz+oEJAglk2FgI1OvXxGLmhYr2?Z|1#>Ijc
zU>10H{@i)+1v~;@j&vUZ*FdX(QM`ODb64c&B@=={>zdp
zh}Z#NsItw!wBc_LY@qwC4u>13!It_qvbRC5vb9JqRR(!z2@UG@b{avz)Xd-qk9w
z^Kimfnt1e$$t13kMokvc@^v)EJPy_<%TC#AWFm|`do-@uj3cJaTR0ziI2<_f#ZHGL
zq6dwYEIn(I=FzSviMC(W@zBd`h6p))`{+Ce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mK9ABzVff3(hGAtC<>a@<|D
literal 0
HcmV?d00001
diff --git a/wtem/static/wtem/wtem.js b/wtem/static/wtem/wtem.js
index a65bb7f..e481b92 100644
--- a/wtem/static/wtem/wtem.js
+++ b/wtem/static/wtem/wtem.js
@@ -5,6 +5,7 @@ $(function() {
$('form').submit(function(e) {
//e.preventDefault();
to_submit = {};
+ spinner.show();
$('.exercise-wtem').each(function() {
var el = $(this);
@@ -69,4 +70,6 @@ $(function() {
$('#wtem_sms').change(sms_handler).keyup(sms_handler);
+ var spinner = $('.wtem_spinner');
+ spinner.hide();
});
\ No newline at end of file
diff --git a/wtem/templates/wtem/main.html b/wtem/templates/wtem/main.html
index 0f5c045..8068d99 100644
--- a/wtem/templates/wtem/main.html
+++ b/wtem/templates/wtem/main.html
@@ -1,5 +1,6 @@
{% extends 'base_super.html' %}
{% load compressed %}
+{% load static %}
{% block extra_script %}
{% compressed_js 'wtem' %}
@@ -61,9 +62,18 @@ ZespóŠEdukacji Medialnej, Fundacja Nowoczesna Polska
-Sprawdź jeszcze raz wszystkie swoje odpowiedzi, a nastÄpnie wyÅlij je do nas klikajÄ
c w poniższy przycisk:
+Sprawdź jeszcze raz wszystkie swoje odpowiedzi, a nastÄpnie wyÅlij je do nas klikajÄ
c w poniższy przycisk:
+
+
+ WysyÅanie rozwiÄ
zaÅ w toku...
+
+ Spróbuj jeszcze raz jeÅli wysyÅanie trwa dÅużej niż kilka minut.
+
+
+
RozwiÄ
zania można wysyÅaÄ do godziny {{end_time|default:"17.00"}}. Nie czekaj na ostatniÄ
chwilÄ!
+
{% endblock %}
\ No newline at end of file
--
2.20.1