2018-10-11 07:04:09 +00:00
|
|
|
<?php
|
2021-02-15 21:36:34 +00:00
|
|
|
|
|
|
|
$this->layout(
|
|
|
|
'minimal',
|
|
|
|
[
|
|
|
|
'title' => __('Log In'),
|
|
|
|
'page_class' => 'login-content',
|
|
|
|
]
|
|
|
|
);
|
2018-10-11 07:04:09 +00:00
|
|
|
?>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
2018-10-11 07:04:09 +00:00
|
|
|
<div class="public-page">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
2019-05-08 22:23:26 +00:00
|
|
|
<div class="row mb-4">
|
|
|
|
<div class="col-sm">
|
|
|
|
<h2 class="card-title mb-0 text-center">
|
2021-02-15 21:36:34 +00:00
|
|
|
<?php
|
|
|
|
if ($customization->hideProductName()): ?>
|
2020-11-30 11:32:52 +00:00
|
|
|
<?=__('Welcome!')?>
|
2021-02-15 21:36:34 +00:00
|
|
|
<?php
|
|
|
|
else: ?>
|
2020-12-06 11:57:39 +00:00
|
|
|
<?=sprintf(__('Welcome to %s!'), $environment->getAppName())?>
|
2021-02-15 21:36:34 +00:00
|
|
|
<?php
|
|
|
|
endif; ?>
|
2019-05-08 22:23:26 +00:00
|
|
|
</h2>
|
|
|
|
<h3 class="text-center">
|
2021-02-15 21:36:34 +00:00
|
|
|
<?php
|
|
|
|
if (!empty($customization->getInstanceName())): ?>
|
2020-11-30 11:32:52 +00:00
|
|
|
<small class="text-muted"><?=$this->e($customization->getInstanceName())?></small>
|
2021-02-15 21:36:34 +00:00
|
|
|
<?php
|
|
|
|
endif; ?>
|
2019-05-08 22:23:26 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-04 07:37:51 +00:00
|
|
|
|
2019-05-08 22:23:26 +00:00
|
|
|
<form id="login-form" action="" method="post">
|
2019-06-02 23:26:10 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="username" class="mb-2">
|
|
|
|
<i class="material-icons mr-1" aria-hidden="true">email</i>
|
2020-11-30 11:32:52 +00:00
|
|
|
<strong><?=__('E-mail Address')?></strong>
|
2019-06-02 23:26:10 +00:00
|
|
|
</label>
|
2021-02-28 02:50:45 +00:00
|
|
|
<input type="email" id="username" name="username" class="form-control" placeholder="<?=__(
|
2021-02-15 21:36:34 +00:00
|
|
|
'name@example.com'
|
|
|
|
)?>" aria-label="<?=__('E-mail Address')?>" required autofocus>
|
2016-10-07 03:14:55 +00:00
|
|
|
</div>
|
2019-06-02 23:26:10 +00:00
|
|
|
<div class="form-group mt-2">
|
|
|
|
<label for="password" class="mb-2">
|
|
|
|
<i class="material-icons mr-1" aria-hidden="true">vpn_key</i>
|
2020-11-30 11:32:52 +00:00
|
|
|
<strong><?=__('Password')?></strong>
|
2019-06-02 23:26:10 +00:00
|
|
|
</label>
|
2021-02-28 02:50:45 +00:00
|
|
|
<input type="password" id="password" name="password" class="form-control" placeholder="<?=__(
|
2021-02-15 21:36:34 +00:00
|
|
|
'Enter your password'
|
|
|
|
)?>" aria-label="<?=__('Password')?>" required>
|
2019-05-08 22:23:26 +00:00
|
|
|
</div>
|
2020-11-30 11:32:52 +00:00
|
|
|
<div class="form-group mt-2">
|
|
|
|
<div class="custom-control custom-checkbox">
|
|
|
|
<input type="checkbox" name="remember" id="frm_remember_me" value="1" class="toggle-switch custom-control-input">
|
|
|
|
<label for="frm_remember_me" class="custom-control-label">
|
|
|
|
<?=__('Remember me')?>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-15 21:36:34 +00:00
|
|
|
<button type="submit" role="button" title="<?=__(
|
|
|
|
'Sign in'
|
|
|
|
)?>" class="btn btn-login btn-primary btn-block mt-2 mb-3">
|
2020-11-30 11:32:52 +00:00
|
|
|
<?=__('Sign in')?>
|
2019-06-02 23:26:10 +00:00
|
|
|
</button>
|
2018-10-11 07:04:09 +00:00
|
|
|
</form>
|
2019-05-08 22:23:26 +00:00
|
|
|
|
2021-02-15 21:36:34 +00:00
|
|
|
<p class="text-center"><?=__('Please log in to continue.')?> <?=sprintf(
|
2021-02-28 02:50:45 +00:00
|
|
|
'<a href="%s">%s</a>',
|
|
|
|
$router->named('account:forgot'),
|
|
|
|
__('Forgot your password?')
|
2021-02-15 21:36:34 +00:00
|
|
|
)?></p>
|
2018-10-11 07:04:09 +00:00
|
|
|
</div>
|
2016-10-07 03:14:55 +00:00
|
|
|
</div>
|
2018-10-11 07:04:09 +00:00
|
|
|
</div>
|