Skip to content
Snippets Groups Projects
Commit 9e281a54 authored by Gabriel Copat's avatar Gabriel Copat
Browse files

Fixed logout button functionality

parent fc110e81
No related branches found
No related tags found
1 merge request!36Resolve "As a user I want to be able to use the application on any device e.g. iPhone, iPad, Laptop"
......@@ -288,20 +288,23 @@ and (max-device-width: 640px) {
.container .toggle-left {
transform: translateY(-100%);
opacity: 0;
z-index: 1;
}
.container.active .toggle-right{
transform: translateY(50%);
opacity: 0;
z-index: 1;
}
.container.active .toggle-left{
transform: translateY(-25%);
opacity: 1;
z-index: 5;
}
.container .sign-up {
opacity: 0;
z-index: -1;
transform: translateY(0%);
transform: translateY(150%);
}
.container .sign-in {
transform: translateY(-100%);
......@@ -310,13 +313,13 @@ and (max-device-width: 640px) {
}
.container.active .sign-in{
transform: translateY(-100%);
transform: translateY(-150%);
opacity: 0;
z-index: -1;
}
.container.active .sign-up{
opacity: 1;
z-index: 10;
z-index: 5;
transform: translateY(100%);
}
......
......@@ -20,7 +20,6 @@
<div class="form-container sign-up">
<h1 class="form-title">Create Account</h1>
<form th:object="${user}" action="#" th:action="@{/login/register}" th:method="POST" onsubmit="return registerFormValidation()">
<h1>Create Account</h1>
<div th:if="${error.equals('User exists')}" class="alert alert-error">User already exist</div>
<label>
<input class="input" th:field="*{name}" id="register-username" type="text" placeholder="Name">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment