// 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 allowedTlds: list} {@param type: string} // the registrar type, e.g. REAL, OTE, TEST, etc. {@param environment: string} // the server environment e.g. PRODUCTION, SANDBOX

Administrator settings

{/if} {if $type == 'OTE'} {call .oteStatus} {param registrarType: $type /} {/call} {/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}
{if $environment != 'PRODUCTION'}

Generate new OT&E accounts here

New registrar form

{/template} /** TLD form input. */ {template .tld} {@param name: string} {@param tld: string}
{/template} {template .oteStatus} {@param registrarType: string} {/template} {template .oteResultsTable} {@param completed: bool} {@param detailsList: list<[description: string, timesPerformed: int, requirement: int, completed: bool]>} {if $completed} {else} {/if} {for $detail in $detailsList} {if $detail.completed} {elseif $detail.timesPerformed > 0} {else} {/if} {/for}
Status: Completed
Status: Not Completed
Test Name Actions Performed
{$detail.description} Completed
{$detail.description} {$detail.timesPerformed} of {$detail.requirement}
{$detail.description} Not started
{/template} {template .oteErrorArea} {@param message: string}

Error: {$message}

{/template}