Fix mssing style on login form and start page

This commit is contained in:
ohartl 2016-02-17 23:23:42 +01:00
parent a6191f0e6d
commit d44fb91efc
2 changed files with 23 additions and 13 deletions

View file

@ -21,17 +21,27 @@ if($user->isLoggedIn()){
?>
<h1>Login</h1>
<?php output_messages(); ?>
<form action="" method="post">
<input name="email" class="textinput" type="text" placeholder="E-Mail Address" autofocus/><br>
<input name="password" class="textinput" type="password" placeholder="Password"/>
<p>
<input type="submit" class="button button-small" value="Log in"/>
</p>
<form class="form" action="" method="post">
<div class="input-group">
<label>Email address</label>
<div class="input">
<input type="text" name="email" placeholder="Your email address" autofocus required/><br>
</div>
</div>
<div class="input-group">
<label>Password</label>
<div class="input">
<input type="password" name="password" placeholder="Your password" required/>
</div>
</div>
<div class="buttons">
<button type="submit" class="button button-primary">Log in</button>
</div>
</form>

View file

@ -7,11 +7,11 @@ if($user->isLoggedIn() === true){
<h1>WebMUM</h1>
<p>
WebMUM is an easy to use webinterface for managing user accounts on your mailserver's MySQL user backend.<br/>
Users of your server can log in here to change their passwords.
WebMUM is an easy to use webinterface for managing user accounts on your mailserver's MySQL user backend.<br/>
Users of your server can log in here to change their passwords.
</p>
<p style="margin-top:30px;">
<a class="button button-small" href="<?php echo url('login'); ?>">Log in</a>
</p>
<div class="buttons buttons-horizontal">
<a class="button" href="<?php echo url('login'); ?>">Log in</a>
</div>