Compare commits
No commits in common. "2.1-dev" and "master" have entirely different histories.
@ -379,7 +379,7 @@ class HomeController extends Controller
|
||||
if ($key['dn']) {
|
||||
$o = config('server')->fetch($key['dn']);
|
||||
|
||||
foreach (collect(old())->except(['key','dn','step','_token','userpassword_hash','rdn','rdn_value']) as $attr => $value)
|
||||
foreach (collect(old())->except(['key','dn','step','_token','userpassword_hash']) as $attr => $value)
|
||||
$o->{$attr} = $value;
|
||||
}
|
||||
|
||||
@ -393,7 +393,7 @@ class HomeController extends Controller
|
||||
->with('o',$o)
|
||||
->with('page_actions',collect([
|
||||
'copy'=>FALSE,
|
||||
'create'=>TRUE,
|
||||
'create'=>FALSE,
|
||||
'delete'=>TRUE,
|
||||
'edit'=>TRUE,
|
||||
'export'=>TRUE,
|
||||
|
@ -1 +1 @@
|
||||
v2.1.2-dev
|
||||
v2.1.0-rel
|
||||
|
@ -10,8 +10,6 @@
|
||||
@endsection
|
||||
|
||||
@section('main-content')
|
||||
<x-error/>
|
||||
|
||||
<div class="row">
|
||||
<div class="offset-1 col-10">
|
||||
<div class="main-card mb-3 card">
|
||||
|
@ -19,7 +19,7 @@
|
||||
<ul class="nav">
|
||||
@if(isset($page_actions) && $page_actions->get('create'))
|
||||
<li>
|
||||
<button class="btn btn-outline-dark p-1 m-1" id="entry-create" data-bs-toggle="tooltip" data-bs-placement="bottom" title="@lang('Create Child Entry')"><i class="fas fa-fw fa-diagram-project fs-5"></i></button>
|
||||
<button class="btn btn-outline-dark p-1 m-1" id="entry-copy-move" data-bs-toggle="tooltip" data-bs-placement="bottom" title="@lang('New Child')" disabled><i class="fas fa-fw fa-diagram-project fs-5"></i></button>
|
||||
</li>
|
||||
@endif
|
||||
@if(isset($page_actions) && $page_actions->get('export'))
|
||||
@ -210,11 +210,6 @@
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('button[id=entry-create]').on('click',function(item) {
|
||||
location.replace('/#{{ Crypt::encryptString(sprintf('*%s|%s','create',$dn)) }}');
|
||||
location.reload();
|
||||
});
|
||||
|
||||
$('button[id=entry-edit]').on('click',function(item) {
|
||||
item.preventDefault();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user