Removed file

This commit is contained in:
Julian Prieber 2023-06-13 18:51:38 +02:00
parent 42f51dc70d
commit 9ed618463f
2 changed files with 1 additions and 61 deletions

View File

@ -161,20 +161,7 @@ return [
'Last 7 days' => 'Last 7 days+',
'Last 24 hours' => 'Last 24 hours+',
'Active users:' => 'Active users:+',
########Add Link Blade########
'Title' => 'Title+',
'Link' => 'Link*+',
'Button' => 'Button*+',
'Required fields' => '* Required fields+',
'Submit' => 'Submit+',
'See all links' => 'See all links+',
'More information' => 'More information+',
'addli.description.1-5' => 'The "Custom" button allows you to add a custom link, where the text on the button is determined with the link title set above.+',
'addli.description.2-5' => 'The "Custom_website" button functions similar to the Custom button, with the addition of a function that requests the favicon from the chosen URL and uses it as the button icon.+',
'addli.description.3-5' => '',
'addli.description.4-5' => 'The "Space" button will be replaced with an empty space, so buttons could be visually separated into groups. Entering a number between 1-10 in the title section will change the empty space"s distance.+',
'addli.description.5-5' => 'The "Heading" button will be replaced with a sub-heading, where the title defines the text on that heading.+',
########Button Editor Blade########
'Button Editor' => 'Button Editor+',

View File

@ -1,47 +0,0 @@
@extends('layouts.sidebar')
@section('content')
<h2 class="mb-4"><i class="bi bi-plus">{{__('messages.Add Link')}}</i></h2>
<form action="{{ route('addLink') }}" method="post">
@csrf
<div class="form-group col-lg-8">
<label>{{__('messages.Link')}}</label>
<input type="text" name="link" class="form-control" placeholder="https://example.com" required>
</div>
<div class="form-group col-lg-8">
<label>{{__('messages.Title')}}</label>
<input type="text" name="title" class="form-control" placeholder="Internal name (optional)">
</div>
<div class="form-group col-lg-8">
<label for="exampleFormControlSelect1">{{__('messages.Button')}}</label>
<select class="form-control" name="button">
<option style="background-color:#ffe8e4;"> custom </option>
<option style="background-color:#ffe8e4;"> custom_website </option>
@foreach($buttons as $button)
@if (!in_array($button->name, ['custom', 'custom_website', 'heading', 'space']))
<option> {{ $button->name }} </option>
@endif
@endforeach
<option style="background-color:#ebebeb;"> heading </option>
<option style="background-color:#ebebeb;"> space </option>
</select>
<br>
<label>{{__('messages.Required fields')}}</label><br>
</div>
<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>
</form>
<br><br><details>
<summary>{{__('messages.More information')}}</summary>
<pre style="color: grey;">
{{__('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')}}
</pre>
</details>
@endsection