@extends('layouts.librenmsv1')
@section('title', __('preferences.title'))
@section('content')
@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
@if($can_change_password)
@endif
@lang('preferences.title')
@config('twofactor')
@lang('Two-Factor Authentication')
@if($twofactor)
@else
@endif
@endconfig
@lang('Device Permissions')
@if(auth()->user()->hasGlobalAdmin())
@lang('Global Administrative Access')
@elseif(auth()->user()->hasGlobalRead())
@lang('Global Viewing Access')
@else
@forelse($devices as $device)
@deviceLink($device)
@empty
@lang('No access!')
@endforelse
@endif
@endsection
@section('javascript')
@endsection
@section('scripts')
@endsection
@section('css')
@endsection