added logic for updating user profile plus other bug fixes
This commit is contained in:
66
resources/views/systemusers/partials/profile.blade.php
Normal file
66
resources/views/systemusers/partials/profile.blade.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<div class="modal fade" id="profileModal" tabindex="-1" role="dialog" aria-labelledby="profileModalLabel">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header" style="background-color: #f8f8f8; border-bottom: 1px solid #eee;">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="profileModalLabel"><i class="glyphicon glyphicon-user"></i> User Profile</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form method="POST" id="staffProfileForm">
|
||||
<input type="hidden" name="user_id" class="staffId" value="">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<table class="table table-user-information">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>Full Name:</strong></td>
|
||||
<td><input type="text" class="form-control staffName" name="name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Email:</strong></td>
|
||||
<td><input type="text" class="form-control staffEmail" name="email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Phone:</strong></td>
|
||||
<td><input type="text" class="form-control staffPhone" name="phone"></td>
|
||||
</tr>
|
||||
<!-- <tr>
|
||||
<td><strong>Designation:</strong></td>
|
||||
<td><input type="text" class="form-control staffDesignation" name="designation"></td>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<td><strong>Password :</strong></td>
|
||||
<td>
|
||||
<input type="password" name="password" class="form-control passwordReset" placeholder="**********">
|
||||
<p class="text-help text-danger">Enter new password to reset</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Date Added:</strong></td>
|
||||
<td><input type="text" readonly class="form-control staffDateAdded"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<button class="btn btn-block btn-primary"><i class="glyphicon glyphicon-floppy-disk"></i> Update</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<!-- <div class="pull-left">
|
||||
<button type="button" class="btn btn-danger btn-sm">
|
||||
<i class="glyphicon glyphicon-lock"></i> Reset Password
|
||||
</button>
|
||||
</div> -->
|
||||
<!-- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary">Edit Profile</button> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user