infield label removal: remove last occurences of infield labels

This commit is contained in:
Jan-Christoph Borchardt 2014-05-06 12:43:52 +02:00 committed by Morris Jobke
parent 4ca665ac10
commit 4ef94ddd2e
5 changed files with 10 additions and 17 deletions

View File

@ -1,10 +1,3 @@
#body-login form label.infield {
width: 190px;
padding: 10px;
left: 8px;
top: 8px;
}
#password { #password {
width: 190px !important; width: 190px !important;
padding: 10px; padding: 10px;

View File

@ -6,10 +6,10 @@
<?php if (isset($_['wrongpw'])): ?> <?php if (isset($_['wrongpw'])): ?>
<div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div> <div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
<?php endif; ?> <?php endif; ?>
<p class="infield"> <p>
<label for="password" class="infield"><?php p($l->t('Password')); ?></label> <label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<input type="password" name="password" id="password" <input type="password" name="password" id="password"
placeholder="" value="" placeholder="<?php p($l->t('Password')); ?>" value=""
autocomplete="off" autocapitalize="off" autocorrect="off" autocomplete="off" autocapitalize="off" autocorrect="off"
autofocus /> autofocus />
<input type="submit" value="" class="svg icon-confirm" /> <input type="submit" value="" class="svg icon-confirm" />

View File

@ -42,10 +42,6 @@ select {
border-bottom: 1px solid lightgrey; border-bottom: 1px solid lightgrey;
background-color: white; /* don't change background on hover */ background-color: white; /* don't change background on hover */
} }
.lte9 #body-login form label.infield {
background-color: white; /* don't change background on hover */
-ms-filter: "progid:DXImageTransform.Microsoft.Chroma(color='white')";
}
/* disable opacity of info text on gradient /* disable opacity of info text on gradient
since we cannot set a good backround color to use the filter&background hack as with the input labels */ since we cannot set a good backround color to use the filter&background hack as with the input labels */

View File

@ -16,8 +16,10 @@ OCP\Util::addStyle('lostpassword', 'lostpassword');
</p></div> </p></div>
<?php endif; ?> <?php endif; ?>
<div class="update"><?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?></div> <div class="update"><?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?></div>
<p class="infield"> <p>
<input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus /> <input type="text" name="user" id="user"
placeholder="<?php print_unescaped($l->t( 'Username' )); ?>"
value="" autocomplete="off" required autofocus />
<label for="user" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label> <label for="user" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label>
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
<?php if ($_['isEncrypted']): ?> <?php if ($_['isEncrypted']): ?>

View File

@ -4,9 +4,11 @@
<h1><?php p($l->t('Your password was reset')); ?></h1> <h1><?php p($l->t('Your password was reset')); ?></h1>
<p><a href="<?php print_unescaped(OC_Helper::linkTo('', 'index.php')) ?>/"><?php p($l->t('To login page')); ?></a></p> <p><a href="<?php print_unescaped(OC_Helper::linkTo('', 'index.php')) ?>/"><?php p($l->t('To login page')); ?></a></p>
<?php else: ?> <?php else: ?>
<p class="infield"> <p>
<label for="password" class="infield"><?php p($l->t('New password')); ?></label> <label for="password" class="infield"><?php p($l->t('New password')); ?></label>
<input type="password" name="password" id="password" value="" required /> <input type="password" name="password" id="password"
placeholder="<?php p($l->t('New password')); ?>"
value="" required />
</p> </p>
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" /> <input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
<?php endif; ?> <?php endif; ?>