1
+ <!DOCTYPE html>
2
+ < html ng-app ="Tutor ">
3
+ < head >
4
+ < script src ="/static/libraries/angular.js "> </ script >
5
+ < script src ="/static/libraries/ui-bootstrap-tpls-0.12.0.js "> </ script >
6
+ < link href ="/static/libraries/bootstrap.min.css " rel ="stylesheet ">
7
+ < script type ="text/javascript " src ="/static/js/questions.js "> </ script >
8
+ < script type ="text/javascript " src ="/static/js/app.js "> </ script >
9
+ < link href ='http://fonts.googleapis.com/css?family=Raleway ' rel ='stylesheet ' type ='text/css '>
10
+ < link href ="/static/css/attempt_view.css " rel ="stylesheet ">
11
+ </ head >
12
+ < body ng-controller ="Test_Manager as Manager " style ="height:640px;padding-top: 64px; ">
13
+ < nav class ="navbar navbar-default navbar-fixed-top ">
14
+ < div class ="navbar-header ">
15
+ < nav class ="container ">
16
+ < div class ="row ">
17
+ < div class ="col-md-2 ">
18
+ < a class ="navbar-brand " style ="margin-top: 10px; " href ="# ">
19
+ < strong > Tutor Platform</ strong >
20
+ </ a >
21
+ </ div >
22
+ < div class ="col-md-9 "> </ div >
23
+ < div class ="col-md-1 " style ="margin-top:20px; ">
24
+ < a class ="btn btn-default " ng-click = "Manager.logout_user() "> Logout</ a >
25
+ </ div >
26
+ </ div >
27
+ </ div >
28
+ </ nav >
29
+ </ nav >
30
+ < div class ="sub-bar heading-font ">
31
+ < div class ="row ">
32
+ < div class ="col-md-1 "> </ div >
33
+ < div class ="col-md-6 ">
34
+ < div style ="margin-top:18px; ">
35
+ {%verbatim%}{{test_name}}{%endverbatim%}
36
+ </ div >
37
+ </ div >
38
+ < div class ="regular-font col-md-4 " style ="margin-top:25px; ">
39
+ Remaining Time : < STRONG > {%verbatim%}{{hours}}{%endverbatim%} Hours, {%verbatim%}{{minutes}}{%endverbatim%} Minutes, {%verbatim%}{{seconds}}{%endverbatim%} Seconds</ STRONG >
40
+ </ div >
41
+ < div class ="regular-font col-md-1 " style ="margin-top:15px;margin-left:-10px; ">
42
+ < a href ="# " class ="btn btn-primary " ng-click = "Manager.get_results() "> Submit Test</ a >
43
+ </ div >
44
+ </ div >
45
+ </ div >
46
+ < div class ="row " style ="height:100% ">
47
+ < div class ="col-md-3 login_section " style ="height:100%; ">
48
+ < div class ="row " style ="margin-top:50px;margin-left:10px;overflow-y:auto;height:100%; ">
49
+ < div class ="col-md-12 ">
50
+ < div ng-model = "question.class " class = "btn de_select " ng-repeat ="(id, question) in questions_list " ng-class ="question.class " ng-click ="Manager.set_id($index+1) " style ="margin-top: 10px;margin-left:10px; "> < a > {% verbatim %}{{$index + 1}}{% endverbatim %}</ a > </ div >
51
+ </ div >
52
+ </ div >
53
+ </ div >
54
+ < div class ="col-md-9 heading_section " style ="height:100%;box-shadow: -10px -1px 5px #888888; ">
55
+ < div id = "q_{% verbatim %}{{id}}{% endverbatim %} " class ="q_container " ng-repeat ="(id, question) in questions_list " ng-hide = "current_question_id !== {% verbatim %} {{$index+1}}{% endverbatim %} ">
56
+ < div class ="row detail " style ="margin-top:50px;margin-left:5px; ">
57
+ < div class ="col-md-9 regular-font "> < strong > Q. {% verbatim %}{{$index+1}} : {{question.question}}{% endverbatim %}
58
+ </ strong > </ div >
59
+ < div class ="col-md-3 ">
60
+ < a href ="# " class ="btn mark " ng-click = "Manager.mark_question(id) "> Mark for review</ a >
61
+ </ div >
62
+ </ div >
63
+ < div class ="row " style ="height:250px;margin-top:25px; ">
64
+ < div class ="col-md-5 detail " style ="height:300px; ">
65
+ < div class ="row " style ="margin-top:5px; " ng-repeat ="option in question.options ">
66
+ < div class ="col-md-1 ">
67
+ < input type ="checkbox " placeholder ="Option {% verbatim %}{{$index+1}}{% endverbatim %} " aria-label ="... " ng-model ="option.correct ">
68
+ </ div >
69
+ < div class ="col-md-1 "> </ div >
70
+ < div class ="col-md-8 regular-font "> {% verbatim %}{{option.option}}{% endverbatim %}</ div >
71
+ </ div >
72
+ </ div >
73
+ < div class ="col-md-2 "> </ div >
74
+ < div class ="col-md-4 detail " style ="height:300px; "> </ div >
75
+ < div class ="col-md-1 "> </ div >
76
+ </ div >
77
+ </ div >
78
+ < div >
79
+ < div class ="row " style ="margin-top:-10px; ">
80
+ < div class ="col-md-3 "> </ div >
81
+ < div class ="col-md-8 ">
82
+ < a href ="# " class ="btn btn-primary " ng-click = "Manager.previous() "> Previous</ a >
83
+ < a href ="# " ng-click = "Manager.next() " class ="btn btn-primary "> Next</ a >
84
+ </ div >
85
+ < div class ="col-md-1 "> </ div >
86
+ </ div >
87
+ </ div >
88
+ < div >
89
+ < div class ="row " style ="margin-top:-10px; ">
90
+ </ div >
91
+ </ div >
92
+ </ div >
93
+ </ div >
94
+ </ body >
95
+ </ html >
0 commit comments