46 lines
1.2 KiB
HTML
46 lines
1.2 KiB
HTML
{% set active_navbar_item = 'actions' %}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<div>
|
|
<form>
|
|
<fieldset class="uk-fieldset">
|
|
|
|
<legend class="uk-legend">Create new item</legend>
|
|
<div class="uk-margin">
|
|
<select name="event_type"
|
|
class="uk-select"
|
|
aria-label="Select"
|
|
class="uk-button uk-button-default"
|
|
hx-get="/partials/overview/submit_button"
|
|
hx-trigger="change,load"
|
|
hx-target="#submit-button"
|
|
hx-swap="outerHTML">>
|
|
<option value="create_user">Create User</option>
|
|
<option value="create_security">Create Security</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="uk-margin">
|
|
<label class="uk-form-label">Event [JSON5]</label>
|
|
<textarea class="uk-textarea"
|
|
name="event"
|
|
style="font: 0.875rem/1.5 Consolas,monaco,monospace"
|
|
rows="5"
|
|
placeholder="JSON"></textarea>
|
|
</div>
|
|
<div id="submit-button"></div>
|
|
<div id="parent-div"></div>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<table class="uk-table uk-table-small">
|
|
<thead></thead>
|
|
<tbody id="event-table-first-row"></tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endblock %} |