summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/documentation/moderator_docs/creating_question.rst28
-rw-r--r--yaksh/templates/yaksh/showquestions.html2
2 files changed, 25 insertions, 5 deletions
diff --git a/yaksh/documentation/moderator_docs/creating_question.rst b/yaksh/documentation/moderator_docs/creating_question.rst
index 82bb6e5..3e878ea 100644
--- a/yaksh/documentation/moderator_docs/creating_question.rst
+++ b/yaksh/documentation/moderator_docs/creating_question.rst
@@ -330,14 +330,34 @@ Features in Question
* **Download Questions**
- Select questions from the list of questions displayed on the Questions page. Click on the Download Selected button to download the questions. This will create a zip file of the Questions selected.
+ Select questions from a list of questions displayed on the
+ Questions page. Click on the Download Selected button to download
+ the questions. This will create a zip file of the Questions
+ selected. The zip will contain yaml file and an folder called
+ **additional_files** which will contain files required by questions
+ downloaded. Finally one can also download a template yaml file
+ and modify it to add his/her questions.
* **Upload Questions**
- Click on the browse button. This will open up a window. Select the zip file of questions and click Ok and then click on Upload file button, questions will be uploaded and displayed on the Questions page.
+ Click on the **Upload and Download questions** tab in the
+ **Question Page**.
+ One can upload Yaml file with extensions .yaml or .yml.
+ Please note that you cannot upload files associated to a question.
+ Yaml file can have any name.
+
+ One can also upload zip with the following zip structure -
+
+ .. code::
+
+ .zip
+ |-- .yaml or .yml
+ |-- .yaml or .yml
+ |-- folder1
+ | |-- Files required by questions
+ |-- folder2
+ | |-- Files required by questions
- Zip file should contain **questions_dump.yaml** from which questions will be loaded.
- Zip file can contain files related to questions.
* **Test Questions**
diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html
index 06c088c..ff7a627 100644
--- a/yaksh/templates/yaksh/showquestions.html
+++ b/yaksh/templates/yaksh/showquestions.html
@@ -15,7 +15,7 @@
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar nav-stacked">
<li class="active"><a href="#show" data-toggle="pill" > Show all Questions</a></li>
- <li><a href="#updown" data-toggle="pill" > Upload and Download Questions</a></li>
+ <li><a href="#updown" data-toggle="pill" > Upload Questions</a></li>
</ul>
</div>
<div class="tab-content col-md-9 col-md-offset-2 main">