ibms-dome/Backend/Views/UserInfo/_RoleManager.cshtml
2022-10-14 16:08:54 +08:00

53 lines
2.2 KiB
Plaintext

<div class="row mb-3">
<div class="col-12">
<a href="javascript:;" class="btn btn-success waves-effect waves-themed mb-3" onclick="AddRole()"><span class="fal fa-plus mr-1"></span> 新增</a>
</div>
</div>
<div class="row">
<div class="col-12">
<!-- datatable start -->
<table id="role_table" class="table table-bordered table-hover m-0 text-center">
<thead class="thead-themed">
<tr>
<th>#</th>
<th>名稱</th>
<th>建立時間</th>
<th>功能</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<!-- Modal 角色資料 -->
<div class="modal fade" id="role-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered modal-md" 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="role-form" id="role-form">
<div class="row">
<div class="form-group col-lg-12">
<label class="form-label" for="user_name_modal"><span class="text-danger">*</span>名稱</label>
<input type="text" id="role_name_modal" name="role_name_modal" class="form-control">
</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-role-btn" onclick="SaveRole()">確定</button>
</div>
</div>
</div>
</div>
<!-- /.Modal 人員基本資料 -->