// Copyright 2018 The Nomulus Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. {namespace registry.soy.registrar.admin} /** Registrar admin settings page for view and edit. */ {template .settings} {@param clientId: string} {@param allowedTlds: list} {@param readonly: bool}

Administrator settings for {$clientId}

{if $readonly}

Use the 'Edit' button above to switch to enable editing the information below. {/if}
set or remove TLDs this client is allowed access to.
{for $tld in $allowedTlds} {call .tld} {param name: 'allowedTlds[' + index($tld) + ']' /} {param tld: $tld /} {/call} {/for}

{/template} /** TLD form input. */ {template .tld} {@param name: string} {@param tld: string}
{/template}