75 lines
4.0 KiB
Plaintext
75 lines
4.0 KiB
Plaintext
<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="addUser-btn" onclick="AddBuild()"><span class="fal fa-plus mr-1"></span>新增</a>
|
|
<a href="/index.html" class="btn btn-dark waves-effect waves-themed mb-3" id="openForgeView-btn"><span class="fal fa-plus mr-1"></span>forge管理</a>
|
|
<a href="/forgeDemo.html" class="btn btn-danger waves-effect waves-themed mb-3" id="openForgeDemo-btn"><span class="fal fa-plus mr-1"></span>forge Demo</a>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<!-- datatable start -->
|
|
<table id="buildInfo_table" class="table table-bordered table-hover m-0 text-center">
|
|
<thead class="thead-themed">
|
|
<tr>
|
|
<th>序</th>
|
|
<th>排序</th>
|
|
<th>區域名稱</th>
|
|
<th>監控主機 IP</th>
|
|
<th>監控主機 PORT</th>
|
|
<th>樓層數量</th>
|
|
<th>建立時間</th>
|
|
<th>功能</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Modal 區域基本資料 -->
|
|
<div class="modal fade" id="build-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="user-form" id="build-form">
|
|
<div class="row">
|
|
<div class="form-group col-12">
|
|
<label class="form-label" for="build_name_tag"><span class="text-danger">*</span>代碼</label>
|
|
<input type="text" id="build_name_tag" class="form-control" name="build_name_tag">
|
|
</div>
|
|
<div class="form-group col-12">
|
|
<label class="form-label" for="build_name_modal"><span class="text-danger">*</span>區域名稱</label>
|
|
<input type="text" id="build_name_modal" class="form-control" name="build_name_modal">
|
|
</div>
|
|
<div class="form-group col-12">
|
|
<label class="form-label" for="ip_address_modal"><span class="text-danger">*</span>監控主機 IP</label>
|
|
<input type="text" id="ip_address_modal" class="form-control" name="ip_address_modal">
|
|
</div>
|
|
<div class="form-group col-12">
|
|
<label class="form-label" for="ip_port_modal"><span class="text-danger">*</span>監控主機 PORT</label>
|
|
<input type="text" id="ip_port_modal" class="form-control" name="ip_port_modal">
|
|
</div>
|
|
<div class="form-group col-12">
|
|
<label class="form-label" for="build_file_3d_modal">3D檔(限制NWD、NWC格式)</label>
|
|
<input type="file" id="build_file_3d_modal" class="form-control" name="build_file_3d_modal" onchange="changeImage(this)">
|
|
</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-building-btn" onclick="SaveBuild()">確定</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /.Modal 區域基本資料 --> |