1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 12:48:00 +02:00

UI Improvements - Users Client Side - Fixes #194

This commit is contained in:
Awilum
2014-01-06 22:36:24 +02:00
parent dd2e241207
commit 44860b5cba

View File

@@ -1,9 +1,21 @@
<h3><?php echo __('Log In', 'users'); ?></h3> <h3><?php echo __('Log In', 'users'); ?></h3>
<hr> <hr>
<?php if (Notification::get('error')) Alert::error(Notification::get('error')); ?> <?php if (Notification::get('error')) Alert::error(Notification::get('error')); ?>
<form method="post"> <div class="row">
<?php echo Form::hidden('csrf', Security::token()); ?> <div class="col-md-3">
<label><?php echo __('Username', 'users'); ?></label><input name="username" type="text" class="input-large" /> <form method="post">
<label><?php echo __('Password', 'users'); ?></label><input name="password" type="password" class="input-large" /> <?php echo Form::hidden('csrf', Security::token()); ?>
<br><input name="login_submit" class="btn" type="submit" value="<?php echo __('Log In', 'users'); ?>" /> <a class="small-grey-text reset-password-btn" href="<?php echo Option::get('siteurl').'/users/password-reset'; ?>"><?php echo __('Forgot your password?', 'users');?></a> <div class="form-group">
</form> <label><?php echo __('Username', 'users'); ?></label>
<input name="username" type="text" class="form-control">
</div>
<div class="form-group">
<label><?php echo __('Password', 'users'); ?></label>
<input name="password" type="password" class="form-control">
</div>
<div class="form-group">
<input name="login_submit" class="btn btn-primary" type="submit" value="<?php echo __('Log In', 'users'); ?>"> <a class="small-grey-text reset-password-btn" href="<?php echo Option::get('siteurl').'/users/password-reset'; ?>"><?php echo __('Forgot your password?', 'users');?></a>
</div>
</form>
</div>
</div>