2018-10-11 07:04:09 +00:00
<?php
$this->layout('minimal', [
2019-03-14 08:40:02 +00:00
'title' => __('Log In'),
2018-10-11 07:04:09 +00:00
'page_class' => 'login-content'
]);
?>
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" >
<?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 >
2018-10-14 08:37:54 +00:00
< / div >
2016-10-07 03:14:55 +00:00
< / div >
2016-05-12 05:13:21 +00:00
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 >
2018-10-14 08:37:54 +00:00
< / div >
2018-10-11 07:04:09 +00:00
< / 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 >
2018-10-11 07:04:09 +00:00
< / 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 >
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 >