ibms-dome/Backend/Views/BuildInfo/_BuildFloor.cshtml
2022-10-25 09:11:51 +08:00

73 lines
3.6 KiB
Plaintext

<div class="row mb-3" id="BuildList">
@*<button type="button" class="btn btn-outline-success waves-effect waves-themed ml-2 mb-2 btn-station" id="AAA">123</button>
<button type="button" class="btn btn-success waves-effect waves-themed ml-2 mb-2 btn-station" id="BBB">456</button>*@
</div>
<div class="row">
<div class="col-12 d-flex justify-content-end">
<a href="javascript:;" class="btn btn-success waves-effect waves-themed mb-3" onclick="AddFloor()"><span class="fal fa-plus mr-1"></span>新增</a>
</div>
</div>
<div class="row">
<div class="col-12">
<!-- datatable start -->
<table id="buildFloor_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>
<th>建立時間</th>
<th>功能</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<!-- Modal 樓層設定 -->
<div class="modal fade" id="floor-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered" 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="floor-form">
<div class="row">
<div class="form-group col-12">
<label class="form-label">區域名稱</label>
<h6 id="BuildName"></h6>
</div>
<div class="form-group col-12">
<label class="form-label" for="floor_name_modal"><span class="text-danger">*</span>樓層</label>
<input type="text" id="floor_name_modal" class="form-control" name="floor_name_modal">
</div>
<div class="form-group col-12">
<label class="form-label" for="floor_map_file_modal">平面圖檔(限制SVG格式)</label>
<input type="file" id="floor_map_file_modal" class="form-control" name="floor_map_file_modal" onchange="changeImage(this)" accept="image/svg+xml">
</div>
@*<div class="form-group col-12">
<label class="form-label" for="floor_map_file_modal">3D檔(限制SVG格式)</label>
<input type="file" id="floor_map_file_modal" class="form-control" name="floor_map_file_modal" onchange="changeImage(this)" accept="image/svg+xml">
</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-floor-btn" onclick="SaveFloor()">確定</button>
</div>
</div>
</div>
</div>
<!-- /.Modal 樓層設定 -->