ibms-dome/Backend/Views/SystemCategory/_SystemMain.cshtml

58 lines
2.7 KiB
Plaintext
Raw Normal View History

2022-10-14 16:08:54 +08:00
<div class="row mb-3">
<div class="col-12 d-flex justify-content-end">
<a href="javascript:;" class="btn btn-success waves-effect waves-themed mb-3" id="addSystemMain-btn" onclick="AddSystemMain()"><span class="fal fa-plus mr-1"></span>新增</a>
</div>
</div>
<div class="row">
<div class="col-12">
<!-- datatable start -->
<table id="system_main_table" class="table table-bordered table-hover m-0 text-center">
<thead class="thead-themed">
<tr>
<th>序</th>
<th>系統大類名稱</th>
<th>代號</th>
<th>建立時間</th>
<th>功能</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<!-- Modal 系統大類資料 -->
<div class="modal fade" id="system-main-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">
系統大類資料 - 新增
</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="fal fa-times"></i></span>
</button>
</div>
<div class="modal-body">
<form class="system-main-form" id="system-main-form">
<div class="row">
<div class="form-group col-12">
<label class="form-label" for="system_main_name_modal"><span class="text-danger">*</span>大類名稱</label>
<input type="text" id="system_main_name_modal" class="form-control" name="system_main_name_modal">
</div>
<div class="form-group col-12">
<label class="form-label" for="system_main_code_modal"><span class="text-danger">*</span>代號</label>
<input type="text" id="system_main_code_modal" class="form-control" name="system_main_code_modal">
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
<button type="button" class="btn btn-primary" id="save-system-main-btn" onclick="SaveSystemMain()">確定</button>
</div>
</div>
</div>
</div>
<!-- /.Modal 系統大類資料 -->