bnovo plugin

scheduller
This commit is contained in:
2024-12-10 20:07:23 +09:00
parent 8dce756a27
commit 806c611cc7
38 changed files with 1301 additions and 277 deletions

View File

@@ -0,0 +1,42 @@
{% extends "admin/change_form.html" %}
{% load static %}
{% block extrahead %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'scheduler/admin.css' %}">
{% endblock %}
{% block content %}
<div class="form-container">
<form method="post" class="change-form" enctype="multipart/form-data" novalidate>
{% csrf_token %}
{{ adminform.non_field_errors }}
<div>
{% for fieldset in adminform %}
<fieldset class="{{ fieldset.classes }}">
<legend>{{ fieldset.name }}</legend>
{% for line in fieldset %}
<div class="form-row {{ line.field.field.name }}">
{% if line.field.name == 'last_run' %}
<div>
<label>{{ line.label }}</label>
<span>{{ line.field.contents }}</span>
</div>
{% else %}
{{ line.errors }}
{{ line.field }}
{% if line.field.is_checkbox %}
<div class="checkbox-row">{{ line.field }}</div>
{% endif %}
{% endif %}
</div>
{% endfor %}
</fieldset>
{% endfor %}
</div>
<div class="submit-row">
{{ submit_buttons }}
</div>
</form>
</div>
{% endblock %}