phpldapadmin/resources/views/frames/dn.blade.php

24 lines
768 B
PHP
Raw Normal View History

@extends('layouts.dn')
2020-09-13 11:30:04 +00:00
@section('page_title')
<table class="table table-borderless">
<tr>
<td class="{{ ($x=Arr::get($o->getAttributes(),'jpegphoto')) ? 'border' : '' }}" style="border-radius: 5px;">{!! $x ?: sprintf('<div class="page-title-icon f32"><i class="%s"></i></div>',$o->icon() ?? "fas fa-info") !!}</td>
<td class="top text-right align-text-top p-0 {{ $x ? 'pl-5' : 'pt-2' }}"><strong>{{ $dn }}</strong><br><small>{{ $o->entryuuid[0] ?? '' }}</small></td>
</tr>
</table>
2020-09-13 11:30:04 +00:00
@endsection
@section('main-content')
2020-09-18 14:08:00 +00:00
<div class="bg-white p-3">
<table class="table">
@foreach ($o->getAttributes() as $attribute => $value)
2020-09-18 14:08:00 +00:00
<tr>
<th>{{ $attribute }}</th>
<td>{!! $value !!}</td>
2020-09-18 14:08:00 +00:00
</tr>
@endforeach
</table>
</div>
2020-09-13 11:30:04 +00:00
@endsection