Remove DB records for expired offers option.

This commit is contained in:
tecnovert committed 2023-07-24 21:55:48 +02:00
1 parent d4f6286980
commit 67624a252b
8 files changed
+61 -19

No files matched your search

+17 -3
View File
@@ -308,7 +308,7 @@
</div>
</td>
</tr>
<tr class="opacity-100 text-gray-500 dark:text-gray-100">
<tr class="opacity-100 text-gray-500 dark:text-gray-100">
<td class="py-3 px-6 bold">Debug Mode UI</td>
<td class="py-3 px-6">
<div class="relative">
@@ -322,6 +322,20 @@
</div>
</td>
</tr>
<tr class="opacity-100 text-gray-500 dark:text-gray-100">
<td class="py-3 px-6 bold">Remove DB records for expired offers</td>
<td class="py-3 px-6">
<div class="relative">
<svg class="absolute right-4 top-1/2 transform -translate-y-1/2" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.3333 6.1133C11.2084 5.98913 11.0395 5.91943 10.8633 5.91943C10.6872 5.91943 10.5182 5.98913 10.3933 6.1133L8.00001 8.47329L5.64001 6.1133C5.5151 5.98913 5.34613 5.91943 5.17001 5.91943C4.99388 5.91943 4.82491 5.98913 4.70001 6.1133C4.63752 6.17527 4.58792 6.249 4.55408 6.33024C4.52023 6.41148 4.50281 6.49862 4.50281 6.58663C4.50281 6.67464 4.52023 6.76177 4.55408 6.84301C4.58792 6.92425 4.63752 6.99799 4.70001 7.05996L7.52667 9.88663C7.58865 9.94911 7.66238 9.99871 7.74362 10.0326C7.82486 10.0664 7.912 10.0838 8.00001 10.0838C8.08801 10.0838 8.17515 10.0664 8.25639 10.0326C8.33763 9.99871 8.41136 9.94911 8.47334 9.88663L11.3333 7.05996C11.3958 6.99799 11.4454 6.92425 11.4793 6.84301C11.5131 6.76177 11.5305 6.67464 11.5305 6.58663C11.5305 6.49862 11.5131 6.41148 11.4793 6.33024C11.4454 6.249 11.3958 6.17527 11.3333 6.1133Z" fill="#8896AB"></path>
</svg>
<select name="expire_db_records" class="hover:border-blue-500 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-gray-400 text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 focus:ring-0">
<option {% if general_settings.expire_db_records %}selected{% endif %} value="true">True</option>
<option {% if not general_settings.expire_db_records %}selected{% endif %} value="false">False</option>
</select>
</div>
</td>
</tr>
</table>
</div>
</div>
@@ -445,7 +459,7 @@
<div class="hidden rounded-lg" id="tor" role="tabpanel" aria-labelledby="tor-tab">
<section class="pl-6">
<div class="flex flex-wrap items-center">
<div class="w-full">
<div class="w-full">
<h4 class="font-semibold text-black dark:text-white text-2xl align-middle">
<span class="mr-2 inline-block align-middle items-center justify-center w-0 h-10 bg-white-50 rounded">
</span>Tor
@@ -557,4 +571,4 @@
</script>
{% include 'footer.html' %}
</body>
</html>
</html>