mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-23 13:18:13 -05:00
32 lines
1.2 KiB
HTML
Vendored
32 lines
1.2 KiB
HTML
Vendored
{{define "component/nat"}}
|
|
<div class="ui tiny nat modal transition hidden">
|
|
<div class="header">Add</div>
|
|
<div class="content">
|
|
<form id="natForm" class="ui form">
|
|
<input type="hidden" name="ID">
|
|
<div class="field">
|
|
<label>{{tr "Name"}}</label>
|
|
<input type="text" name="Name">
|
|
</div>
|
|
<div class="field">
|
|
<label>Agent ID</label>
|
|
<input type="number" name="ServerID" placeholder="1">
|
|
</div>
|
|
<div class="field">
|
|
<label>内网服务</label>
|
|
<input type="text" name="Host" placeholder="192.168.1.1:80(带端口)">
|
|
</div>
|
|
<div class="field">
|
|
<label>绑定域名</label>
|
|
<input type="text" name="Domain" placeholder="router.app.yourdomain.com">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="actions">
|
|
<div class="ui negative button">{{tr "Cancel"}}</div>
|
|
<button class="ui positive nezha-primary-btn right labeled icon button">{{tr "Confirm"}}<i class="checkmark icon"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
{{end}}
|