diff --git a/resources/views/administrator/pages/module/dns/add.blade.php b/resources/views/administrator/pages/module/dns/add.blade.php index e2d0f56..3f85d5e 100644 --- a/resources/views/administrator/pages/module/dns/add.blade.php +++ b/resources/views/administrator/pages/module/dns/add.blade.php @@ -1,57 +1,91 @@ -@extends("administrator.layout.master") +@extends('administrator.layout.master') +@push('plugin-styles') + @foreach (config('assets.datatable.css') as $datatable) + + @endforeach +@endpush + +@section('breadcrumb') + @php + $breadcrumbItems = [ + ['label' => 'Modules'], + ['label' => 'DNS Server', 'url' => route('module.dns.index')], + ['label' => 'Add DNS Server', 'active' => true], + ]; + @endphp + +@endsection @section("content") @if(auth()->guard('admins')->user()->can("add module dns")) -
-
- @csrf -
-
-
- {{--Server Host--}} -
- -
- +
+ + @csrf +
+
+ {{-- Server Host --}} +
+ +
+ + + +
- {{--User--}} -
- -
- + {{-- User --}} +
+ +
+ + + +
- {{--Password--}} -
- -
- + {{-- Password --}} +
+ +
+ + + +
- {{--Status--}} -
- -
- + + {{-- Status --}} +
+ +
+ + + +
-
- - -
+ + +
@else
Access Denied - You are not assigned to any Module dns @@ -59,3 +93,13 @@
@endif @endsection +@push('plugin-scripts') + @foreach (config('assets.datatable.js') as $datatable) + + @endforeach + +@endpush \ No newline at end of file diff --git a/resources/views/administrator/pages/module/dns/edit.blade.php b/resources/views/administrator/pages/module/dns/edit.blade.php index 9c90cf8..51d73a1 100644 --- a/resources/views/administrator/pages/module/dns/edit.blade.php +++ b/resources/views/administrator/pages/module/dns/edit.blade.php @@ -1,58 +1,94 @@ -@extends("administrator.layout.master") +@extends('administrator.layout.master') +@push('plugin-styles') + @foreach (config('assets.datatable.css') as $datatable) + + @endforeach +@endpush + +@section('breadcrumb') + @php +$breadcrumbItems = [ + ['label' => 'Modules'], + ['label' => 'DNS Server', 'url' => route('module.dns.index')], + ['label' => 'Edit DNS Server', 'active' => true], +]; + @endphp + +@endsection @section("content") @if(auth()->guard('admins')->user()->can("edit module dns")) -
-
- @csrf - @method('put') -
-
-
- {{--Server Host--}} -
- -
- +
+ + @csrf + @method('put') +
+
+ {{-- Server Host --}} +
+ +
+ + + +
- {{--User--}} -
- -
- + + {{-- User --}} +
+ +
+ + + +
- {{--Password--}} -
- -
- + + {{-- Password --}} +
+ +
+ + + +
- {{--Status--}} -
- -
- + + {{-- Status --}} +
+ +
+ + + +
-
- - -
+ + +
@else
Access Denied - You are not assigned to any Module dns @@ -60,3 +96,13 @@
@endif @endsection +@push('plugin-scripts') + @foreach (config('assets.datatable.js') as $datatable) + + @endforeach + +@endpush diff --git a/resources/views/administrator/pages/module/dns/index.blade.php b/resources/views/administrator/pages/module/dns/index.blade.php index d5049c9..431fcc1 100644 --- a/resources/views/administrator/pages/module/dns/index.blade.php +++ b/resources/views/administrator/pages/module/dns/index.blade.php @@ -9,7 +9,6 @@ @php $breadcrumbItems = [ ['label' => 'Modules'], - ['label' => 'Package vCenter'], ['label' => 'DNS Server', 'active' => true], ]; @endphp @@ -23,11 +22,11 @@
+ ['key' => 'name', 'label' => 'IP Host'], + ['key' => 'counter', 'label' => 'Domain Created'], + ['key' => 'status', 'label' => 'Status'], + ['key' => 'action', 'label' => 'Action'], + ]" />
@else