mirror of
https://github.com/google/nomulus.git
synced 2025-08-04 00:42:12 +02:00
Add a button in the admin panel to check OT&E status of a registrar
For now, it only displays a status of "Passed: true|false" or an error message in simple text. In further work we will make the UI nicer. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=229971564
This commit is contained in:
parent
87ab149049
commit
5f87c3bff3
13 changed files with 195 additions and 82 deletions
|
@ -14,8 +14,6 @@
|
|||
|
||||
{namespace registry.soy.registrar.admin}
|
||||
|
||||
|
||||
|
||||
/** Registrar admin settings page for view and edit. */
|
||||
{template .settings}
|
||||
{@param allowedTlds: list<string>}
|
||||
|
@ -48,6 +46,9 @@
|
|||
<label class="{css('setting-label')}">OT&E setup page</label>
|
||||
<td class="{css('setting')}">
|
||||
<p>Generate new OT&E accounts <a href="/registrar-ote-setup">here</a>
|
||||
</p></td>
|
||||
</tr>
|
||||
{call .oteStatus /}
|
||||
</table>
|
||||
</form>
|
||||
{/template}
|
||||
|
@ -64,3 +65,17 @@
|
|||
<input name="{$name}" value="{$tld}" readonly>
|
||||
</div>
|
||||
{/template}
|
||||
|
||||
{template .oteStatus}
|
||||
<tr class="{css('kd-settings-pane-section')}">
|
||||
<td class="{css('setting')}">
|
||||
<button
|
||||
type="button"
|
||||
id="btn-ote-status"
|
||||
value="Check OT&E status"
|
||||
class="{css('kd-button')} {css('kd-button-submit')}">Check OT&E status
|
||||
</button>
|
||||
</td>
|
||||
<td id="ote-status-area-parent" class="{css('setting')}"></td>
|
||||
</tr>
|
||||
{/template}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue