拆分域管理与系统管理

This commit is contained in:
masnn committed 2020-06-04 13:27:44 +08:00
1 parent 385e46ae42
commit faec4744d7
24 files changed
+249 -168

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
{% extends "domain_base.html" %}
{% block domain_content %}
<div class="section">
<div class="section__body">
<form method="post">
{{ form.form_text({
label:'Name',
name:'name',
value:domain.name,
autofocus:true,
required:true
}) }}
{{ form.form_text({
label:'Gravatar Email',
help_text:'Will be used as the system icon.',
name:'gravatar',
value:domain.gravatar
}) }}
{{ form.form_textarea({
columns:12,
label:'Bulletin',
name:'bulletin',
value:domain.bulletin,
markdown:true,
required:false
}) }}
<div class="row"><div class="columns">
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
<button type="submit" class="rounded primary button">
{{ _('Update') }}
</button>
<button type="button" class="rounded button" onclick="window.history.go(-1)">
{{ _('Cancel') }}
</button>
</div></div>
</form>
</div>
</div>
{% endblock %}