forked from rDrama/rDrama
fix
parent
30d0ee8e98
commit
d0bb294667
|
@ -8,13 +8,11 @@
|
|||
</button>
|
||||
</div>
|
||||
<div id="themePickerModalBody" class="overflow-y-auto px-4 py-2">
|
||||
<form id="themeTarget" action="" method="post">
|
||||
<input type="hidden" name="formkey", value="{{v.formkey}}">
|
||||
<!-- List of themes -->
|
||||
<div class="flex flex-wrap -mx-2 overflow-hidden">
|
||||
<!-- Evergreen -->
|
||||
<div class="my-2 px-2 w-1/2 overflow-hidden lg:w-1/4 flex items-center justify-center">
|
||||
<input hidden name="kind" value="theme-evergreen" type="radio" id="evergreen-theme" class="peer" onchange="changeTheme(['theme-evergreen']); post_toast('/settings/profile?theme='+value, '1')">
|
||||
<input hidden name="kind" value="theme-evergreen" type="radio" id="evergreen-theme" class="peer" onchange="changeTheme(['theme-evergreen']); post_toast2('/settings/profile?theme='+value, '1')">
|
||||
<label for="evergreen-theme" class="flex flex-col items-center justify-center w-full h-full text-center border border-gray-200 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 peer-checked:border-primary rounded-lg overflow-hidden">
|
||||
<div class="flex flex-col w-full h-full bg-[#37523e]">
|
||||
<div class="h-3 w-full bg-[#37523e]"></div>
|
||||
|
@ -44,7 +42,7 @@
|
|||
</div>
|
||||
<!-- Iron -->
|
||||
<div class="my-2 px-2 w-1/2 overflow-hidden lg:w-1/4 flex items-center justify-center">
|
||||
<input hidden name="kind" value="iron" type="radio" id="iron-theme" class="peer" onchange="changeTheme(['theme-iron','dark']);">
|
||||
<input hidden name="kind" value="iron" type="radio" id="iron-theme" class="peer" onchange="changeTheme(['theme-iron','dark']); post_toast2('/settings/profile?theme='+value, '1')">
|
||||
<label for="iron-theme" class="flex flex-col items-center justify-center w-full h-full text-center border border-gray-200 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 peer-checked:border-primary rounded-lg overflow-hidden">
|
||||
<div class="flex flex-col w-full h-full bg-[#3f3f46]">
|
||||
<div class="h-3 w-full bg-[#3f3f46]"></div>
|
||||
|
@ -73,7 +71,6 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue