|
|
@@ -11,7 +11,7 @@
|
|
|
<div class="tab">
|
|
|
<button class="tablinks" data-tab="ocbinfo" onclick="openTab(event, 'ocbinfo')">OwnchatBot Info</button>
|
|
|
<button class="tablinks" data-tab="rewards" onclick="openTab(event, 'rewards')">Points and Rewards</button>
|
|
|
- <button class="tablinks" data-tab="queue" onclick="openTab(event, 'queue')">Rewards Queue</button>
|
|
|
+ <button class="tablinks" onclick="window.location.href='{{ url_for('web_panels.user_queue') }}'">Rewards Queue</button>
|
|
|
</div>
|
|
|
<img alt="Ownchat Bot logo, whimsical robot" src="/static/img/ownchatbotwide.png">
|
|
|
</div>
|
|
|
@@ -36,23 +36,34 @@
|
|
|
|
|
|
<hr>
|
|
|
<table>
|
|
|
+ <thead>
|
|
|
+ <tr style="border-bottom: none;">
|
|
|
+ <th></th>
|
|
|
+ <th></th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
{% if kofi_settings['donations'] %}
|
|
|
<tr style="border-bottom: none;">
|
|
|
- <td><h4><a href="{{ kofi_settings['kofi_url'] }}/donate" target="new"><img style="height: 25px; width: auto; padding-right: 8px; !important" alt="Coffee Cup Logo" src="/static/img/kofi_symbol.png"></a> Ko-fi</h4></td>
|
|
|
+ <td rowspan="2"><h4><a href="{{ kofi_settings['kofi_url'] }}/donate" target="new"><img style="height: 25px; width: auto; padding-right: 8px; !important" alt="Coffee Cup Logo" src="/static/img/kofi_symbol.png"></a> Ko-fi</h4></td>
|
|
|
|
|
|
{% if kofi_settings['donations'] %}
|
|
|
{% set d_points_label = 'point' if kofi_settings['donation_points'] == 1 else 'points' %}
|
|
|
<td>You are awarded {{ kofi_settings['donation_points'] }} {{ d_points_label }} for every dollar donated.<br></td>
|
|
|
{% endif %}
|
|
|
</tr>
|
|
|
- <tr style="border-bottom: none;">
|
|
|
- {% if kofi_settings['subs'] %}
|
|
|
- {% set s_points_label = 'point' if kofi_settings['sub_points'] == 1 else 'points' %}
|
|
|
- <td>Ko-fi subscribers get {{ kofi_settings['sub_points'] }} {{ s_points_label }} every month.<br></td>
|
|
|
- {% endif %}
|
|
|
+ {% if gb_settings['integration'] %}
|
|
|
+ <tr>
|
|
|
+ {% else %}
|
|
|
+ <tr style="border-bottom: none;">
|
|
|
+ {% endif %}
|
|
|
+ {% if kofi_settings['subs'] %}
|
|
|
+ {% set s_points_label = 'point' if kofi_settings['sub_points'] == 1 else 'points' %}
|
|
|
+ <td>Subscribers get {{ kofi_settings['sub_points'] }} {{ s_points_label }} every month.<br></td>
|
|
|
+ {% endif %}
|
|
|
</tr>
|
|
|
{% endif %}
|
|
|
|
|
|
+ {% if gb_settings['integration'] %}
|
|
|
{% if gb_settings['donations'] %}
|
|
|
<tr style="border-bottom: none;">
|
|
|
<td><h4><a href="{{ gb_settings['gb_url'] }}" target="new"><img style="height: 25px; width: auto; padding-right: 8px; !important" alt="Give Butter Logo" src="/static/img/givebutter.png"></a> GiveButter</h4></td>
|
|
|
@@ -60,6 +71,7 @@
|
|
|
<td>You are awarded {{ gb_settings['donation_points'] }} {{ d_points_label }} for every dollar donated.<br></td>
|
|
|
</tr>
|
|
|
{% endif %}
|
|
|
+ {% endif %}
|
|
|
</table>
|
|
|
<br><i> You must be authenticated with Owncast to earn points for donations.</i><br>
|
|
|
{% for user in users %}
|
|
|
@@ -219,8 +231,7 @@
|
|
|
There are currently no active goals
|
|
|
<br>
|
|
|
{% endif %}
|
|
|
- </body>
|
|
|
- <body>
|
|
|
+
|
|
|
<h3>Active Rewards</h3>
|
|
|
{% if rewards %}
|
|
|
<table>
|
|
|
@@ -304,9 +315,5 @@
|
|
|
</body>
|
|
|
<br><br>
|
|
|
</div>
|
|
|
-
|
|
|
- <script>
|
|
|
- setTimeout(refreshPage, 30 * 1000);
|
|
|
- </script>
|
|
|
|
|
|
</html>
|