126 lines
3.2 KiB
HTML
126 lines
3.2 KiB
HTML
<!doctype HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
* {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.main {
|
|
position: fixed;
|
|
width: calc(90vw - 20px);
|
|
left: calc(10vw + 20px);
|
|
right: 0px;
|
|
}
|
|
|
|
.centered {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.column {
|
|
float: left;
|
|
width: 50%;
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.column10 {
|
|
display: inline-block;
|
|
width: 10vw;
|
|
padding: 5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.row:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.selected {
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-color: red;
|
|
}
|
|
|
|
.notselected {
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
#annotations {
|
|
margin-left: 20px;
|
|
height: auto;
|
|
}
|
|
|
|
#navbar {
|
|
position: fixed;
|
|
border-right: solid;
|
|
border-width: 1px;
|
|
height: 100vh;
|
|
left: 0;
|
|
overflow-y: scroll;
|
|
width: 10%;
|
|
padding: 10px;
|
|
}
|
|
|
|
table, th, td {
|
|
border: 1px solid black;
|
|
}
|
|
|
|
td {
|
|
text-align: center;
|
|
padding: 5px;
|
|
}
|
|
|
|
p {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="navbar" class="row"></div>
|
|
<div class="main">
|
|
<h1 class="centered">Annotator</h1>
|
|
<div class="row">
|
|
<div class="column">
|
|
<h2 class="centered">Previous frame (<span id="img-1-index">1</span>)</h2>
|
|
<img class="notselected" id="img-1">
|
|
|
|
</div>
|
|
<div class="column">
|
|
<h2 class="centered">Current frame (<span id="img-2-index">2</span>)</h2>
|
|
<img class="selected" id="img-2">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="column">
|
|
<h3 class="centered">Shorcuts:</h3>
|
|
<table id="shortcuts" class="centered">
|
|
<tr id="shortcuts-index">
|
|
</tr>
|
|
<tr id="shortcuts-value">
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="column">
|
|
<h3>Annotations:</h3>
|
|
<div id="annotations">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="/static/main.js"></script>
|
|
</body>
|
|
</html>
|