Debut travail avec jstree

This commit is contained in:
2020-11-20 17:01:37 +01:00
parent 1c2b707ce8
commit 2710490b7b
86 changed files with 2740 additions and 8602 deletions

View File

@@ -1,10 +1,6 @@
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
header('Content-Type: application/json; charset=utf-8');
if( $_GET['id'] == '#')
echo '[{"id":1,"text":"RootDN","children":[{"id":2,"text":"Serveurs","children":true},{"id":3,"text":"Child node 2"}]}]';
echo '[{"id":1,"text":"RootDN","children":[{"id":2,"text":"Serveurs","children":true},{"id":3,"text":"Kubernetes"}]}]';