From ae0c7dcc02fae67423974e65fe8bfdf6e7a7636a Mon Sep 17 00:00:00 2001 From: Marcin Koziej <mkoziej@ksi.(none)> Date: Mon, 28 Jan 2013 16:03:44 +0100 Subject: [PATCH] rozw_kom --- librarian/pyhtml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index 4ef04bc..cba283b 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -142,7 +142,7 @@ class Excercise(EduModule): super(Excercise, self).__init__(*args, **kw) def handle_rozw_kom(self, element): - return None + return u"""<div style="display:none" class="comment">""", u"""</div>""" def handle_cwiczenie(self, element): self.options = {'excercise': element.attrib['typ']} @@ -157,6 +157,7 @@ class Excercise(EduModule): <div class="buttons"> <span class="message"></span> <input type="button" class="check" value="sprawdź"/> +<input type="button" class="retry" style="display:none" value="spróbuj ponownie"/> <input type="button" class="solutions" value="pokaż rozwiÄ zanie"/> <input type="button" class="reset" value="reset"/> </div> -- 2.20.1