mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2024-11-25 16:53:59 +01:00
51 lines
1.6 KiB
HTML
51 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>in?</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<script src="form.js"></script>
|
|
<script src="shared.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1><a href="../">in?</a></h1>
|
|
<form id="form">
|
|
<label for="id">ID</label> (use ? as placeholder for next available number)
|
|
<input id="id" type="text" placeholder="loading...">
|
|
|
|
<label for="is_in">Is in</label>
|
|
<select id="is_in">
|
|
<option value=""></option>
|
|
</select>
|
|
|
|
<b>Coordinates</b> (click on map)
|
|
|
|
<div id="map" title="Map for reference only. Not to scale!">
|
|
<img src="80x80.svg" onclick="mapClick(event)">
|
|
<div id="mapgrid"></div>
|
|
</div>
|
|
|
|
<label for="coords_bl">Bottom left</label><label for="coords_tr">Top right</label>
|
|
<input id="coords_bl" type="text" oninput="formCoordsToMap()"><input id="coords_tr" type="text" oninput="formCoordsToMap()">
|
|
|
|
<label for="type">Type</label>
|
|
<input id="type" type="text">
|
|
<p id="knowntypes"></p>
|
|
|
|
<label for="name">Name / Label</label>
|
|
<input id="name" type="text">
|
|
|
|
<label for="content">Content</label>
|
|
<textarea id="content"></textarea>
|
|
|
|
<label for="note">Note</label>
|
|
<textarea id="note"></textarea>
|
|
|
|
<label for="hidden">Hide by default</label>
|
|
<input type="checkbox" id="hidden">
|
|
</form>
|
|
|
|
<button id="delete" class="btn red" autocomplete="off">Delete</button>
|
|
<button id="save" class="btn green" autocomplete="off">Save</button>
|
|
</body>
|
|
</html>
|