Application cleanup
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<br/>
|
||||
<?php echo Form::open(); ?>
|
||||
<table class="login">
|
||||
<tr><td><b>User Name:</b></td></tr>
|
||||
<tr><td><?php echo Form::input('username',NULL,array('id'=>'login-uid','size'=>40));?></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td><b>Password:</b></td></tr>
|
||||
<tr><td><?php echo Form::password('password',NULL,array('id'=>'login-pwd','size'=>40));?></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<!-- @todo Password reset ability should be a config option (or auto detected) -->
|
||||
<tr><td colspan="2"><?php echo HTML::anchor('login/reset',_('Forgot your password?')); ?></td></tr>
|
||||
<tr><td colspan="2" style="text-align: center;"><?php echo Form::submit('submit',_('Authenticate'),array('class'=>'form_button'));?></td></tr>
|
||||
</table>
|
||||
<?php echo Form::close(); ?>
|
||||
<!-- @todo The following focus() is not ajax/jscript friendly -->
|
||||
<script type="text/javascript">document.getElementById('login-uid').focus();</script>
|
@@ -1,14 +0,0 @@
|
||||
<div style="text-align: center;">
|
||||
<p>If you have forgotten your password, we can issue you a temporary access code via email that will allow you to change your password.</p>
|
||||
<p>To start this process, please enter your email address.</p>
|
||||
</div>
|
||||
|
||||
<?php echo Form::open(); ?>
|
||||
<table class="login">
|
||||
<tr><td><b>Username</b></td></tr>
|
||||
<tr><td><?php echo Form::input('username',NULL,array('id'=>'login-uid','size'=>40));?></td></tr>
|
||||
<tr><td colspan="2" style="text-align: center;"><?php echo Form::submit('submit',_('Reset'),array('class'=>'form_button'));?></td></tr>
|
||||
</table>
|
||||
<?php echo Form::close(); ?>
|
||||
<!-- @todo The following focus() is not ajax/jscript friendly -->
|
||||
<script type="text/javascript">document.getElementById('login-uid').focus();</script>
|
@@ -1,13 +0,0 @@
|
||||
<div style="text-align: center;">
|
||||
<p>You should have received an email with a pass code. Please enter that pass code here.</p>
|
||||
</div>
|
||||
|
||||
<?php echo Form::open(); ?>
|
||||
<table class="login">
|
||||
<tr><td><b>Pass code</b></td></tr>
|
||||
<tr><td><?php echo Form::input('token',NULL,array('id'=>'login-pwd','size'=>40));?></td></tr>
|
||||
<tr><td colspan="2" style="text-align: center;"><?php echo Form::submit('submit',_('Reset'),array('class'=>'form_button'));?></td></tr>
|
||||
</table>
|
||||
<?php echo Form::close(); ?>
|
||||
<!-- @todo The following focus() is not ajax/jscript friendly -->
|
||||
<script type="text/javascript">document.getElementById('login-pwd').focus();</script>
|
21
application/views/pages/login_reset.php
Normal file
21
application/views/pages/login_reset.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="account-container stacked">
|
||||
<div class="content clearfix">
|
||||
<form method="post">
|
||||
<h1>Reset Password</h1>
|
||||
|
||||
<p>If you have forgotten your password, we can issue you a temporary access code via email that will allow you to change your password.</p>
|
||||
|
||||
<div class="login-fields">
|
||||
<p>To start this process, please enter your email address.</p>
|
||||
<div class="field">
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" value="" placeholder="Username" class="login username-field" />
|
||||
</div> <!-- /field -->
|
||||
</div> <!-- /login-fields -->
|
||||
|
||||
<div class="login-actions">
|
||||
<button class="button btn btn-warning btn-large">Reset</button>
|
||||
</div> <!-- /login-actions -->
|
||||
</form>
|
||||
</div> <!-- /content -->
|
||||
</div> <!-- /account-container -->
|
19
application/views/pages/login_reset_sent.php
Normal file
19
application/views/pages/login_reset_sent.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="account-container stacked">
|
||||
<div class="content clearfix">
|
||||
<form method="post">
|
||||
<h1>Reset Password</h1>
|
||||
|
||||
<div class="login-fields">
|
||||
<p>You should have received an email with a pass code. Please enter that pass code here.</p>
|
||||
<div class="field">
|
||||
<label for="token">Pass Code:</label>
|
||||
<input type="text" id="token" name="token" value="" placeholder="Token" class="login password-field" />
|
||||
</div> <!-- /field -->
|
||||
</div> <!-- /login-fields -->
|
||||
|
||||
<div class="login-actions">
|
||||
<button class="button btn btn-warning btn-large">Reset</button>
|
||||
</div> <!-- /login-actions -->
|
||||
</form>
|
||||
</div> <!-- /content -->
|
||||
</div> <!-- /account-container -->
|
Reference in New Issue
Block a user