21 lines
732 B
HTML
21 lines
732 B
HTML
{% extends 'admin/base.html' %}
|
|
{% block content %}
|
|
<h1>全局配置</h1>
|
|
|
|
<div class="admin-card">
|
|
<form method="POST">
|
|
<h3>前台启动弹窗</h3>
|
|
<div style="margin-bottom: 20px;">
|
|
<label>
|
|
<input type="checkbox" name="is_enabled" style="width: auto;" {% if setting and setting.is_enabled %}checked{% endif %}> 启用启动弹窗
|
|
</label>
|
|
</div>
|
|
|
|
<h3>弹窗内容 (支持 HTML)</h3>
|
|
<textarea name="config_value" style="height: 200px;">{{ setting.config_value if setting else '' }}</textarea>
|
|
|
|
<button type="submit" class="btn btn-primary">保存全局设置</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|