mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +02:00
Migrate {css} and {xid} tags to new builtinfunctions css() and xid()
Output should be identical in either syntax, and migration will bring css and xid into consistency with other soy functions, plus it'll allow us to simplify the soy parser. LSC: https://docs.google.com/document/d/1evNu02pVXGm1QIcN0dTmNi-GnhbCKOWdrZwBJmcNaU0/edit# Tested: TAP --sample for global presubmit queue [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=164887843
This commit is contained in:
parent
477617eec9
commit
4de8d3eae1
12 changed files with 235 additions and 192 deletions
12
WORKSPACE
12
WORKSPACE
|
@ -2,11 +2,11 @@ workspace(name = "domain_registry")
|
|||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_closure",
|
||||
sha256 = "c104d30b4aaf23d72afe327b4478d1c08cf1ff75c6db2060682bb7ad0591e19b",
|
||||
strip_prefix = "rules_closure-962d929bc769fc320dd395f54fef3e9db62c3920",
|
||||
sha256 = "286e9169d478c4549199e862d63b24aa8530e0fe1c1fd44524d307f3a56b0fa0",
|
||||
strip_prefix = "rules_closure-c8e68361db0875f6fabb23abed16f1cebbb8b5d5",
|
||||
urls = [
|
||||
"http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/962d929bc769fc320dd395f54fef3e9db62c3920.tar.gz", # 2016-12-28
|
||||
"https://github.com/bazelbuild/rules_closure/archive/962d929bc769fc320dd395f54fef3e9db62c3920.tar.gz",
|
||||
"http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/c8e68361db0875f6fabb23abed16f1cebbb8b5d5.tar.gz", # 2017-08-08
|
||||
"https://github.com/bazelbuild/rules_closure/archive/c8e68361db0875f6fabb23abed16f1cebbb8b5d5.tar.gz",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -17,10 +17,8 @@ closure_repositories(
|
|||
omit_com_google_guava = True,
|
||||
omit_com_ibm_icu_icu4j = True,
|
||||
omit_javax_inject = True,
|
||||
omit_org_apache_tomcat_servlet_api = True,
|
||||
omit_org_json = True,
|
||||
omit_org_mortbay_jetty = True,
|
||||
omit_org_mortbay_jetty_util = True,
|
||||
omit_com_google_template_soy = True,
|
||||
)
|
||||
|
||||
load("//java/google/registry:repositories.bzl", "domain_registry_repositories")
|
||||
|
|
|
@ -107,7 +107,8 @@ def domain_registry_repositories(
|
|||
omit_org_mortbay_jetty_servlet_api=False,
|
||||
omit_org_mortbay_jetty_util=False,
|
||||
omit_org_slf4j_api=False,
|
||||
omit_org_yaml_snakeyaml=False):
|
||||
omit_org_yaml_snakeyaml=False,
|
||||
omit_com_google_template_soy=False):
|
||||
"""Imports dependencies for Nomulus."""
|
||||
domain_registry_bazel_check()
|
||||
if not omit_com_beust_jcommander:
|
||||
|
@ -282,6 +283,8 @@ def domain_registry_repositories(
|
|||
org_slf4j_api()
|
||||
if not omit_org_yaml_snakeyaml:
|
||||
org_yaml_snakeyaml()
|
||||
if not omit_com_google_template_soy:
|
||||
com_google_template_soy()
|
||||
|
||||
def com_beust_jcommander():
|
||||
java_import_external(
|
||||
|
@ -1651,6 +1654,48 @@ def org_yaml_snakeyaml():
|
|||
],
|
||||
)
|
||||
|
||||
def com_google_template_soy():
|
||||
java_import_external(
|
||||
name = "com_google_template_soy",
|
||||
jar_sha256 = "3c4e61234e9ee9f79411da997e23b201bcf281255469c76d162dac07a67dbb78",
|
||||
jar_urls = [
|
||||
"http://repo1.maven.org/maven2/com/google/template/soy/2017-06-22/soy-2017-06-22.jar",
|
||||
"http://central.maven.org/maven2/com/google/template/soy/2017-06-22/soy-2017-06-22.jar",
|
||||
],
|
||||
deps = [
|
||||
"@args4j",
|
||||
"@org_ow2_asm",
|
||||
"@org_ow2_asm_analysis",
|
||||
"@org_ow2_asm_commons",
|
||||
"@org_ow2_asm_util",
|
||||
"@com_google_guava",
|
||||
"@com_google_inject_guice",
|
||||
"@com_google_inject_extensions_guice_assistedinject",
|
||||
"@com_google_inject_extensions_guice_multibindings",
|
||||
"@com_ibm_icu_icu4j",
|
||||
"@org_json",
|
||||
"@com_google_code_findbugs_jsr305",
|
||||
"@javax_inject",
|
||||
"@com_google_common_html_types",
|
||||
],
|
||||
licenses = ["notice"], # The Apache Software License, Version 2.0
|
||||
extra_build_file_content = "\n".join([
|
||||
("java_binary(\n" +
|
||||
" name = \"%s\",\n" +
|
||||
" main_class = \"com.google.template.soy.%s\",\n" +
|
||||
" output_licenses = [\"unencumbered\"],\n" +
|
||||
" runtime_deps = [\":com_google_template_soy\"],\n" +
|
||||
")\n") % (name, name)
|
||||
for name in ("SoyParseInfoGenerator",
|
||||
"SoyToJbcSrcCompiler",
|
||||
"SoyToJsSrcCompiler",
|
||||
"SoyToPySrcCompiler",
|
||||
"SoyToIncrementalDomSrcCompiler")
|
||||
]),
|
||||
)
|
||||
|
||||
|
||||
|
||||
def _check_bazel_version(project, bazel_version):
|
||||
if "bazel_version" not in dir(native):
|
||||
fail("%s requires Bazel >=%s but was <0.2.1" % (project, bazel_version))
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
{@param logoFilename: string}
|
||||
{@param productName: string}
|
||||
<div id="kd-googlebar" role="banner">
|
||||
<a class="{css logo}" href="/registrar">
|
||||
<a class="{css('logo')}" href="/registrar">
|
||||
<img src="/assets/images/{$logoFilename}" alt="{$productName}">
|
||||
</a>
|
||||
<div id="kd-search">
|
||||
|
@ -78,20 +78,20 @@
|
|||
placeholder="Search using format 'contact/id'"
|
||||
x-webkit-speech>
|
||||
<a id="kd-searchbutton"
|
||||
class="{css kd-button} {css kd-button-submit}"
|
||||
class="{css('kd-button')} {css('kd-button-submit')}"
|
||||
style="-webkit-user-select: none;">
|
||||
<img width="21" height="21" alt="Search White"
|
||||
src="/assets/images/icons/svg/search.svg">
|
||||
</a>
|
||||
</div>
|
||||
<div class="{css kd-butterbar}">
|
||||
<div class="{css('kd-butterbar')}">
|
||||
<p>
|
||||
<span class="{css kd-butterbar-text}"></span>{sp}
|
||||
<a class="{css kd-butterbar-dismiss}">Dismiss</a>
|
||||
<span class="{css('kd-butterbar-text')}"></span>{sp}
|
||||
<a class="{css('kd-butterbar-dismiss')}">Dismiss</a>
|
||||
</p>
|
||||
</div>
|
||||
<div id="kd-social" class="{css kd-buttonbar} {css right}">
|
||||
<span class="{css kd-name} {css mobile-hide} {css x-crush-hide}">
|
||||
<div id="kd-social" class="{css('kd-buttonbar')} {css('right')}">
|
||||
<span class="{css('kd-name')} {css('mobile-hide')} {css('x-crush-hide')}">
|
||||
{$username}{sp}
|
||||
<a href="{$logoutUrl}" tabindex="-1">Sign out</a>
|
||||
</span>
|
||||
|
@ -102,25 +102,25 @@
|
|||
|
||||
/** Appbar add/back, edit/cancel appbar. */
|
||||
{template .appbarButtons}
|
||||
<div id="reg-app-buttons" class="{css kd-buttonbar} {css left}">
|
||||
<div id="reg-app-buttons" class="{css('kd-buttonbar')} {css('left')}">
|
||||
<button id="reg-app-btn-add"
|
||||
type="button"
|
||||
class="{css kd-button} {css kd-button-submit} {css hidden}">
|
||||
class="{css('kd-button')} {css('kd-button-submit')} {css('hidden')}">
|
||||
Add</button>
|
||||
<div id="reg-app-btns-edit" class="{css hidden}">
|
||||
<div id="reg-app-btns-edit" class="{css('hidden')}">
|
||||
<button id="reg-app-btn-edit"
|
||||
type="button"
|
||||
class="{css kd-button} {css kd-button-submit}">
|
||||
class="{css('kd-button')} {css('kd-button-submit')}">
|
||||
Edit</button>
|
||||
<button id="reg-app-btn-back" type="button" class="{css kd-button}">
|
||||
<button id="reg-app-btn-back" type="button" class="{css('kd-button')}">
|
||||
Back</button>
|
||||
</div>
|
||||
<div id="reg-app-btns-save" class="{css hidden}">
|
||||
<div id="reg-app-btns-save" class="{css('hidden')}">
|
||||
<button id="reg-app-btn-save"
|
||||
type="button"
|
||||
class="{css kd-button} {css kd-button-submit}">
|
||||
class="{css('kd-button')} {css('kd-button-submit')}">
|
||||
Save</button>
|
||||
<button id="reg-app-btn-cancel" type="button" class="{css kd-button}">
|
||||
<button id="reg-app-btn-cancel" type="button" class="{css('kd-button')}">
|
||||
Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -132,18 +132,18 @@
|
|||
*/
|
||||
{template .navCreateButton}
|
||||
<a id="reg-create-button"
|
||||
class="{css kd-button} {css kd-button-action} {css kd-menubutton}"
|
||||
class="{css('kd-button')} {css('kd-button-action')} {css('kd-menubutton')}"
|
||||
style="-webkit-user-select: none;">
|
||||
<span class="{css label}">Create</span>
|
||||
<span class="{css kd-disclosureindicator}"></span>
|
||||
<ul class="{css kd-menulist}" style="top: 27px;">
|
||||
<li class="{css kd-menulistitem}"
|
||||
<span class="{css('label')}">Create</span>
|
||||
<span class="{css('kd-disclosureindicator')}"></span>
|
||||
<ul class="{css('kd-menulist')}" style="top: 27px;">
|
||||
<li class="{css('kd-menulistitem')}"
|
||||
style="-webkit-user-select: none;"
|
||||
id="reg-menu-domain-create">Domain
|
||||
<li class="{css kd-menulistitem}"
|
||||
<li class="{css('kd-menulistitem')}"
|
||||
style="-webkit-user-select: none;"
|
||||
id="reg-menu-contact-create">Contact
|
||||
<li class="{css kd-menulistitem}"
|
||||
<li class="{css('kd-menulistitem')}"
|
||||
style="-webkit-user-select: none;"
|
||||
id="reg-menu-host-create">Host
|
||||
</ul>
|
||||
|
@ -155,8 +155,8 @@
|
|||
* Legal notices included as footer.
|
||||
*/
|
||||
{template .footer}
|
||||
<div class="{css pageFooter} {css clearfix}">
|
||||
<ul class="{css linklist} {css right}">
|
||||
<div class="{css('pageFooter')} {css('clearfix')}">
|
||||
<ul class="{css('linklist')} {css('right')}">
|
||||
<li>
|
||||
<a href="https://www.registry.google/about/privacy.html">Privacy</a>
|
||||
<li>
|
||||
|
|
|
@ -53,10 +53,10 @@
|
|||
* @param? readonly
|
||||
*/
|
||||
{template .inputFieldRow}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label for="{if isNonnull($namePrefix)}{$namePrefix + $name}{else}{$name}{/if}"
|
||||
class="{css setting-label}">
|
||||
class="{css('setting-label')}">
|
||||
{if isNonnull($label)}
|
||||
{$label}
|
||||
{else}
|
||||
|
@ -64,10 +64,10 @@
|
|||
{/if}
|
||||
</label>
|
||||
{if isNonnull($description)}
|
||||
<span class="{css description}">{$description}</span>
|
||||
<span class="{css('description')}">{$description}</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
<input id="{if isNonnull($namePrefix)}{$namePrefix + $name}{else}{$name}{/if}"
|
||||
name="{if isNonnull($namePrefix)}{$namePrefix + $name}{else}{$name}{/if}"
|
||||
{if isNonnull($item)}
|
||||
|
@ -94,11 +94,11 @@
|
|||
{@param label: string}
|
||||
{@param? forId: string}
|
||||
{@param? description: string}
|
||||
<label {if isNonnull($forId)}for="{$forId}"{/if} class="{css setting-label}">
|
||||
<label {if isNonnull($forId)}for="{$forId}"{/if} class="{css('setting-label')}">
|
||||
{$label}
|
||||
</label>
|
||||
{if isNonnull($description)}
|
||||
<span class="{css description}">{$description}</span>
|
||||
<span class="{css('description')}">{$description}</span>
|
||||
{/if}
|
||||
{/template}
|
||||
|
||||
|
@ -134,13 +134,13 @@
|
|||
{@param? placeholder: string}
|
||||
{@param? clazz: string}
|
||||
{let $forId: isNonnull($namePrefix) ? $namePrefix + $name : $name /}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
{call .inputFieldLabel data="all"}
|
||||
{param forId: $forId /}
|
||||
{/call}
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
{call .inputFieldValue data="all" /}
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -242,7 +242,7 @@
|
|||
<td>
|
||||
<select id="{$name}"
|
||||
name="{$name}"
|
||||
class="{css kd-button} {css reg-select}"
|
||||
class="{css('kd-button')} {css('reg-select')}"
|
||||
{if $readonly}disabled{/if}>
|
||||
{foreach $option in $options}
|
||||
<option value="{$option}" {if $selected == $option}selected{/if}>
|
||||
|
@ -303,16 +303,16 @@
|
|||
{@param id: string} /** ID for button. */
|
||||
{@param selected: string} /** Selected item. */
|
||||
{@param items: list<string>} /** Selectable items. */
|
||||
<div id="{$id}" class="{css kd-button} {css kd-menubutton} {css kd-select}">
|
||||
<span class="{css label}">
|
||||
<div id="{$id}" class="{css('kd-button')} {css('kd-menubutton')} {css('kd-select')}">
|
||||
<span class="{css('label')}">
|
||||
{$selected}
|
||||
</span>
|
||||
<span class="{css kd-disclosureindicator}"></span>
|
||||
<ul class="{css kd-menulist}">
|
||||
<span class="{css('kd-disclosureindicator')}"></span>
|
||||
<ul class="{css('kd-menulist')}">
|
||||
{foreach $item in $items}
|
||||
<li class="{css kd-menulistitem}
|
||||
<li class="{css('kd-menulistitem')}
|
||||
{if $item == $selected}
|
||||
{sp}{css selected}
|
||||
{sp}{css('selected')}
|
||||
{/if}">
|
||||
{$item}
|
||||
{/foreach}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
{/call}
|
||||
{call registry.soy.console.googlebar data="all" /}
|
||||
<div id="reg-app">
|
||||
<div id="reg-appbar" class="{css kd-appbar}"></div>
|
||||
<div id="reg-appbar" class="{css('kd-appbar')}"></div>
|
||||
{call .navbar_ data="all" /}
|
||||
<div id="reg-content-and-footer">
|
||||
<div id="reg-content">
|
||||
|
@ -77,7 +77,7 @@
|
|||
/** Sidebar nav. Ids on each elt for testing only. */
|
||||
{template .navbar_ visibility="private"}
|
||||
{@param showPaymentLink: bool}
|
||||
<div id="reg-nav" class="{css kd-content-sidebar}">
|
||||
<div id="reg-nav" class="{css('kd-content-sidebar')}">
|
||||
<ul id="reg-navlist">
|
||||
<li>
|
||||
<a href="/registrar#">Home</a>
|
||||
|
@ -89,7 +89,7 @@
|
|||
{/if}
|
||||
<li>
|
||||
<ul>
|
||||
<span class="{css reg-navlist-sub}">Settings</span>
|
||||
<span class="{css('reg-navlist-sub')}">Settings</span>
|
||||
<li>
|
||||
<a href="/registrar#whois-settings">WHOIS</a>
|
||||
<li>
|
||||
|
@ -114,8 +114,8 @@
|
|||
{param app: 'registrar' /}
|
||||
{param subtitle: 'Console Disabled' /}
|
||||
{/call}
|
||||
<div class="{css whoAreYou-disabled}">
|
||||
<a class="{css logo}" href="/registrar">
|
||||
<div class="{css('whoAreYou-disabled')}">
|
||||
<a class="{css('logo')}" href="/registrar">
|
||||
<img src="/assets/images/{$logoFilename}" alt="{$productName}">
|
||||
</a>
|
||||
<h1>Console is disabled</h1>
|
||||
|
@ -140,8 +140,8 @@
|
|||
{param app: 'registrar' /}
|
||||
{param subtitle: 'Please Login' /}
|
||||
{/call}
|
||||
<div class="{css whoAreYou}">
|
||||
<a class="{css logo}" href="/registrar">
|
||||
<div class="{css('whoAreYou')}">
|
||||
<a class="{css('logo')}" href="/registrar">
|
||||
<img src="/assets/images/{$logoFilename}" alt="{$productName}">
|
||||
</a>
|
||||
<h1>You need permission</h1>
|
||||
|
@ -153,7 +153,7 @@
|
|||
You are signed in as <strong>{$username}</strong>.
|
||||
<div>
|
||||
<a href="{$logoutUrl}"
|
||||
class="{css kd-button} {css kd-button-submit}"
|
||||
class="{css('kd-button')} {css('kd-button-submit')}"
|
||||
tabindex="-1">Logout and switch to another account</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -170,7 +170,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="{css dashbox}">
|
||||
<div class="{css('dashbox')}">
|
||||
<img src="/assets/images/homeResources.png">
|
||||
<h2>Access Resources</h2>
|
||||
Use Google Drive to view<br>
|
||||
|
@ -178,14 +178,14 @@
|
|||
documentation & billing reports.
|
||||
</div>
|
||||
<td>
|
||||
<div class="{css dashbox}">
|
||||
<div class="{css('dashbox')}">
|
||||
<img id="gear" src="/assets/images/homeSettings.png">
|
||||
<h2>Manage Settings</h2>
|
||||
Security, WHOIS & contact<br>
|
||||
settings are easy to view and edit.
|
||||
</div>
|
||||
<td>
|
||||
<div class="{css dashbox}">
|
||||
<div class="{css('dashbox')}">
|
||||
<img src="/assets/images/homeContact.png">
|
||||
<h2>Contact Us</h2>
|
||||
View important phone & email<br>
|
||||
|
@ -208,17 +208,17 @@
|
|||
{@param supportEmail: string}
|
||||
{@param announcementsEmail: string}
|
||||
{@param supportPhoneNumber: string}
|
||||
<div id="domain-registrar-contact-us" class="{css item}">
|
||||
<div id="domain-registrar-contact-us" class="{css('item')}">
|
||||
<h1>Contact us</h1>
|
||||
<p>Our support team can assist you with any technical or operational
|
||||
questions you may have regarding our registry services.
|
||||
|
||||
<table>
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Email</label>
|
||||
<label class="{css('setting-label')}">Email</label>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
<p>
|
||||
<a href="mailto:{$integrationEmail}">{$integrationEmail}</a><br>
|
||||
For help with OT&E sandbox and certification, or new
|
||||
|
@ -230,18 +230,18 @@
|
|||
with our registry system. If the issue is urgent, please put
|
||||
"Urgent" in the email title.
|
||||
|
||||
<p class="{css description}">Note: You may receive occasional service
|
||||
<p class="{css('description')}">Note: You may receive occasional service
|
||||
announcements
|
||||
via <strong>{$announcementsEmail}</strong>. You
|
||||
will not be able to reply to those messages.
|
||||
|
||||
<tr><td colspan="2"><hr>
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Phone</label>
|
||||
<span class="{css description}">For general support inquiries 24x7</span>
|
||||
<label class="{css('setting-label')}">Phone</label>
|
||||
<span class="{css('description')}">For general support inquiries 24x7</span>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
<p>Please be ready with your account name and telephone passcode
|
||||
when contacting us by phone.
|
||||
|
||||
|
@ -275,7 +275,7 @@
|
|||
<p>
|
||||
Find onboarding FAQs & technical documentation here:
|
||||
<br><br>
|
||||
<a class="{css kd-button} {css kd-button-submit}"
|
||||
<a class="{css('kd-button')} {css('kd-button-submit')}"
|
||||
href="{$technicalDocsUrl}"
|
||||
target="_blank" rel="noopener">View TLD information on Google Drive</a>
|
||||
<h2><img src="/assets/images/folder.png">Billing details</h2>
|
||||
|
@ -284,7 +284,7 @@
|
|||
<p>
|
||||
{if (isNonnull($driveFolderId))}
|
||||
<a id="reg-resources-driveLink"
|
||||
class="{css kd-button} {css kd-button-submit}"
|
||||
class="{css('kd-button')} {css('kd-button-submit')}"
|
||||
href="https://drive.google.com/drive/folders/{$driveFolderId}"
|
||||
target="_blank" rel="noopener">View billing details on Google Drive</a>
|
||||
{else}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* Set view for contacts.
|
||||
*/
|
||||
{template .set}
|
||||
<div class="{css set} {css contact}">
|
||||
<div class="{css('set')} {css('contact')}">
|
||||
<p>Please enter a query for a single contact in the form "contact/[contact id]".
|
||||
</div>
|
||||
{/template}
|
||||
|
@ -31,7 +31,7 @@
|
|||
* @param? readonly passed through to field rendering.
|
||||
*/
|
||||
{template .item}
|
||||
<form name="item" class="{css item} {css contact}">
|
||||
<form name="item" class="{css('item')} {css('contact')}">
|
||||
<h1>
|
||||
{if isNonnull($item['contact:id'])}
|
||||
{$item['contact:id']['keyValue']}
|
||||
|
@ -40,7 +40,7 @@
|
|||
{/if}
|
||||
</h1>
|
||||
<table>
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Authentication</h2></th>
|
||||
</tr>
|
||||
{if not isNonnull($item['contact:id'])}
|
||||
|
@ -55,7 +55,7 @@
|
|||
{param value: isNonnull($item['contact:authInfo']) ?
|
||||
$item['contact:authInfo']['contact:pw'] : '' /}
|
||||
{/call}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Contacts</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
@ -75,11 +75,11 @@
|
|||
{param value: $item['contact:fax'] /}
|
||||
{param placeholder: 'e.g. +1.2125552638' /}
|
||||
{/call}
|
||||
<tr class="{css section-lead} {css subsection}">
|
||||
<tr class="{css('section-lead')} {css('subsection')}">
|
||||
<th id="contact-postalInfoHeader" colspan="2">
|
||||
<h3>Postal address(es)</h3>
|
||||
<button id="domain-contact-postalInfo-add-button" type="button"
|
||||
class="{css kd-button} {css reg-add}"
|
||||
class="{css('kd-button')} {css('reg-add')}"
|
||||
{if $readonly}disabled{/if}>
|
||||
Add Localized Address
|
||||
</button>
|
||||
|
@ -126,10 +126,10 @@
|
|||
<tr><th colspan=2>
|
||||
{if $localized}
|
||||
<strong>Localized address</strong><br>
|
||||
<span class="{css info}">Full UTF-8 charsets allowed</span>
|
||||
<span class="{css('info')}">Full UTF-8 charsets allowed</span>
|
||||
{else}
|
||||
<strong>Internationalized address</strong><br>
|
||||
<span class="{css info}">Only 7-bit ASCII allowed</span>
|
||||
<span class="{css('info')}">Only 7-bit ASCII allowed</span>
|
||||
{/if}
|
||||
</th></tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
|
|
@ -27,19 +27,19 @@
|
|||
['abuse', 'Abuse', 'Contact for abuse complaints.'],
|
||||
['whois', 'WHOIS-Inquiry', 'Contact for inquiries about WHOIS accuracy.'],
|
||||
['other', 'Other', 'Contact that is none of the above types']] /}
|
||||
<div class="{css set}">
|
||||
<div class="{css('set')}">
|
||||
<h1>Contact settings</h1>
|
||||
<table>
|
||||
{foreach $type in $possibleTypesLookup}
|
||||
{if isNonnull($contactsByType[$type[0]])}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">{$type[1]}
|
||||
<label class="{css('setting-label')}">{$type[1]}
|
||||
{sp}contact{if length($contactsByType[$type[0]]) > 1}s{/if}</label>
|
||||
<span class="{css description}">{$type[2]}</span>
|
||||
<span class="{css('description')}">{$type[2]}</span>
|
||||
</td>
|
||||
<td id="{$type[0]}-contacts"
|
||||
class="{css info} {css summary} {css domain-registrar-contacts}">
|
||||
class="{css('info')} {css('summary')} {css('domain-registrar-contacts')}">
|
||||
{foreach $c in $contactsByType[$type[0]]}
|
||||
{call .contactInfoCompact}
|
||||
{param namePrefix: 'contacts[' + index($c) + '].' /}
|
||||
|
@ -70,29 +70,29 @@
|
|||
{@param visibleInWhois: bool}
|
||||
{@param? phoneNumber: string}
|
||||
{@param? faxNumber: string}
|
||||
<div class="{css domain-registrar-contact}">
|
||||
<div class="{css domain-registrar-contact-name}"
|
||||
<div class="{css('domain-registrar-contact')}">
|
||||
<div class="{css('domain-registrar-contact-name')}"
|
||||
id="{$namePrefix}name">
|
||||
{$name}
|
||||
{if $visibleInWhois}
|
||||
<i class="{css domain-registrar-contact-visible-in-whois}"
|
||||
<i class="{css('domain-registrar-contact-visible-in-whois')}"
|
||||
onmouseover="this.childNodes[0].style.visibility = 'visible'"
|
||||
onmouseout="this.childNodes[0].style.visibility = 'hidden'">
|
||||
<div class="{css tooltip}">
|
||||
Visible in WHOIS <span class="{css pointer}"></span>
|
||||
<div class="{css('tooltip')}">
|
||||
Visible in WHOIS <span class="{css('pointer')}"></span>
|
||||
</div>
|
||||
</i>
|
||||
{/if}
|
||||
</div>
|
||||
{if isNonnull($phoneNumber)}
|
||||
<div class="{css domain-registrar-contact-phoneNumber}"
|
||||
<div class="{css('domain-registrar-contact-phoneNumber')}"
|
||||
id="{$namePrefix}phoneNumber">{$phoneNumber}</div>
|
||||
{/if}
|
||||
{if isNonnull($faxNumber)}
|
||||
<div class="{css domain-registrar-contact-faxNumber}"
|
||||
<div class="{css('domain-registrar-contact-faxNumber')}"
|
||||
id="{$namePrefix}faxNumber">{$faxNumber} (Fax)</div>
|
||||
{/if}
|
||||
<div class="{css domain-registrar-contact-emailAddress}"
|
||||
<div class="{css('domain-registrar-contact-emailAddress')}"
|
||||
id="{$namePrefix}emailAddress">{$emailAddress}</div>
|
||||
<a href="#contact-settings/{$emailAddress}">View/Edit</a>
|
||||
</div>
|
||||
|
@ -105,7 +105,7 @@
|
|||
{@param item: map<string, ?>}
|
||||
{@param actualTypesLookup: map<string, bool>}
|
||||
{@param readonly: bool}
|
||||
<form name="item" class="{css item} {css registrar}">
|
||||
<form name="item" class="{css('item')} {css('registrar')}">
|
||||
<h1>Contact Details</h1>
|
||||
{call .contactInfo data="all"}
|
||||
{param namePrefix: $namePrefix /}
|
||||
|
@ -180,11 +180,11 @@
|
|||
{@param item: map<string, ?>}
|
||||
{@param possibleTypesLookup: list<list<string>>}
|
||||
{@param actualTypesLookup: map<string, bool>}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Contact type</label>
|
||||
<td class="{css setting}">
|
||||
<div class="{css setting-item-list}">
|
||||
<label class="{css('setting-label')}">Contact type</label>
|
||||
<td class="{css('setting')}">
|
||||
<div class="{css('setting-item-list')}">
|
||||
{foreach $type in $possibleTypesLookup}
|
||||
{if $actualTypesLookup[$type[0]]}
|
||||
<div>{$type[1]} contact</div>
|
||||
|
@ -193,17 +193,17 @@
|
|||
</div>
|
||||
</td>
|
||||
<tr><td colspan="2"><hr></tr>
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Show in WHOIS</label>
|
||||
<label class="{css('setting-label')}">Show in WHOIS</label>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<p class="{css setting-item-list}">
|
||||
<td class="{css('setting')}">
|
||||
<p class="{css('setting-item-list')}">
|
||||
{let $visibleAsAdmin: $item['visibleInWhoisAsAdmin'] == true /}
|
||||
{let $visibleAsTech: $item['visibleInWhoisAsTech'] == true /}
|
||||
{let $visibleAsDomainAbuse: $item['visibleInDomainWhoisAsAbuse'] == true /}
|
||||
{if (not $visibleAsAdmin) and (not $visibleAsTech) and (not $visibleAsDomainAbuse)}
|
||||
<span class="{css whois-not-visible}">Not visible in WHOIS</span>
|
||||
<span class="{css('whois-not-visible')}">Not visible in WHOIS</span>
|
||||
{else}
|
||||
{if $visibleAsAdmin}Registrar Admin{/if}
|
||||
{if $visibleAsAdmin and $visibleAsTech},{sp}{/if}
|
||||
|
@ -222,14 +222,14 @@
|
|||
{@param namePrefix: string}
|
||||
{@param possibleTypesLookup: list<list<string>>}
|
||||
{@param actualTypesLookup: map<string, bool>}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Contact type</label>
|
||||
<span class="{css description}">
|
||||
<label class="{css('setting-label')}">Contact type</label>
|
||||
<span class="{css('description')}">
|
||||
Subscribe this contact to the checked mailing lists.
|
||||
</span>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
{call .contactCheckboxes_}
|
||||
{param namePrefix: $namePrefix /}
|
||||
{param possibleTypesLookup: $possibleTypesLookup /}
|
||||
|
@ -268,14 +268,14 @@
|
|||
{@param? note: string}
|
||||
{@param fieldName: string}
|
||||
{@param visible: bool}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label for="{$fieldName}">{$description}</label>
|
||||
{if $note}
|
||||
<span class="{css description}">{$note}</span>
|
||||
<span class="{css('description')}">{$note}</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
<label for="{$fieldName}">
|
||||
<input
|
||||
name="{$fieldName}"
|
||||
|
@ -304,14 +304,14 @@
|
|||
{foreach $type in $possibleTypesLookup}
|
||||
{let $name: $namePrefix + 'type.' + $type[0] /}
|
||||
{let $checked: $actualTypesLookup[$type[0]] /}
|
||||
<div class="{css checkbox-with-label}">
|
||||
<div class="{css('checkbox-with-label')}">
|
||||
<input type="checkbox"
|
||||
name="{$name}"
|
||||
id="{$name}"
|
||||
{if $checked} checked{/if}>
|
||||
<label for="{$name}">
|
||||
{$type[1]} contact
|
||||
<span class="{css description}">{$type[2]}</span>
|
||||
<span class="{css('description')}">{$type[2]}</span>
|
||||
</label>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
@ -322,10 +322,10 @@
|
|||
{template .ip}
|
||||
{@param name: string}
|
||||
{@param ip: string}
|
||||
<div class="{css ip}">
|
||||
<div class="{css('ip')}">
|
||||
<input name="{$name}" value="{$ip}" readonly>
|
||||
<button type="button" class="{css kd-button} {css btn-remove} {css hidden}">
|
||||
<i class="{css icon-remove} {css edit}">x</i>
|
||||
<button type="button" class="{css('kd-button')} {css('btn-remove')} {css('hidden')}">
|
||||
<i class="{css('icon-remove')} {css('edit')}">x</i>
|
||||
</button>
|
||||
</div>
|
||||
{/template}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* Set view for domains.
|
||||
*/
|
||||
{template .set}
|
||||
<div class="{css set} {css domain}">
|
||||
<div class="{css('set')} {css('domain')}">
|
||||
<p>Please enter a query for a single contact in the form "domain/[domain id]".
|
||||
</div>
|
||||
{/template}
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
{template .item}
|
||||
{let $isEdit: isNonnull($item['domain:name']) /}
|
||||
<form name="item" class="{css item} {css domain}">
|
||||
<form name="item" class="{css('item')} {css('domain')}">
|
||||
<h1>
|
||||
{if $isEdit}
|
||||
{$item['domain:name']['keyValue']}
|
||||
|
@ -43,7 +43,7 @@
|
|||
</h1>
|
||||
<table>
|
||||
{if not $isEdit}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Domain</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRow data="all"}
|
||||
|
@ -62,7 +62,7 @@
|
|||
{param value: $item['domain:exDate'] /}
|
||||
{/call}
|
||||
{/if}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Authentication</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
@ -71,11 +71,11 @@
|
|||
{param value: isNonnull($item['domain:authInfo']) ?
|
||||
$item['domain:authInfo']['domain:pw'] : '' /}
|
||||
{/call}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2">
|
||||
<h3>Contact information</h3>
|
||||
<button id="domain-contact-add-button" type="button"
|
||||
class="{css kd-button} {css reg-add}"
|
||||
class="{css('kd-button')} {css('reg-add')}"
|
||||
{if $readonly}disabled{/if}>
|
||||
Add Contact
|
||||
</button>
|
||||
|
@ -102,11 +102,11 @@
|
|||
{/call}
|
||||
{/if}
|
||||
<tr id="domain-contacts-footer"></tr>
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2">
|
||||
<h3>Nameservers</h3>
|
||||
<button id="domain-host-add-button" type="button"
|
||||
class="{css kd-button} {css reg-add}"
|
||||
class="{css('kd-button')} {css('reg-add')}"
|
||||
{if $readonly}disabled{/if}>
|
||||
Add Host
|
||||
</button>
|
||||
|
@ -119,14 +119,14 @@
|
|||
{param label: 'Host ' + $hostIdx /}
|
||||
{param name: 'domain:ns.domain:hostObj[' + $hostIdx + '].value' /}
|
||||
{param value: $hostObj /}
|
||||
{param clazz kind="text"}{css domain-hostObj}{/param}
|
||||
{param clazz kind="text"}{css('domain-hostObj')}{/param}
|
||||
{/call}
|
||||
{/foreach}
|
||||
{/if}
|
||||
<tr id="domain-hosts-footer"></tr>
|
||||
|
||||
{if isNonnull($item['launch:applicationID'])}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Sunrise domain application</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
@ -139,7 +139,7 @@
|
|||
<tr>
|
||||
<td>Mark Data
|
||||
<td>
|
||||
<textarea class="{css reg-domain-mark}" {if $readonly}readonly{/if}>
|
||||
<textarea class="{css('reg-domain-mark')}" {if $readonly}readonly{/if}>
|
||||
{$item['mark:mark']['keyValue']}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -187,10 +187,10 @@
|
|||
* @param? item
|
||||
*/
|
||||
{template .update}
|
||||
<form name="item" class="{css item} {css domain}">
|
||||
<form name="item" class="{css('item')} {css('domain')}">
|
||||
<h1>{$item['domain:name']['keyValue']}</h1>
|
||||
<table>
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Contact</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
@ -198,7 +198,7 @@
|
|||
{param name: 'domain:registrant' /}
|
||||
{param value: $item['domain:registrant'] /}
|
||||
{/call}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Authentication</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* Set view for hosts.
|
||||
*/
|
||||
{template .set}
|
||||
<div class="{css set} {css host}">
|
||||
<div class="{css('set')} {css('host')}">
|
||||
<p>Please enter a query for a single host in the form "host/[hostname]".
|
||||
</div>
|
||||
{/template}
|
||||
|
@ -31,7 +31,7 @@
|
|||
* @param? readonly passed through to field rendering.
|
||||
*/
|
||||
{template .item}
|
||||
<form name="item" class="{css item} {css host}">
|
||||
<form name="item" class="{css('item')} {css('host')}">
|
||||
<h1>
|
||||
{if isNonnull($item['host:name'])}
|
||||
{$item['host:name']['keyValue']}
|
||||
|
@ -40,7 +40,7 @@
|
|||
{/if}
|
||||
</h1>
|
||||
<table>
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Host</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
@ -48,11 +48,11 @@
|
|||
{param name: isNonnull($item['host:name']) ? 'host:chgName' : 'host:name' /}
|
||||
{param value: $item['host:name'] /}
|
||||
{/call}
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2">
|
||||
<h3>Addresses</h3>
|
||||
<button id="domain-host-addr-add-button" type="button"
|
||||
class="{css kd-button} {css reg-add}"
|
||||
class="{css('kd-button')} {css('reg-add')}"
|
||||
{if $readonly}disabled{/if}>
|
||||
Add Address
|
||||
</button>
|
||||
|
@ -89,10 +89,10 @@
|
|||
* @param? readonly passed through to field rendering.
|
||||
*/
|
||||
{template .update}
|
||||
<form name="item" class="{css item} {css host}">
|
||||
<form name="item" class="{css('item')} {css('host')}">
|
||||
<h1>{$item['host:name']['keyValue']}</h1>
|
||||
<table>
|
||||
<tr class="{css section-lead}">
|
||||
<tr class="{css('section-lead')}">
|
||||
<th colspan="2"><h2>Host</h2></th>
|
||||
</tr>
|
||||
{call registry.soy.forms.inputFieldRowWithValue data="all"}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{template .form}
|
||||
{@param currencies: list<string>} /** Currencies in which customer can remit payment. */
|
||||
{@param brainframe: uri} /** Location of Braintree iframe sandbox iframe HTML. */
|
||||
<div class="{css reg-payment}">
|
||||
<div class="{css('reg-payment')}">
|
||||
<h1>Make a Payment</h1>
|
||||
<p>
|
||||
Please use the form below to pay your monthly invoice by credit card.
|
||||
|
@ -27,7 +27,7 @@
|
|||
The bill you received from the registry should list an outstanding balance
|
||||
for each currency. If you hold an outstanding balance in multiple currencies,
|
||||
this form should be filled out and submitted separately for each one.
|
||||
<form method="post" action="#" class="{css reg-payment-form}">
|
||||
<form method="post" action="#" class="{css('reg-payment-form')}">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<li>
|
||||
|
@ -48,20 +48,20 @@
|
|||
<label>Payment Method</label>
|
||||
<iframe src="{$brainframe}"
|
||||
id="method"
|
||||
class="{css reg-payment-form-method}"
|
||||
class="{css('reg-payment-form-method')}"
|
||||
height="0"
|
||||
width="100%"
|
||||
frameBorder="0"
|
||||
scrolling="no"></iframe>
|
||||
<div class="{css reg-payment-form-method-info} {css hidden}"></div>
|
||||
<div class="{css('reg-payment-form-method-info')} {css('hidden')}"></div>
|
||||
</ul>
|
||||
<input type="submit" value="Submit Payment"
|
||||
class="{css reg-payment-form-submit}{sp}
|
||||
{css kd-button}{sp}
|
||||
{css kd-button-submit}{sp}
|
||||
{css disabled}">
|
||||
class="{css('reg-payment-form-submit')}{sp}
|
||||
{css('kd-button')}{sp}
|
||||
{css('kd-button-submit')}{sp}
|
||||
{css('disabled')}">
|
||||
<img alt="[Processing...]"
|
||||
class="{css reg-payment-form-loader}"
|
||||
class="{css('reg-payment-form-loader')}"
|
||||
src="/assets/images/loader1x.gif"
|
||||
width="22" height="22">
|
||||
</fieldset>
|
||||
|
@ -74,13 +74,13 @@
|
|||
{template .success}
|
||||
{@param id: string} /** Transaction ID from payment gateway. */
|
||||
{@param formattedAmount: string} /** Amount in which payment was made. */
|
||||
<div class="{css reg-payment}">
|
||||
<div class="{css('reg-payment')}">
|
||||
<h1>Payment Processed</h1>
|
||||
<p>
|
||||
Your payment of {$formattedAmount} was successfully processed with
|
||||
the Transaction ID {$id}.
|
||||
<p>
|
||||
<button class="{css reg-payment-again} {css kd-button} {css kd-button-submit}">
|
||||
<button class="{css('reg-payment-again')} {css('kd-button')} {css('kd-button-submit')}">
|
||||
Make Another Payment
|
||||
</button>
|
||||
</div>
|
||||
|
@ -108,9 +108,9 @@
|
|||
|
||||
/** Page used to block browsers without necessary features. */
|
||||
{template .unsupported}
|
||||
<div class="{css reg-payment}">
|
||||
<div class="{css('reg-payment')}">
|
||||
<img alt="[Crying Android]"
|
||||
class="{css reg-cryingAndroid}"
|
||||
class="{css('reg-cryingAndroid')}"
|
||||
src="/assets/images/android_sad.png"
|
||||
width="183"
|
||||
height="275">
|
||||
|
@ -118,7 +118,7 @@
|
|||
<p>
|
||||
The Payment page requires features which are not present in your
|
||||
browser. Please use one of the following compatible browsers:
|
||||
<ul class="{css reg-bullets}">
|
||||
<ul class="{css('reg-bullets')}">
|
||||
<li>Chrome
|
||||
<li>Android
|
||||
<li>Safari
|
||||
|
@ -131,7 +131,7 @@
|
|||
|
||||
/** Page indicating customer is not on credit card billing terms. */
|
||||
{template .notUsingCcBilling}
|
||||
<div class="{css reg-payment}">
|
||||
<div class="{css('reg-payment')}">
|
||||
<h1>Payment Page Disabled</h1>
|
||||
<p>
|
||||
Your customer account is not on credit card billing terms. Please{sp}
|
||||
|
|
|
@ -23,29 +23,29 @@
|
|||
{@param? clientCertificateHash: string}
|
||||
{@param? failoverClientCertificate: string}
|
||||
{@param readonly: bool}
|
||||
<form name="item" class="{css item} {css registrar}">
|
||||
<form name="item" class="{css('item')} {css('registrar')}">
|
||||
<h1>Security settings</h1>
|
||||
{if $readonly}
|
||||
<p>Use the 'Edit' button above to switch to enable editing the information below.
|
||||
{/if}
|
||||
<table>
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Web console access</label>
|
||||
<td class="{css setting}">
|
||||
<label class="{css('setting-label')}">Web console access</label>
|
||||
<td class="{css('setting')}">
|
||||
<p>Your web console account is managed through
|
||||
<a href="https://www.google.com/accounts"
|
||||
target="_blank" rel="noopener">Google account settings</a>.
|
||||
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">IP whitelist</label>
|
||||
<span class="{css description}">Restrict access to EPP
|
||||
<label class="{css('setting-label')}">IP whitelist</label>
|
||||
<span class="{css('description')}">Restrict access to EPP
|
||||
production servers to the following IP/IPv6 addresses, or
|
||||
ranges like 1.1.1.1/24</span>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<div class="{css info} {css summary}">
|
||||
<td class="{css('setting')}">
|
||||
<div class="{css('info')} {css('summary')}">
|
||||
<div id="ips">
|
||||
{foreach $ip in $ipAddressWhitelist}
|
||||
{call .ip}
|
||||
|
@ -54,20 +54,20 @@
|
|||
{/call}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="{css hidden}">
|
||||
<div class="{css('hidden')}">
|
||||
<input id="newIp" value="" placeholder="Enter IP address..."/>
|
||||
<button id="btn-add-ip" type="button"
|
||||
class="{css kd-button} {css btn-add}">Add</button>
|
||||
class="{css('kd-button')} {css('btn-add')}">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">Telephone passcode</label>
|
||||
<span class="{css description}">Use this for support calls to the Registry.</span>
|
||||
<label class="{css('setting-label')}">Telephone passcode</label>
|
||||
<span class="{css('description')}">Use this for support calls to the Registry.</span>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
<div id="domain-registrar-phone-passcode">
|
||||
{if isNonnull($phonePasscode)}
|
||||
<input id="phonePasscode"
|
||||
|
@ -79,12 +79,12 @@
|
|||
</div>
|
||||
</td>
|
||||
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">SSL Certificate</label>
|
||||
<span class="{css description}">X.509 PEM certificate for EPP production access.</span>
|
||||
<label class="{css('setting-label')}">SSL Certificate</label>
|
||||
<span class="{css('description')}">X.509 PEM certificate for EPP production access.</span>
|
||||
</td>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
{if isNonnull($clientCertificate)}
|
||||
<textarea
|
||||
name="clientCertificate"
|
||||
|
@ -99,8 +99,8 @@
|
|||
be viewed. Please re-submit or update your certificate by
|
||||
using the Edit button on the top of this page.
|
||||
|
||||
<p class="{css certhash}">
|
||||
<span class="{css description}">Existing certificate SHA256 base64 hash:</span>
|
||||
<p class="{css('certhash')}">
|
||||
<span class="{css('description')}">Existing certificate SHA256 base64 hash:</span>
|
||||
{$clientCertificateHash}
|
||||
{else}
|
||||
<textarea name="clientCertificate" rows="16" cols="64"></textarea>
|
||||
|
@ -113,7 +113,7 @@
|
|||
<textarea id="clientCertificate"
|
||||
name="clientCertificate"
|
||||
rows="16" cols="64"></textarea>
|
||||
<div class="{css description}">
|
||||
<div class="{css('description')}">
|
||||
Example format:
|
||||
<textarea id="exampleCert" rows="17" cols="64" readonly>
|
||||
-----BEGIN CERTIFICATE-----{\n}
|
||||
|
@ -145,15 +145,15 @@
|
|||
{/if}
|
||||
</td>
|
||||
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label class="{css setting-label}">
|
||||
<label class="{css('setting-label')}">
|
||||
Failover SSL Certificate
|
||||
</label>
|
||||
<span class="{css description}">
|
||||
<span class="{css('description')}">
|
||||
X.509 PEM backup certificate for EPP Production Access.
|
||||
</span>
|
||||
<td class="{css setting}">
|
||||
<td class="{css('setting')}">
|
||||
{if $readonly and not isNonnull($failoverClientCertificate)}
|
||||
<p>No failover certificate on file.
|
||||
{else}
|
||||
|
@ -175,9 +175,9 @@
|
|||
{template .ip}
|
||||
{@param name: string}
|
||||
{@param ip: string}
|
||||
<div class="{css ip}">
|
||||
<button type="button" class="{css kd-button} {css btn-remove} {css hidden}">
|
||||
<i class="{css icon-remove} {css edit}">x</i>
|
||||
<div class="{css('ip')}">
|
||||
<button type="button" class="{css('kd-button')} {css('btn-remove')} {css('hidden')}">
|
||||
<i class="{css('icon-remove')} {css('edit')}">x</i>
|
||||
</button>
|
||||
<input name="{$name}" value="{$ip}" readonly>
|
||||
</div>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
{@param? faxNumber: string}
|
||||
{let $whoisServerNonNull: $whoisServer ?: 'None' /}
|
||||
{let $referralUrlNonNull: $referralUrl ?: 'None' /}
|
||||
<form name="item" class="{css item} {css registrar} {css kd-settings-pane}">
|
||||
<form name="item" class="{css('item')} {css('registrar')} {css('kd-settings-pane')}">
|
||||
<h1>WHOIS Settings</h1>
|
||||
{if $readonly}
|
||||
<p>General registrar information for your WHOIS record. This
|
||||
|
@ -85,9 +85,9 @@
|
|||
{@param? phoneNumber: string}
|
||||
{@param? faxNumber: string}
|
||||
{if $readonly}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<td><label class="{css setting-label}">Contact info</label></td>
|
||||
<td class="{css setting-group-compact}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td><label class="{css('setting-label')}">Contact info</label></td>
|
||||
<td class="{css('setting-group-compact')}">
|
||||
{if isNonnull($localizedAddress)}
|
||||
{call .viewAddress_ data="$localizedAddress"}
|
||||
{param id: 'localizedAddress' /}
|
||||
|
@ -98,20 +98,20 @@
|
|||
name="phoneNumber"
|
||||
id="phoneNumber"
|
||||
value="{$phoneNumber}">
|
||||
<div class="{css contact-phone-number}">{$phoneNumber}</div>
|
||||
<div class="{css('contact-phone-number')}">{$phoneNumber}</div>
|
||||
{/if}
|
||||
{if isNonnull($faxNumber)}
|
||||
<input type="hidden"
|
||||
name="faxNumber"
|
||||
id="faxNumber"
|
||||
value="{$faxNumber}">
|
||||
<div class="{css contact-fax-number}">{$faxNumber} (Fax)</div>
|
||||
<div class="{css('contact-fax-number')}">{$faxNumber} (Fax)</div>
|
||||
{/if}
|
||||
<input type="hidden"
|
||||
name="emailAddress"
|
||||
id="emailAddress"
|
||||
value="{$emailAddress}">
|
||||
<div class="{css contact-fax-number}">{$emailAddress}</div>
|
||||
<div class="{css('contact-fax-number')}">{$emailAddress}</div>
|
||||
</td>
|
||||
{else}
|
||||
{call registry.soy.forms.inputFieldRowWithValue}
|
||||
|
@ -154,7 +154,7 @@
|
|||
name="{$id}.street[{index($line)}]"
|
||||
id="{$id}.street[{index($line)}]"
|
||||
value="{$street[index($line)]}">
|
||||
<div class="{css contact-address-street}">{$street[index($line)]}</div>
|
||||
<div class="{css('contact-address-street')}">{$street[index($line)]}</div>
|
||||
{/foreach}
|
||||
<input type="hidden" name="{$id}.city" id="{$id}.city" value="{$city}">
|
||||
<input type="hidden" name="{$id}.state" id="{$id}.state" value="{$state}">
|
||||
|
@ -163,14 +163,14 @@
|
|||
name="{$id}.countryCode"
|
||||
id="{$id}.countryCode"
|
||||
value="{$countryCode}">
|
||||
<div class="{css contact-address-city}">{$city},</div>
|
||||
<div class="{css('contact-address-city')}">{$city},</div>
|
||||
{if isNonnull($state)}
|
||||
{sp}<div class="{css contact-address-state}">{$state}</div>
|
||||
{sp}<div class="{css('contact-address-state')}">{$state}</div>
|
||||
{/if}
|
||||
{if isNonnull($zip)}
|
||||
{sp}<div class="{css contact-address-zip}">{$zip}</div>
|
||||
{sp}<div class="{css('contact-address-zip')}">{$zip}</div>
|
||||
{/if}
|
||||
{sp}<div class="{css contact-address-cc}">{$countryCode}</div>
|
||||
{sp}<div class="{css('contact-address-cc')}">{$countryCode}</div>
|
||||
{/template}
|
||||
|
||||
|
||||
|
@ -189,11 +189,11 @@
|
|||
{let $state2: $state ?: '' /}
|
||||
{let $zip2: $zip ?: '' /}
|
||||
{let $countryCode2: $countryCode ?: '' /}
|
||||
<tr class="{css kd-settings-pane-section}">
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td>
|
||||
<label for="{$id}.street[0]"
|
||||
class="{css setting-label}">Street Address</label>
|
||||
<td class="{css setting}">
|
||||
class="{css('setting-label')}">Street Address</label>
|
||||
<td class="{css('setting')}">
|
||||
<input id="{$id}.street[0]"
|
||||
name="{$id}.street[0]"
|
||||
value="{if isNonnull($street2[0])}{$street2[0]}{/if}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue