// 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.registrarcreate} /** * Main page for the registrar creation. Holds a form with the required data. */ {template .formPage} {@param xsrfToken: string} /** Security token. */ {@param username: string} /** Arbitrary username to display. */ {@param logoutUrl: string} /** Generated URL for logging out of Google. */ {@param productName: string} /** Name to display for this software product. */ {@param logoFilename: string} {@param? errorMessage: string} /** If set - display the error message above the form. */ {@param? clientId: string} /** If set - an initial value for the client ID. */ {@param? name: string} /** If set - an initial value for the Registrar name. */ {@param? billingAccount: string} /** If set - the billing accounts data. */ {@param? ianaId: int} /** If set - an initial value for the IANA ID. */ {@param? referralEmail: string} /** If set - an initial value for the ICANN referral email. */ {@param? driveId: string} /** If set - an initial value for the DRIVE ID. */ {@param? consoleUserEmail: string} /** If set - the user to be given console access. */ {@param? street1: string} /** If set - the first line of the street address. */ {@param? street2: string} /** If set - the second line of the street address. */ {@param? street3: string} /** If set - the third line of the street address. */ {@param? city: string} /** If set - the address city. */ {@param? state: string} /** If set - the state/region of the address. */ {@param? countryCode: string} /** If set - the 2 letter country code. */ {@param? zip: string} /** If set - the zip code of the address. */ {call registry.soy.console.header} {param app: 'registrar' /} {param subtitle: 'Create Registrar' /} {/call} {call registry.soy.console.googlebar data="all" /}
{/template} /** * Result page for a successful registrar creation. */ {template .resultSuccess} {@param clientId: string} /** The clientId of the registrar. */ {@param consoleUserEmail: string} /** The email of the account with web access to the registrar. */ {@param passcode: string} /** The phone passcode for this registrar. */ {@param password: string} /** The password given for the created registrars. */ {@param username: string} /** Arbitrary username to display. */ {@param logoutUrl: string} /** Generated URL for logging out of Google. */ {@param productName: string} /** Name to display for this software product. */ {@param logoFilename: string} {call registry.soy.console.header} {param app: 'registrar' /} {param subtitle: 'Create Registrar' /} {/call} {call registry.soy.console.googlebar data="all" /} {/template} /** Form for getting registrar info. */ {template .form_ visibility="private"} {@param xsrfToken: string} /** Security token. */ {@param? clientId: string} /** If set - an initial value for the client ID. */ {@param? name: string} /** If set - an initial value for the Registrar name. */ {@param? billingAccount: string} /** If set - the billing accounts data. */ {@param? ianaId: int} /** If set - an initial value for the IANA ID. */ {@param? referralEmail: string} /** If set - an initial value for the ICANN referral email. */ {@param? driveId: string} /** If set - an initial value for the DRIVE ID. */ {@param? consoleUserEmail: string} /** If set - the user to be given console access. */ {@param? street1: string} /** If set - the first line of the street address. */ {@param? street2: string} /** If set - the second line of the street address. */ {@param? street3: string} /** If set - the third line of the street address. */ {@param? city: string} /** If set - the address city. */ {@param? state: string} /** If set - the state/region of the address. */ {@param? countryCode: string} /** If set - the 2 letter country code. */ {@param? zip: string} /** If set - the zip code of the address. */ {/template} /** * Who goes thar?! */ {template .whoareyou} {@param username: string} /** Arbitrary username to display. */ {@param logoutUrl: string} /** Generated URL for logging out of Google. */ {@param logoFilename: string} {@param productName: string} {call registry.soy.console.header} {param app: 'registrar' /} {param subtitle: 'Not Authorized' /} {/call} {/template}