Work for Oauth

This commit is contained in:
Deon George
2013-05-23 15:42:56 +10:00
parent c06068fc90
commit ab1adad456
7 changed files with 415 additions and 52 deletions

View File

@@ -17,6 +17,7 @@
</div> <!-- /login-fields -->
<div class="login-actions">
Forgot your <a href="<?php echo URL::site('login/reset'); ?>" data-toggle="modal" data-target="#modal-reset">Password</a>?
<!--
<span class="login-checkbox">
<input id="Field" name="Field" type="checkbox" class="field login-checkbox" value="First Choice" tabindex="4" />
@@ -26,18 +27,16 @@
<button class="button btn btn-warning btn-large">Sign In</button>
</div> <!-- .actions -->
<!--
<?php if ($oauth) : ?>
<div class="login-social">
<p>Sign in using social network:</p>
<div class="twitter">
<a href="#" class="btn_1">Login with Twitter</a>
</div>
<div class="fb">
<a href="#" class="btn_2">Login with Facebook</a>
<?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 ?>
</form>
</div> <!-- /content -->
</div> <!-- /account-container -->
@@ -45,8 +44,8 @@
<!-- Text Under Box -->
<div class="login-extra">
<!-- Don't have an account? <a href="./signup.html">Sign Up</a><br/> -->
Forgot your <a href="<?php echo URL::site('login/reset'); ?>" data-toggle="modal" data-target="#modal-reset">Password</a>?
</div> <!-- /login-extra -->
<div class="modal hide fade" id="modal-reset" role="dialog" aria-hidden="true">
<div class="modal-body"></div>
</div>
<div class="fb-root"></div>