1
1
<% - include (' ../../components/template' ) %>
2
+
2
3
<main id =" content" >
3
4
<div class =" bg-transparent" >
4
5
<div class =" sm:flex sm:items-center px-8 pt-4" >
9
10
</div >
10
11
</div >
11
12
<% - include (' ../../components/settings' ) %>
12
- <!-- div class="grid grid-cols-1 md:lg:grid-cols-2 gap-2 md-lg"-->
13
13
<div class =" flex flex-col bg-white/5 m-8 pt-0 py-5 rounded-xl" >
14
- <h1 class =" text-white text-[18px] px-5 p-1 py-4 mb-1 w-full bg-white/5 rounded-t-xl font-medium" ><%= req .translations .general %> </h1 >
15
- <div class =" grid grid-cols-3 " >
16
- <div id =" changenameform" class =" mt-4 ml-5 " >
14
+ <h1 class =" text-white text-[18px] px-5 py-4 mb-1 w-full bg-white/5 rounded-t-xl font-medium" ><%= req .translations .general %> </h1 >
15
+ <div class =" grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 px-5 " >
16
+ <div id =" changenameform" class =" mt-4" >
17
17
<form action =" /admin/settings/change/name" method =" POST" >
18
18
<label for =" name" class =" text-neutral-400 text-sm tracking-tight mb-2" ><%= req .translations .panelName %> </label >
19
- <input id =" name" name =" name" type =" text" class =" rounded-xl focus:ring-transparent focus:border-transparent text-white text-sm mt-2 w-88 items-center transition justify-left gap-16 hover:bg-white/5 px-4 py-2 flex border-white/5 bg-white/5 placeholder:text-white/20 text-white border border-black/10" value =" <%= name %>" placeholder =" <%= name %>" required >
19
+ <input id =" name" name =" name" type =" text" class =" rounded-xl focus:ring-transparent focus:border-transparent text-white text-sm mt-2 w-fit items-center transition justify-left gap-16 hover:bg-white/5 px-4 py-2 flex border-white/5 bg-white/5 placeholder:text-white/20 text-white border border-black/10" value =" <%= name %>" placeholder =" <%= name %>" required >
20
20
<button id =" Save-Name" type =" submit" class =" mt-6 block rounded-xl bg-white px-3 py-2 text-center text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2" ><%= req .translations .save %> </button >
21
21
</form >
22
22
</div >
23
- <div id =" changelogoform" class =" mt-6 ml-5 " >
23
+ <div id =" changelogoform" class =" mt-6" >
24
24
<label for =" name" class =" text-neutral-400 text-sm tracking-tight mb-2" ><%= req .translations .panelLogo %> </label >
25
25
<form action =" /admin/settings/change/logo" class =" mt-4" method =" POST" enctype =" multipart/form-data" >
26
26
<div class =" flex items-center mb-4" >
44
44
< span class = " text-neutral-400 text-sm tracking-tight mb-2" >< %= req .translations .registerPage % > < span class = " font-medium text-red-500" >< %= req .translations .disabled % >< / span>< / span>
45
45
< % } %>
46
46
</div >
47
- <div class =" flex flex-row" >
47
+ <div class =" flex flex-col sm:flex- row" >
48
48
<% if (settings .register === true ) { % >
49
- < button id= " toggleregister" type= " submit" class = " block rounded-l- lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2" >< %= req .translations .disable % >< / button>
50
- < button id= " toggleregister" type= " submit" class = " block rounded-r- lg bg-green-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-green-500 transition focus:outline focus:outline-2 focus:outline-offset-2 opacity-[0.7]" disabled>< %= req .translations .enable % >< / button>
49
+ < button id= " toggleregister" type= " submit" class = " block rounded-lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-l-lg sm:rounded-r-none " >< %= req .translations .disable % >< / button>
50
+ < button id= " toggleregister" type= " submit" class = " block rounded-lg bg-green-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-green-500 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-none sm:rounded-r-lg opacity-[0.7]" disabled>< %= req .translations .enable % >< / button>
51
51
< % } else { % >
52
- < button id= " toggleregister" type= " submit" class = " block rounded-l- lg bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-red-500 transition focus:outline focus:outline-2 focus:outline-offset-2 opacity-[0.7]" disabled>< %= req .translations .disable % >< / button>
53
- < button id= " toggleregister" type= " submit" class = " block rounded-r- lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2" >< %= req .translations .enable % >< / button>
52
+ < button id= " toggleregister" type= " submit" class = " block rounded-lg bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-red-500 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-l-lg sm:rounded-r-none opacity-[0.7]" disabled>< %= req .translations .disable % >< / button>
53
+ < button id= " toggleregister" type= " submit" class = " block rounded-lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-none sm:rounded-r-lg " >< %= req .translations .enable % >< / button>
54
54
< % } %>
55
55
</div >
56
56
</form >
63
63
< span class = " text-neutral-400 text-sm tracking-tight mb-2" >< %= req .translations .forceVerifyEmail % > < span class = " font-medium text-red-500" >< %= req .translations .disabled % >< / span>< / span>
64
64
< % } %>
65
65
</div >
66
- <div class =" flex flex-row" >
66
+ <div class =" flex flex-col sm:flex- row" >
67
67
<% if (settings .forceVerify === true ) { % >
68
- < button id= " toggleforceverify" type= " submit" class = " block rounded-l- lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2" >< %= req .translations .disable % >< / button>
69
- < button id= " toggleforceverify" type= " submit" class = " block rounded-r- lg bg-green-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-green-500 transition focus:outline focus:outline-2 focus:outline-offset-2 opacity-[0.7]" disabled>< %= req .translations .enable % >< / button>
68
+ < button id= " toggleforceverify" type= " submit" class = " block rounded-lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-l-lg sm:rounded-r-none " >< %= req .translations .disable % >< / button>
69
+ < button id= " toggleforceverify" type= " submit" class = " block rounded-lg bg-green-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-green-500 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-none sm:rounded-r-lg opacity-[0.7]" disabled>< %= req .translations .enable % >< / button>
70
70
< % } else { % >
71
- < button id= " toggleforceverify" type= " submit" class = " block rounded-l- lg bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-red-500 transition focus:outline focus:outline-2 focus:outline-offset-2 opacity-[0.7]" disabled>< %= req .translations .disable % >< / button>
72
- < button id= " toggleforceverify" type= " submit" class = " block rounded-r- lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2" >< %= req .translations .enable % >< / button>
71
+ < button id= " toggleforceverify" type= " submit" class = " block rounded-lg bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-lg hover:bg-red-500 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-l-lg sm:rounded-r-none opacity-[0.7]" disabled>< %= req .translations .disable % >< / button>
72
+ < button id= " toggleforceverify" type= " submit" class = " block rounded-lg bg-white px-3 py-2 text-sm font-medium text-neutral-800 shadow-lg hover:bg-neutral-200 transition focus:outline focus:outline-2 focus:outline-offset-2 sm:rounded-none sm:rounded-r-lg " >< %= req .translations .enable % >< / button>
73
73
< % } %>
74
74
</div >
75
75
</form >
76
76
</div >
77
77
</div >
78
78
</div >
79
- <!-- /div-->
80
79
</div >
81
80
</main >
81
+
82
82
<% - include (' ../../components/footer' ) %>
83
+
83
84
<script >
84
85
document .getElementById (' useImage' ).addEventListener (' change' , function () {
85
86
const imageUploadBox = document .getElementById (' imageUploadBox' );
96
97
logoType .value = ' none' ;
97
98
}
98
99
});
99
- </script >
100
+ </script >
0 commit comments