2016-02-13 12:42:05 -06:00
|
|
|
|
|
|
|
|
|
|
|
<div class="gf-form-group">
|
2016-02-16 00:57:58 -06:00
|
|
|
<h3>Http settings</h3>
|
|
|
|
|
2016-02-13 12:42:05 -06:00
|
|
|
<div class="gf-form">
|
2016-02-16 05:15:09 -06:00
|
|
|
<span class="gf-form-label gf-size-sm">Url</span>
|
2016-02-15 15:24:28 -06:00
|
|
|
<input class="gf-form-input gf-size-max-xxl" type="text" ng-model='current.url' placeholder="http://my.server.com:8080" ng-pattern="/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/" required></input>
|
2016-02-10 17:14:26 -06:00
|
|
|
</div>
|
2016-02-13 12:42:05 -06:00
|
|
|
|
|
|
|
<div class="gf-form">
|
2016-02-16 05:15:09 -06:00
|
|
|
<span class="gf-form-label gf-size-sm">
|
2016-02-13 12:42:05 -06:00
|
|
|
Access <tip>Direct = url is used directly from browser, Proxy = Grafana backend will proxy the request</tip>
|
|
|
|
</span>
|
|
|
|
<select class="gf-form-input gf-size-auto" ng-model="current.access" ng-options="f for f in ['direct', 'proxy']"></select>
|
2015-12-09 06:05:05 -06:00
|
|
|
</div>
|
2016-02-13 12:42:05 -06:00
|
|
|
|
|
|
|
<div class="gf-form">
|
2016-02-16 05:15:09 -06:00
|
|
|
<span class="gf-form-label gf-size-sm">
|
2016-02-13 12:42:05 -06:00
|
|
|
Http Auth
|
|
|
|
</span>
|
|
|
|
<editor-checkbox text="Basic Auth" model="current.basicAuth"></editor-checkbox>
|
|
|
|
<editor-checkbox text="With Credentials" model="current.withCredentials"></editor-checkbox><tip>Tip for with credentials</tip>
|
2016-02-15 15:24:28 -06:00
|
|
|
</div>
|
2016-02-13 12:42:05 -06:00
|
|
|
|
|
|
|
<div class="gf-form" ng-if="current.basicAuth">
|
2016-02-16 05:15:09 -06:00
|
|
|
<span class="gf-form-label gf-size-sm">
|
2016-02-13 12:42:05 -06:00
|
|
|
User
|
|
|
|
</span>
|
2016-02-15 15:24:28 -06:00
|
|
|
<input class="gf-form-input gf-size-max-xxl" type="text" ng-model='current.basicAuthUser' placeholder="user" required></input>
|
2016-02-10 17:14:26 -06:00
|
|
|
</div>
|
2016-02-13 12:42:05 -06:00
|
|
|
|
|
|
|
<div class="gf-form" ng-if="current.basicAuth">
|
2016-02-16 05:15:09 -06:00
|
|
|
<span class="gf-form-label gf-size-sm">
|
2016-02-13 12:42:05 -06:00
|
|
|
Passord
|
|
|
|
</span>
|
2016-02-15 15:24:28 -06:00
|
|
|
<input class="gf-form-input gf-size-max-xxl" type="password" ng-model='current.basicAuthPassword' placeholder="password" required></input>
|
2015-12-09 06:05:05 -06:00
|
|
|
</div>
|
2015-12-09 04:43:59 -06:00
|
|
|
</div>
|
2016-01-09 12:03:03 -06:00
|
|
|
|