bnovo plugin
scheduller
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user