diff --git a/public/css/custom.css b/public/css/custom.css index 96a84336..807825d8 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -1,9 +1,3 @@ -img.jpegphoto { - display:block; - max-width:100px; - height:100px; -} - /** ensure our userpassword has select is next to the password input */ div#userPassword .select2-container--bootstrap-5 .select2-selection { font-size: inherit; diff --git a/resources/views/components/attribute/binary/jpegphoto.blade.php b/resources/views/components/attribute/binary/jpegphoto.blade.php index 0d7414d6..2bcccaa2 100644 --- a/resources/views/components/attribute/binary/jpegphoto.blade.php +++ b/resources/views/components/attribute/binary/jpegphoto.blade.php @@ -9,12 +9,12 @@ @default - ($e=$errors->get($o->name_lc.'.'.$loop->index))]) src="data:{{ $x }};base64, {{ base64_encode($value) }}" /> + ($e=$errors->get($o->name_lc.'.'.$loop->index))]) src="data:{{ $x }};base64, {{ base64_encode($value) }}" /> @if ($edit)
- @lang('Delete') + @lang('Delete')
@if($e) diff --git a/resources/views/fragment/dn/header.blade.php b/resources/views/fragment/dn/header.blade.php index 1317de64..4a7166d8 100644 --- a/resources/views/fragment/dn/header.blade.php +++ b/resources/views/fragment/dn/header.blade.php @@ -1,28 +1,28 @@ - - + - + -
- {!! $x ? $x->render(FALSE,TRUE) : sprintf('
',$o->icon() ?? "fas fa-info") !!} +
+ {!! ($x=$o->getObject('jpegphoto')) ? $x->render(FALSE,TRUE) : sprintf('
',$o->icon() ?? "fas fa-info") !!}
{{ $o->getDn() }}{{ $o->getDn() }}
- - - -
Created + + + + + - - - + + - - - + +
Created []
Modified +
Modified []
UUID +
UUID