Compare commits
4 Commits
a7be4e00b4
...
8b0af505a1
Author | SHA1 | Date | |
---|---|---|---|
8b0af505a1 | |||
f0eaff7d42 | |||
352bbe2b75 | |||
0fe4894192 |
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -10,6 +10,9 @@ assignees: ''
|
|||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
A clear and concise description of what the bug is. (One issue per report please.)
|
A clear and concise description of what the bug is. (One issue per report please.)
|
||||||
|
|
||||||
|
**Version of PLA**
|
||||||
|
What version of PLA are you using. Are you using the docker container, an distribution package or running from GIT source?
|
||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
|
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
blank_issues_enabled: false
|
@ -66,7 +66,6 @@ class LDIF extends Import
|
|||||||
|
|
||||||
$m = [];
|
$m = [];
|
||||||
preg_match('/^([a-zA-Z0-9;-]+)(:+)\s+(.*)$/',$line,$m);
|
preg_match('/^([a-zA-Z0-9;-]+)(:+)\s+(.*)$/',$line,$m);
|
||||||
dump(['m'=>$m,'line'=>$line]);
|
|
||||||
|
|
||||||
switch (Arr::get($m,1)) {
|
switch (Arr::get($m,1)) {
|
||||||
case 'changetype':
|
case 'changetype':
|
||||||
|
@ -2,14 +2,17 @@
|
|||||||
<div class="col-12 col-xl-3">
|
<div class="col-12 col-xl-3">
|
||||||
<select id="objectclass" class="form-control">
|
<select id="objectclass" class="form-control">
|
||||||
<option value="-all-">-all-</option>
|
<option value="-all-">-all-</option>
|
||||||
@foreach ($objectclasses as $o)
|
@foreach($objectclasses->groupBy(fn($item)=>$item->isStructural()) as $oo)
|
||||||
<option value="{{ $o->name_lc }}">{{ $o->name }}</option>
|
<optgroup label="{{ __($oo->first()->isStructural() ? 'Structural' : 'Auxillary') }} Object Class"></optgroup>
|
||||||
|
@foreach($oo as $o)
|
||||||
|
<option value="{{ $o->name_lc }}">{{ $o->name }}</option>
|
||||||
|
@endforeach
|
||||||
@endforeach
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 col-xl-9">
|
<div class="col-12 col-xl-9">
|
||||||
@foreach ($objectclasses as $o)
|
@foreach($objectclasses as $o)
|
||||||
<span id="oc-{{ $o->name_lc }}">
|
<span id="oc-{{ $o->name_lc }}">
|
||||||
<table class="schema table table-sm table-bordered table-striped">
|
<table class="schema table table-sm table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
@ -32,10 +35,10 @@
|
|||||||
<td>@lang('Inherits from')</td>
|
<td>@lang('Inherits from')</td>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<strong>
|
<strong>
|
||||||
@if ($o->sup->count() === 0)
|
@if($o->sup->count() === 0)
|
||||||
@lang('(none)')
|
@lang('(none)')
|
||||||
@else
|
@else
|
||||||
@foreach ($o->sup as $sup)
|
@foreach($o->sup as $sup)
|
||||||
@if($loop->index)</strong> <strong>@endif
|
@if($loop->index)</strong> <strong>@endif
|
||||||
<a class="objectclass" id="{{ strtolower($sup) }}" href="#{{ strtolower($sup) }}">{{ $sup }}</a>
|
<a class="objectclass" id="{{ strtolower($sup) }}" href="#{{ strtolower($sup) }}">{{ $sup }}</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -48,12 +51,12 @@
|
|||||||
<td>@lang('Parent to')</td>
|
<td>@lang('Parent to')</td>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<strong>
|
<strong>
|
||||||
@if (strtolower($o->name) === 'top')
|
@if(strtolower($o->name) === 'top')
|
||||||
<a class="objectclass" id="-all-">(all)</a>
|
<a class="objectclass" id="-all-">(all)</a>
|
||||||
@elseif (! $o->getChildObjectClasses()->count())
|
@elseif(! $o->getChildObjectClasses()->count())
|
||||||
@lang('(none)')
|
@lang('(none)')
|
||||||
@else
|
@else
|
||||||
@foreach ($o->getChildObjectClasses() as $childoc)
|
@foreach($o->getChildObjectClasses() as $childoc)
|
||||||
@if($loop->index)</strong> <strong>@endif
|
@if($loop->index)</strong> <strong>@endif
|
||||||
<a class="objectclass" id="{{ strtolower($childoc) }}" href="#{{ strtolower($childoc) }}">{{ $childoc }}</a>
|
<a class="objectclass" id="{{ strtolower($childoc) }}" href="#{{ strtolower($childoc) }}">{{ $childoc }}</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -75,7 +78,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<ul class="ps-3" style="list-style-type: square;">
|
<ul class="ps-3" style="list-style-type: square;">
|
||||||
@foreach ($o->getMustAttrs(TRUE) as $oo)
|
@foreach($o->getMustAttrs(TRUE) as $oo)
|
||||||
<li>{{ $oo->name }} @if($oo->source !== $o->name)[<strong><a class="objectclass" id="{{ strtolower($oo->source) }}" href="#{{ strtolower($oo->source) }}">{{ $oo->source }}</a></strong>]@endif</li>
|
<li>{{ $oo->name }} @if($oo->source !== $o->name)[<strong><a class="objectclass" id="{{ strtolower($oo->source) }}" href="#{{ strtolower($oo->source) }}">{{ $oo->source }}</a></strong>]@endif</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
@ -97,7 +100,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<ul class="ps-3" style="list-style-type: square;">
|
<ul class="ps-3" style="list-style-type: square;">
|
||||||
@foreach ($o->getMayAttrs(TRUE) as $oo)
|
@foreach($o->getMayAttrs(TRUE) as $oo)
|
||||||
<li>{{ $oo->name }} @if($oo->source !== $o->name)[<strong><a class="objectclass" id="{{ strtolower($oo->source) }}" href="#{{ strtolower($oo->source) }}">{{ $oo->source }}</a></strong>]@endif</li>
|
<li>{{ $oo->name }} @if($oo->source !== $o->name)[<strong><a class="objectclass" id="{{ strtolower($oo->source) }}" href="#{{ strtolower($oo->source) }}">{{ $oo->source }}</a></strong>]@endif</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user