You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link
rel="stylesheet"
type="text/css"
href="{{ url_for('static', filename='css/global.css') }}"
/>
<link
rel="stylesheet"
type="text/css"
href="{{ url_for('static', filename='css/add.css') }}"
/>
<script src="{{ url_for('static', filename='js/input-knobs.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/panel.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/new-patch.js') }}" defer></script>
<title>Add new patch for {{instrument['name']}}</title>
</head>
<body>
<header>
<a href="{{url_for('workbook')}}" class="parent">Workbook</a>
<span class="path-slash"> / </span>
<a href="{{url_for('instruments')}}" class="parent">Instruments</a>
<span class="path-slash"> / </span>
<a href="{{url_for('patches', instrument=instrument['slug'])}}" class="parent">
{{instrument['name']}}
</a>
<span class="path-slash"> / </span>
<h2 class="title">Add</h2>
</header>
<main>
<form method="POST" enctype="multipart/form-data">
<input type="text" name="name" placeholder="Name" />
<textarea
name="description"
cols="30"
rows="10"
placeholder="description"
></textarea>
<input type="date" name="date" />
<input type="hidden" name="cables" />
<input type="text" name="input" placeholder="Input" />
<input type="text" name="output" placeholder="Output" />
<input type="text" name="routing" placeholder="Routing" />
<input type="submit" value="Add" />
</form>
<div id="panel-container">{{panel|safe}}</div>
</main>
</body>
</html>