use SVG for toggle image instead of PNG, fix installation and personal settings toggle

This commit is contained in:
Jan-Christoph Borchardt 2015-09-03 11:46:16 +02:00
parent e7314b3ad8
commit acc9fa49fc
3 changed files with 4 additions and 4 deletions

View file

@ -667,7 +667,7 @@ label.infield {
position: absolute !important; position: absolute !important;
height: 20px; height: 20px;
width: 24px; width: 24px;
background-image: url("../img/actions/toggle.png"); background-image: url('../img/actions/toggle.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";

View file

@ -53,7 +53,7 @@ script('core', [
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label> <label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
<img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""> <img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="">
<input type="checkbox" id="show" name="show"> <input type="checkbox" id="show" name="show">
<label for="show"></label> <label for="show" class="svg"></label>
<div class="strengthify-wrapper"></div> <div class="strengthify-wrapper"></div>
</p> </p>
</fieldset> </fieldset>
@ -149,7 +149,7 @@ script('core', [
</fieldset> </fieldset>
<?php endif; ?> <?php endif; ?>
<?php endif; ?> <?php endif; ?>
<div class="icon-loading-dark float-spinner">&nbsp;</div> <div class="icon-loading-dark float-spinner">&nbsp;</div>
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?> <?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>

View file

@ -83,7 +83,7 @@ if($_['passwordChangeSupported']) {
placeholder="<?php echo $l->t('New password');?>" placeholder="<?php echo $l->t('New password');?>"
data-typetoggle="#personal-show" data-typetoggle="#personal-show"
autocomplete="off" autocapitalize="off" autocorrect="off" /> autocomplete="off" autocapitalize="off" autocorrect="off" />
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label> <input type="checkbox" id="personal-show" name="show" /><label for="personal-show" class="svg"></label>
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" /> <input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
<br/> <br/>
<div class="strengthify-wrapper"></div> <div class="strengthify-wrapper"></div>