mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
shorten show password message
as per suggestion of @rugk during review
This commit is contained in:
parent
63ef6f4358
commit
23624d693c
41 changed files with 43 additions and 51 deletions
|
|
@ -84,9 +84,7 @@ endif;
|
|||
<label for="passworddecrypt"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg> <?php echo I18n::_('Please enter the password for this document:') ?></label>
|
||||
<div class="input-group">
|
||||
<input id="passworddecrypt" type="password" class="form-control input-password" placeholder="<?php echo I18n::_('Enter password') ?>" required="required" />
|
||||
<button class="btn btn-outline-secondary toggle-password" type="button"
|
||||
title="<?php echo I18n::_('Show password as plain text. Warning: this will display your password on the screen.'); ?>"
|
||||
aria-label="<?php echo I18n::_('Show password as plain text. Warning: this will display your password on the screen.'); ?>">
|
||||
<button class="btn btn-outline-secondary toggle-password" type="button" title="<?php echo I18n::_('Show password'); ?>" aria-label="<?php echo I18n::_('Show password'); ?>">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -252,9 +250,7 @@ if ($PASSWORD) :
|
|||
<div id="password" class="navbar-form hidden">
|
||||
<div class="input-group">
|
||||
<input type="password" id="passwordinput" placeholder="<?php echo I18n::_('Password (recommended)'); ?>" aria-label="<?php echo I18n::_('Password (recommended)'); ?>" class="form-control input-password" size="23" />
|
||||
<button class="btn btn-outline-secondary toggle-password" type="button"
|
||||
title="<?php echo I18n::_('Show password as plain text. Warning: this will display your password on the screen.'); ?>"
|
||||
aria-label="<?php echo I18n::_('Show password as plain text. Warning: this will display your password on the screen.'); ?>">
|
||||
<button class="btn btn-outline-secondary toggle-password" type="button" title="<?php echo I18n::_('Show password'); ?>" aria-label="<?php echo I18n::_('Show password'); ?>">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue