This commit is contained in:
muhammadeko 2022-05-06 16:40:07 +07:00
parent a25c9f9846
commit fc3d38d028
No known key found for this signature in database
GPG Key ID: 51366716C10E98B1

View File

@ -60,13 +60,26 @@ export default function GCAuth() {
<div className="space-y-8 divide-y divide-gray-200 bg-white p-10"> <div className="space-y-8 divide-y divide-gray-200 bg-white p-10">
<div className="space-y-8 divide-y divide-gray-200 sm:space-y-5"> <div className="space-y-8 divide-y divide-gray-200 sm:space-y-5">
<div className="flex" id="dispatch-server"> <div className="flex" id="dispatch-server">
<input type="text" onChange={(e)=>setDispatchServer(e.currentTarget.value)} placeholder="Input server ip/domain with port, ex : genshin.exzork.me:443" className="block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md"/> <input type="text" onChange={(e)=>setDispatchServer(e.currentTarget.value)} placeholder="Input server ip/domain with port if needed" className="block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md"/>
<div className="flex mx-2"> <div className="flex mx-2">
<input type="checkbox" onChange={(e)=>setUseSSl(e.currentTarget.checked)} id="with-ssl" className="form-checkbox m-auto text-indigo-600 transition duration-150 ease-in-out"/> <input type="checkbox" onChange={(e)=>setUseSSl(e.currentTarget.checked)} id="with-ssl" className="form-checkbox m-auto text-indigo-600 transition duration-150 ease-in-out"/>
<label htmlFor="with-ssl" className="ml-2 my-auto block text-sm leading-5 text-gray-700">SSL</label> <label htmlFor="with-ssl" className="ml-2 my-auto block text-sm leading-5 text-gray-700">SSL</label>
</div> </div>
<button onClick={checkGCAuth} className="bg-indigo-600 hover:bg-indigo-500 text-white font-bold py-2 px-4 rounded-md">Check</button> <button onClick={checkGCAuth} className="bg-indigo-600 hover:bg-indigo-500 text-white font-bold py-2 px-4 rounded-md">Check</button>
</div> </div>
<div className="grid grid-cols-3 gap-4">
<div className="col-span-1">
<form className="mt-3 space-y-2">
<h3 className="text-lg font-medium text-gray-900 text-center">Login</h3>
<input type="text" placeholder="Username" className="block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md"/>
<input type="password" placeholder="Password" className="block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md"/>
<button className="bg-indigo-600 hover:bg-indigo-500 text-white font-bold py-2 px-4 rounded-md w-full">Login</button>
</form>
</div>
<div className="col-span-1">
<TextField id="password" label="Password" variant="outlined" className="w-full"/>
</div>
</div>
</div> </div>
</div> </div>
</> </>