mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-04 16:51:29 +02:00
A few more updates on tokens
This commit is contained in:
parent
25f119a094
commit
a394508f4f
3 changed files with 7 additions and 1 deletions
|
@ -47,6 +47,8 @@
|
|||
|
||||
{% if status == 'new' %}
|
||||
{% set color = 'green' %}
|
||||
{% elseif status == 'active' %}
|
||||
{% set color = 'info' %}
|
||||
{% elseif status == 'used' %}
|
||||
{% set color = 'yellow' %}
|
||||
{% elseif status == 'deprecated' %}
|
||||
|
@ -60,7 +62,7 @@
|
|||
<form action="/registry/tokens/update" method="post">
|
||||
{{ csrf.field | raw }}
|
||||
<div class="form-group mt-3">
|
||||
<label for="domain_name" class="form-label required">{{ __('Create Domain') }}:</label>
|
||||
<label for="domain_name" class="form-label required">{{ token.domain_name ? __('Update Domain') : __('Create Domain') }}:</label>
|
||||
<input type="text" class="form-control" id="domain_name" name="domain_name" placeholder="example.com" value="{{ token.domain_name }}" required="required">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue