|
|
|
@ -45,7 +45,24 @@
|
|
|
|
|
|
|
|
|
|
<main>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<div class="grid">
|
|
|
|
|
|
|
|
|
|
<div class="meta">
|
|
|
|
|
|
|
|
|
|
<div class="title">
|
|
|
|
|
<h2>{{patch['name']}}</h2>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
|
{{patch['description']}}
|
|
|
|
|
|
|
|
|
|
<div class="date">
|
|
|
|
|
{{ patch['created']}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="instrument">
|
|
|
|
|
<div id="panel-container">{{panel|safe}}</div>
|
|
|
|
|
|
|
|
|
@ -57,26 +74,23 @@
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="meta">
|
|
|
|
|
<div class="description">
|
|
|
|
|
{{patch['description']}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="date">
|
|
|
|
|
{{ patch['created']}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
|
<input type="text" class="description" name="description" />
|
|
|
|
|
<input type="file" name="snippet" accept="audio/*" />
|
|
|
|
|
<input type="submit" value="Upload" />
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="new-snippet">
|
|
|
|
|
|
|
|
|
|
<h3>Snippets</h3>
|
|
|
|
|
|
|
|
|
|
<span>Add new <button>+</button></span>
|
|
|
|
|
|
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
|
<input type="text" class="description" name="description" />
|
|
|
|
|
<input type="file" name="snippet" accept="audio/*" />
|
|
|
|
|
<input type="submit" value="Upload" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ul class="snippets">
|
|
|
|
|
{% for snippet in snippets %}
|
|
|
|
|
<li>
|
|
|
|
@ -100,24 +114,10 @@
|
|
|
|
|
/>
|
|
|
|
|
</svg>
|
|
|
|
|
</a>
|
|
|
|
|
<!-- <button class="play">
|
|
|
|
|
<svg
|
|
|
|
|
width="24"
|
|
|
|
|
height="27"
|
|
|
|
|
viewBox="0 0 24 27"
|
|
|
|
|
fill="none"
|
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
|
>
|
|
|
|
|
<path
|
|
|
|
|
d="M24 13.5L0.749999 26.9234L0.75 0.0766048L24 13.5Z"
|
|
|
|
|
fill="currentColor"
|
|
|
|
|
/>
|
|
|
|
|
</svg>
|
|
|
|
|
</button> -->
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre class="patch-text">
|
|
|
|
|
{{patch['name']}}
|
|
|
|
|