mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-14 04:16:54 +01:00
72 lines
3.1 KiB
PHP
72 lines
3.1 KiB
PHP
<?php
|
|
/**
|
|
* @var ThemeIcons $icons
|
|
* @var ConfigData $configData
|
|
* @var callable $_getvar
|
|
* @var Template $this
|
|
*/
|
|
|
|
use SP\Config\ConfigData;
|
|
use SP\Core\UI\ThemeIcons;
|
|
use SP\Mvc\View\Template;
|
|
|
|
?>
|
|
|
|
<div id="box-pub-noheader">
|
|
<div class="box-spacer"></div>
|
|
<div class="box-header">
|
|
<?php echo __('Request Password Change'); ?>
|
|
</div>
|
|
<div id="box-passreset" class="box-form round">
|
|
<form id="frmUserPassReset" action="" method="post" class="form-action"
|
|
data-onsubmit="user/passreset"
|
|
data-action-route="userPassReset/saveReset">
|
|
<fieldset id="box-data">
|
|
<div class="form-control">
|
|
<i class="material-icons">vpn_key</i>
|
|
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
|
<input id="password" name="password" type="password"
|
|
required
|
|
class="mdl-textfield__input mdl-color-text--indigo-400 passwordfield__input"
|
|
value="" maxlength="255"
|
|
autocomplete="off">
|
|
<label class="mdl-textfield__label"
|
|
for="password"><?php echo __('Password'); ?></label>
|
|
</div>
|
|
</div>
|
|
<div class="form-control">
|
|
<i class="material-icons">vpn_key</i>
|
|
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
|
|
<input id="password_repeat" name="password_repeat"
|
|
type="password" required
|
|
class="mdl-textfield__input mdl-color-text--indigo-400"
|
|
value="" maxlength="255"
|
|
autocomplete="off">
|
|
<label class="mdl-textfield__label"
|
|
for="password_repeat"><?php echo __('Password (repeat)'); ?></label>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="hash"
|
|
value="<?php echo $_getvar('hash'); ?>">
|
|
<input type="hidden" name="isAjax" value="1">
|
|
</fieldset>
|
|
|
|
<div id="box-buttons">
|
|
<button id="btnBack" type="button"
|
|
class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent">
|
|
<i class="material-icons"
|
|
title="<?php echo __('Go back to login'); ?>"><?php echo $icons->getIconBack()->getIcon(); ?></i>
|
|
<?php echo __('Back'); ?>
|
|
</button>
|
|
|
|
<button id="btnChange"
|
|
class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent">
|
|
<?php echo __('Change'); ?>
|
|
<i class="material-icons"
|
|
title="<?php echo __('Change'); ?>"><?php echo $icons->getIconPlay()->getIcon(); ?></i>
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|