mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
48 lines
1.6 KiB
HTML
48 lines
1.6 KiB
HTML
|
|
<h3>Http settings</h3>
|
|
|
|
<div class="gf-form-group">
|
|
<div class="gf-form">
|
|
<span class="gf-form-label gf-size-s">Url</span>
|
|
<input class="gf-form-input gf-size-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>
|
|
</div>
|
|
<br>
|
|
|
|
<div class="gf-form">
|
|
<span class="gf-form-label gf-size-s">
|
|
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>
|
|
</div>
|
|
<br>
|
|
|
|
<div class="gf-form">
|
|
<span class="gf-form-label gf-size-s">
|
|
Http Auth
|
|
</span>
|
|
</div>
|
|
<span class="gf-form">
|
|
<editor-checkbox text="Basic Auth" model="current.basicAuth"></editor-checkbox>
|
|
</span>
|
|
<span class="gf-form">
|
|
<editor-checkbox text="With Credentials" model="current.withCredentials"></editor-checkbox><tip>Tip for with credentials</tip>
|
|
</span>
|
|
<br>
|
|
|
|
<div class="gf-form" ng-if="current.basicAuth">
|
|
<span class="gf-form-label gf-size-s">
|
|
User
|
|
</span>
|
|
<input class="gf-form-input gf-size-xl" type="text" ng-model='current.basicAuthUser' placeholder="user" required></input>
|
|
</div>
|
|
<br>
|
|
|
|
<div class="gf-form" ng-if="current.basicAuth">
|
|
<span class="gf-form-label gf-size-s">
|
|
Passord
|
|
</span>
|
|
<input class="gf-form-input gf-size-xl" type="password" ng-model='current.basicAuthPassword' placeholder="password" required></input>
|
|
</div>
|
|
</div>
|
|
|