Skip to content
Snippets Groups Projects
Commit cfd2298d authored by Alexander Jason's avatar Alexander Jason
Browse files

fix: styling login button

parent 462db5db
Branches
Tags
No related merge requests found
......@@ -39,9 +39,16 @@
<?php endif;?>
<?php endif;?>
</ul>
<form method="POST"
action="/../user/logout" >
<input class="section" type="submit" value="Log Out"> </input>
</form>
<?php if(isset($_SESSION['username'])):?>
<form method="POST"
action="/../user/logout" >
<input class="section" type="submit" value="Log Out"> </input>
</form>
<?php else : ?>
<form method="GET"
action="/../user/login" >
<input class="section login" type="submit" id ="login" value="Log In"> </input>
</form>
<?php endif;?>
</div>
</nav>
......@@ -139,7 +139,10 @@ label #btn {
align-items: center;
text-decoration: none;
}
.login{
background-color: white!important;
color:teal!important;
}
.section .title {
display: flex;
text-align: center;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment