-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
194 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar"> | ||
<ul class="nav menu"> | ||
<li><a href="{!! route('home.index') !!}"><svg class="glyph stroked dashboard-dial"><use xlink:href="#stroked-dashboard-dial"></use></svg> Home</a></li> | ||
<li><a href="{!! route('user.index') !!}"><svg class="glyph stroked male user"><use xlink:href="#stroked-male-user"/></svg> My Account</a></li> | ||
<li><a href="{!! route('myaccount.index') !!}"><svg class="glyph stroked male user"><use xlink:href="#stroked-male-user"/></svg> My Account</a></li> | ||
</ul> | ||
|
||
</div><!--/.sidebar--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@extends('member.master') | ||
@section('content') | ||
<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<h1 class="page-header">Edit my account manager</h1> | ||
</div> | ||
</div><!--/.row--> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Change username</div> | ||
<div class="panel-body"> | ||
<div class="col-lg-7"> | ||
@include('member.component.alertForm') | ||
<form class="form-horizontal" action="{!! route('myaccount.update', $user['id']) !!}" method="post"> | ||
<input type="hidden" name="_token" value="{!! csrf_token() !!}"> | ||
<input type="hidden" name="_method" value="PUT"> | ||
<input type="hidden" name="id" value="{{ $user['id'] }}"> | ||
<div class="form-group"> | ||
<label for="txtName" class="col-sm-3 control-label">Username</label> | ||
<div class="col-sm-9"> | ||
<input type="text" class="form-control" id="txtName" value="{!! old('txtName', isset($user) ? $user['username'] : '') !!}" name="txtName" placeholder="Please enter user name"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-sm-offset-3 col-sm-9"> | ||
<button type="submit" class="btn btn-success">Update</button> | ||
<a href="{{ route('myaccount.index') }}" class="btn btn-default">Cancel</a> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div><!--/.row--> | ||
</div> <!--/.main--> | ||
@endsection() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@extends('member.master') | ||
@section('content') | ||
<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<h1 class="page-header">Edit my account manager</h1> | ||
</div> | ||
</div><!--/.row--> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Change username</div> | ||
<div class="panel-body"> | ||
<div class="col-lg-7"> | ||
@include('member.component.alertForm') | ||
<form class="form-horizontal" action="{!! route('myaccount.updatePassword', $user['id']) !!}" method="post"> | ||
<input type="hidden" name="_token" value="{!! csrf_token() !!}"> | ||
<input type="hidden" name="_method" value="PUT"> | ||
<input type="hidden" name="id" value="{{ $user['id'] }}"> | ||
<div class="form-group"> | ||
<label for="txtName" class="col-sm-3 control-label">Old password</label> | ||
<div class="col-sm-9"> | ||
<input type="password" class="form-control" id="txtOldPassword" name="txtOldPassword" placeholder="Please enter old password"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="txtName" class="col-sm-3 control-label">New password</label> | ||
<div class="col-sm-9"> | ||
<input type="password" class="form-control" id="txtNewPassword" name="txtNewPassword" placeholder="Please enter new password"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label for="txtName" class="col-sm-3 control-label">New repassword</label> | ||
<div class="col-sm-9"> | ||
<input type="password" class="form-control" id="txtNewRepassword" name="txtNewRepassword" placeholder="Please enter new repassword"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-sm-offset-3 col-sm-9"> | ||
<button type="submit" class="btn btn-success">Update</button> | ||
<a href="{{ route('myaccount.index') }}" class="btn btn-default">Cancel</a> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div><!--/.row--> | ||
</div> <!--/.main--> | ||
@endsection() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters