From a3db017580ec0ab4aca5cd03f1c16a109cfa53b6 Mon Sep 17 00:00:00 2001 From: Valera Rozuvan Date: Tue, 20 Nov 2012 14:19:48 +0200 Subject: [PATCH] Updated crystallography template to reflect changes made in the JS part. --- .../capa/capa/templates/crystallography.html | 53 ++++++++++--------- 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/common/lib/capa/capa/templates/crystallography.html b/common/lib/capa/capa/templates/crystallography.html index 5be1030eb0..3099faef7b 100644 --- a/common/lib/capa/capa/templates/crystallography.html +++ b/common/lib/capa/capa/templates/crystallography.html @@ -1,33 +1,37 @@
-
+
+ + +
- % if status == 'unsubmitted': -
+
% elif status == 'correct': -
+
% elif status == 'incorrect': -
+
% elif status == 'incomplete': -
+
% endif + % if hidden: -
+
% endif - + + % if hidden: + style="display:none;" + % endif + /> + +

% if status == 'unsubmitted': unanswered % elif status == 'correct': @@ -37,14 +41,15 @@ % elif status == 'incomplete': incomplete % endif -

+

-

+

- % if msg: - ${msg|n} - % endif -% if status in ['unsubmitted', 'correct', 'incorrect', 'incomplete']: -
-% endif + % if msg: + ${msg|n} + % endif + + % if status in ['unsubmitted', 'correct', 'incorrect', 'incomplete']: +
+ % endif