fixed some minor html interpretation and tinymce issues
This commit is contained in:
parent
bcfd9f67aa
commit
0c6d28b0ff
6 changed files with 19 additions and 7 deletions
|
@ -93,3 +93,4 @@ class UserAnswerOptions(models.Model):
|
|||
|
||||
def __unicode__(self):
|
||||
return str(self.user_answer) + " - " + str(self.option)
|
||||
|
||||
|
|
|
@ -24,9 +24,10 @@
|
|||
<img src="{{ settings.logo }}" class="mainLogo">
|
||||
<h1>{{ settings.title }}</h1>
|
||||
<hr/>
|
||||
<p>{{ settings.message_access_denied }}</p>
|
||||
<p>{{ settings.message_access_denied|safe }}</p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
</ul>
|
||||
|
||||
<p id="enable-{{ question.id }}" data-value="{{ question.enable }}" data-questionId= "{{ question.id }}" class="message_already_answered hide">
|
||||
{{ settings.message_already_answered }}
|
||||
{{ settings.message_already_answered|safe }}
|
||||
</p>
|
||||
|
||||
<div class="container">
|
||||
|
@ -95,10 +95,11 @@
|
|||
|
||||
<div class="margin50" ></div>
|
||||
<hr/>
|
||||
{{ settings.footer }}
|
||||
{{ settings.footer|safe }}
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="{% static 'js/elearning.js' %}"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -34,4 +34,5 @@
|
|||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -93,4 +93,5 @@
|
|||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -118,3 +118,10 @@ USE_TZ = True
|
|||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = '/var/www/tkupek_elearning/elearning/static/'
|
||||
|
||||
# TinyMCE settings
|
||||
TINYMCE_DEFAULT_CONFIG = {
|
||||
'theme': "simple",
|
||||
'custom_undo_redo_levels': 20,
|
||||
'width': 500,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue