| Current Path : /var/www/html/pridik/backend/views/login/ |
| Current File : /var/www/html/pridik/backend/views/login/forgot.php |
<?php
use common\widgets\inspinia\InspiniaAsset;
use yii\bootstrap\ActiveForm;
use yii\helpers\Url;
use yii\helpers\Html;
use common\components\LanguageSwitcher;
use backend\modules\theme\models\ThemeSetting;
InspiniaAsset::register($this);
?>
<link rel="stylesheet" href="<?= yii\helpers\Url::to('@web/') ?>css/theme-module.css?<?= time() ?>">
<style>
.image-wrap {
width: 100%;
height:100%;
margin: 0 auto;
overflow: hidden;
position: relative;
}
.image-wrap .image-inner {
width: 100%;
height:100%;
animation: move 40s ease;
-ms-animation: move 40s ease;
-webkit-animation: move 40s ease;
-0-animation: move 40s ease;
-moz-animation: move 40s ease;
position: absolute;
}
@-webkit-keyframes move {
0% {
-webkit-transform-origin: bottom left;
-moz-transform-origin: bottom left;
-ms-transform-origin: bottom left;
-o-transform-origin: bottom left;
transform-origin: bottom left;
transform: scale(1.0);
-ms-transform: scale(1.0);
-webkit-transform: scale(1.0);
-o-transform: scale(1.0);
-moz-transform: scale(1.0);
}
100% {
transform: scale(1.2);
-ms-transform: scale(1.2);
-webkit-transform: scale(1.2);
-o-transform: scale(1.2);
-moz-transform: scale(1.2);
}
}
@media only screen and (max-width: 480px) {
.image-wrap {
display:none;
}
#login-overlay {
display:none;
}
}
.msg{
text-align:center;
color:white;
border-radius: 3px;
padding:0.5em;
}
</style>
<body class="login-gray-bg" style="background:url(<?= Yii::getAlias('@web') ?>/images/login_background.jpg?<?= time() ?>) no-repeat;
background-size:cover;background-position: center center;background-attachment: fixed;">
<div class="image-wrap" style="position:absolute;top:0;left:0;right:0;bottom:0;">
<div class="image-inner" style="background:url(<?= Yii::getAlias('@web') ?>/images/login_background.jpg?<?= time() ?>) no-repeat;
background-size:cover;background-position: center center;background-attachment: fixed;">
</div>
</div>
<div id="login-overlay" style="position:absolute;top:0;left:0;right:0;bottom:0;"></div>
<div class="loginColumns animated fadeInDown text-muted" style="padding-left: 40px; padding-right: 40px;">
<div class="row">
<div class="col-xs-12" style="margin-bottom:30px;">
<center>
<img src="<?= Yii::getAlias('@web') ?>/images/login_logo.png?<?= time() ?>" class="login-logo" style="width:150px;">
</center>
</div>
</div>
<div class="row">
<div class="col-xs-12" style="padding: 20px;background: #00000066;border: 1px solid #888;border-radius: 5px;box-shadow: 0px 1px 30px 0px rgba(0,0,0,0.45);">
<div class="row">
<div class="col-md-6" style="color: #fff;">
<h2 class="font-bold"><div class="pvw-title-text"><span></span></div></h2>
<div class="pvw-welcome-text" style="margin-bottom:20px;text-align:justify;"><span></span></div>
</div>
<div class="col-md-6">
<div class="ibox-content" style="background-color: #00000033;border: none;">
<?php $form = ActiveForm::begin(); ?>
<div class="text-center text-white">Enter your username to reset your password:</div>
<div style="margin:1em auto;"><input class="form-control" type="text" placeholder="Username" name="username" autocomplete="off"></div>
<button type="submit" class="btn btn-primary block full-width m-b" style="color:white;">Reset Password</button>
<?php ActiveForm::end(); ?>
<p class="text-muted text-center">
<a href="/admin/site/login" style="color:white;"> <small>Go to login page</small></a>
</p>
<?= $msg; ?>
</div>
</div>
</div>
</div>
</div>
<div class="row" style="color:#fff;margin-top:10px;">
<div class="col-md-6"></div>
<div class="col-md-6 text-right">
<small class="pvw-login-copyright"><span></span></small>
</div>
</div>
</div>
</body>