Update install.php

This commit is contained in:
Phyks 2013-08-09 23:34:33 +02:00
parent d09760e3da
commit 33e43a6baf
2 changed files with 61 additions and 1 deletions

View File

@ -116,7 +116,7 @@
<p><label for="admin_login">Username of the admin : </label><input type="text" name="admin_login" id="admin_login" <?php echo (!empty($_POST['admin_login'])) ? 'value="'.htmlspecialchars($_POST['admin_login']).'"' : '';?>/></p>
<p><label for="admin_password">Password for the admin : </label><input type="password" name="admin_password" id="admin_password"/></p>
</fieldset>
<p class="center"><input <?php echo (!empty($block_form)) ? 'disabled ' : '';?>type="submit"></p>
<p class="center"><input <?php echo (!empty($block_form)) ? 'disabled ' : '';?>type="submit" value="Install"></p>
</form>
</body>
</html>

View File

@ -1,5 +1,6 @@
body {
font-family: sans-serif;
margin: 0;
}
fieldset {
@ -7,16 +8,75 @@ fieldset {
margin-bottom: 1em;
}
table {
margin: auto;
text-align: center;
}
table td, table th {
padding: 0.5em;
}
h2 {
background-color: #333;
padding: 0.5em;
text-align: right;
color: white;
border-top-right-radius: 1em;
border-bottom-right-radius: 1em;
display: inline-block;
padding-left: 3em;
border: 0.3em solid green;
border-left: none;
}
.center {
text-align: center;
}
.label-block {
display: inline-block;
text-align: right;
margin-right: 10px;
width: 200px;
}
input[type=submit] {
background-color: green;
color: white;
border-radius: 10px;
}
#title {
background-color: #333;
border-bottom: 0.3em solid green;
color: white;
padding: 0.5em;
margin: 0;
text-align: center;
}
#menu ul {
text-align: center;
}
#menu li {
display: inline-block;
margin-left: 1em;
margin-right: 1em;
}
#connexion_form {
margin: auto;
width: 67%;
text-align: center
}
#edit_password_form {
width: 50%;
margin-left: 15%;
}
#install {
margin: 0;
}