Skip to content

Commit

Permalink
Minor UI modifications:
Browse files Browse the repository at this point in the history
- Remove text located near 'Add Course' and 'Add Demo' buttons, buttons are
- Change text of prompt that triggers help text
  • Loading branch information
ankitjavalkar committed Mar 21, 2017
1 parent 4c0f45e commit 4fc13ee
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions yaksh/templates/yaksh/moderator_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,26 @@
</table>
<hr>
<center>
<h5>Click on the button given below to add a new course.</h5>
<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/add_course");'>Add New Course</button>
<h5>Click on the button to Create a Demo course.</h5>
<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/create_demo_course");'>Create Demo Course</button>
<a data-toggle="collapse" data-target="#help">
<span class="glyphicon glyphicon-info-sign">Help</span></a>
<a href="{{URL_ROOT}}/exam/manage/add_course" class="btn btn-default">
Add New Course
</a>
<a href="{{URL_ROOT}}/exam/manage/create_demo_course" class="btn btn-default">
Create Demo Course
</a>
<a data-toggle="collapse" data-target="#help">
<span class="glyphicon glyphicon-question-sign"></span> What's This
</a>
<div id="help" class="collapse">
<ul>
<li>A Demo Course and Demo Quiz will be created (Click Courses link on nav bar to view courses).</li>
<li>Some Demo Questions are also created for you (Click Questions link on nav bar to view questions).</li>
<li>In Courses you can view Demo Quiz.</li>
<li>Click on the Demo Quiz and Click on User Mode or God Mode to take the quiz.</li>
<li>You can also edit the Demo quiz.</li>
</ul>
</p>
<ul>
<li>A Demo Course and Demo Quiz will be created (Click Courses link on nav bar to view courses).</li>
<li>Some Demo Questions are also created for you (Click Questions link on nav bar to view questions).</li>
<li>In Courses you can view Demo Quiz.</li>
<li>Click on the Demo Quiz and Click on User Mode or God Mode to take the quiz.</li>
<li>You can also edit the Demo quiz.</li>
</ul>
</div>
{% if msg %}
<h4>{{ msg }}</h4>
<h4>{{ msg }}</h4>
{% endif %}
</center>
{% if trial_paper %}
Expand Down

0 comments on commit 4fc13ee

Please sign in to comment.