forked from pmnazari/Interviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInterviewView.html
executable file
·162 lines (152 loc) · 3.7 KB
/
InterviewView.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<style>
.interview-view-header {
margin-top: 30px;
margin-bottom: 15px;
font-family: "Tajawal";
display: flex;
flex-direction: row;
}
.interview-view-title {
font-size: 30px;
font-weight: bold;
cursor:pointer;
}
.interviewee-disabled {
background-color: transparent;
}
.time-container{
font-size: 18px;
margin-left: 80px;
padding: 4px;
border-radius: 5px;
}
.time-begins-message {
background-color: #777;
border-radius: 20px;
padding:8px;
text-align:center;
font-size:1.2em;
}
.interviewee-disabled-message{
/* animation: blinker 2s linear infinite; */
background-color: rgb(250, 100, 100);
border-radius: 20px;
padding:8px;
text-align:center;
font-size:1.2em;
}
@keyframes blinker{
20%{
background-color:#ED1233;
}
}
.container{
display:flex;
align-items:center;
flex-direction:row;
margin-bottom:15px;
height:60vh;
background-color:#4C3523;
}
.video-container{
display:flex;
align-items:center;
height:100%;
color:white;
width:70%;
position:relative;
}
.interviewee-portrait {
height: 100%;
max-width: 100%;
object-fit: contain;
}
.video-error{
color:white;
text-align:center;
}
.icon{
margin:auto;
width:50%;
}
.interview-video{
width:100%;
max-height:100%;
}
.question-list {
width:30%;
height:100%;
background-color:#BAAB68;
text-align:left;
font-family: "Tajawal";
padding: 0;
padding-left: 20px;
padding-right: 20px;
overflow-y: scroll;
}
.question-list ul {
padding: 0;
}
.question-disabled {
color: red;
}
.question{
list-style-type:none;
margin-left: 5px;
margin-right: 5px;
padding-top: 15px;
padding-bottom: 15px;
padding-left: 1px;
padding-right: 1px;
}
.question:not(:last-child) {
border-bottom: 1px solid black;
}
.question > a {
cursor: pointer;
}
.question-disabled > a {
cursor: default;
}
.help-dialog {
font-family: Tajawal, sans-serif;
border: 2px solid goldenrod !important;
}
.help-dialog .ui-dialog-titlebar-close {
border: 1px solid goldenrod !important;
}
.help-dialog .ui-dialog-titlebar-close:hover {
background-color: goldenrod !important;
}
</style>
<div class="interview-view-header">
<span class="interview-view-title sub-titles">Interviewing <span class="name">NAME</span> [<span class="title">TITLE</span>]</span>
<span class="time-container"><span class="time">X:XX</span> Remaining</span>
</div>
<p class="time-begins-message sub-titles" hidden>The timer will begin when you choose your first question.</p>
<p class="interviewee-disabled-message sub-titles" hidden>The interview is over. Please choose another interviewee.</p>
<div class="container">
<div class="video-container">
<img class="interviewee-portrait center-horz-vert"/>
<div class="video-error center-horz-vert" hidden>
<img class="icon" style="width:90%" src="images/broken-video.png">
<br />
<p class="sub-titles">Video link is broken.</p>
</div>
<video class="interview-video center-horz-vert" poster="images/video_loading.gif" autoplay hidden>
<!-- <source class="interview-video-src" type="video/mp4"> -->
</video>
</div>
<div class="question-list">
<ul>
<li class="question-prototype">
<a class="question-prompt question-button"></a>
</li>
</ul>
</div>
</div>
<div style="width:100%; text-align:center;">
<input type="button" class="help-button gen-button center-button-full-width success sub-titles" value="help" />
<input type="button" class="back gen-button center-button-full-width success sub-titles" value="Back" />
</div>
<div id="help-dialog" title="Help">HELP CONTENT HERE</div>