=== 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 2012-06-01 17:36:38 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2012-06-01 19:40:49 +0000 @@ -1,76 +1,120 @@ - -* -{ - font-family: LiberationSansRegular, sans-serif; - line-height: 125%; -} - -html,body -{ - background-color: #1d5288; - color: white; - font-size: 15px; -} - -.loginField -{ - margin-top: 7%; -} - -.loginField td -{ - padding-right: 5px; -} - -.loginMessage -{ - background-color: #3b6da1; - border-style: solid; - border-width: 1px; - border-color: #D0D0D0; - padding: 11px; - display: block; - width: 400px; -} - -.button { - font-family: LiberationSansBold, arial; - background: -webkit-linear-gradient(top, #f1f1f1, #d1d1d1); - background: -moz-linear-gradient(top, #f1f1f1, #d1d1d1); - background: -ms-linear-gradient(top, #f1f1f1, #d1d1d1); - background: -o-linear-gradient(top, #f1f1f1, #d1d1d1); - height: 26px; - border: 1px solid #444; - border-radius: 3px; - color: #222; -} - -.button:hover { - background: -webkit-linear-gradient(top, #fafafa, #dadada); - background: -moz-linear-gradient(top, #fafafa, #dadada); - background: -ms-linear-gradient(top, #fafafa, #dadada); - background: -o-linear-gradient(top, #fafafa, #dadada); - border: 1px solid #333333; -} - -@font-face { - font-family: 'LiberationSansRegular'; - src: url('../fonts/LiberationSans-Regular-webfont.eot'); - src: url('../fonts/LiberationSans-Regular-webfont.eot?#iefix') format('eot'), - url('../fonts/LiberationSans-Regular-webfont.woff') format('woff'), - url('../fonts/LiberationSans-Regular-webfont.ttf') format('truetype'), - url('../fonts/LiberationSans-Regular-webfont.svg#webfontc8rbNdBe') format('svg'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'LiberationSansBold'; - src: url('../fonts/LiberationSans-Bold-webfont.eot'); - src: url('../fonts/LiberationSans-Bold-webfont.eot?#iefix') format('eot'), - url('../fonts/LiberationSans-Bold-webfont.woff') format('woff'), - url('../fonts/LiberationSans-Bold-webfont.ttf') format('truetype'), - url('../fonts/LiberationSans-Bold-webfont.svg#webfontHyWb8e07') format('svg'); - font-weight: normal; - font-style: normal; -} + +* +{ + font-family: LiberationSansRegular, sans-serif; + line-height: 125%; + overflow: hidden; +} + +html,body +{ + background-color: #1d5288; + color: white; + font-size: 15px; +} + +a, a:hover +{ + color: #fff; + text-decoration: none; +} + +#flagArea +{ + position: absolute; + top: 15px; + left: 15px; + border: 1px solid #ddd; + border-radius: 2px; + width: 135px; + margin-bottom: 5%; +} + +#titleArea +{ + position: absolute; + top: 15px; + left: 180px; + font-size: 20px; +} + +#loginField +{ + position: relative; + margin: 7% auto 0 auto; + width: 330px; + text-align: center; +} + +#bannerArea +{ + margin-bottom: 9%; +} + +#loginField td +{ + padding-right: 5px; +} + +#loginMessage +{ + background-color: #3b6da1; + border-style: solid; + border-width: 1px; + border-color: #D0D0D0; + padding: 11px; + display: block; + width: 400px; +} + +#footerArea +{ + position: absolute; + bottom: 20px; + width: 100%; + margin: 0; + padding: 0; + text-align: center; +} + +.button { + font-family: LiberationSansBold, arial; + background: -webkit-linear-gradient(top, #f1f1f1, #d1d1d1); + background: -moz-linear-gradient(top, #f1f1f1, #d1d1d1); + background: -ms-linear-gradient(top, #f1f1f1, #d1d1d1); + background: -o-linear-gradient(top, #f1f1f1, #d1d1d1); + height: 26px; + border: 1px solid #444; + border-radius: 3px; + color: #222; +} + +.button:hover { + background: -webkit-linear-gradient(top, #fafafa, #dadada); + background: -moz-linear-gradient(top, #fafafa, #dadada); + background: -ms-linear-gradient(top, #fafafa, #dadada); + background: -o-linear-gradient(top, #fafafa, #dadada); + border: 1px solid #333333; +} + +@font-face { + font-family: 'LiberationSansRegular'; + src: url('../fonts/LiberationSans-Regular-webfont.eot'); + src: url('../fonts/LiberationSans-Regular-webfont.eot?#iefix') format('eot'), + url('../fonts/LiberationSans-Regular-webfont.woff') format('woff'), + url('../fonts/LiberationSans-Regular-webfont.ttf') format('truetype'), + url('../fonts/LiberationSans-Regular-webfont.svg#webfontc8rbNdBe') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'LiberationSansBold'; + src: url('../fonts/LiberationSans-Bold-webfont.eot'); + src: url('../fonts/LiberationSans-Bold-webfont.eot?#iefix') format('eot'), + url('../fonts/LiberationSans-Bold-webfont.woff') format('woff'), + url('../fonts/LiberationSans-Bold-webfont.ttf') format('truetype'), + url('../fonts/LiberationSans-Bold-webfont.svg#webfontHyWb8e07') format('svg'); + font-weight: normal; + font-style: normal; +} === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2012-02-16 22:55:26 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2012-06-01 19:40:49 +0000 @@ -19,11 +19,19 @@ -
-
+
+ #if ( $keyFlag ) + + #end + #if ( $applicationTitle ) + $encoder.htmlEncode( $applicationTitle ) + #end +
+
+
-
-
+
+ @@ -44,8 +52,11 @@ #if( $failed == true ) - Wrong username or password. Please try again. + Wrong username or password. Please try again. #end + === modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm 2012-05-29 19:08:34 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm 2012-06-01 19:40:49 +0000 @@ -56,7 +56,7 @@ - #parse( "macros.vm" ) + #parse( "macros.vm" )