@@ -6,6 +6,7 @@ return [
|
|||||||
'newapikey' => 'New API Key',
|
'newapikey' => 'New API Key',
|
||||||
'yourprofile' => 'Your Profile',
|
'yourprofile' => 'Your Profile',
|
||||||
'apikey' => 'API Key',
|
'apikey' => 'API Key',
|
||||||
|
'apikey-show' => 'Show key',
|
||||||
'dontshare' => 'don\'t share this!',
|
'dontshare' => 'don\'t share this!',
|
||||||
'changepassword' => 'Change Password',
|
'changepassword' => 'Change Password',
|
||||||
'newpassword' => 'New Password',
|
'newpassword' => 'New Password',
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ return [
|
|||||||
'newapikey' => 'Nueva clave API',
|
'newapikey' => 'Nueva clave API',
|
||||||
'yourprofile' => 'Tu perfil',
|
'yourprofile' => 'Tu perfil',
|
||||||
'apikey' => 'Clave API',
|
'apikey' => 'Clave API',
|
||||||
|
'apikey-show' => 'Mostrar clave',
|
||||||
'dontshare' => '¡No compartas esto!',
|
'dontshare' => '¡No compartas esto!',
|
||||||
'changepassword' => 'Cambiar contraseña',
|
'changepassword' => 'Cambiar contraseña',
|
||||||
'newpassword' => 'Nueva contraseña',
|
'newpassword' => 'Nueva contraseña',
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ return [
|
|||||||
'newapikey' => 'Nuova Chiave API',
|
'newapikey' => 'Nuova Chiave API',
|
||||||
'yourprofile' => 'Il Tuo Profilo',
|
'yourprofile' => 'Il Tuo Profilo',
|
||||||
'apikey' => 'Chiave API',
|
'apikey' => 'Chiave API',
|
||||||
|
'apikey-show' => 'Mostra chiave',
|
||||||
'dontshare' => 'non condividerla!',
|
'dontshare' => 'non condividerla!',
|
||||||
'changepassword' => 'Cambia Password',
|
'changepassword' => 'Cambia Password',
|
||||||
'newpassword' => 'Nuova Password',
|
'newpassword' => 'Nuova Password',
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ return [
|
|||||||
'newapikey' => 'Nova Chave API',
|
'newapikey' => 'Nova Chave API',
|
||||||
'yourprofile' => 'Seu Perfil',
|
'yourprofile' => 'Seu Perfil',
|
||||||
'apikey' => 'Chave API',
|
'apikey' => 'Chave API',
|
||||||
|
'apikey-show' => 'Mostrar chave',
|
||||||
'dontshare' => 'Não compartilhe isso!',
|
'dontshare' => 'Não compartilhe isso!',
|
||||||
'changepassword' => 'Mudar Senha',
|
'changepassword' => 'Mudar Senha',
|
||||||
'newpassword' => 'Nova Senha',
|
'newpassword' => 'Nova Senha',
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>@lang('profile.apikey') <span class="description">(@lang('profile.dontshare'))</span></td>
|
<td>@lang('profile.apikey') <span class="description">(@lang('profile.dontshare'))</span></td>
|
||||||
<td>{{ $user->api_key }}</td>
|
<td><span id="apiKey_show" style="display: none">{{ $user->api_key }} <i class="fas fa-eye-slash" onclick="apiKeyHide()"></i></span><span id="apiKey_hide">@lang('profile.apikey-show') <i class="fas fa-eye" onclick="apiKeyShow()"></i></span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>@lang('common.timezone')</td>
|
<td>@lang('common.timezone')</td>
|
||||||
@@ -145,3 +145,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
@section('scripts')
|
||||||
|
<script>
|
||||||
|
function apiKeyShow(){
|
||||||
|
document.getElementById("apiKey_show").style = "display:block";
|
||||||
|
document.getElementById("apiKey_hide").style = "display:none";
|
||||||
|
}
|
||||||
|
function apiKeyHide(){
|
||||||
|
document.getElementById("apiKey_show").style = "display:none";
|
||||||
|
document.getElementById("apiKey_hide").style = "display:block";
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
@endsection
|
||||||
|
|||||||
Reference in New Issue
Block a user