[Rt-commit] rt branch, 4.2/help-info-in-login, created. rt-4.0.5-282-gd2012a3
? sunnavy
sunnavy at bestpractical.com
Tue Feb 28 11:31:37 EST 2012
The branch, 4.2/help-info-in-login has been created
at d2012a30b7fb4127274480bbd8300dc876661632 (commit)
- Log -----------------------------------------------------------------
commit d2012a30b7fb4127274480bbd8300dc876661632
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Feb 28 20:27:03 2012 +0800
help message in login page
diff --git a/share/html/Elements/Login b/share/html/Elements/Login
index b86bfef..b95f72e 100755
--- a/share/html/Elements/Login
+++ b/share/html/Elements/Login
@@ -95,6 +95,7 @@ jQuery(function(){
</form>
% }
</&>
+<& /Elements/LoginHelp &>
</div><!-- #login-box -->
% $m->callback( %ARGS, CallbackName => 'AfterForm' );
</div><!-- #login-body -->
diff --git a/share/html/NoAuth/css/base/login.css b/share/html/Elements/LoginHelp
similarity index 72%
copy from share/html/NoAuth/css/base/login.css
copy to share/html/Elements/LoginHelp
index bd05a28..cf18329 100644
--- a/share/html/NoAuth/css/base/login.css
+++ b/share/html/Elements/LoginHelp
@@ -45,58 +45,10 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-.login-body .action-results {
- list-style: none;
-}
-#login-box hr {
- display: none;
-}
-
-#login-box {
-
- width: 30em;
-
-margin-right:auto;margin-left:auto;
- padding-top: 2em;
- padding-bottom: 2em;
-
-
-}
-
-
-#login-box .input-row {
- position: relative;
- height: 1.5em;
- padding-top: 1em;
-}
-
-#login-box .input-row .label {
-
- float: left;
- width: 8em;
- text-align: right;
- font-weight: bold;
-
-
-}
-
-#login-box .button-row {
- margin-top: 0.5em;
-}
-
-#quick-personal {
- position: absolute;
- z-index: 9999;
- left: 0;
- /* This avoids a very weird bug in Chrome where opening a select causes a
- * hover event at (0,0), which will be over top of the menu sometimes */
- top: 1px;
-}
-
-#quick-personal #not-logged-in {
- display: block;
- padding-top: 0.5em;
- padding-left: 1em;
-}
+<div class="login-help">
+<&|/l, RT->Config->Get('OwnerEmail')&>
+For local help, please contact [_1]
+</&>
+</div>
diff --git a/share/html/NoAuth/css/base/login.css b/share/html/NoAuth/css/base/login.css
index bd05a28..d7a82ce 100644
--- a/share/html/NoAuth/css/base/login.css
+++ b/share/html/NoAuth/css/base/login.css
@@ -100,3 +100,6 @@ margin-right:auto;margin-left:auto;
padding-left: 1em;
}
+#login-box div.login-help {
+ text-align: center;
+}
diff --git a/share/html/m/_elements/raw_style b/share/html/m/_elements/raw_style
index a557ab6..71f6c21 100644
--- a/share/html/m/_elements/raw_style
+++ b/share/html/m/_elements/raw_style
@@ -356,6 +356,12 @@ div#login-box input[type=text], div#login-box input[type=password] {
width: 100%;
}
+div#login-box div.login-help {
+ text-align: center;
+ /* don't be too close to the following "Not using a mobile ..." link */
+ margin-bottom: 1em;
+}
+
#bpscredits {
float: right;
clear: right;
diff --git a/share/html/m/login b/share/html/m/login
index 99585e2..2e389dc 100644
--- a/share/html/m/login
+++ b/share/html/m/login
@@ -119,6 +119,7 @@ unless (!defined($uri->authority) || $uri->authority eq $uri_base_url->authority
</form>
% }
</&>
+<& /Elements/LoginHelp &>
</div><!-- #login-box -->
</div><!-- #login-body -->
<& _elements/full_site_link &>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list