THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

feat: add tooltips on DNS servers input fields

Signed-off-by: Kirill K <kovalev.kirill.a@gmail.com>
pull/3511/head
Kirill K 1 month ago
parent
commit
b83ef50825
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      app/docker/views/containers/create/createcontainer.html

+ 8
- 2
app/docker/views/containers/create/createcontainer.html View File

@@ -437,7 +437,10 @@
<!-- !ipv6-input -->
<!-- dns-primary-input -->
<div class="form-group">
<label for="container_dns_primary" class="col-sm-2 col-lg-1 control-label text-left">Primary DNS Server</label>
<label for="container_dns_primary" class="col-sm-2 col-lg-1 control-label text-left">
Primary DNS Server
<portainer-tooltip position="top" message="When enabled Docker DNS is bypassed, resulting in no dynamic service discovery. As such the container won't be able to ping other containers by name" class="ng-isolate-scope"><span class="interactive" tooltip-append-to-body="true" tooltip-placement="top" tooltip-class="portainer-tooltip" uib-tooltip="When enabled Docker DNS is bypassed, resulting in no dynamic service discovery. As such the container won't be able to ping other containers by name"><i class="fa fa-question-circle tooltip-icon" aria-hidden="true"></i></span></portainer-tooltip>
</label>
<div class="col-sm-9">
<input type="text" class="form-control" ng-model="formValues.DnsPrimary" id="container_dns_primary" placeholder="e.g. 1.1.1.1">
</div>
@@ -445,7 +448,10 @@
<!-- !dns-primary-input -->
<!-- dns-secondary-input -->
<div class="form-group">
<label for="container_dns_secondary" class="col-sm-2 col-lg-1 control-label text-left">Secondary DNS Server</label>
<label for="container_dns_secondary" class="col-sm-2 col-lg-1 control-label text-left">
Secondary DNS Server
<portainer-tooltip position="top" message="When enabled Docker DNS is bypassed, resulting in no dynamic service discovery. As such the container won't be able to ping other containers by name" class="ng-isolate-scope"><span class="interactive" tooltip-append-to-body="true" tooltip-placement="top" tooltip-class="portainer-tooltip" uib-tooltip="When enabled Docker DNS is bypassed, resulting in no dynamic service discovery. As such the container won't be able to ping other containers by name"><i class="fa fa-question-circle tooltip-icon" aria-hidden="true"></i></span></portainer-tooltip>
</label>
<div class="col-sm-9">
<input type="text" class="form-control" ng-model="formValues.DnsSecondary" id="container_dns_secondary" placeholder="e.g. 8.8.8.8">
</div>


Loading…
Cancel
Save