dragon_fire/www/templates/_dev_add_yap.html
David Bailey f8af3c5c59
Some checks reported warnings
/ phplint (push) Has been cancelled
feat(yaps): first lifesigns of the yapping system
2025-04-28 10:46:56 +02:00

36 lines
896 B
HTML

{% extends "root.html" %}
{% block second_title %}
<h2> YAP SOMETHIN' </h2>
{% endblock %}
{%block main_content%}
<article>
<form method="post" enctype="multipart/form-data"
action="/api/add_yap"
hx-target="#yap-result"
hx-swap="innerHTML">
<label for="ACCESS_KEY"> Password: </label>
<input type="password" id="ACCESS_KEY" name="ACCESS_KEY"/>
<label for="path"> Path: </label>
<input type="text" id="path" name="path"/>
<label for="yap_category"> Yap Category: </label>
<input type="text" id="yap_category" name="yap_category"
value="yap"/>
<textarea type="file" id="yap_text" name="yap_text">
</textarea>
<button>Submit</button>
</form>
Return data:
<code id="yap-result">
</code>
</article>
{%endblock%}