2021-12-03 02:36:25 +00:00
|
|
|
@extends('layouts.dn')
|
2020-09-13 11:30:04 +00:00
|
|
|
|
|
|
|
@section('page_title')
|
2021-12-08 12:26:12 +00:00
|
|
|
<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')
|
2023-03-01 22:54:30 +00:00
|
|
|
<div class="main-card mb-3 card">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-header-tabs">
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li class="nav-item"><a data-toggle="tab" href="#attributes" class="nav-link active">{{ __('Attributes') }}</a></li>
|
|
|
|
<li class="nav-item"><a data-toggle="tab" href="#placeholder" class="nav-link">placeholder</a></li>
|
|
|
|
<li class="nav-item"><a data-toggle="tab" href="#internal" class="nav-link">{{ __('Internal') }}</a></li>
|
|
|
|
<li class="nav-item"><a data-toggle="tab" href="#addtemplate" class="nav-link">{{ __('Add Template') }}</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="tab-content">
|
|
|
|
<!-- All Attributes -->
|
|
|
|
<div class="tab-pane active" id="attributes" role="tabpanel">
|
|
|
|
<div class="row">
|
|
|
|
<div class="offset-2 col-8">
|
|
|
|
<table class="table">
|
|
|
|
@foreach ($o->getVisibleAttributes() as $ao)
|
|
|
|
<tr class="bg-light text-dark small">
|
2023-03-02 03:41:38 +00:00
|
|
|
<th class="w-25">
|
|
|
|
<abbr title="{{ $ao->description }}">{{ $ao->name }}</abbr>
|
2023-03-01 22:54:30 +00:00
|
|
|
<!-- Attribute Hints -->
|
2023-03-02 03:41:38 +00:00
|
|
|
<span class="float-right">
|
|
|
|
@foreach($ao->hints as $name => $description)
|
|
|
|
@if ($loop->index),@endif
|
|
|
|
<abbr title="{{ $description }}">{{ $name }}</abbr>
|
|
|
|
@endforeach
|
|
|
|
</span>
|
2023-03-01 22:54:30 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="pl-5">
|
|
|
|
{!! $ao->deletable() !!}<br>
|
2023-03-02 03:41:38 +00:00
|
|
|
@if ($ao->can_addvalues)
|
|
|
|
<span class="p-0 m-0" id="add{{ $ao->name_lc }}"></span>
|
|
|
|
<span class="btn btn-sm btn-outline-primary mt-3 mb-3"><i class="fas fa-plus"></i> {{ __('Add Value') }}</span>
|
|
|
|
@endif
|
2023-03-01 22:54:30 +00:00
|
|
|
</td>
|
|
|
|
{{--
|
|
|
|
<td>@dump($ao)</td>
|
|
|
|
--}}
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Templates -->
|
|
|
|
<div class="tab-pane" id="placeholder" role="tabpanel">
|
|
|
|
<div><i class="fas fa-fw fa-spinner fa-pulse"></i></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Internal Attributes -->
|
|
|
|
<div class="tab-pane" id="internal" role="tabpanel">
|
|
|
|
<div><i class="fas fa-fw fa-spinner fa-pulse"></i></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Add Template -->
|
|
|
|
<div class="tab-pane" id="addtemplate" role="tabpanel">
|
|
|
|
<div><i class="fas fa-fw fa-spinner fa-pulse"></i></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-18 14:08:00 +00:00
|
|
|
</div>
|
2023-03-01 22:54:30 +00:00
|
|
|
|
|
|
|
|
2020-09-13 11:30:04 +00:00
|
|
|
@endsection
|