Start on fetching DN from server

This commit is contained in:
Deon George
2020-09-13 21:30:04 +10:00
parent 130ae005a3
commit f323be3d7f
10 changed files with 162 additions and 52 deletions

View File

@@ -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

View 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