cccc/static/index.html
2021-09-13 11:23:43 +02:00

137 lines
4.1 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CAMP can capture canals</title>
<link rel="stylesheet" href="static/sg/slick.grid.css" type="text/css"/>
<link rel="stylesheet" href="static/sg/css/smoothness/jquery-ui-1.8.16.custom.css" type="text/css"/>
<link rel="stylesheet" href="static/css/cccc.css" type="text/css"/>
<style>
.cell-title {
font-weight: bold;
}
.cell-status {
text-align: center;
}
.cell-reorder {
cursor: move;
background: url("static/sg/images/drag-handle.png") no-repeat center center;
}
.cell-selection {
border-right-color: silver;
border-right-style: solid;
background: #f5f5f5;
color: gray;
text-align: right;
font-size: 10px;
}
.slick-row.selected .cell-selection {
background-color: transparent; /* show default selected row background */
}
.recycle-bin {
width: 120px;
border: 1px solid gray;
background: beige;
padding: 4px;
font-size: 12pt;
font-weight: bold;
color: black;
text-align: center;
-moz-border-radius: 10px;
}
.red {
background: red;
}
.bold {
font-weight: bold;
}
#myGrid {
width: 100%;
height: calc(100vh - 20px);
}
.options-panel {
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border: 1px solid silver;
background: #f0f0f0;
padding: 4px;
margin-bottom: 20px;
width: 320px;
position: absolute;
top: 10px;
right: 30px;
}
</style>
</head>
<body>
<div>
<div style="width: calc(100vw - 30px - 320px - 30px)">
<div id="myGrid"></div>
</div>
<div class="options-panel">
<h2>CAMP cam canal:</h2>
<ul>
<li><button class="run">run</button></li>
<li><button class="loop">loop</button></li>
<li><button class="goto">go to selected</button></li>
<li><button class="run_from">run from selected</button></li>
<li><button class="continue_from">continue to selected</button></li>
<li><button class="stop">stop</button></li>
</ul>
<h2>Status:</h2>
<li id="status">Idle</li>
<li id="duration"></li>
<li id="position"></li>
<li id="next"></li>
<h2>Edit:</h2>
<li><button class="delete">delete row</button></li>
<li><button class="insert">insert row</button></li>
<li><button class="all_presets">add unused presets</button></li>
<li>Global Speed: <input type="text" style="width:30px" value="20" class="default_speed"><button class="set_speed">set</button></li>
<h2>Export:</h2>
<li><a><button class="export_sequence">export sequence</button></a></li>
<li><a><button class="export_presets">export presets</button></a></li>
<li><a><button class="export_sequence_csv">export csv</button></a></li>
<h2>Import:</h2>
<li><input class="import_sequence" type="file">import sequence</input></li>
<li><input class="import_presets" type="file">import presets</input></li>
<li><button class="shift_presets">shift presets</button></li>
<h2>PTZ:</h2>
<iframe src="/static/ptz.html" width="100%" height="300px" frameborder=0></iframe>
</div>
</div>
<script src="static/sg/lib/jquery-1.7.min.js"></script>
<script src="static/sg/lib/jquery-ui-1.8.16.custom.min.js"></script>
<script src="static/sg/lib/jquery.event.drag-2.2.js"></script>
<script src="static/sg/lib/jquery.event.drop-2.2.js"></script>
<script src="static/sg/slick.core.js"></script>
<script src="static/sg/plugins/slick.cellrangedecorator.js"></script>
<script src="static/sg/plugins/slick.cellrangeselector.js"></script>
<script src="static/sg/plugins/slick.cellselectionmodel.js"></script>
<script src="static/sg/plugins/slick.rowmovemanager.js"></script>
<script src="static/sg/slick.formatters.js"></script>
<script src="static/sg/slick.editors.js"></script>
<script src="static/sg/slick.grid.js"></script>
<script src="static/js/cccc.js"></script>
<script>
$(function () {
init()
})
</script>
</body>
</html>