|
|
@@ -274,16 +274,16 @@
|
|
|
</thead>
|
|
|
<tr>
|
|
|
<td> <label for="announce_enable">Enable:</label> </td>
|
|
|
- {% if settings_info[9] %}
|
|
|
- <td> <input type="checkbox" name="announce_enable" value="{{ settings_info[9] }}" checked> </td>
|
|
|
+ {% if settings_info[8] %}
|
|
|
+ <td> <input type="checkbox" name="announce_enable" value="{{ settings_info[8] }}" checked> </td>
|
|
|
{% else %}
|
|
|
- <td> <input type="checkbox" name="announce_enable" value="{{ settings_info[9] }}"> </td>
|
|
|
+ <td> <input type="checkbox" name="announce_enable" value="{{ settings_info[8] }}"> </td>
|
|
|
{% endif %}
|
|
|
<td>Enable periodic announcements</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td> <label for="announce_interval">Interval:</label> </td>
|
|
|
- <td> <input type="number" name="announce_interval" value="{{ settings_info[10] }}" size="2" required> minutes</td>
|
|
|
+ <td> <input type="number" name="announce_interval" value="{{ settings_info[9] }}" size="2" required> minutes</td>
|
|
|
<td>How long between each announcement?</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -322,23 +322,14 @@
|
|
|
<td> <input type="number" name="points_award" value="{{ settings_info[2] }}" size="5" required> points</td>
|
|
|
<td>How many points do you want to award them?</td>
|
|
|
</tr>
|
|
|
- <tr>
|
|
|
- <td> <label for="gunicorn_logging">Gunicorn Logging:</label> </td>
|
|
|
- {% if settings_info[3] %}
|
|
|
- <td> <input type="checkbox" name="gunicorn_logging" value="{{ settings_info[3] }}" checked> </td>
|
|
|
- {% else %}
|
|
|
- <td> <input type="checkbox" name="gunicorn_logging" value="{{ settings_info[3] }}"> </td>
|
|
|
- {% endif %}
|
|
|
- <td>Enable Gunicorn logging integration.</td>
|
|
|
- </tr>
|
|
|
<tr>
|
|
|
<td> <label for="prefix">Chat Command Prefix:</label> </td>
|
|
|
- <td> <input type="text" name="prefix" maxlength="1" size="1" value="{{ settings_info[4] }}" required> </td>
|
|
|
- <td>Character that preceeds chat commands, so OwnchatBot knows what to look for.<br>Example: "{{ settings_info[4] }}points"</td>
|
|
|
+ <td> <input type="text" name="prefix" maxlength="1" size="1" value="{{ settings_info[3] }}" required> </td>
|
|
|
+ <td>Character that preceeds chat commands, so OwnchatBot knows what to look for.<br>Example: "{{ settings_info[3] }}points"</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td> <label for=ocb_url>External URL:</label> </td>
|
|
|
- <td> <input type="text" name="ocb_url" size="40" value="{{ settings_info[11] }}" required> </td>
|
|
|
+ <td> <input type="text" name="ocb_url" size="40" value="{{ settings_info[10] }}" required> </td>
|
|
|
<td>What is the external URL of your OwnchatBot?</td>
|
|
|
</tr>
|
|
|
|
|
|
@@ -360,12 +351,12 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td> <label for="access_token">Access Token:</label> </td>
|
|
|
- <td style="padding: 5px;"> <input type="password" name="access_token" value="{{ settings_info[5] }}" size="40"> </td>
|
|
|
+ <td style="padding: 5px;"> <input type="password" name="access_token" value="{{ settings_info[4] }}" size="40"> </td>
|
|
|
<td>The token you created above.</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td> <label for="owncast_url">Your Owncast URL:</label> </td>
|
|
|
- <td> <input type="text" name="owncast_url" value="{{ settings_info[6] }}" size="40"> </td>
|
|
|
+ <td> <input type="text" name="owncast_url" value="{{ settings_info[5] }}" size="40"> </td>
|
|
|
<td>The external URL of your Owncast instance, with "http://" or "https://".</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
@@ -381,17 +372,17 @@
|
|
|
</thead>
|
|
|
<tr>
|
|
|
<td> <label for="kofi_integration">Enable:</label> </td>
|
|
|
- {% if settings_info[8] %}
|
|
|
- <td> <input type="checkbox" name="kofi_integration" value="{{ settings_info[8] }}" checked> </td>
|
|
|
+ {% if settings_info[7] %}
|
|
|
+ <td> <input type="checkbox" name="kofi_integration" value="{{ settings_info[7] }}" checked> </td>
|
|
|
<td>Enable Ko-fi integration.</td>
|
|
|
{% else %}
|
|
|
- <td> <input type="checkbox" name="kofi_integration" value="{{ settings_info[8] }}"> </td>
|
|
|
+ <td> <input type="checkbox" name="kofi_integration" value="{{ settings_info[7] }}"> </td>
|
|
|
<td>Enable Ko-fi integration. ("Kofi Settings" button will appear in the navigation bar when enabled.)</td>
|
|
|
{% endif %}
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td> <label for="kofi_token">Verification Token:</label> </td>
|
|
|
- <td style="padding: 5px;"> <input type="password" name="kofi_token" value="{{ settings_info[7] }}" size="40"> </td>
|
|
|
+ <td style="padding: 5px;"> <input type="password" name="kofi_token" value="{{ settings_info[6] }}" size="40"> </td>
|
|
|
<td>Get from Kofi -> More -> API -> Webhooks -> Advanced -> Verification Token.</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
@@ -471,7 +462,6 @@
|
|
|
</script>
|
|
|
<body onload="focusInput()">
|
|
|
<h1>To-Do List</h1>
|
|
|
- To display your to-do list as an overlay, create a brower source in your streaming software, and point it at /todo.
|
|
|
<form id="todo-item-form" method="POST" onsubmit="focusInput()" action="/mgmt/addtodoitem">
|
|
|
<input type="text" id="itemInput" name="item" placeholder="Add a new item">
|
|
|
<button id="todo-item-form" class="button button2" type="submit">Add</button>
|