streaming-website/template/assemblies/feedback.phtml
2021-12-26 12:12:01 +01:00

172 lines
4.7 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>macOS</option>
<option>Windows</option>
<option>Android</option>
<option>iOS/iPadOS/tvOS</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>