diff options
author | prathamesh | 2018-01-02 22:09:44 +0530 |
---|---|---|
committer | prathamesh | 2018-01-02 22:09:44 +0530 |
commit | 44e16651a9f7faec95a32c19738a996a731ae57a (patch) | |
tree | 0aa8439547b0f1281ab78964aaf3f7ad176ed6da /yaksh/templates/manage.html | |
parent | e14514e01052fb36cd9f14675cbe7ca940945a34 (diff) | |
parent | e566d54239efcb46f253e324b7295a676378f656 (diff) | |
download | online_test-44e16651a9f7faec95a32c19738a996a731ae57a.tar.gz online_test-44e16651a9f7faec95a32c19738a996a731ae57a.tar.bz2 online_test-44e16651a9f7faec95a32c19738a996a731ae57a.zip |
Merge branch 'master' of https://github.com/FOSSEE/online_test into exercise
Conflicts Resolved:
yaksh/templates/yaksh/courses.html
yaksh/templates/yaksh/question.html
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r-- | yaksh/templates/manage.html | 48 |
1 files changed, 41 insertions, 7 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index d87076d..17ce23e 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -8,22 +8,56 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="{{ URL_ROOT }}/exam/manage/"> Online Test </a> + <a class="navbar-brand navbar-left" href="{{ URL_ROOT }}/exam/manage/"> + <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH" style="margin-top: -3px; margin-left:-15px"></img> + </a> </div> <div id="navbar" class="collapse navbar-collapse"> - <ul class="nav navbar-nav"> + <ul class="nav navbar-nav navbar-right"> <li><a href="{{ URL_ROOT }}/exam/manage/questions">Questions</a></li> - <li><a href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li> - <li><a href="{{ URL_ROOT }}/exam/manage/monitor">Monitor</a></li> <li><a href="{{ URL_ROOT }}/exam/manage/courses">Courses</a></li> - <li><a href="{{ URL_ROOT }}/exam/viewprofile">My Profile</a></li> - <li><a href="{{ URL_ROOT }}/exam/reset/changepassword">Change Password</a></li> + <li><a href="{{ URL_ROOT }}/exam/manage/monitor">Monitor</a></li> + <li><a href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li> <li><a href="{{ URL_ROOT }}/exam/manage/grader"> Grader </a></li> - <li><a style='cursor:pointer' onClick='location.replace("{{URL_ROOT}}/exam/logout/");'>Log out</a></li> + <li><a href="{{ URL_ROOT }}/exam/reset/changepassword">Change Password</a></li> + <li><a href="{{ URL_ROOT }}/exam/viewprofile"> {{ user.get_full_name.title }} </a></li> + <li><a href="{{URL_ROOT}}/exam/logout/" id="logout">Logout</a></li> </ul> </div><!-- /.navbar --> </div><!-- /.container --> </nav><!-- /.navbar --> + + <!-- iframe div for video embed --> + <div id="iframe_div" style="display: none;"> + <div style="width: 640px; height: 480px; position: relative;"> + <iframe id="video_frame" width="800" height="500" frameborder="0" allowfullscreen> + </iframe> + <div style="width: 80px; height: 80px; position: absolute; opacity: 0; right: 0px; top: 0px;"> + </div> + </div> + </div> + <!-- end iframe div --> + + <!-- Dialog to video embed --> + <div id="dialog_iframe" title="Embed Video URL" style="display: none;"> + <label>Enter Url:</label> + <input id="url" name="url" type="text" required="true"> + <input type="button" id="submit_info" name="submit_info" class="btn" value="Submit" /> + <div id="error_div" style="display: none;"> + <b> Please enter URL</b> + </div> + <div id="copy_div"> + <br> + <label>Paste HTML to embed in website:</label> + <textarea rows="5" cols="35" id="html_text"></textarea> + <br> + <a class="btn btn-default" id="copy" data-toggle="tooltip" title="Copy to Clipboard"> + <i class="fa fa-clipboard" aria-hidden="true"></i> + </a> + </div> + </div> + <!-- end dialog --> + {% endblock %} {% block content %} {% block main %} |