|
|
@@ -668,22 +668,22 @@
|
|
|
<td>{{ settings_info[8] }}/alert/goal</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <form id="new_gb_image_upload" action="/mgmt/alertupload/GB_ALERT" method="post" enctype="multipart/form-data">
|
|
|
- <td>Goal Reached:</td>
|
|
|
- {% set gb_alert = alerts_dict["GB_ALERT"] %}
|
|
|
- {% if gb_alert %}
|
|
|
- {% if "webm" in gb_alert %}
|
|
|
- <td><video height="100" autoplay loop><source src="{{ url_for('web_panels.assets', asset_name=gb_alert) }}" type="video/webm"></video></td>
|
|
|
+ <form id="new_givebutter_image_upload" action="/mgmt/alertupload/GIVEBUTTER_ALERT" method="post" enctype="multipart/form-data">
|
|
|
+ <td>GiveButter Donation:</td>
|
|
|
+ {% set givebutter_alert = alerts_dict["GIVEBUTTER_ALERT"] %}
|
|
|
+ {% if givebutter_alert %}
|
|
|
+ {% if "webm" in givebutter_alert %}
|
|
|
+ <td><video height="100" autoplay loop><source src="{{ url_for('web_panels.assets', asset_name=givebutter_alert) }}" type="video/webm"></video></td>
|
|
|
{% else %}
|
|
|
- <td><img alt="User Configurable Image" src="{{ url_for('web_panels.assets', asset_name=gb_alert) }}"></td>
|
|
|
+ <td><img alt="User Configurable Image" src="{{ url_for('web_panels.assets', asset_name=givebutter_alert) }}"></td>
|
|
|
{% endif %}
|
|
|
{% else %}
|
|
|
<td>Empty</td>
|
|
|
{% endif %}
|
|
|
- <td><input type="file" name="GB_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
- <td><button id="new_gb_image_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
- <a href="{{ url_for('web_panels.del_alert', alert_type='GB_ALERT') }}"><button id="new_gb_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: yellow;">Clear</span></button></a></td>
|
|
|
- <td>{{ settings_info[8] }}/alert/goal</td>
|
|
|
+ <td><input type="file" name="GIVEBUTTER_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
+ <td><button id="new_givebutter_image_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
+ <a href="{{ url_for('web_panels.del_alert', alert_type='GIVEBUTTER_ALERT') }}"><button id="new_givebutter_image_upload" class="button button2" onclick="openTab(event, 'alerts')"><span style="color: yellow;">Clear</span></button></a></td>
|
|
|
+ <td>{{ settings_info[8] }}/alert/givebutter</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
<h3>Stream Overlays</h3>
|