summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/webinterface/templates')
-rw-r--r--modules-available/webinterface/templates/trusted-proxies.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules-available/webinterface/templates/trusted-proxies.html b/modules-available/webinterface/templates/trusted-proxies.html
new file mode 100644
index 00000000..a2461edc
--- /dev/null
+++ b/modules-available/webinterface/templates/trusted-proxies.html
@@ -0,0 +1,25 @@
+<div class="panel panel-default">
+ <div class="panel-heading">{{lang_trustedProxiesSettings}}</div>
+ <div class="panel-body">
+ <p>{{lang_trustedProxiesDescription}}</p>
+
+ <form action="?do=WebInterface" method="post">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="action" value="trusted-proxies">
+
+ <div class="form-group">
+ <label for="trusted-proxies-list">{{lang_trustedProxiesList}}</label>
+ <textarea class="form-control" name="trusted-proxies-list" id="trusted-proxies-list" rows="10"
+ placeholder="10.0.0.1 # public proxy&#10;192.168.1.0 # VPN proxy">{{trustedProxiesList}}</textarea>
+ <p class="help-block">{{lang_trustedProxiesListHelp}}</p>
+ </div>
+
+ <div class="pull-right">
+ <button type="submit" class="btn btn-primary" {{perms.edit.trusted-proxies.disabled}}>
+ <span class="glyphicon glyphicon-floppy-disk"></span>
+ {{lang_save}}
+ </button>
+ </div>
+ </form>
+ </div>
+</div>