|
|
@@ -492,7 +492,7 @@
|
|
|
<td><button id="nf_upload" class="button button2" type="submit">Upload</button>
|
|
|
</form> 
|
|
|
<a href="{{ url_for('web_panels.del_alert', alert_type='FOLLOWER_ALERT') }}"><button class="button button2" onclick="openTab(event, 'alerts')"><span style="color: red;">Clear</span></button></a></td>
|
|
|
- <td>/ocbalert/follower_alert</td>
|
|
|
+ <td>/alert/follower</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<form id="nms_upload" action="/mgmt/alertupload/MILESTONE_ALERT" method="post" enctype="multipart/form-data">
|
|
|
@@ -510,7 +510,7 @@
|
|
|
<td><input type="file" name="MILESTONE_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
<td><button id="nms_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
<a href="{{ url_for('web_panels.del_alert', alert_type='MILESTONE_ALERT') }}"><button class="button button2" onclick="openTab(event, 'alerts')"><span style="color: red;">Clear</span></button></a></td>
|
|
|
- <td>/ocbalert/milestone_alert</td>
|
|
|
+ <td>/alert/milestone</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<form id="ng_upload" action="/mgmt/alertupload/GOAL_ALERT" method="post" enctype="multipart/form-data">
|
|
|
@@ -528,43 +528,7 @@
|
|
|
<td><input type="file" name="GOAL_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
<td><button id="ng_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
<a href="{{ url_for('web_panels.del_alert', alert_type='GOAL_ALERT') }}"><button class="button button2" onclick="openTab(event, 'alerts')"><span style="color: red;">Clear</span></button></a></td>
|
|
|
- <td>/ocbalert/goal_alert</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <form id="nd_upload" action="/mgmt/alertupload/DONATION_ALERT" method="post" enctype="multipart/form-data">
|
|
|
- <td>Donation:</td>
|
|
|
- {% set donation_alert = alerts_dict["DONATION_ALERT"] %}
|
|
|
- {% if donation_alert %}
|
|
|
- {% if "webm" in donation_alert %}
|
|
|
- <td><video height="100" autoplay loop><source src="{{ url_for('web_panels.alerts', alert_name=donation_alert) }}" type="video/webm"></video></td>
|
|
|
- {% else %}
|
|
|
- <td><img src="{{ url_for('web_panels.alerts', alert_name=donation_alert) }}"></td>
|
|
|
- {% endif %}
|
|
|
- {% else %}
|
|
|
- <td>Empty</td>
|
|
|
- {% endif %}
|
|
|
- <td><input type="file" name="DONATION_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
- <td><button id="nd_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
- <a href="{{ url_for('web_panels.del_alert', alert_type='DONATION_ALERT') }}"><button class="button button2" onclick="openTab(event, 'alerts')"><span style="color: red;">Clear</span></button></a></td>
|
|
|
- <td>/ocbalert/donation_alert</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <form id="nd_upload" action="/mgmt/alertupload/SUBSCRIBER_ALERT" method="post" enctype="multipart/form-data">
|
|
|
- <td>Subscriber:</td>
|
|
|
- {% set subscriber_alert = alerts_dict["SUBSCRIBER_ALERT"] %}
|
|
|
- {% if subscriber_alert %}
|
|
|
- {% if "webm" in subscriber_alert %}
|
|
|
- <td><video height="100" autoplay loop><source src="{{ url_for('web_panels.alerts', alert_name=subscriber_alert) }}" type="video/webm"></video></td>
|
|
|
- {% else %}
|
|
|
- <td><img src="{{ url_for('web_panels.alerts', alert_name=subscriber_alert) }}"></td>
|
|
|
- {% endif %}
|
|
|
- {% else %}
|
|
|
- <td>Empty</td>
|
|
|
- {% endif %}
|
|
|
- <td><input type="file" name="SUBSCRIBER_ALERT" accept=".gif, .jpg, .jpeg, .png, .webm" required></td>
|
|
|
- <td><button id="nd_upload" class="button button2" type="submit">Upload</button></form> 
|
|
|
- <a href="{{ url_for('web_panels.del_alert', alert_type='SUBSCRIBER_ALERT') }}"><button class="button button2" onclick="openTab(event, 'alerts')"><span style="color: red;">Clear</span></button></a></td>
|
|
|
- <td>/ocbalert/subscriber_alert</td>
|
|
|
+ <td>/alert/goal</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</body>
|