diff options
author | maheshgudi | 2018-07-11 18:48:31 +0530 |
---|---|---|
committer | maheshgudi | 2018-07-11 18:48:31 +0530 |
commit | 00f01038b2a4653d87ca2529009fa873f6a4a26d (patch) | |
tree | 6a27d000094906dd25c09c83c8dbd60c31cb9978 /yaksh/templates | |
parent | 727bcd630f30445e767583ceb65fdbf3ff65c2a0 (diff) | |
download | online_test-00f01038b2a4653d87ca2529009fa873f6a4a26d.tar.gz online_test-00f01038b2a4653d87ca2529009fa873f6a4a26d.tar.bz2 online_test-00f01038b2a4653d87ca2529009fa873f6a4a26d.zip |
Support for multiple yaml files
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/showquestions.html | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html index 4240b2e..06c088c 100644 --- a/yaksh/templates/yaksh/showquestions.html +++ b/yaksh/templates/yaksh/showquestions.html @@ -20,8 +20,35 @@ </div> <div class="tab-content col-md-9 col-md-offset-2 main"> <!-- Upload Questions --> + <div id="updown" class="tab-pane fade"> -<a class="btn btn-primary" href="{{URL_ROOT}}/exam/manage/courses/download_yaml_template/"> Download Template</a> +<div class="alert alert-info" role="alert"> + <p>You can upload question files the following ways - + <li><b><u>Yaml File</u></b> + <p>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. + </p> + </li> + <li><b><u>Zip File</u></b> + <p> One can also upload zip with the following zip structure - + <pre> + .zip + |-- .yaml or .yml + |-- .yaml or .yml + |-- folder1 + | |-- Files required by questions + |-- folder2 + | |-- Files required by questions + </pre> + </li> + </p> + + <p> + <b> Click <a class="btn btn-success" href="{{URL_ROOT}}/exam/manage/courses/download_yaml_template/" +>here</a> to download a sample YAML, edit and upload it</b> + </p> + </div> <br/> <h4> Or </h4> <form action="" method="post" enctype="multipart/form-data"> |