2024-07-14 07:41:50 -04:00
|
|
|
{{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">
|
2024-08-24 23:33:25 -04:00
|
|
|
<label>{{tr "LocalService"}}</label>
|
|
|
|
<input type="text" name="Host" placeholder="{{tr "LocalServicePlaceholder"}}">
|
2024-07-14 07:41:50 -04:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
2024-08-24 23:33:25 -04:00
|
|
|
<label>{{tr "BindHostname"}}</label>
|
2024-07-14 07:41:50 -04:00
|
|
|
<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}}
|