This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnapp/views/login.php

59 lines
2.1 KiB
PHP
Raw Normal View History

2014-09-08 13:42:05 +00:00
<div class="center-block" style="width: 350px;">
2013-04-25 00:22:36 +00:00
<div class="content clearfix">
2013-05-16 11:50:44 +00:00
<form method="post" action="<?php echo URL::site('login'); ?>">
2014-09-29 04:47:51 +00:00
<br/>
2014-09-08 13:42:05 +00:00
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-title">Sign In</div>
</div>
2013-04-25 00:22:36 +00:00
2014-09-08 13:42:05 +00:00
<div class="panel-body">
<div class="form-group">
<p class="text-center">Sign in using your registered account:</p>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
<input type="text" id="username" name="username" value="" placeholder="Username" class="form-control" />
</div>
2013-04-25 00:22:36 +00:00
2014-09-08 13:42:05 +00:00
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-lock fa-fw"></i></span>
<input type="password" id="password" name="password" value="" placeholder="Password" class="form-control" />
</div>
</div> <!-- /form-group -->
2013-04-25 00:22:36 +00:00
2014-09-08 13:42:05 +00:00
<div class="form-group">
<p class="text-center">Forgot your <a href="<?php echo URL::site('login/reset'); ?>" data-toggle="modal" data-target="#modal-reset">Password</a>?</p>
<div class="btn-group">
<button class="btn btn-default btn-large">Sign In</button>
</div> <!-- /btn-group -->
</div> <!-- form-group -->
2013-04-25 00:22:36 +00:00
2014-09-08 13:42:05 +00:00
<?php if ($oauth) : ?>
<div class="login-social">
<p>Sign in using social network:</p>
<?php foreach (ORM::factory('Oauth')->list_active() as $oo) : ?>
<div class="social-btn">
<?php echo HTML::anchor('oauth/login/'.$oo->name,'Login with <b>'.ucfirst($oo->name).'</b>',array('class'=>'btn-auth btn-'.$oo->name)); ?>
</div>
<?php endforeach ?>
</div>
<?php endif ?>
</div> <!-- /panel-body -->
</div> <!-- /panel -->
2013-04-25 00:22:36 +00:00
</form>
</div> <!-- /content -->
2014-09-08 13:42:05 +00:00
</div> <!-- /content -->
2013-04-25 00:22:36 +00:00
<!-- Text Under Box -->
<div class="login-extra">
<!-- Don't have an account? <a href="./signup.html">Sign Up</a><br/> -->
</div> <!-- /login-extra -->
2014-09-29 04:47:51 +00:00
<div class="modal fade" id="modal-reset" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body"></div>
</div>
</div>
2013-05-16 11:50:44 +00:00
</div>
2013-05-23 05:42:56 +00:00
<div class="fb-root"></div>