.
This commit is contained in:
@@ -517,4 +517,10 @@ td.user-answer-score-2::after {
|
||||
border: 1px solid purple;
|
||||
color: purple;
|
||||
opacity: 100%;
|
||||
}
|
||||
|
||||
textarea, input {
|
||||
border-radius: 2px;
|
||||
background-color: #343a40;
|
||||
color: lightgray;
|
||||
}
|
||||
+1
-1
@@ -184,7 +184,7 @@ SeriesFormSet = inlineformset_factory(
|
||||
LongSeries.long.through,
|
||||
exclude=[],
|
||||
can_delete=True,
|
||||
extra=1,
|
||||
extra=0,
|
||||
max_num=10,
|
||||
field_classes="testing",
|
||||
)
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
|
||||
<div class="long-answer">
|
||||
<p class="pre-whitespace"><b>Feedback:</b>
|
||||
<pre>{{ question.feedback }}</pre>
|
||||
<pre>{{ question.feedback | safe}}</pre>
|
||||
</p>
|
||||
<details>
|
||||
<summary>
|
||||
<h3>Model answers</h3>
|
||||
<b>Model answers</b>
|
||||
</summary>
|
||||
<p class="pre-whitespace"><b>Observations:</b>
|
||||
<pre>{{ question.model_observations }}</pre>
|
||||
|
||||
@@ -216,6 +216,22 @@ DBBACKUP_STORAGE_OPTIONS = {'location': os.path.join(BASE_DIR, '../backups')}
|
||||
|
||||
DEFAULT_FILE_STORAGE = 'django_hashedfilenamestorage.storage.HashedFilenameFileSystemStorage'
|
||||
|
||||
TINYMCE_DEFAULT_CONFIG = {
|
||||
"theme": "silver",
|
||||
"height": 500,
|
||||
"menubar": False,
|
||||
"plugins": "advlist,autolink,lists,link,image,charmap,print,preview,anchor,"
|
||||
"searchreplace,visualblocks,code,fullscreen,insertdatetime,media,table,paste,"
|
||||
"code,help,wordcount",
|
||||
"toolbar": "undo redo | formatselect | "
|
||||
"bold italic backcolor | alignleft aligncenter "
|
||||
"alignright alignjustify | bullist numlist outdent indent | "
|
||||
"removeformat | help",
|
||||
"skin": 'oxide-dark',
|
||||
"content_css": 'dark',
|
||||
}
|
||||
|
||||
|
||||
try:
|
||||
from .settings_local import *
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user