Skip to content

Commit ce0d460

Browse files
committed
Remove buttons and forms connected to LFG actions in dashboard
1 parent 437b4b2 commit ce0d460

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

src/contestadmin/templates/contestadmin/dashboard.html

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -184,53 +184,6 @@ <h1 class="text-center">Contest Dashboard</h1>
184184
</div>
185185
<!-- Account Control deck end -->
186186

187-
<!-- Discord Control Card deck -->
188-
<div class="card-deck">
189-
<!-- Roles card -->
190-
<div class="card mt-4 border-secondary">
191-
<div class="card-header font-weight-bold bg-secondary text-white">
192-
<i class="fa-brands fa-discord fa-fw"></i> Discord Tools
193-
</div>
194-
<div class="card-body overflow-auto">
195-
<div class="row justify-content-center">
196-
<a class="btn btn-primary btn-sm my-1" href="{% url 'create_discord_roles' %}" onclick="return confirm('Are you certain you want to create the Discord LFG roles?');"><i class="fa-solid fa-circle-plus fa-fw"></i> Create Discord LFG Roles</a>
197-
</div>
198-
<div class="row justify-content-center">
199-
<div class="row justify-content-center">
200-
<a class="btn btn-primary btn-sm my-1" href="{% url 'remove_discord_roles' %}" onclick="return confirm('Are you certain you want to remove the Discord LFG roles?');"><i class="fa-solid fa-trash-can fa-fw"></i> Remove Discord LFG Roles</a>
201-
</div>
202-
</div>
203-
</div>
204-
</div>
205-
<!-- Roles card end -->
206-
<!-- Channel card -->
207-
<div class="card mt-4 border-secondary">
208-
<div class="card-header font-weight-bold bg-secondary text-white">
209-
<i class="fa-brands fa-discord fa-fw"></i> Clear Discord Channel
210-
</div>
211-
<form method="post" onSubmit="return confirm('Are you certain you want to clear this Discord channel?');">
212-
<div class="card-body overflow-auto">
213-
{% csrf_token %}
214-
{% for field in channel_form %}
215-
<p class="mb-0">
216-
{{ field | placeholder:"Channel ID" }}<br>
217-
<small class="form-text text-muted">
218-
{% for error in field.errors %}
219-
<p class="text-monospace font-weight-lighter text-danger mb-0">-{{ error }}</p>
220-
{% endfor %}
221-
</small>
222-
</p>
223-
{% endfor %}
224-
</div>
225-
<div class="card-footer">
226-
<button class="btn btn-primary btn-sm" type="submit">Submit</button>
227-
</div>
228-
</form>
229-
</div>
230-
<!-- Channel card end -->
231-
</div>
232-
<!-- Discord Control deck end -->
233-
234187
<!-- Volunteer Summary card -->
235188
<div id="accordionVolunteer">
236189
<div class="card mt-4 mb-3 border-secondary">

0 commit comments

Comments
 (0)