diff --git a/flexiapi/app/Http/Controllers/AboutController.php b/flexiapi/app/Http/Controllers/AboutController.php new file mode 100644 index 0000000..579261a --- /dev/null +++ b/flexiapi/app/Http/Controllers/AboutController.php @@ -0,0 +1,13 @@ + true]) + +@section('content') +
+ +

About

+
+ +

https://linphone.org

+ +

Terms and Conditions and Privacy policy

+ +

GNU General Public Licence v3.0 (Licence)

+ +

{{ config('instance.copyright') }}

+
+@endsection diff --git a/flexiapi/resources/views/api/documentation.blade.php b/flexiapi/resources/views/api/documentation.blade.php index 2ef60d1..bc4af9d 100644 --- a/flexiapi/resources/views/api/documentation.blade.php +++ b/flexiapi/resources/views/api/documentation.blade.php @@ -1,6 +1,8 @@ -@extends('layouts.main') +@extends('layouts.main', ['welcome' => true]) @section('content') - {{-- This view is only a wrapper for the markdown page --}} - {!! $documentation !!} -@endsection \ No newline at end of file +
+ {{-- This view is only a wrapper for the markdown page --}} + {!! $documentation !!} +
+@endsection diff --git a/flexiapi/resources/views/api/documentation_markdown.blade.php b/flexiapi/resources/views/api/documentation_markdown.blade.php index fe948e9..af7bbe6 100644 --- a/flexiapi/resources/views/api/documentation_markdown.blade.php +++ b/flexiapi/resources/views/api/documentation_markdown.blade.php @@ -460,6 +460,14 @@ JSON parameters: Admin Delete a contacts list. +### `POST /contacts_lists/{contacts_list_id}/contacts/{contact_id}` +Admin +Add a contact to the contacts list. + +### `DELETE /contacts_lists/{contacts_list_id}/contacts/{contact_id}` +Admin +Remove a contact from the contacts list. + ### `POST /accounts/{id}/contacts_lists/{contacts_list_id}` Admin Add a contacts list to the account. diff --git a/flexiapi/resources/views/layouts/main.blade.php b/flexiapi/resources/views/layouts/main.blade.php index 2d1f57d..e3a75d7 100644 --- a/flexiapi/resources/views/layouts/main.blade.php +++ b/flexiapi/resources/views/layouts/main.blade.php @@ -30,6 +30,9 @@ @endif + + infoAbout + @if (auth()->user()) account_circle{{ auth()->user()->identifier }} diff --git a/flexiapi/routes/web.php b/flexiapi/routes/web.php index 2dbeabc..8e7e7e0 100644 --- a/flexiapi/routes/web.php +++ b/flexiapi/routes/web.php @@ -37,6 +37,7 @@ use Illuminate\Support\Facades\Route; Route::redirect('/', '/login')->name('account.home'); Route::get('documentation', 'Account\AccountController@documentation')->name('account.documentation'); +Route::get('about', 'AboutController@about')->name('about'); if (config('app.web_panel')) { Route::get('login', 'Account\AuthenticateController@login')->name('account.login');