dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11154
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3141: Made login page scale better
------------------------------------------------------------
revno: 3141
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-03-23 19:29:28 +0100
message:
Made login page scale better
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2011-02-04 06:55:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2011-03-23 18:29:28 +0000
@@ -9,12 +9,12 @@
{
background-color: #1d5288;
color: white;
- font-size: 14px;
+ font-size: 16px;
}
.loginField
{
- margin-top: 90px;
+ margin-top: 6%;
}
.loginField td
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html 2011-02-04 06:55:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html 2011-03-23 18:29:28 +0000
@@ -13,28 +13,27 @@
</head>
<body>
<div class="loginField" align="center">
- <p><img alt="" src="logo_banner.png"></p>
-
+ <div><img alt="" src="logo_banner.png"></div>
+
+ <div style="margin-top:2%">
<form action="../../dhis-web-commons-security/login.action" method="post">
<table>
<tr>
- <td colspan="2" style="height:30px"></td>
- </tr>
- <tr>
<td><label for="j_username">Username</label></td>
- <td><input type="text" id="j_username" name="j_username" style="width:18em"></td>
+ <td><input type="text" id="j_username" name="j_username" style="width:240px;height:20px;"></td>
</tr>
<tr>
<td><label for="j_password">Password</label></td>
- <td><input type="password" id="j_password" name="j_password" style="width:18em"></td>
+ <td><input type="password" id="j_password" name="j_password" style="width:240px;height:20px;"></td>
</tr>
<tr>
<td></td>
- <td><input type="submit" value="Login" style="width:9em; padding:1px;">
- <input type="reset" value="Clear" style="width:9em; padding:1px;"></td>
+ <td><input type="submit" value="Login" style="width:120px; height:26px;">
+ <input type="reset" value="Clear" style="width:120px; height:26px;"></td>
</tr>
</table>
</form>
+ </div>
</div>
</body>
</html>
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html 2011-02-04 06:55:24 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html 2011-03-23 18:29:28 +0000
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
- <title>DHIS 2</title>
+ <title>DHIS 2</title>
<script type="text/javascript" src="../javascripts/jQuery/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
@@ -13,31 +13,27 @@
</head>
<body>
<div class="loginField" align="center">
- <p><img alt="" src="logo_banner.png"></p>
-
+ <div><img alt="" src="logo_banner.png"></div>
+
+ <div style="margin-top:2%">
<form action="../../dhis-web-commons-security/login.action" method="post">
<table>
<tr>
- <td colspan="2" style="height:30px"></td>
- </tr>
- <tr>
<td><label for="j_username">Username</label></td>
- <td><input type="text" id="j_username" name="j_username" style="width:18em"></td>
+ <td><input type="text" id="j_username" name="j_username" style="width:240px;height:20px;"></td>
</tr>
<tr>
<td><label for="j_password">Password</label></td>
- <td><input type="password" id="j_password" name="j_password" style="width:18em"></td>
+ <td><input type="password" id="j_password" name="j_password" style="width:240px;height:20px;"></td>
</tr>
<tr>
<td></td>
- <td><input type="submit" value="Login" style="width:9em; padding:1px;">
- <input type="reset" value="Clear" style="width:9em; padding:1px;"></td>
- </tr>
- <tr>
- <td colspan="2" style="height:40px">
+ <td><input type="submit" value="Login" style="width:120px; height:26px;">
+ <input type="reset" value="Clear" style="width:120px; height:26px;"></td>
</tr>
</table>
</form>
+ </div>
<span class="loginMessage">Wrong username or password. Please try again.</span>
</div>
</body>