<div id="serverSettingsModal" class="modal fade" data-bs-backdrop="static" tabindex="-1">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content rounded-1">
            <form id="serverSettingsForm" class="mb-0" novalidate>
                <div class="modal-header">
                    <h5 class="modal-title ms-2">
                        <span class="resolve-to-server-name"></span> Settings
                    </h5>
                </div>
                <div class="modal-body p-4">
                    <input type="hidden" id="guildSettingsId" name="guildSettingsId">
                    <input type="hidden" id="guildSettingsGuildId" name="guildSettingsGuildId">
                    <div class="mb-4">
                        <div class="colour-input"
                            data-id="guildSettingsDefaultEmbedColour"
                            data-label="Default Embed Colour"
                            data-helptext="Default colour of each embed in Discord."
                            data-defaultcolour="#3498db">
                        </div>
                    </div>
                    <div>
                        <div class="form-check form-switch">
                            <label for="guildSettingsActive" class="form-check-label">Server Enabled</label>
                            <input type="checkbox" name="guildSettingsActive" id="guildSettingsActive" class="form-check-input" role="switch">
                            <div class="form-text">Disabled servers will not process Subscriptions.</div>
                        </div>
                    </div>
                    {% comment %}
                    <hr class="my-4">
                    <div>
                        <button type="button" class="btn btn-outline-primary">Reset All Publish Thresholds</button>
                        <div class="form-text">Subscription content predating the threshold won't be processed.</div>
                    </div>
                    {% endcomment %}
                </div>
                <div class="modal-footer px-4">
                    <button type="submit" class="btn btn-primary rounded-1 ms-3 me-0">Save Changes</button>
                    <button type="button" class="btn btn-secondary rounded-1 ms-3 me-0" data-bs-dismiss="modal">Cancel</button>
                </div>
            </form>
        </div>
    </div>
</div>