[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/views/login.vm idp-war/src/main/webapp/css/mai...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Dec 16 16:24:12 EST 2014
Author: serac
Date: Tue Dec 16 16:24:11 2014
New Revision: 7123
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7123&view=rev
Log:
HTML5 conformance - avoid section for styling.
Modified:
trunk/idp-conf/src/main/resources/views/login.vm
trunk/idp-war/src/main/webapp/css/main.css
Modified: trunk/idp-conf/src/main/resources/views/login.vm
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/views/login.vm?rev=7123&r1=7122&r2=7123&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/views/login.vm (original)
+++ trunk/idp-conf/src/main/resources/views/login.vm Tue Dec 16 16:24:11 2014
@@ -40,38 +40,36 @@
#set ($serviceName = $rpUIContext.serviceName)
#if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName))
- <section>
- <legend>
- #springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName)
- </legend>
- </section>
+ <legend>
+ #springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName)
+ </legend>
#end
- <section>
+ <div class="form-element-wrapper">
<label for="username">#springMessageText("idp.login.username", "Username")</label>
<input class="form-element form-field" id="username" name="j_username" type="text"
value="#if($username)$encoder.encodeForHTML($username)#end">
- </section>
+ </div>
- <section>
+ <div class="form-element-wrapper">
<label for="password">#springMessageText("idp.login.password", "Password")</label>
<input class="form-element form-field" id="password" name="j_password" type="password" value="">
- </section>
+ </div>
- <section>
+ <div class="form-element-wrapper">
<input type="checkbox" name="donotcache" value="1"> #springMessageText("idp.login.donotcache", "Don't Remember Login")
- </section>
+ </div>
<!--
- <section>
+ <div class="form-element-wrapper">
<input id="_shib_idp_revokeConsent" type="checkbox" name="_shib_idp_revokeConsent" value="true">
#springMessageText("idp.attribute-release.revoke", "Clear prior granting of permission for release of your information to this service.")
- </section>
+ </div>
-->
-
- <section>
+
+ <div class="form-element-wrapper">
<button class="form-element form-button" type="submit" name="_eventId_proceed">#springMessageText("idp.login.login", "Login")</button>
- </section>
+ </div>
</form>
#*
Modified: trunk/idp-war/src/main/webapp/css/main.css
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-war/src/main/webapp/css/main.css?rev=7123&r1=7122&r2=7123&view=diff
==============================================================================
--- trunk/idp-war/src/main/webapp/css/main.css (original)
+++ trunk/idp-war/src/main/webapp/css/main.css Tue Dec 16 16:24:11 2014
@@ -1,162 +1,163 @@
* {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
header, footer, section, nav {
- display: block;
+ display: block;
}
html, body {
- height: 100%;
+ height: 100%;
}
body {
- font-family:Verdana, Geneva, sans-serif;
- font-size: 12px;
- line-height: 1.5;
- color: #717171;
- background: #717171;
+ font-family:Verdana, Geneva, sans-serif;
+ font-size: 12px;
+ line-height: 1.5;
+ color: #717171;
+ background: #717171;
}
a:link,
a:visited {
- text-decoration: none;
- color: #717171;
+ text-decoration: none;
+ color: #717171;
}
img {
- max-width: 100%;
- margin-bottom: 12px;
+ max-width: 100%;
+ margin-bottom: 12px;
}
.wrapper {
- background: #ffffff;
+ background: #ffffff;
}
.container {
- position: relative;
- left: 34%;
- width: 540px;
- margin-left: -270px;
+ position: relative;
+ left: 34%;
+ width: 540px;
+ margin-left: -270px;
}
.container-footer {
- padding-top: 12px;
+ padding-top: 12px;
}
@media only screen and (max-width: 1020px) {
- .container {
- left: 45%;
- }
+ .container {
+ left: 45%;
+ }
}
@media only screen and (max-width: 650px) {
- .container {
- position: static;
- margin: 0 auto;
- width: 280px;
- }
+ .container {
+ position: static;
+ margin: 0 auto;
+ width: 280px;
+ }
}
header {
- padding: 20px 0;
+ padding: 20px 0;
}
.logo img {
- border: none;
+ border: none;
}
@media only screen and (max-width: 650px) {
[... 156 lines stripped ...]
More information about the commits
mailing list