Load the rootDSE in Server::__construct(), remove basedn from views, and rely on the javascript to get the basedns
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<td>BaseDN(s)</td>
|
||||
<td>
|
||||
<table class="table table-sm table-borderless">
|
||||
@foreach($server->baseDNs(TRUE)->sort(fn($item)=>$item->sort_key) as $item)
|
||||
@foreach($server->baseDNs() as $item)
|
||||
<tr>
|
||||
<td class="ps-0">{{ $item->getDn() }}</td>
|
||||
</tr>
|
||||
|
@@ -2,10 +2,4 @@
|
||||
|
||||
@section('main-content')
|
||||
@include('frames.'.$subframe)
|
||||
@endsection
|
||||
|
||||
@section('page-scripts')
|
||||
<script type="text/javascript">
|
||||
var basedn = {!! $bases->toJson() !!};
|
||||
</script>
|
||||
@append
|
||||
@endsection
|
@@ -1,16 +1,5 @@
|
||||
@extends('architect::layouts.app')
|
||||
|
||||
{{--
|
||||
@section('htmlheader_title')
|
||||
@lang('Home')
|
||||
@endsection
|
||||
|
||||
@section('page_title')
|
||||
@endsection
|
||||
@section('page_icon')
|
||||
@endsection
|
||||
--}}
|
||||
|
||||
@section('main-content')
|
||||
<x-success/>
|
||||
|
||||
@@ -78,8 +67,6 @@
|
||||
|
||||
@section('page-scripts')
|
||||
<script type="text/javascript">
|
||||
var basedn = {!! $bases->toJson() !!};
|
||||
|
||||
var subpage = window.location.hash;
|
||||
|
||||
$(document).ready(function() {
|
||||
|
Reference in New Issue
Block a user