Commit ef0f3886 authored by fred's avatar fred

style track details

parent 77685cf1
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
</ul> </ul>
{% if object.file_exists %} {% if object.file_exists %}
<div class="side">
{% if internal_ip %}
<audio src="{{object.file_path}}" controls></audio>
{% endif %}
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ metadata_form.as_p }} {{ metadata_form.as_p }}
...@@ -31,6 +36,19 @@ ...@@ -31,6 +36,19 @@
<button class="submit-button">{% trans "Update" %}</button> <button class="submit-button">{% trans "Update" %}</button>
</div> </div>
</form> </form>
</div>
{% endif %} {% endif %}
<style>
ul.soma-list {
float: left;
}
div.side {
float: right;
background: #f0f0f0;
padding: 1ex;
}
</style>
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment