-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86a73bc
commit 6e36d77
Showing
16 changed files
with
246 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 8 additions & 4 deletions
12
...er/apps/web/client/app/domain/dns-modify/components/add-dns-forms/add-dns-forms.module.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 24 additions & 27 deletions
51
packages/manager/apps/web/client/app/domain/dns-modify/components/external-config-radio.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,36 @@ | ||
<oui-radio | ||
name="dns_configuration_types" | ||
value="::$ctrl.constants.CONFIGURATION_TYPES.EXTERNAL" | ||
model="$ctrl.selectedConfigurationType" | ||
on-change="$ctrl.onConfigurationTypeChange()" | ||
data-name="dns_configuration_types" | ||
data-value="::$ctrl.constants.CONFIGURATION_TYPES.EXTERNAL" | ||
data-model="$ctrl.selectedConfigurationType" | ||
data-on-change="$ctrl.onConfigurationTypeChange()" | ||
> | ||
<oui-radio-label> | ||
<span> | ||
{{ ::"domain_dns_use_my_own_name_servers_title" | translate }} | ||
</span> | ||
<span data-translate="domain_dns_use_my_own_name_servers_title"></span> | ||
<span | ||
data-ng-if="$ctrl.currentConfigurationType === $ctrl.constants.CONFIGURATION_TYPES.EXTERNAL" | ||
class="oui-badge oui-badge_success oui-badge_s" | ||
> | ||
{{ ::"domain_dns_active_label" | translate }} | ||
</span> | ||
data-translate="domain_dns_active_label" | ||
></span> | ||
</oui-radio-label> | ||
<oui-radio-description> | ||
<span> | ||
{{ ::"domain_dns_use_my_own_name_servers_description" | translate }} | ||
</span> | ||
<add-dns-forms | ||
<span | ||
data-translate="domain_dns_use_my_own_name_servers_description" | ||
></span> | ||
<web-domain-dns-modify-add-dns-forms | ||
data-ng-if="$ctrl.selectedConfigurationType === $ctrl.constants.CONFIGURATION_TYPES.EXTERNAL" | ||
configuration-type="::$ctrl.constants.CONFIGURATION_TYPES.EXTERNAL" | ||
min-number-of-dns="::$ctrl.dns.registryConfiguration.minNumberOfDns" | ||
max-number-of-dns="::$ctrl.dns.registryConfiguration.maxNumberOfDns" | ||
modified-dns-list="$ctrl.modifiedDnsList" | ||
update-error="alerts.update" | ||
show-form="$ctrl.showAddForm" | ||
can-submit="$ctrl.canSubmit" | ||
show-cancel-modifications-button="$ctrl.showCancelModificationsButton" | ||
open-validation-modal="$ctrl.openValidationModal()" | ||
cancel-modifications="$ctrl.cancelModifications()" | ||
on-submit="$ctrl.onSubmit(dnsEntry)" | ||
on-remove="$ctrl.onRemove(index)" | ||
should-clear-form="$ctrl.shouldClearForm" | ||
data-configuration-type="::$ctrl.constants.CONFIGURATION_TYPES.EXTERNAL" | ||
data-min-number-of-dns="::$ctrl.dns.registryConfiguration.minNumberOfDns" | ||
data-max-number-of-dns="::$ctrl.dns.registryConfiguration.maxNumberOfDns" | ||
data-modified-dns-list="$ctrl.modifiedDnsList" | ||
data-update-error="alerts.update" | ||
data-show-form="$ctrl.showAddForm" | ||
data-can-submit="$ctrl.canSubmit" | ||
data-show-cancel-modifications-button="$ctrl.showCancelModificationsButton" | ||
data-open-validation-modal="$ctrl.openValidationModal()" | ||
data-cancel-modifications="$ctrl.cancelModifications()" | ||
data-on-submit="$ctrl.onSubmit(dnsEntry)" | ||
data-on-remove="$ctrl.onRemove(index)" | ||
data-should-clear-form="$ctrl.shouldClearForm" | ||
/> | ||
</oui-radio-description> | ||
</oui-radio> |
56 changes: 30 additions & 26 deletions
56
packages/manager/apps/web/client/app/domain/dns-modify/components/internal-config-radio.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.