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.

40 lines
1.2 KiB
HTML

2 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link
rel="stylesheet"
type="text/css"
href="{{ url_for('static', filename='css/global.css') }}"
/>
2 years ago
<script src="{{ url_for('static', filename='js/input-knobs.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/panel.js') }}" defer></script>
2 years ago
<script src="{{ url_for('static', filename='js/new-patch.js') }}" defer></script>
2 years ago
<title>Add new patch for {{instrument['name']}}</title>
</head>
<body>
<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" />
2 years ago
<!-- {% for param in instrument['params']%}
<input type="text" name="{{param}}" placeholder="{{param}}" />
{% endfor %} -->
2 years ago
<input type="hidden" name="cables" />
2 years ago
<input type="text" name="input" placeholder="Input" />
<input type="text" name="output" placeholder="Output" />
<input type="text" name="routing" placeholder="Routing" />
2 years ago
<input type="submit" value="Add" />
2 years ago
<div id="panel-container">{{panel|safe}}</div>
</form>
2 years ago
</body>
</html>