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.8 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" href="{{ url_for('static', filename='css/home.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/panel.css') }}" />
<link rel="stylesheet" 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-panel.js') }}" defer></script>
<title>New instrument</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>
<h2 class="title">Add</h2>
</header>
<main class="grid">
<form class="meta" method="POST" enctype="multipart/form-data">
<input type="text" name="name" placeholder="1. Name" />
<textarea
name="description"
cols="30"
rows="10"
placeholder="2. Description"
></textarea>
<input type="hidden" name="params" />
<input type="hidden" name="sockets" />
<input type="file" name="panel" accept=".svg" />
<input type="submit" value="Upload" />
<p>
The file format for the panel is SVG. Read the
<a href="{{url_for('page', slug='documentation#guidelines')}}">guidelines </a>
in the documentation or start from the
<a href="{{url_for('static', filename='panels/template.zip')}}" class="parent"
>template</a
>.
</p>
</form>
<div id="panel-container">
<span class="preview">Preview</span>
</div>
</main>
</body>
</html>