Files
EdgeAdmin/web/views/@default/servers/addOriginPopup.html
2020-09-15 14:44:52 +08:00

32 lines
1006 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{$layout "layout_popup"}
<h3>添加源站地址</h3>
<form class="ui form" data-tea-action="$" data-tea-success="success">
<table class="ui table selectable definition">
<tr>
<td>源站协议</td>
<td>
<!-- HTTP -->
<select class="ui dropdown auto-width" name="protocol" v-if="serverType == 'httpProxy' || serverType == 'httpWeb'">
<option value="http">HTTP</option>
<option value="https">HTTPS</option>
</select>
<!-- TCP -->
<select class="ui dropdown auto-width" name="protocol" v-if="serverType == 'tcpProxy'">
<option value="tcp">TCP</option>
<option value="tls">TLS</option>
</select>
</td>
</tr>
<tr>
<td class="title">源站地址</td>
<td>
<input type="text" name="addr" ref="focus"/>
<p class="comment">源站服务器地址通常是一个IP或域名加端口<span v-if="serverType == 'httpProxy'">,不需要加 http:// 或 https://</span></p>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>