|
|
@ -1,8 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
TODOs:
|
|
|
|
TODOs:
|
|
|
|
Redirect/confirm on successful submit
|
|
|
|
|
|
|
|
Move Google sign-in/out buttons, and make it clear when you're not signed in.
|
|
|
|
Move Google sign-in/out buttons, and make it clear when you're not signed in.
|
|
|
|
|
|
|
|
Move "Reset" and "Manual Link" options in here.
|
|
|
|
|
|
|
|
Clean up the Options/Input header, move parts of it into a hidden "Advanced" menu.
|
|
|
|
|
|
|
|
Create a cleaner player-only version of the page, or find a way to make it a version of this one via URL switch.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en-US">
|
|
|
|
<html lang="en-US">
|
|
|
@ -35,35 +37,34 @@
|
|
|
|
<th>Stream</th>
|
|
|
|
<th>Stream</th>
|
|
|
|
<th>Start Time</th>
|
|
|
|
<th>Start Time</th>
|
|
|
|
<th>End Time</th>
|
|
|
|
<th>End Time</th>
|
|
|
|
<th>Allow Holes</th>
|
|
|
|
|
|
|
|
<th>Experimental</th>
|
|
|
|
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td><input id="StreamName" value="rpglimitbreak" /></td>
|
|
|
|
<td><input id="StreamName" value="rpglimitbreak" /></td>
|
|
|
|
<td><input id="StreamStart" style="display:none;" class="UTCTimeInput" value="" /><input id="BusTimeStart" class="BusTimeInput" value="0:00" /></td>
|
|
|
|
<td><input id="StreamStart" style="display:none;" class="UTCTimeInput" value="" /><input id="BusTimeStart" class="BusTimeInput" value="0:00" /></td>
|
|
|
|
<td><input id="StreamEnd" style="display:none;" class="UTCTimeInput" value="" /><input id="BusTimeEnd" class="BusTimeInput" value="1:00" /></td>
|
|
|
|
<td><input id="StreamEnd" style="display:none;" class="UTCTimeInput" value="" /><input id="BusTimeEnd" class="BusTimeInput" value="1:00" /></td>
|
|
|
|
<td><input id="AllowHoles" type="checkbox" checked /></td>
|
|
|
|
|
|
|
|
<td><input id="IsExperimental" type="checkbox" checked /></td>
|
|
|
|
|
|
|
|
<td><input type="button" value="Load Playlist" onclick="loadPlaylist()" /></td>
|
|
|
|
<td><input type="button" value="Load Playlist" onclick="loadPlaylist()" /></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td><a href="javascript:window.open('/files');">Streams</a></td>
|
|
|
|
<td></td>
|
|
|
|
<td><a href="javascript:window.open('/files/' + document.getElementById('StreamName').value + '/source', '_blank');">Hours</a></td>
|
|
|
|
<td></td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<input type="radio" id="BusTimeToggleUTC" name="BusTimeToggle" value="UTC" onclick="toggleTimeInput(this.value)"> UTC
|
|
|
|
<input type="radio" id="BusTimeToggleUTC" name="BusTimeToggle" value="UTC" onclick="toggleTimeInput(this.value)"> UTC
|
|
|
|
<input type="radio" id="BusTimeToggleBus" name="BusTimeToggle" value="BUSTIME" onclick="toggleTimeInput(this.value)" checked="checked"> Bustime
|
|
|
|
<input type="radio" id="BusTimeToggleBus" name="BusTimeToggle" value="BUSTIME" onclick="toggleTimeInput(this.value)" checked="checked"> Bustime
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
<td><a id="AdvancedOptionsButton" href="JavaScript:toggleAdvancedOptions();">Advanced Submit Options</a></td>
|
|
|
|
<td></td>
|
|
|
|
|
|
|
|
<td></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table id="wubloaderAdvancedInputTable" style="display:none;">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>Advanced Options:</td>
|
|
|
|
<td><a href="javascript:window.open('/files');">Streams</a></td>
|
|
|
|
<td><select id="qualityLevel"></select></td>
|
|
|
|
<td><a href="javascript:window.open('/files/' + document.getElementById('StreamName').value + '/source', '_blank');">Hours</a></td>
|
|
|
|
<td><select id="uploadLocation"><option value="YouTube" selected>YouTube</option></select></td>
|
|
|
|
|
|
|
|
<td><input id="uploaderWhitelist" title="Uploader Whitelist" /></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr><td>Allow Holes: </td><td><input id="AllowHoles" type="checkbox" checked /></td></tr>
|
|
|
|
|
|
|
|
<tr><td>Experimental: </td><td><input id="IsExperimental" type="checkbox" checked /></td></tr>
|
|
|
|
|
|
|
|
<tr><td>Quality Level: </td><td><select id="qualityLevel"></select></td></tr>
|
|
|
|
|
|
|
|
<tr><td>Upload Location: </td><td><select id="uploadLocation"><option value="YouTube" selected>YouTube</option></select></td></tr>
|
|
|
|
|
|
|
|
<tr><td>Uploader Whitelist: </td><td><input id="uploaderWhitelist" title="Uploader Whitelist" /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>ThrimShim ID:</td>
|
|
|
|
<td>ThrimShim ID:</td>
|
|
|
|
<td><input id="hiddenSubmissionID" value="" /></td>
|
|
|
|
<td><input id="hiddenSubmissionID" value="" /></td>
|
|
|
@ -90,6 +91,7 @@
|
|
|
|
<input type="button" id="DownloadButton" value="Download" onclick="thrimbletrimmerDownload()"/>
|
|
|
|
<input type="button" id="DownloadButton" value="Download" onclick="thrimbletrimmerDownload()"/>
|
|
|
|
<a href="/thrimbletrimmer/dashboard.html">Go To Dashboard</a>
|
|
|
|
<a href="/thrimbletrimmer/dashboard.html">Go To Dashboard</a>
|
|
|
|
<a id="HelpButton" style="float:right;" href="JavaScript:toggleHelp();">Help</a>
|
|
|
|
<a id="HelpButton" style="float:right;" href="JavaScript:toggleHelp();">Help</a>
|
|
|
|
|
|
|
|
<a id="UltrawideButton" style="float:right;margin-right:10px;" href="JavaScript:toggleUltrawide();">Ultrawide</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="HelpPane" style="display:none;">
|
|
|
|
<div id="HelpPane" style="display:none;">
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
@ -113,6 +115,14 @@
|
|
|
|
var helpPane = document.getElementById("HelpPane");
|
|
|
|
var helpPane = document.getElementById("HelpPane");
|
|
|
|
helpPane.style.display = (helpPane.style.display === "none") ? "block":"none";
|
|
|
|
helpPane.style.display = (helpPane.style.display === "none") ? "block":"none";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function toggleAdvancedOptions() {
|
|
|
|
|
|
|
|
var helpPane = document.getElementById("wubloaderAdvancedInputTable");
|
|
|
|
|
|
|
|
helpPane.style.display = (helpPane.style.display === "none") ? "block":"none";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function toggleUltrawide() {
|
|
|
|
|
|
|
|
var body = document.getElementsByTagName("Body")[0];
|
|
|
|
|
|
|
|
body.classList.contains("ultrawide") ? body.classList.remove("ultrawide"):body.classList.add("ultrawide");
|
|
|
|
|
|
|
|
}
|
|
|
|
function toggleTimeInput(toggleInput) {
|
|
|
|
function toggleTimeInput(toggleInput) {
|
|
|
|
if(toggleInput == "UTC") {
|
|
|
|
if(toggleInput == "UTC") {
|
|
|
|
document.getElementById("BusTimeStart").style.display = "none";
|
|
|
|
document.getElementById("BusTimeStart").style.display = "none";
|
|
|
|