[Rt-commit] r3432 - in rt/branches/3.5-TESTING: . html/Elements
html/NoAuth/css
trs at bestpractical.com
trs at bestpractical.com
Fri Jul 8 11:46:45 EDT 2005
Author: trs
Date: Fri Jul 8 11:46:45 2005
New Revision: 3432
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/Login
rt/branches/3.5-TESTING/html/NoAuth/css/body.css
rt/branches/3.5-TESTING/html/NoAuth/css/misc.css
Log:
r4929 at wintermute: tom | 2005-07-08 10:31:26 -0400
/Elements/Login styles fixed (haven't checked it out in IE yet, though)
Modified: rt/branches/3.5-TESTING/html/Elements/Login
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Login (original)
+++ rt/branches/3.5-TESTING/html/Elements/Login Fri Jul 8 11:46:45 2005
@@ -56,15 +56,24 @@
<& /Elements/Callback, %ARGS, _CallbackName => 'Header' &>
<& /Elements/Header, Title => loc('Login'), Focus => 'user' &>
-<div class="dialog">
+ <div id="logo">
+ <a href="http://bestpractical.com"><img src="<%$RT::WebImagesURL%>/bplogo.gif" alt="<%loc("Best Practical Solutions, LLC corporate logo")%>" width="230" height="50"></a>
+ <div class="rtname"><%$RT::AppName%></div>
+ </div>
+
+%# End of div#quickbar from /Elements/Header
+</div>
+
+<div id="body">
+
% if ($Error) {
<&| "/Widgets/TitleBox" , title => loc('Error') &>
<% $Error %>
</&>
% }
-<div id="loginform">
-<&| /Widgets/TitleBox ,title => loc('Login') &>
+<div id="login-box">
+<&| /Widgets/TitleBox, title => loc('Login') &>
% unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
<form id="login" name="login" method="post" action="<% (UNIVERSAL::can($r, 'uri') && ($r->uri) =~ m!.*/(.*)!) %>">
@@ -97,19 +106,18 @@
% if (($key ne 'user') and ($key ne 'pass')) {
% if (ref($ARGS{$key}) =~ /ARRAY/) {
% foreach $val (@{$ARGS{$key}}) {
-<input type="hidden" class="hidden" name="<%$key %>" value="<% $val %>">
+<input type="hidden" class="hidden" name="<%$key %>" value="<% $val %>" />
% }
% }
% else {
-<input type="hidden" class="hidden" name="<% $key %>" value="<% $ARGS{$key} %>">
+<input type="hidden" class="hidden" name="<% $key %>" value="<% $ARGS{$key} %>" />
% }
% }
% }
</form>
% }
</&>
-</div><!-- #loginform -->
-</div><!-- .dialog -->
+</div><!-- #login-box -->
<& /Elements/Footer, Menu => 0 &>
<%ARGS>
$user => ""
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/body.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/body.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/body.css Fri Jul 8 11:46:45 2005
@@ -50,6 +50,8 @@
padding-top: 0.5em;
}
+.titlebox { position: relative; }
+
.titlebox .content {
margin: 1em 2em 0 2em;
}
@@ -58,7 +60,7 @@
font-weight: bold;
color: #930;
font-size: 1.2em;
- padding: 0.2em 0 0.2em 2em;
+ padding: 0.2em 0 0.2em 4em;
border-bottom: 1px solid #069;
}
@@ -72,8 +74,9 @@
margin: 0;
text-indent: -9999px;
- position: relative;
- left: -5em;
+ position: absolute;
+ top: 0.5em;
+ left: 0.75em;
float: left;
/* WIN IE5 hack */
@@ -91,7 +94,6 @@
* html .titlebox .title span a {
background-position: center 0.4em;
- left: -1.5em;
}
.titlebox .title span a.rolled-up {
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/misc.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/misc.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/misc.css Fri Jul 8 11:46:45 2005
@@ -104,11 +104,46 @@
#quickbar #topactions form .field {
border: 1px solid #069;
padding: 1px;
+ font-size: 0.9em;
}
#quickbar #topactions form input.field {
padding: 3px;
- font-size: 1em;
+}
+
+#login-box {
+ width: 50%;
+ margin: 0 auto 4em auto;
+}
+
+* html #login-box {
+ text-align: center;
+}
+
+* html #login-box .titlebox {
+ text-align: left;
+}
+
+#login-box .input-row {
+ clear: both;
+ padding: 0.5em;
+}
+
+#login-box .input-row .label {
+ width: 8em;
+ float: left;
+ text-align: right;
+ padding: 0.2em 1em 0 0;
+}
+
+#login-box .input-row .input {
+ float: left;
+}
+
+#login-box .button-row {
+ clear: both;
+ padding: 0.5em;
+ float: right;
}
.hide, .hidden { display: none !important; }
More information about the Rt-commit
mailing list