Update JS file name and path and HTML template file name
This commit is contained in:
22
templates/category_submit_settings.html
Normal file
22
templates/category_submit_settings.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "admin/base.html" %}
|
||||
{% block content %}
|
||||
<div class="jumbotron">
|
||||
<div class="container"><h1>Category Submission Settings</h1></div>
|
||||
</div>
|
||||
<div class="container">
|
||||
{% if success %}<div class="alert alert-success">Settings saved!</div>{% endif %}
|
||||
<form method="POST">
|
||||
<div class="form-group">
|
||||
<label>Target Categories (Comma separated)</label>
|
||||
<input type="text" name="categories" class="form-control" value="{{ categories }}" placeholder="Pentest, AD, Cloud">
|
||||
<small class="text-muted">A submission box will appear under these category titles.</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Cooldown (Seconds)</label>
|
||||
<input type="number" name="cooldown" class="form-control" value="{{ cooldown }}">
|
||||
</div>
|
||||
<input type="hidden" name="nonce" value="{{ Session.nonce }}">
|
||||
<button type="submit" class="btn btn-primary">Save Settings</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user