You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by zr...@apache.org on 2023/02/14 20:36:56 UTC
[trafficcontrol] branch master updated: Added a new css (underline) for label (#7348)
This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 17c6c87914 Added a new css (underline) for label (#7348)
17c6c87914 is described below
commit 17c6c87914f8687dbaa4a25e39b9739bf650461f
Author: Rima Shah <22...@users.noreply.github.com>
AuthorDate: Tue Feb 14 13:36:49 2023 -0700
Added a new css (underline) for label (#7348)
---
traffic_portal/app/src/common/modules/form/_form.scss | 4 ++++
.../modules/form/deliveryService/form.deliveryService.DNS.tpl.html | 2 +-
.../modules/form/deliveryService/form.deliveryService.HTTP.tpl.html | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/traffic_portal/app/src/common/modules/form/_form.scss b/traffic_portal/app/src/common/modules/form/_form.scss
index d0a48be45f..2fc746c316 100644
--- a/traffic_portal/app/src/common/modules/form/_form.scss
+++ b/traffic_portal/app/src/common/modules/form/_form.scss
@@ -384,3 +384,7 @@ input:checked + .slider::before {
width: fit-content;
}
}
+
+.label-underline {
+ text-decoration: underline dotted
+}
diff --git a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
index c249d52eb0..b26ee089e3 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
@@ -344,7 +344,7 @@ under the License.
</div>
<div class="form-group" ng-class="{'has-error': hasError(generalConfig.requiredCapabilities), 'has-feedback': hasError(generalConfig.requiredCapabilities)}">
<div class="has-tooltip control-label col-md-2 col-sm-2 col-xs-12">
- <label for="capability">Required Capability</label>
+ <label class="label-underline" for="capability">Required Capability</label>
<div class="helptooltip">
<div class="helptext">
Required Server capability(ies) associated with this Delivery Service. <a href="https://traffic-control-cdn.readthedocs.io/en/latest/admin/quick_howto/server_capabililty.html?highlight=Capabilities#configure-delivery-service-required-server-capabilities" target="_blank"> See Required Server Capabilities</a>
diff --git a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
index 6a93bccab3..4ab1edea4e 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
@@ -344,7 +344,7 @@ under the License.
</div>
<div class="form-group" ng-class="{'has-error': hasError(generalConfig.requiredCapabilities), 'has-feedback': hasError(generalConfig.requiredCapabilities)}">
<div class="has-tooltip control-label col-md-2 col-sm-2 col-xs-12">
- <label for="capability">Required Capability</label>
+ <label class="label-underline" for="capability">Required Capability</label>
<div class="helptooltip">
<div class="helptext">
Required Server capability(ies) associated with this Delivery Service. <a href="https://traffic-control-cdn.readthedocs.io/en/latest/admin/quick_howto/server_capabililty.html?highlight=Capabilities#configure-delivery-service-required-server-capabilities" target="_blank"> See Required Server Capabilities</a>