AzuraCast/templates/frontend/account/login.phtml

62 lines
2.7 KiB
PHTML
Raw Normal View History

<?php
$this->layout('minimal', [
'title' => __('Log In'),
'page_class' => 'login-content'
]);
?>
2015-01-04 07:37:51 +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">
<?php if ($customization->hideProductName()): ?>
<?=__('Welcome!') ?>
<?php else: ?>
<?=sprintf(__('Welcome to %s!'), $settings['name']) ?>
<?php endif; ?>
</h2>
<h3 class="text-center">
<?php if (!empty($customization->getInstanceName())): ?>
<small class="text-muted"><?=$this->e($customization->getInstanceName()) ?></small>
<?php endif; ?>
</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">
<div class="row">
<div class="form-group col-sm">
<label for="username" class="mb-2">
<i class="material-icons mr-1" aria-hidden="true">email</i>
<strong><?=__('E-mail Address') ?></strong>
</label>
<input type="email" name="username" class="form-control" placeholder="<?=__('name@example.com') ?>" aria-label="<?=__('E-mail Address') ?>" required>
</div>
2016-10-07 03:14:55 +00:00
</div>
2019-05-08 22:23:26 +00:00
<div class="row mt-2">
<div class="form-group col-sm">
<label for="password" class="mb-2">
<i class="material-icons mr-1" aria-hidden="true">vpn_key</i>
<strong><?=__('Password') ?></strong>
</label>
<input type="password" name="password" class="form-control" placeholder="<?=__('Enter your password') ?>" aria-label="<?=__('Password') ?>" required>
</div>
</div>
2016-10-07 03:14:55 +00:00
2019-05-08 22:23:26 +00:00
<div class="row">
<div class="col-sm">
<button type="submit" role="button" title="<?=__('Log In') ?>" class="btn btn-login btn-primary btn-block mt-2 mb-3">
<?=__('Sign in') ?>
</button>
</div>
</div>
</form>
2019-05-08 22:23:26 +00:00
<p class="text-center"><?=__('Please log in to continue.') ?> <?=sprintf(__('<a href="%s" target="_blank">Forgot your password?</a>'), 'https://github.com/AzuraCast/AzuraCast/blob/master/SUPPORT.md#reset-an-account-password') ?></p>
</div>
2016-10-07 03:14:55 +00:00
</div>
</div>