فهرست منبع

Fix mssing style on login form and start page

ohartl 9 سال پیش
والد
کامیت
d44fb91efc
2فایلهای تغییر یافته به همراه23 افزوده شده و 13 حذف شده
  1. 18 8
      include/php/pages/login.php
  2. 5 5
      include/php/pages/start.php

+ 18 - 8
include/php/pages/login.php

@@ -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>
 

+ 5 - 5
include/php/pages/start.php

@@ -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>