attivato pagina dei permessi e rivisto menu
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
@extends('admin')
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('content_header')
|
||||
<h1>Assegnazione permessi</h1>
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">Assegnazione permessi</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
@@ -20,24 +20,27 @@
|
||||
<option value="{{$user->id}}"> {{$user->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
<table>
|
||||
<table width="100%" class="table table-striped table-bordered table-hover">
|
||||
<tr>
|
||||
<th>Permesso</th>
|
||||
<th>Azione</th>
|
||||
<th colspan="2">Azione</th>
|
||||
</tr>
|
||||
@foreach($permissions as $perm)
|
||||
<tr>
|
||||
<td>{{$perm->name}}</td>
|
||||
<td>
|
||||
Attiva<input type="radio" name="permesso['{{$perm->name}}']" value="true">
|
||||
|
||||
Disattiva <input type="radio" name="permesso['{{$perm->name}}']" value="false">
|
||||
<input type="radio" class="form-check-input" name="permesso['{{$perm->name}}']" value="true">
|
||||
<label class="form-check-label">Attiva</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="radio" class="form-check-input" name="permesso['{{$perm->name}}']" value="false" checked>
|
||||
<label class="form-check-label">Disattiva</label>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
@csrf
|
||||
<input type="Submit" name="submit" value="associa">
|
||||
<input type="Submit" name="submit" class="form-control" value="associa">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user