FIC_Solar/SolarPower/Views/PowerStation/_Exception.cshtml
2021-06-22 09:45:44 +08:00

73 lines
3.6 KiB
Plaintext

<div class="row mb-5">
<div class="col-6"><h3>異常自動檢查設定</h3></div>
<div class="col-6 text-right">
<a href="javascript:;" class="btn btn-success waves-effect waves-themed mb-3" id="addException-btn" onclick="AddException()">
<span class="fal fa-plus mr-1"></span>新增
</a>
</div>
<div class="w-100">
<table id="Exception_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>
<th>功能</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<div class="modal fade" id="Exception-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-dialog-centered modal-lg" 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="Exception-form" id="Exception-form">
<div class="row">
<div class="form-group col-lg-6">
<label class="form-label" for="Exception_Type_modal"><span class="text-danger">*</span>項目</label>
<select class="form-control" id="Exception_Type_modal">
<option value="1">PR值</option>
</select>
</div>
<div class="form-group col-lg-6">
<label class="form-label" for="Exception_Alarm_modal"><span class="text-danger">*</span>警示方式</label>
<select class="form-control" id="Exception_Alarm_modal">
<option value="1">email通知</option>
</select>
</div>
<div class="form-group col-lg-6">
<label class="form-label" for="Exception_UpperLimit_modal"><span class="text-danger">*</span>上限</label>
<input type="number" id="Exception_UpperLimit_modal" name="Exception_UpperLimit_modal" class="form-control">
</div>
<div class="form-group col-lg-6">
<label class="form-label" for="Exception_LowerLimit_modal"><span class="text-danger">*</span>下限</label>
<input type="number" id="Exception_LowerLimit_modal" name="Exception_LowerLimit_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" onclick="SaveException()">確定</button>
</div>
</div>
</div>
</div>