/
proxy.jst.eco
31 lines (31 loc) · 1.33 KB
/
proxy.jst.eco
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<form class="settings-entry" id="<%= @setting.name %>">
<h2><%- @T(@setting.title) %></h2>
<p class="help-text"><%- @T('Proxy address.') %></p>
<div class="horizontal end">
<div class="form-item flex">
<input type="text" name="proxy" value="<%= @proxy %>" placeholder="proxy.example.com:3128" class="form-control">
</div>
</div>
<p class="help-text"><%- @T('Username for proxy connection.') %></p>
<div class="horizontal end">
<div class="form-item flex">
<input type="text" name="proxy_username" value="<%= @proxy_username %>" class="form-control">
</div>
</div>
<p class="help-text"><%- @T('Password for proxy connection.') %></p>
<div class="horizontal end">
<div class="form-item flex">
<input type="text" name="proxy_password" value="<%= @proxy_password %>" class="form-control">
</div>
</div>
<p class="help-text"><%- @T('No proxy for the following hosts.') %></p>
<div class="horizontal end">
<div class="form-item flex">
<input type="text" name="proxy_no" value="<%= @proxy_no %>" placeholder="localhost,127.0.0.1" class="form-control">
</div>
</div>
<div class="horizontal justify-end form-controls">
<button class="btn btn js-test"><%- @T('Test Connection') %></button>
<button class="btn btn--primary js-submit hide"><%- @T('Submit') %></button>
<div>
</form>