Not so wide login form (RFE #1445541).

This commit is contained in:
Michal Čihař
2006-05-15 13:38:11 +00:00
parent bd1c06cb4f
commit e7a09aad1a
5 changed files with 38 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ $Source$
2006-05-15 Michal Čihař <michal@cihar.com>
* scripts/setup.php: Compatibility with security tokens (bug #1488453).
* scripts/setup.php: Fix detection of writable config (bug #1488447).
* css/phpmyadmin.css.php, libraries/auth/cookie.auth.lib.php,
themes/darkblue_orange/css/theme_right.css.php,
themes/original/css/theme_right.css.php: Not so wide login form (RFE
#1445541).
2006-05-14 Michal Čihař <michal@cihar.com>
* libraries/common.lib.php: Fix reading database list with MySQL wildcards

View File

@@ -742,6 +742,16 @@ label.desc {
width: 30em;
float: <?php echo $left; ?>;
}
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}
<?php
} // end styles 2.9

View File

@@ -99,6 +99,7 @@ if (top != self) {
</head>
<body class="loginform">
<div class="container">
<?php require './libraries/header_custom.inc.php'; ?>
@@ -142,7 +143,8 @@ echo sprintf( $GLOBALS['strWelcome'],
</div>
<?php
require './libraries/footer_custom.inc.php';
echo ' </body>' . "\n"
echo '</div>' . "\n"
. ' </body>' . "\n"
. '</html>';
exit();
}
@@ -234,6 +236,7 @@ if (uname.value == '') {
<?php require './libraries/footer_custom.inc.php'; ?>
</div>
</body>
</html>

View File

@@ -1117,3 +1117,13 @@ label.desc {
width: 30em;
float: <?php echo $left; ?>;
}
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}

View File

@@ -1065,3 +1065,13 @@ label.desc {
width: 30em;
float: <?php echo $left; ?>;
}
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}