Skeleton: Make "Login" button the default on enter (instead of "Register")
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<!-- TODO: Make this stick to the topsomehow. -->
|
<!-- TODO: Make this stick to the top somehow. -->
|
||||||
<!-- Fixed breaks the flexbox and sticky doesn't work. -->
|
<!-- Fixed breaks the flexbox and sticky doesn't work. -->
|
||||||
<div class="navbar h-16 bg-primary shadow">
|
<div class="navbar h-16 bg-primary shadow">
|
||||||
<div class="navbar-start">
|
<div class="navbar-start">
|
||||||
@ -100,11 +100,15 @@
|
|||||||
<Username id="signin_username" name="username" />
|
<Username id="signin_username" name="username" />
|
||||||
<Password id="signin_password" name="password" />
|
<Password id="signin_password" name="password" />
|
||||||
<div class="card-actions mt-2 justify-end">
|
<div class="card-actions mt-2 justify-end">
|
||||||
<button formaction="/user?/create" class="btn btn-accent"
|
<button
|
||||||
>Register</button
|
formaction="/user?/create"
|
||||||
|
type="button"
|
||||||
|
class="btn btn-accent">Register</button
|
||||||
>
|
>
|
||||||
<button formaction="/user?/login" class="btn btn-accent"
|
<button
|
||||||
>Login</button
|
formaction="/user?/login"
|
||||||
|
type="submit"
|
||||||
|
class="btn btn-accent">Login</button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
Reference in New Issue
Block a user