2021-04-16 01:00:00 +02:00
|
|
|
@extends('layouts.sidebar')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2023-06-05 15:38:52 +02:00
|
|
|
<h2 class="mb-4"><i class="bi bi-plus">{{__('messages.Add Link')}}</i></h2>
|
2021-04-16 01:00:00 +02:00
|
|
|
|
|
|
|
<form action="{{ route('addLink') }}" method="post">
|
|
|
|
@csrf
|
|
|
|
<div class="form-group col-lg-8">
|
2023-06-05 15:38:52 +02:00
|
|
|
<label>{{__('messages.Link')}}</label>
|
2022-08-16 17:50:13 +02:00
|
|
|
<input type="text" name="link" class="form-control" placeholder="https://example.com" required>
|
2021-04-16 01:00:00 +02:00
|
|
|
</div>
|
2021-07-06 10:51:16 +02:00
|
|
|
<div class="form-group col-lg-8">
|
2023-06-05 15:38:52 +02:00
|
|
|
<label>{{__('messages.Title')}}</label>
|
2022-03-18 12:04:13 +01:00
|
|
|
<input type="text" name="title" class="form-control" placeholder="Internal name (optional)">
|
2021-07-06 10:51:16 +02:00
|
|
|
</div>
|
2021-04-16 01:00:00 +02:00
|
|
|
<div class="form-group col-lg-8">
|
2023-06-05 15:38:52 +02:00
|
|
|
<label for="exampleFormControlSelect1">{{__('messages.Button')}}</label>
|
2021-04-16 01:00:00 +02:00
|
|
|
<select class="form-control" name="button">
|
2023-06-05 18:32:05 +02:00
|
|
|
<option style="background-color:#ffe8e4;"> custom </option>
|
|
|
|
<option style="background-color:#ffe8e4;"> custom_website </option>
|
2021-04-16 01:00:00 +02:00
|
|
|
@foreach($buttons as $button)
|
2022-07-31 23:55:20 +02:00
|
|
|
@if (!in_array($button->name, ['custom', 'custom_website', 'heading', 'space']))
|
2021-04-16 01:00:00 +02:00
|
|
|
<option> {{ $button->name }} </option>
|
2022-07-31 23:55:20 +02:00
|
|
|
@endif
|
2021-04-16 01:00:00 +02:00
|
|
|
@endforeach
|
2022-08-02 11:40:59 +02:00
|
|
|
<option style="background-color:#ebebeb;"> heading </option>
|
|
|
|
<option style="background-color:#ebebeb;"> space </option>
|
2021-04-16 01:00:00 +02:00
|
|
|
</select>
|
2022-03-18 12:04:13 +01:00
|
|
|
<br>
|
2023-06-06 08:09:22 +02:00
|
|
|
<label>{{__('messages.Required fields')}}</label><br>
|
2021-04-16 01:00:00 +02:00
|
|
|
</div>
|
2023-06-06 08:09:22 +02:00
|
|
|
<div class="row"><button type="submit" class="mt-3 ml-3 btn btn-info">{{__('messages.Submit')}}</button><a style="color:white;background-color:#f8b739;" class="mt-3 ml-3 btn" href="{{ url('/studio/links') }}">{{__('messages.See all links')}}</a></div>
|
2021-04-16 01:00:00 +02:00
|
|
|
</form>
|
|
|
|
|
2022-03-18 14:59:45 +01:00
|
|
|
<br><br><details>
|
2023-06-06 08:09:22 +02:00
|
|
|
<summary>{{__('messages.More information')}}</summary>
|
2022-03-18 14:59:45 +01:00
|
|
|
<pre style="color: grey;">
|
2023-06-06 08:09:22 +02:00
|
|
|
{{__('messages.addli.description.1-5')}}
|
|
|
|
{{__('messages.addli.description.2-5')}}
|
|
|
|
{{__('messages.addli.description.3-5')}}
|
|
|
|
{{__('messages.addli.description.4-5')}}
|
|
|
|
{{__('messages.addli.description.5-5')}}
|
2022-03-18 14:59:45 +01:00
|
|
|
</pre>
|
|
|
|
</details>
|
|
|
|
|
2021-04-16 01:00:00 +02:00
|
|
|
@endsection
|