Small UI fixes

This commit is contained in:
Timothée Jaussoin 2023-10-09 16:35:12 +02:00
parent c477973d84
commit 3dece6158d
4 changed files with 20 additions and 16 deletions

View file

@ -215,7 +215,7 @@ form div.select:after {
color: var(--second-6);
position: absolute;
right: 1rem;
bottom: 0rem;
top: 2.75rem;
pointer-events: none;
line-height: 4rem;
}

View file

@ -1,4 +1,4 @@
@extends('layouts.main', ['grid' => true])
@extends('layouts.main')
@section('breadcrumb')
<li class="breadcrumb-item active" aria-current="page">
@ -14,6 +14,8 @@
<p>You can generate an API key and use it to request the different API endpoints, <a href="{{ route('api') }}">check
the related API documentation</a> to know how to use that key.</p>
<p>An unused key will expires after some times.</p>
<form method="POST" action="{{ route('account.api_key.update') }}" accept-charset="UTF-8">
@csrf
<div>

View file

@ -50,6 +50,10 @@ If you forgot your password or didn't configured it, you can always recover your
Once authenticated you will get access to @if (config('app.web_panel')) [your account panel]({{ route('account.dashboard') }}) @else your account panel @endif.
## Generate an API Key
You will be able to generate an API Key allowing you to use the {{ $app_name }} API with the API Key authentication mechanism. Check the related [API Documentation]({{ route('api') }}) to know more about this feature.
## Change your email address
You can @if (config('app.web_panel')) [change your email address]({{ route('account.email.change') }}) @else change your email address @endif from the panel. A confirmation email containing a unique link will be sent to validate the new one.
@ -74,10 +78,6 @@ From the devices management panel an admin will be able to list and delete the d
This panel is only accessible to admin accounts.
## Generate an API Key
As an administrator, you will be able to generate an API Key allowing you to use the {{ $app_name }} API with the API Key authentication mechanism. Check the related [API Documentation]({{ route('api') }}) to know more about this feature.
## Accounts administration
From the accounts administration panel an administrator will be able to list, create, show, edit and and delete accounts from the attached Flexisip server.

View file

@ -108,15 +108,17 @@
<label>Role</label>
</div>
<div class="select">
<select name="dtmf_protocol">
@foreach ($protocols as $value => $name)
<option value="{{ $value }}" @if ($account->dtmf_protocol == $value) selected="selected" @endif>
{{ $name }}</option>
@endforeach
</select>
<label for="dtmf_protocol">DTMF Protocol</label>
</div>
@if (config('app.intercom_features'))
<div class="select">
<select name="dtmf_protocol">
@foreach ($protocols as $value => $name)
<option value="{{ $value }}" @if ($account->dtmf_protocol == $value) selected="selected" @endif>
{{ $name }}</option>
@endforeach
</select>
<label for="dtmf_protocol">DTMF Protocol</label>
</div>
@endif
</form>
@ -203,7 +205,7 @@
</p>
@endif
@if(config('app.intercom_features'))
@if (config('app.intercom_features'))
<h2>Actions</h2>
@if ($account->dtmf_protocol)