mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-10-30 18:33:33 +00:00
* Added name duplication checks to validations for most endpoints invoked via the CRUD.js functionality (applies to most configuration pages). * Improved user interface rendering of backend validation errors, including styled lists and highlighted form elements on validation error. * Implemented tree data filtering in configuration tree to speed up exploration.
41 lines
1.3 KiB
Plaintext
Executable File
41 lines
1.3 KiB
Plaintext
Executable File
@* Copyright (C) 2022-present Jube Holdings Limited
|
|
*
|
|
* This file is part of Jube™ software.
|
|
*
|
|
* Jube™ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License
|
|
* as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
* Jube™ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU Affero General Public License along with Jube™. If not,
|
|
* see <https://www.gnu.org/licenses/>.
|
|
*@
|
|
@page
|
|
@model Tree
|
|
@{
|
|
Layout = "Shared/_Layout";
|
|
}
|
|
|
|
@section Scripts
|
|
{
|
|
<script src="/js/Tree.js"></script>
|
|
}
|
|
|
|
<div id="Splitter">
|
|
<div>
|
|
<div>
|
|
<input id="TreeSearch" class="k-textbox" placeholder="Search..."/>
|
|
<div id="Tree"></div>
|
|
</div>
|
|
</div>
|
|
<div id="ContentPane"></div>
|
|
</div>
|
|
|
|
<script>
|
|
$(document).ready(function () {
|
|
$("#TreeSearch").on("input", function () {
|
|
let query = this.value.toLowerCase();
|
|
SearchTreeNodes(query);
|
|
});
|
|
});
|
|
</script> |