Compare commits
2 Commits
3dfa497689
...
657cf4e225
Author | SHA1 | Date | |
---|---|---|---|
|
657cf4e225 | ||
|
054781264e |
|
@ -1,3 +1,12 @@
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
@layer base {
|
||||||
|
button {
|
||||||
|
@apply w-full bg-gradient-to-t from-green-800 to-green-700 text-slate-100 rounded py-2 shadow-sm shadow-green-800 hover:opacity-95 font-bold;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
@apply border-slate-300 border-2 rounded bg-slate-100 w-full my-1 p-1 px-2;
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,13 +6,27 @@
|
||||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||||
<title>{{.Server.Name}} Admin Panel</title>
|
<title>{{.Server.Name}} Admin Panel</title>
|
||||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||||
<link rel='stylesheet' type='text/css' media='screen' href='/resources/main.css'>
|
<link rel='stylesheet' type='text/css' media='screen' href='/resources/build/main.css'>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body class="bg-slate-200 flex min-h-screen">
|
||||||
<h1 class="text-3xl font-bold underline">
|
<div
|
||||||
Hello world!
|
class="flex flex-row justify-center items-center m-auto shadow-md bg-slate-50 p-6 rounded px-10 border-t-4 border-t-green-700">
|
||||||
</h1>
|
<form>
|
||||||
|
<h3 class="font-bold">Log in to {{.Server.Name}}</h3>
|
||||||
|
<div class="w-full my-2">
|
||||||
|
<label for="username">Username</label>
|
||||||
|
<input name="username" type="text">
|
||||||
|
</div>
|
||||||
|
<div class="w-full my-2">
|
||||||
|
<label for="password">Password</label>
|
||||||
|
<input name="password" type="password">
|
||||||
|
</div>
|
||||||
|
<button class="my-2">
|
||||||
|
Log In
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Reference in New Issue
Block a user