Start on fetching DN from server
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
Home
|
||||
@endsection
|
||||
|
||||
@section('contentheader_title')
|
||||
Home
|
||||
@section('page_title')
|
||||
@endsection
|
||||
@section('contentheader_description')
|
||||
@section('page_subtitle')
|
||||
Content Header - Description
|
||||
@endsection
|
||||
@section('page_icon')
|
||||
@endsection
|
||||
|
||||
@section('main-content')
|
||||
@@ -38,4 +40,8 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
@section('page-scripts')
|
||||
<script>
|
||||
var basedn = {!! $bases->toJson() !!};
|
||||
</script>
|
||||
@append
|
||||
|
29
resources/views/widgets/dn.blade.php
Normal file
29
resources/views/widgets/dn.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('architect::layouts.dn')
|
||||
|
||||
@section('htmlheader_title')
|
||||
Home
|
||||
@endsection
|
||||
|
||||
@section('page_title')
|
||||
{{ $dn }}
|
||||
@endsection
|
||||
@section('page_subtitle')
|
||||
{{ $leaf->entryuuid[0] }}
|
||||
@endsection
|
||||
@section('page_icon')
|
||||
fas fa-cog
|
||||
@endsection
|
||||
|
||||
@section('main-content')
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td colspan="2">@dump($leaf->getOriginal(),$leaf->countAttributes())</td>
|
||||
</tr>
|
||||
@foreach ($leaf->getAttributes() as $attribute => $value)
|
||||
<tr>
|
||||
<th>{{ $attribute }}</th>
|
||||
<td>{!! is_array($value) ? join('<br>',$value) : $value !!}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
@endsection
|
Reference in New Issue
Block a user