Polish the looks of createAccount form
This commit is contained in:
parent
db7a287564
commit
ceb1da06d4
|
|
@ -1,3 +1,18 @@
|
|||
#hello {
|
||||
color: red;
|
||||
}
|
||||
#email, #username {
|
||||
width: 223px !important;
|
||||
padding-left: 36px !important;
|
||||
}
|
||||
#email-icon, #username-icon {
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 22px;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
|
||||
filter: alpha(opacity=30);
|
||||
opacity: .3;
|
||||
}
|
||||
#body-login input[type="email"] {
|
||||
width: 249px;
|
||||
}
|
||||
#username-icon {
|
||||
top: 17px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
<form action="<?php print_unescaped(OC_Helper::linkToRoute('registration.register.createAccount', array('token'=>$_['token']))) ?>" method="post">
|
||||
<?php
|
||||
\OCP\Util::addStyle('registration', 'style');
|
||||
?><form action="<?php print_unescaped(OC_Helper::linkToRoute('registration.register.createAccount', array('token'=>$_['token']))) ?>" method="post">
|
||||
<fieldset>
|
||||
<?php if ( $_['errormsgs'] ) {?>
|
||||
<ul class="error">
|
||||
|
|
@ -6,21 +8,25 @@
|
|||
echo "<li>$errormsg</li>";
|
||||
} ?>
|
||||
</ul>
|
||||
<?php } else { ?>
|
||||
<ul class="success"><!-- TODO: add success style -->
|
||||
<li><?php print_unescaped($l->t('Welcome, you can create your account below.')); ?></li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
<p class="infield grouptop">
|
||||
<input type="email" name="email" id="email" value="<?php echo $_['email']; ?>" disabled />
|
||||
<label for="email" class="infield"><?php echo $_['email']; ?></label>
|
||||
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/mail.svg')); ?>" alt=""/>
|
||||
<img id="email-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/mail.svg')); ?>" alt=""/>
|
||||
</p>
|
||||
|
||||
<p class="infield groupmiddle">
|
||||
<input type="text" name="username" id="username" value="<?php echo $_['entered_data']['user']; ?>" />
|
||||
<label for="username" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label>
|
||||
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
|
||||
<input type="text" name="username" id="username" value="<?php echo $_['entered_data']['user']; ?>" placeholder="<?php print_unescaped($l->t('Username')); ?>" />
|
||||
<label for="username" class="infield"><?php print_unescaped($l->t('Username')); ?></label>
|
||||
<img id="username-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
|
||||
</p>
|
||||
|
||||
<p class="infield groupbottom">
|
||||
<input type="password" name="password" id="password" />
|
||||
<input type="password" name="password" id="password" placeholder="<?php print_unescaped($l->t('Password')); ?>"/>
|
||||
<label for="password" class="infield"><?php print_unescaped($l->t( 'Password' )); ?></label>
|
||||
<img id="password-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
|
||||
<input id="show" name="show" type="checkbox">
|
||||
|
|
|
|||
Loading…
Reference in New Issue