additionOfMultiLang
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
<div class="card">
|
||||
<!-- /.card-header -->
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Add Users</h3>
|
||||
<h3 class="card-title">{{ __('Add Users') }}</h3>
|
||||
</div>
|
||||
<!-- /.card-body -->
|
||||
<div class="card-body">
|
||||
@ -20,28 +20,31 @@
|
||||
|
||||
@csrf
|
||||
<div class="form-group row">
|
||||
<label for="inputUsername3" class="col-sm-2 col-form-label">Username</label>
|
||||
<label for="inputUsername3"
|
||||
class="col-sm-2 col-form-label">{{ __('Username') }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="inputUsername3" name="name"
|
||||
placeholder="Enter your username" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="inputEmail3" class="col-sm-2 col-form-label">Email</label>
|
||||
<label for="inputEmail3" class="col-sm-2 col-form-label">{{ __('Email') }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="email" class="form-control" id="inputEmail3" name="email"
|
||||
placeholder="Email" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="inputPassword3" class="col-sm-2 col-form-label">Password</label>
|
||||
<label for="inputPassword3"
|
||||
class="col-sm-2 col-form-label">{{ __('Password') }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="password" class="form-control" id="inputPassword3" name="password"
|
||||
placeholder="Password" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="role" class="col-sm-2 col-form-label">User Role</label>
|
||||
<label for="role" class="col-sm-2 col-form-label">{{ __('User Role') }}
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control" name="role" id="exampleFormControlSelect1">
|
||||
<option value="Admin">Admin</option>
|
||||
@ -52,7 +55,7 @@
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10 offset-sm-2">
|
||||
<button type="submit" class="btn btn-info">Submit</button>
|
||||
<button type="submit" class="btn btn-info">{{ __('Submit') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -11,18 +11,18 @@
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">List of Users</h3>
|
||||
<h3 class="card-title">{{ __('List of Users') }}</h3>
|
||||
</div>
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body">
|
||||
<table id="example1" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Serial </th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th>Action</th>
|
||||
<th>{{ __('Serial') }} </th>
|
||||
<th>{{ __('Name') }}</th>
|
||||
<th>{{ __('Email') }}</th>
|
||||
<th>{{ __('Role') }}</th>
|
||||
<th>{{ __('Action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -37,17 +37,18 @@
|
||||
<td>
|
||||
|
||||
<a href="{{ url('edit-user', $row->id) }}"
|
||||
class="btn btn-sm btn-success">Edit</a>
|
||||
class="btn btn-sm btn-success">{{ __('Edit') }}</a>
|
||||
<a href="{{ url('delete-user', $row->id) }}"
|
||||
class="btn btn-sm btn-danger delete-btn">Delete</a>
|
||||
class="btn btn-sm btn-danger delete-btn">{{ __('Delete') }}</a>
|
||||
|
||||
<form action="{{ route('send-email') }}" method="POST"
|
||||
style="display:inline;">
|
||||
@csrf
|
||||
<input type="hidden" name="name" value="{{ $row->name }}">
|
||||
<input type="hidden" name="email" value="{{ $row->email }}">
|
||||
<button type="submit" class="btn btn-sm btn-primary">Send
|
||||
Email</button>
|
||||
<button type="submit"
|
||||
class="btn btn-sm btn-primary">{{ __('Send Email') }}
|
||||
</button>
|
||||
|
||||
|
||||
|
||||
@ -66,11 +67,11 @@
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Serial </th>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th>Action</th>
|
||||
<th>{{ __('Serial') }} </th>
|
||||
<th>{{ __('Name') }}</th>
|
||||
<th>{{ __('Email') }}Email</th>
|
||||
<th>{{ __('Role') }}</th>
|
||||
<th>{{ __('Action') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user