44---
55
66<!-- Modal -->
7- < div class ="modal fade " id ="help " tabindex ="-1 " role ="dialog " aria-labelledby ="myModalLabel " aria-hidden ="true ">
7+ < div class ="modal fade " id ="help " tabindex ="-1 " role ="dialog " aria-labelledby ="timerModalLabel " aria-hidden ="true ">
88 < div class ="modal-dialog ">
99 < div class ="modal-content ">
1010 < div class ="modal-header ">
1111 < button type ="button " class ="close " data-dismiss ="modal "> < span aria-hidden ="true "> ×</ span > < span class ="sr-only "> Close</ span > </ button >
12- < h4 class ="modal-title " id ="myModalLabel "> Help / Shortcuts</ h4 >
12+ < h4 class ="modal-title " id ="timerModalLabel "> Help / Shortcuts</ h4 >
1313 </ div >
1414 < div class ="modal-body ">
1515 < table >
@@ -26,7 +26,7 @@ <h4 class="modal-title" id="myModalLabel">Help / Shortcuts</h4>
2626 < td > Hide/show table of contents</ td >
2727 </ tr >
2828 </ table >
29-
29+
3030 < table >
3131 < tr >
3232 < th > URL Command</ th >
@@ -48,16 +48,19 @@ <h4 class="modal-title" id="myModalLabel">Help / Shortcuts</h4>
4848 </ div >
4949</ div >
5050
51- < div class ="timer-wrapper fade-out ">
52- < div class ="timer ">
53- < div class ="timer-exit "> < span class ="octicon octicon-x "> </ span > </ div >
54- < div class ="timer-amount ">
55- < input type ="number " id ="minutes " name ="minutes " min ="1 " max ="20 " value ="5 " placeholder ="min " class ="form-control ">
56- <!-- <input type="number" id="seconds" name="seconds" min="1" max="60" value="0" placeholder="sec" class="form-control"> -->
57- < button id ="start-stop " type ="submit " class ="btn btn-default "> Start</ button >
58- </ div >
59- < div class ="timer-content ">
60- < span class ="time-left " id ="time-left "> </ span >
51+
52+
53+ <!-- Modal -->
54+ < div class ="modal fade " id ="timerModal " tabindex ="-1 " role ="dialog " aria-labelledby ="timerModalLabel " aria-hidden ="true ">
55+ < div class ="modal-dialog ">
56+ < div class ="modal-content text-center ">
57+ < input type ="number " id ="minutes " name ="minutes " min ="1 " max ="60 " value ="5 " placeholder ="min " class ="form-control time-amount ">
58+ < div class ="time-left " id ="time-left "> </ div >
59+
60+ < div class ="modal-footer ">
61+ < button id ="start-stop " type ="submit " class ="btn btn-default "> Start</ button >
62+ < button type ="button " class ="btn btn-default " data-dismiss ="modal "> Close</ button >
63+ </ div >
6164 </ div >
6265 </ div >
6366</ div >
@@ -67,7 +70,8 @@ <h4 class="modal-title" id="myModalLabel">Help / Shortcuts</h4>
6770 < div class ="alignment ">
6871 < div id ="teacher-avatar " class =""> </ div >
6972 < div class ="" id ="teacher-info ">
70- < div id ="teacher-name "> </ div >
73+
74+ < h3 id ="teacher-name "> </ h3 >
7175
7276 < span id ="teacher-username ">
7377 < span class ="octicon octicon-octoface "> </ span >
@@ -121,7 +125,7 @@ <h4>Table of Contents</h4>
121125 < li >
122126 < div class ="timer-toggle "> </ div >
123127 < input type ="checkbox " name ="timer-check " id ="timer-check " class ="timer-check " value ="true ">
124- < label for ="timer-check " class ="timer-label "> Timer</ label >
128+ < label for ="timer-check " class ="timer-label " data-toggle =" modal " data-target =" #timerModal " > Timer</ label >
125129 </ li >
126130 </ ul >
127131 </ div >
0 commit comments