1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Added tooltip + improved error messages

This commit is contained in:
Eldad Fux 2020-06-15 23:05:49 +03:00
parent 6824bc0ef2
commit 305e73c190
3 changed files with 5 additions and 5 deletions

View file

@ -49,7 +49,7 @@ $scopes = $this->getParam('scopes', []);
<input type="hidden" name="projectId" data-ls-bind="{{router.params.project}}" />
<input type="hidden" name="keyId" data-ls-bind="{{key.$id}}" />
<label data-ls-attrs="for=name-{{key.$id}}">Name</label>
<label data-ls-attrs="for=name-{{key.$id}}">Name <span class="tooltip large" data-tooltip="Choose any name that will help you distinguish between your different API keys."><i class="icon-question"></i></span></label>
<input type="text" class="full-width" data-ls-attrs="id=name-{{key.$id}}" name="name" required autocomplete="off" data-ls-bind="{{key.name}}" />
<label data-ls-attrs="for=scopes-{{key.$id}}">Scopes (<a data-ls-attrs="href={{env.HOME}}/docs/keys" target="_blank" rel="noopener">Learn more</a>)</label>
@ -144,7 +144,7 @@ $scopes = $this->getParam('scopes', []);
<input type="hidden" name="projectId" data-ls-bind="{{router.params.project}}" />
<label for="name">Name</label>
<label for="name">Name <span class="tooltip large" data-tooltip="Choose any name that will help you distinguish between your different API keys."><i class="icon-question"></i></span></label>
<input type="text" class="full-width" id="name" name="name" required autocomplete="off" />
<label for="scopes">Scopes (<a data-ls-attrs="href={{env.HOME}}/docs/keys" target="_blank" rel="noopener">Learn more</a>)</label>

View file

@ -21,7 +21,7 @@ class CNAME extends Validator
public function getDescription()
{
return 'Inavlid CNAME record';
return 'Invalid CNAME record';
}
/**

View file

@ -85,8 +85,8 @@ class Origin extends Validator
return 'Unsupported platform';
}
return 'Inavlid Origin. Register your new client ('.$this->host.') as a new '
.$this->platforms[$this->client].' platform on your project console';
return 'Invalid Origin. Register your new client ('.$this->host.') as a new '
.$this->platforms[$this->client].' platform on your project console dashboard';
}
/**