136 lines
5.2 KiB
Handlebars
136 lines
5.2 KiB
Handlebars
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Filmout Manager</title>
|
|
<link rel="stylesheet" href="/static/css/98.min.css" />
|
|
<link rel="stylesheet" href="/static/css/style.css" />
|
|
</head>
|
|
<body>
|
|
<div class="window" id="main">
|
|
<div class="title-bar">
|
|
<div class="title-bar-text">
|
|
Filmout Manager
|
|
</div>
|
|
<div class="title-bar-controls">
|
|
<button aria-label="Minimize"></button>
|
|
<button aria-label="Maximize" onclick="client.fullscreen();"></button>
|
|
<button aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
<div class="window-body">
|
|
<div>
|
|
<ul class="tree-view" id="display"><canvas></canvas></ul>
|
|
<div class="flex">
|
|
<fieldset id="screenResolution" class="inline third">
|
|
<legend>Screen</legend>
|
|
<span class="field-row">
|
|
<label for="width">Width</label>
|
|
<input id="width" type="text" value="{{width}}" readonly />
|
|
</span>
|
|
<span class="field-row">
|
|
<label for="height">Height</label>
|
|
<input id="height" type="text" value="{{height}}" readonly />
|
|
</span>
|
|
</fieldset>
|
|
<fieldset id="sourceResolution" class="inline third">
|
|
<legend>Source</legend>
|
|
<span class="field-row">
|
|
<label for="sourceWidth">Width</label>
|
|
<input id="sourceWidth" type="text" value="0" readonly />
|
|
</span>
|
|
<span class="field-row">
|
|
<label for="sourceHeight">Height</label>
|
|
<input id="sourceHeight" type="text" value="0" readonly />
|
|
</span>
|
|
</fieldset>
|
|
<fieldset id="displayResolution" class="inline third">
|
|
<legend>Display</legend>
|
|
<span class="field-row">
|
|
<label for="displayWidth">Width</label>
|
|
<input id="displayWidth" type="text" value="0" readonly />
|
|
</span>
|
|
<span class="field-row">
|
|
<label for="displayHeight">Height</label>
|
|
<input id="displayHeight" type="text" value="0" readonly />
|
|
</span>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
<!--
|
|
<select name="video" id="video">
|
|
<option> - Select Video - </option>
|
|
{{#each videos}}
|
|
<option value="{{this.hash}}">{{this.name}}</option>
|
|
{{/each}}
|
|
</select>
|
|
-->
|
|
<div class="flex">
|
|
<fieldset id="sequenceSelect" class="inline half">
|
|
<legend>Sequence</legend>
|
|
<form id="sequenceSelectForm" onsubmit="return false;">
|
|
<select name="sequence" id="sequence">
|
|
<option> - Select Image Sequence - </option>
|
|
{{#each sequences}}
|
|
<option value="{{this.hash}}">{{this.name}}</option>
|
|
{{/each}}
|
|
</select>
|
|
<button id="select" onclick="client.sendSelect();">Select</button>
|
|
</form>
|
|
</fieldset>
|
|
<fieldset id="displayAdjust" class="inline half">
|
|
<legend>Display Adjust</legend>
|
|
<form id="displayAdjustForm" onsubmit="return false;">
|
|
<button class="small sequenceCtrl" id="offsetXPlus">X +</button>
|
|
<button class="small sequenceCtrl" id="offsetXMinus">X -</button>
|
|
<button class="small sequenceCtrl" id="offsetYPlus">Y +</button>
|
|
<button class="small sequenceCtrl" id="offsetYMinus">Y -</button>
|
|
<button class="small sequenceCtrl" id="widthPlus">W +</button>
|
|
<button class="small sequenceCtrl" id="widthMinus">W -</button>
|
|
<button class="small sequenceCtrl" id="heightPlus">H +</button>
|
|
<button class="small sequenceCtrl" id="heightMinus">H -</button>
|
|
</form>
|
|
</fieldset>
|
|
</div>
|
|
<div class="flex">
|
|
<fieldset class="inline half" id="sequenceCtrl">
|
|
<legend>Sequence Controls</legend>
|
|
<form id="sequenceCtrlForm" onsubmit="return false;">
|
|
<button id="start" class="medium sequenceCtrl" onclick="client.sendStart();" disabled>Start</button>
|
|
<button id="stop" class="medium sequenceCtrl" onclick="client.sendStop();" disabled>Stop</button>
|
|
<button id="rewind" class="small sequenceCtrl" onclick="client.sendToStart();" disabled><<</button>
|
|
<button id="rewind" class="small sequenceCtrl" onclick="client.sendRewind();" disabled><</button>
|
|
<input id="frame" type="number" value="00000" class="sequenceCtrl medium" disabled />
|
|
<button id="advance" class="small sequenceCtrl" onclick="client.sendAdvance()" disabled>></button>
|
|
<button id="advance" class="small sequenceCtrl" onclick="client.sendToEnd()" disabled>>></button>
|
|
</form>
|
|
</fieldset>
|
|
</div>
|
|
<div>
|
|
<fieldset id="manualCtrl">
|
|
<legend>Manual Controls</legend>
|
|
<form id="manualCtrlForm" onsubmit="return false;" >
|
|
<button id="open" class="manualCtrl" onclick="client.sendCameraOpen()">Open</button>
|
|
<button id="close" class="manualCtrl" onclick="client.sendCameraClose()">Close</button>
|
|
<button id="focus" class="manualCtrl" onclick="">Focus</button>
|
|
<button id="framing" class="manualCtrl" onclick="">Framing</button>
|
|
</form>
|
|
</fieldset>
|
|
</div>
|
|
<div>
|
|
<progress id="progress"></progress>
|
|
</div>
|
|
<div class="status-bar" id="status">
|
|
<p class="status-bar-field" id="sequenceStatus">Idle</p>
|
|
<p class="status-bar-field" id="sequenceName">Not Set</p>
|
|
<p class="status-bar-field" id="progressText">Progress: 0%</p>
|
|
<p class="status-bar-field" id="sequenceLength">Sequence Length: 0</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="overlay"></div>
|
|
<script>
|
|
const WEBSOCKET_PORT = {{wsPort}};
|
|
</script>
|
|
<script src="/static/js/index.js"></script>
|
|
</body>
|
|
</html> |