mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-23 13:18:13 -05:00
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
{{define "component/monitor"}}
|
|
<div class="ui tiny monitor modal transition hidden">
|
|
<div class="header">添加监控</div>
|
|
<div class="content">
|
|
<form id="monitorForm" class="ui form">
|
|
<input type="hidden" name="ID">
|
|
<div class="field">
|
|
<label>备注</label>
|
|
<input type="text" name="Name" placeholder="博客">
|
|
</div>
|
|
<div class="field">
|
|
<label>目标</label>
|
|
<input type="text" name="Target" placeholder="https://t.tt,t.tt,t.tt:80">
|
|
</div>
|
|
<div class="field">
|
|
<label>类型</label>
|
|
<select name="Type" class="ui fluid dropdown">
|
|
<option value="1">HTTP-GET(SSL到期、变更)</option>
|
|
<option value="2">ICMP-Ping</option>
|
|
<option value="3">TCP-Ping</option>
|
|
</select>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class=" actions">
|
|
<div class="ui negative button">取消</div>
|
|
<button class="ui positive right labeled icon button">确认<i class="checkmark icon"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
{{end}} |