62 lines
2.0 KiB
PHP
62 lines
2.0 KiB
PHP
@extends($layout)
|
|
|
|
@section('content')
|
|
|
|
<div class="pageheader">
|
|
<div class="pageicon"><i class="fa-solid fa-circle-nodes"></i></div>
|
|
<div class="pagetitle">
|
|
<h1>Integrations</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="maincontent">
|
|
<div class="maincontentinner">
|
|
|
|
{!! $tpl->displayNotification() !!}
|
|
<h5 class="subtitle">Sync Leantime with your external applications</h5>
|
|
<p>Available Integrations</p>
|
|
|
|
<div class="row">
|
|
@foreach ($providers as $provider)
|
|
<div class="col-md-3">
|
|
<div class="profileBox">
|
|
<div class="commentImage gradient">
|
|
<img src="{{ BASE_URL }}/{{ $provider->image }}"/>
|
|
</div>
|
|
<span class="userName">
|
|
<strong>{{ $provider->name }}</strong>
|
|
<br /><small>Available methods: {{ implode(', ', $provider->methods) }}</small>
|
|
<br /><br />
|
|
{!! $provider->description !!}
|
|
</span>
|
|
<br />
|
|
|
|
@if (isset($provider->button))
|
|
<x-global::forms.button tag="a" link="{{ $provider->button['url'] }}" contentRole="primary">{{ $provider->button['text'] }}</x-global::forms.button>
|
|
@else
|
|
<x-global::forms.button tag="a" link="{{ BASE_URL }}/connector/integration?provider={{ $provider->id }}" contentRole="primary">Create New Integration</x-global::forms.button>
|
|
@endif
|
|
|
|
<div class="clearall"></div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{-- Existing Integrations section placeholder --}}
|
|
|
|
</div>
|
|
|
|
@once
|
|
@push('scripts')
|
|
<script type="text/javascript">
|
|
jQuery(document).ready(function() {
|
|
});
|
|
</script>
|
|
@endpush
|
|
@endonce
|
|
|
|
@endsection
|