More update on security, user to edit their own system with 59ec5f5
This commit is contained in:
parent
f279d85b08
commit
b4a42f6780
@ -241,7 +241,9 @@
|
|||||||
<p>No session details exist</p>
|
<p>No session details exist</p>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@include('system.widget.form-session')
|
@can('update_nn',$o)
|
||||||
|
@include('system.widget.form-session')
|
||||||
|
@endcan
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@can('update',$o)
|
@can('update_nn',$o)
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<button type="submit" name="submit" class="btn btn-success float-end">Add</button>
|
<button type="submit" name="submit" class="btn btn-success float-end">Add</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@can('update',$o)
|
@can('update_nn',$o)
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<button type="submit" name="submit" class="btn btn-success float-end">Add</button>
|
<button type="submit" name="submit" class="btn btn-success float-end">Add</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,7 +46,7 @@ use App\Models\Zone;
|
|||||||
<label for="sespass" class="form-label">Session Password</label>
|
<label for="sespass" class="form-label">Session Password</label>
|
||||||
<div class="input-group has-validation">
|
<div class="input-group has-validation">
|
||||||
<span class="input-group-text"><i class="bi bi-lock"></i></span>
|
<span class="input-group-text"><i class="bi bi-lock"></i></span>
|
||||||
<input type="text" style="width: 35%;" class="form-control @error('sespass') is-invalid @enderror" id="sespass" placeholder="Session" name="sespass" value="{{ old('sespass') }}" @cannot('update',$o)disabled @endcannot required>
|
<input type="text" style="width: 35%;" class="form-control @error('sespass') is-invalid @enderror" id="sespass" placeholder="Session" name="sespass" value="{{ old('sespass') }}" required>
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('sespass')
|
@error('sespass')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@ -62,7 +62,7 @@ use App\Models\Zone;
|
|||||||
<label for="pktpass" class="form-label">Packet Password</label>
|
<label for="pktpass" class="form-label">Packet Password</label>
|
||||||
<div class="input-group has-validation">
|
<div class="input-group has-validation">
|
||||||
<span class="input-group-text"><i class="bi bi-box"></i></span>
|
<span class="input-group-text"><i class="bi bi-box"></i></span>
|
||||||
<input type="text" style="width: 35%;" class="form-control @error('pktpass') is-invalid @enderror" id="pktpass" placeholder="Packet" name="pktpass" value="{{ old('pktpass') }}" @cannot('update',$o)disabled @endcannot required>
|
<input type="text" style="width: 35%;" class="form-control @error('pktpass') is-invalid @enderror" id="pktpass" placeholder="Packet" name="pktpass" value="{{ old('pktpass') }}" required>
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('pktpass')
|
@error('pktpass')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@ -80,7 +80,7 @@ use App\Models\Zone;
|
|||||||
<label for="fixpass" class="form-label">Areafix Password</label>
|
<label for="fixpass" class="form-label">Areafix Password</label>
|
||||||
<div class="input-group has-validation">
|
<div class="input-group has-validation">
|
||||||
<span class="input-group-text"><i class="bi bi-card-text"></i></span>
|
<span class="input-group-text"><i class="bi bi-card-text"></i></span>
|
||||||
<input type="text" style="width: 35%;" class="form-control @error('fixpass') is-invalid @enderror" id="fixpass" placeholder="Areafix" name="fixpass" value="{{ old('fixpass') }}" @cannot('update',$o)disabled @endcannot required>
|
<input type="text" style="width: 35%;" class="form-control @error('fixpass') is-invalid @enderror" id="fixpass" placeholder="Areafix" name="fixpass" value="{{ old('fixpass') }}" required>
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('fixpass')
|
@error('fixpass')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@ -96,7 +96,7 @@ use App\Models\Zone;
|
|||||||
<label for="ticpass" class="form-label">TIC Password</label>
|
<label for="ticpass" class="form-label">TIC Password</label>
|
||||||
<div class="input-group has-validation">
|
<div class="input-group has-validation">
|
||||||
<span class="input-group-text"><i class="bi bi-archive"></i></span>
|
<span class="input-group-text"><i class="bi bi-archive"></i></span>
|
||||||
<input type="text" style="width: 35%;" class="form-control @error('ticpass') is-invalid @enderror" id="ticpass" placeholder="TIC" name="ticpass" value="{{ old('ticpass') }}" @cannot('update',$o)disabled @endcannot required>
|
<input type="text" style="width: 35%;" class="form-control @error('ticpass') is-invalid @enderror" id="ticpass" placeholder="TIC" name="ticpass" value="{{ old('ticpass') }}" required>
|
||||||
<span class="invalid-feedback" role="alert">
|
<span class="invalid-feedback" role="alert">
|
||||||
@error('ticpass')
|
@error('ticpass')
|
||||||
{{ $message }}
|
{{ $message }}
|
||||||
@ -122,11 +122,9 @@ use App\Models\Zone;
|
|||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@can('update',$o)
|
<div class="col-2">
|
||||||
<div class="col-2">
|
<button type="submit" name="submit" class="btn btn-success float-end">Add</button>
|
||||||
<button type="submit" name="submit" class="btn btn-success float-end">Add</button>
|
</div>
|
||||||
</div>
|
|
||||||
@endcan
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user