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.
164 lines
6.6 KiB
Plaintext
164 lines
6.6 KiB
Plaintext
@* 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 EntityAnalysisModelAbstractionCalculation
|
|
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
<script src="/js/BuilderCoder.js"></script>
|
|
<script src="/js/CRUD.js"></script>
|
|
<script src="/js/Model/Frame/EntityAnalysisModelAbstractionCalculation.js"></script>
|
|
|
|
<form id="Form" class="k-form">
|
|
<body>
|
|
<div class="fCStyle">
|
|
<table id="TemplateTable" class="tTStyle">
|
|
<tr>
|
|
<td>
|
|
<label for="Name">Name</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" id="Name" class="k-textbox large"/>
|
|
<span class="k-invalid-msg" data-for="Name"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="Active" class="k-checkbox-label">Active</label>
|
|
</td>
|
|
<td>
|
|
<input id="Active" type="checkbox"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="Locked" class="k-checkbox-label">Locked</label>
|
|
</td>
|
|
<td>
|
|
<input id="Locked" type="checkbox"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="AbstractionCalculationTypeId">Calculation Type</label>
|
|
</td>
|
|
<td>
|
|
<ul id="AbstractionCalculationTypeId" class="fieldlist">
|
|
<li>
|
|
<input type="radio" id="AbstractionCalculationTypeIdAdd" class="k-radio"
|
|
name="AbstractionCalculationTypeId" value="1"/>
|
|
<label class="k-radio-label" for="AbstractionCalculationTypeIdAdd">Add</label>
|
|
</li>
|
|
<li>
|
|
<input type="radio" class="k-radio" id="AbstractionCalculationTypeIdSubtract"
|
|
name="AbstractionCalculationTypeId" value="2"/>
|
|
<label class="k-radio-label" for="AbstractionCalculationTypeIdSubtract">Subtract</label>
|
|
</li>
|
|
<li>
|
|
<input type="radio" class="k-radio" id="AbstractionCalculationTypeIdDivide"
|
|
name="AbstractionCalculationTypeId" checked value="3"/>
|
|
<label class="k-radio-label" for="AbstractionCalculationTypeIdDivide">Divide</label>
|
|
</li>
|
|
<li>
|
|
<input type="radio" class="k-radio" id="AbstractionCalculationTypeIdMultiply"
|
|
name="AbstractionCalculationTypeId" value="4"/>
|
|
<label class="k-radio-label" for="AbstractionCalculationTypeIdMultiply">Multiply</label>
|
|
</li>
|
|
<li>
|
|
<input type="radio" class="k-radio" id="AbstractionCalculationTypeIdCoder"
|
|
name="AbstractionCalculationTypeId" value="5"/>
|
|
<label class="k-radio-label" for="AbstractionCalculationTypeIdCoder">Coder</label>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label>Function</label>
|
|
</td>
|
|
<td>
|
|
<table id="Basic">
|
|
<tr>
|
|
<td>
|
|
<label for="AbstractionLeft">Abstraction Left</label>
|
|
</td>
|
|
<td>
|
|
<select id="AbstractionLeft"></select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="AbstractionRight">Abstraction Right</label>
|
|
</td>
|
|
<td>
|
|
<select id="AbstractionRight"></select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div id="Advanced">
|
|
<div id="rule"></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="ReportTable">Report Table</label>
|
|
</td>
|
|
<td>
|
|
<input id="ReportTable" type="checkbox"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="ResponsePayload">Response Payload</label>
|
|
</td>
|
|
<td>
|
|
<input id="ResponsePayload" type="checkbox"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="Version">Version</label>
|
|
</td>
|
|
<td>
|
|
<div id="Version"></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="CreatedUser">User Created</label>
|
|
</td>
|
|
<td>
|
|
<div id="CreatedUser"></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="CreatedDate">Created Date</label>
|
|
</td>
|
|
<td>
|
|
<div id="CreatedDate"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="footerStyle">
|
|
<div id="ErrorMessage" class="errorMessage"></div>
|
|
<button type="button" id="Add" class="ButtonDefault">Add</button>
|
|
<button type="button" id="Update" class="ButtonDefault">Update</button>
|
|
<button type="button" id="Delete" class="ButtonDefault">Delete</button>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</form> |