aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/feedback.phtml
blob: b0b8a2038f75faa001ed1bc9b5aad0b1a7d0ed85 (plain)
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
163
164
165
166
167
168
169
170
171
172
<form action="<?=h($conference->getFeedbackURl())?>" target="feedback-target" method="post" role="form" class="feedback-form">

	<div class="container-fluid">
	<div class="row">

		<div class="col-sm-6 col">
			<div class="form-group">
				<label for="issuetext">Message / Symptoms*</label>
				<textarea rows="2"  value="" name="issuetext" id="issuetext" class="form-control" style="resize: vertical;"
				></textarea>
			</div>
		</div>

		<div class="col-sm-6 col">
			<div class="form-group">
				<label for="stream">Stream</label>
				<select class="form-control" name="stream" id="stream">
					<option></option>
					<? foreach($conference->getRooms() as $roomiter): ?>
						<? if(!$roomiter->hasFeedback()) continue ?>
						<? foreach($roomiter->getSelections() as $selection): ?>
							<option
								<? if(
									isset($room) && isset($stream) &&
									$roomiter->getSlug() == $room->getSlug() &&
									$selection->getSelection() == $stream->getSelection()
								): ?>selected<? endif ?>
								value="<?=h($roomiter->getSlug().'-'.$selection->getSelection())?>"
							>
								<?=h($roomiter->getDisplay())?><?=h($selection->getDisplay())?>
							</option>
						<? endforeach ?>
					<? endforeach ?>
				</select>
			</div>
		</div>

	</div>
	<div class="row">

	<div class="col-sm-4 col">
		<label>&nbsp;</label>
		<div class="form-group mt-1">
			<label for="net">Network Connection</label>
			<select class="form-control" name="net" id="net">
				<option></option>
				<option>Mobile</option>
				<option>DSL Light</option>
				<option>DSL/Cable</option>
				<option>Public Hotspot</option>
				<option>WiFi on site</option>
				<option>Ethernet on site</option>
				<option>Something else</option>
			</select>
		</div>

		<div class="form-group">
			<label for="os">Operating System</label>
			<select class="form-control" name="os" id="os">
				<option></option>
				<option>Unixoid</option>
				<option>OS/X</option>
				<option>Windows</option>
				<option>iOS</option>
				<option>Android</option>
				<option>Something else</option>
			</select>
		</div>

		<div class="form-group">
			<label for="player">Player</label>
			<select class="form-control" name="player" id="player">
				<option></option>
				<option>Firefox</option>
				<option>Chrome/Chromium</option>
				<option>Safari</option>
				<option>VLC</option>
				<option>MPlayer</option>
				<option>Totem</option>
				<option>ffplay</option>
				<option>iOS</option>
				<option>Android</option>
				<option>Something else</option>
			</select>
		</div>
	</div>

	<div class="col-sm-4 col">
		<div class="form-group">
			<label>IP connectivity</label>
			<div class="checkbox">
				<label>
					<input type="checkbox" value="v4" name="ipproto[]" /> IPv4
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" value="v6" name="ipproto[]" /> IPv6
				</label>
			</div>
		</div>

		<div class="form-group">
			<label for="datetime">Date/Time</label>
			<input type="text" value="<?=h(strftime('%d.%m.%Y %H:%I'))?>" name="datetime" id="datetime" class="form-control" />
		</div>

		<div class="form-group">
			<label for="provider">Provider</label>
			<input type="text" value="" name="provider" id="provider" class="form-control" />
		</div>
	</div>

	<div class="col-sm-4 col">
		<div class="form-group">
			<label>Did you have issues?</label>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="Dropouts" /> Dropouts
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="Hickups/Discontinously" /> Hickups/Discontinously
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="Loops" /> Loops
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="No image" /> No image
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="No audio" /> No audio
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="Artifacts" /> Artifacts
				</label>
			</div>
			<div class="checkbox">
				<label>
					<input type="checkbox" name="issues[]" value="AV Async" /> Audio/Video async
				</label>
			</div>
		</div>

	</div>
</div>
	<div class="row">

		<div class="col col-sm-8">
</div>
		<div class="col col-sm-4">
			<div class="form-group">
				<input class="btn btn-primary" type="submit" value="Submit" />
			</div>
		</div>

	</div>
	</div>
</form>

<h3 class="feedback-thankyou">Thank you!</h3>
<h3 class="feedback-error">The feedback also seems to be broken…</h3>
<iframe name="feedback-target" style="display: none;"></iframe>