Permalink
Browse files

style enhanced for auth views

  • Loading branch information...
1 parent 23e1d6c commit c1fa9928d5a0d88fc7f9abfd3bc7423218cdd15e @emad-elsaid committed Apr 16, 2011
@@ -5,42 +5,13 @@
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
+theme_add('assets/style/auth_style.css');
+theme_add('assets/style/style.css');
?>
<html>
<head>
<?=theme_head()?>
-<style>
-body{
- font-size: 12px;
-}
-
-label{
- text-align: left;
- display: block;
- vertical-align: text-top;
-}
-input[type="text"],input[type="password"]
-{
- color: #555555;
- background:#FBFBFB none repeat scroll 0% 0%;
- border:1px solid #E5E5E5;
- font-size:24px;
- margin-bottom: 9px;
- margin-right:6px;
- margin-top:2px;
- padding:3px;
- width:97%;
- border-color:#DFDFDF;
- font-family: \"Lucida Grande\",Verdana,Arial,\"Bitstream Vera Sans\",sans-serif;
-
- font-size-adjust:none;
- font-style:normal;
- font-variant:normal;
- font-weight:normal;
- line-height:normal
-}
-</style>
-<script language="javascript" >
+<script type="text/javascript" >
dojo.addOnLoad( null, function(){
dijit.byId( 'loginD' ).show();
});
@@ -50,8 +21,9 @@
<div id="loginD" dojoType="dijit.Dialog" title="<?=lang('system_change_password')?>" >
-
-<div id="infoMessage"><?php echo $message;?></div>
+<?php if(strlen($message)>0 ): ?>
+<div class="info"><?php echo $message;?></div>
+<?php endif; ?>
<?php echo form_open("auth/change_password");?>
@@ -5,42 +5,13 @@
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
+theme_add('assets/style/auth_style.css');
+theme_add('assets/style/style.css');
?>
<html>
<head>
<?=theme_head()?>
-<style>
-body{
- font-size: 12px;
-}
-
-label{
- text-align: left;
- display: block;
- vertical-align: text-top;
-}
-input[type="text"],input[type="password"]
-{
- color: #555555;
- background:#FBFBFB none repeat scroll 0% 0%;
- border:1px solid #E5E5E5;
- font-size:24px;
- margin-bottom: 9px;
- margin-right:6px;
- margin-top:2px;
- padding:3px;
- width:97%;
- border-color:#DFDFDF;
- font-family: \"Lucida Grande\",Verdana,Arial,\"Bitstream Vera Sans\",sans-serif;
-
- font-size-adjust:none;
- font-style:normal;
- font-variant:normal;
- font-weight:normal;
- line-height:normal
-}
-</style>
-<script language="javascript" >
+<script type="text/javascript" >
dojo.addOnLoad( null, function(){
dijit.byId( 'loginD' ).show();
});
@@ -53,8 +24,9 @@
<div class='mainInfo'>
<p><?=lang('system_please_enter_info')?></p>
-
- <div id="infoMessage"><?php echo $message;?></div>
+ <?php if(strlen($message)>0 ): ?>
+ <div class="info"><?php echo $message;?></div>
+ <?php endif; ?>
<?php echo form_open("auth/create_user");?>
<p><?=lang('system_first_name')?><br />
@@ -5,42 +5,13 @@
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
+theme_add('assets/style/auth_style.css');
+theme_add('assets/style/style.css');
?>
<html>
<head>
<?=theme_head()?>
-<style>
-body{
- font-size: 12px;
-}
-
-label{
- text-align: left;
- display: block;
- vertical-align: text-top;
-}
-input[type="text"],input[type="password"]
-{
- color: #555555;
- background:#FBFBFB none repeat scroll 0% 0%;
- border:1px solid #E5E5E5;
- font-size:24px;
- margin-bottom: 9px;
- margin-right:6px;
- margin-top:2px;
- padding:3px;
- width:97%;
- border-color:#DFDFDF;
- font-family: \"Lucida Grande\",Verdana,Arial,\"Bitstream Vera Sans\",sans-serif;
-
- font-size-adjust:none;
- font-style:normal;
- font-variant:normal;
- font-weight:normal;
- line-height:normal
-}
-</style>
-<script language="javascript" >
+<script type="text/javascript" >
dojo.addOnLoad( null, function(){
dijit.byId( 'loginD' ).show();
});
@@ -52,7 +23,8 @@
<p><?=lang('system_please_enter_email')?></p>
-<div id="infoMessage"><?php echo $message;?></div>
+
+<?php echo $message;?>
<?php echo form_open("auth/forgot_password");?>
@@ -5,42 +5,13 @@
theme_add('dijit.Dialog');
theme_add('dijit.form.TextBox');
theme_add('dijit.form.Button');
+theme_add('assets/style/auth_style.css');
+theme_add('assets/style/style.css');
?>
<html>
<head>
<?=theme_head()?>
-<style type="text/css" >
-body{
- font-size: 12px;
-}
-
-label{
- text-align: left;
- display: block;
- vertical-align: text-top;
-}
-
-input[type="text"],input[type="password"]
-{
- color: #555555;
- background:#FBFBFB none repeat scroll 0% 0%;
- border:1px solid #E5E5E5;
- font-size:24px;
- margin-bottom: 9px;
- margin-right:6px;
- margin-top:2px;
- padding:3px;
- width:97%;
- border-color:#DFDFDF;
- font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
-
- font-style:normal;
- font-variant:normal;
- font-weight:normal;
- line-height:normal
-}
-</style>
- <script type="text/javascript">
+<script type="text/javascript">
dojo.addOnLoad( null, function(){
dijit.byId( 'loginD' ).show();
});
@@ -56,7 +27,7 @@
<center><img alt="" src="<?= base_url() ?>assets/admin/logo.png" align="center" ></center>
<p><?=lang('system_please_login')?></p>
- <div id="infoMessage"><?php echo $message;?></div>
+ <?php echo $message;?>
<?php echo form_open("auth/login");?>
<p>
@@ -0,0 +1,29 @@
+body{
+ font-size: 12px;
+}
+
+label{
+ text-align: left;
+ display: block;
+ vertical-align: text-top;
+}
+
+input[type="text"],input[type="password"]
+{
+ color: #555555;
+ background:#FBFBFB none repeat scroll 0% 0%;
+ border:1px solid #E5E5E5;
+ font-size:24px;
+ margin-bottom: 9px;
+ margin-right:6px;
+ margin-top:2px;
+ padding:3px;
+ width:97%;
+ border-color:#DFDFDF;
+ font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
+
+ font-style:normal;
+ font-variant:normal;
+ font-weight:normal;
+ line-height:normal
+}

0 comments on commit c1fa992

Please sign in to comment.