Moved discord below Jabber
parent
c99afb8e71
commit
9cf730429f
|
@ -17,11 +17,6 @@
|
||||||
aria-controls="config-sms" aria-selected="{% if sms_active %}true{% else %}false{% endif %}">{{
|
aria-controls="config-sms" aria-selected="{% if sms_active %}true{% else %}false{% endif %}">{{
|
||||||
label_tab_sms }}</a>
|
label_tab_sms }}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link {{ discord_active }}" id="config-discord-tab" data-toggle="tab" href="#config-discord"
|
|
||||||
role="tab" aria-controls="config-discord" aria-selected="{% if discord_active %}true{% else %}false{% endif %}">{{
|
|
||||||
label_tab_discord }}</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link {{ pushover_active }}" id="config-pushover-tab" data-toggle="tab" href="#config-pushover"
|
<a class="nav-link {{ pushover_active }}" id="config-pushover-tab" data-toggle="tab" href="#config-pushover"
|
||||||
role="tab" aria-controls="config-pushover" aria-selected="{% if pushover_active %}true{% else %}false{% endif %}">{{
|
role="tab" aria-controls="config-pushover" aria-selected="{% if pushover_active %}true{% else %}false{% endif %}">{{
|
||||||
|
@ -37,6 +32,11 @@
|
||||||
role="tab" aria-controls="config-jabber" aria-selected="{% if jabber_active %}true{% else %}false{% endif %}">{{
|
role="tab" aria-controls="config-jabber" aria-selected="{% if jabber_active %}true{% else %}false{% endif %}">{{
|
||||||
label_tab_jabber }}</a>
|
label_tab_jabber }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link {{ discord_active }}" id="config-discord-tab" data-toggle="tab" href="#config-discord" role="tab"
|
||||||
|
aria-controls="config-discord" aria-selected="{% if discord_active %}true{% else %}false{% endif %}">{{
|
||||||
|
label_tab_discord }}</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link {{ webhook_active }}" id="config-webhook-tab" data-toggle="tab" href="#config-webhook" role="tab"
|
<a class="nav-link {{ webhook_active }}" id="config-webhook-tab" data-toggle="tab" href="#config-webhook" role="tab"
|
||||||
aria-controls="config-webhook" aria-selected="{% if webhook_active %}true{% else %}false{% endif %}">{{
|
aria-controls="config-webhook" aria-selected="{% if webhook_active %}true{% else %}false{% endif %}">{{
|
||||||
|
|
|
@ -28,12 +28,6 @@
|
||||||
<!-- pushover device -->
|
<!-- pushover device -->
|
||||||
{{ macro.input_field("text", "pushover_device", null, "pushover_device", label_pushover_device, pushover_device, label_pushover_device, "255", "pushover_device_help", label_pushover_device_description) }}
|
{{ macro.input_field("text", "pushover_device", null, "pushover_device", label_pushover_device, pushover_device, label_pushover_device, "255", "pushover_device_help", label_pushover_device_description) }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<!-- Discord settings -->
|
|
||||||
<fieldset>
|
|
||||||
<legend>{{ label_discord }}</legend>
|
|
||||||
<p>{{ label_discord_description|raw }}</p>
|
|
||||||
{{ macro.input_field("text", "discord", null, "discord", label_discord, discord, label_discord, "255", "discord_help", discord_description) }}
|
|
||||||
</fieldset>
|
|
||||||
<!-- Telegram settings -->
|
<!-- Telegram settings -->
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{{ label_telegram }}</legend>
|
<legend>{{ label_telegram }}</legend>
|
||||||
|
@ -52,6 +46,11 @@
|
||||||
<!-- jabber -->
|
<!-- jabber -->
|
||||||
{{ macro.input_field("text", "jabber", null, "jabber", label_jabber, jabber, label_jabber, "255", "jabber_help", label_jabber_description) }}
|
{{ macro.input_field("text", "jabber", null, "jabber", label_jabber, jabber, label_jabber, "255", "jabber_help", label_jabber_description) }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<!-- Discord settings -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{{ label_discord }}</legend>
|
||||||
|
{{ macro.input_field("text", "discord", null, "discord", label_discord, discord, "https://discordapp.com/api/webhooks/xxxxx", "255", "discord_help", label_discord_description) }}
|
||||||
|
</fieldset>
|
||||||
<!-- Webhook settings -->
|
<!-- Webhook settings -->
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{{ label_webhook }}</legend>
|
<legend>{{ label_webhook }}</legend>
|
||||||
|
|
Loading…
Reference in New Issue