Sfoglia il codice sorgente

Removed upload font section

allens 1 settimana fa
parent
commit
c0f236a989
1 ha cambiato i file con 0 aggiunte e 40 eliminazioni
  1. 0 40
      ownchatbot/templates/mgmt.html

+ 0 - 40
ownchatbot/templates/mgmt.html

@@ -567,47 +567,7 @@
                     <td>/ocbalert/subscriber_alert</td>
                 </tr>
         </table>
-        <h2>Alert Message Font</h2>
-        <table>
-            <thead>
-                <tr style="border-bottom: none;">
-                    <th style="width: 40%;"></th>
-                    <th style="width: 20%;"></th>
-                    <th></th>
-                </tr>
-            </thead>
-                {% if alert_font %}
-                <tr>
-                    <td>Current font:  </td>
-                    <td>{{ alert_font }}</td>
-                </tr>
-                {% endif %}
-                <tr>
-                    <form id="font" action="/mgmt/fontupload" method="post" enctype="multipart/form-data">
-                    <td><label for="font">Choose a font:</label></td>
-                    <td>
-                    <select name="font" id="font" onchange="updateFont()">
-                        <option value="Arial">Arial</option>
-                        <option value="Georgia">Georgia</option>
-                        <option value="Times New Roman">Times New Roman</option>
-                        <option value="Courier New">Courier New</option>
-                    </select>
-                    </td>
-                </tr>
-                <tr>
-                    <td>Or upload a custom font file (TTF/OTF):</td>
-                    <td><input type="file" id="font" name="custom_font" accept=".ttf,.otf"></td>
-                </tr>
-                <tr>
-                    <td></td>
-                    <td></td>
-                    <td><button id="font" class="button button2" type="submit">Submit</button></form></td>
-                </tr>
-        </table>
         </body>
     </div>
-    <script>
-        document.getElementById('custom_font').value = ''; // Clear file input
-    </script>
     <br><br>
 </html>