2023-04-05 15:29:58 -04:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
2023-06-20 11:53:08 -04:00
|
|
|
Extensions
|
2023-04-05 15:29:58 -04:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
2024-02-10 18:23:59 -05:00
|
|
|
<h1>Extensions<small>Manage and configure all of your installed extensions.</small></h1>
|
2023-06-20 11:53:08 -04:00
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
|
|
|
<li class="active">Extensions</li>
|
|
|
|
</ol>
|
2023-04-05 15:29:58 -04:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2024-03-10 18:13:33 -04:00
|
|
|
@if(($PlaceholderService->installed() != "NOTINSTALLED") && ($PlaceholderService->version() != "::"."v"))
|
2023-06-20 11:53:08 -04:00
|
|
|
|
2023-09-30 08:01:56 -04:00
|
|
|
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12 text-center">
|
2023-08-29 08:18:07 -04:00
|
|
|
<a href="{{ route('admin.extensions.blueprint.index') }}">
|
2023-09-29 15:59:09 -04:00
|
|
|
<button class="btn extension-btn" style="width:100%;margin-bottom:17px;">
|
2024-04-28 10:21:49 -04:00
|
|
|
<div class="extension-btn-overlay"></div>
|
2024-05-03 05:52:12 -04:00
|
|
|
<img src="/assets/extensions/blueprint/logo.jpg" alt="logo" class="extension-btn-image2"/>
|
2024-04-28 10:21:49 -04:00
|
|
|
<img src="/assets/extensions/blueprint/logo.jpg" alt="logo" class="extension-btn-image"/>
|
2023-09-29 15:59:09 -04:00
|
|
|
<p class="extension-btn-text">Blueprint</p>
|
2024-03-10 17:26:41 -04:00
|
|
|
<p class="extension-btn-version">{{ $PlaceholderService->version() }}</p>
|
2024-04-28 14:41:44 -04:00
|
|
|
<i class="bi bi-arrow-right-short" style="font-size: 34px;position: absolute;top: 15px;right: 30px;"></i>
|
2023-09-29 15:59:09 -04:00
|
|
|
</button>
|
|
|
|
</a>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-08-29 08:18:07 -04:00
|
|
|
|
2024-01-30 07:27:07 -05:00
|
|
|
<!-- [entryplaceholder] -->
|
2023-06-20 11:53:08 -04:00
|
|
|
|
|
|
|
@else
|
|
|
|
|
2023-07-20 05:46:42 -04:00
|
|
|
<p><i class='bx bxs-error-alt'></i> You need to finish installing Blueprint to start using extensions.</p>
|
2023-06-20 11:53:08 -04:00
|
|
|
|
|
|
|
@endif
|
2024-04-28 10:39:26 -04:00
|
|
|
|
|
|
|
<style>
|
|
|
|
/* backwards compatibility */
|
|
|
|
<?php
|
|
|
|
if($ExtensionLibrary->extension("slate")) {
|
|
|
|
echo("
|
|
|
|
.extension-btn-overlay {
|
2024-05-03 06:27:08 -04:00
|
|
|
background: linear-gradient(90deg, rgba(24,24,27,0.35) 0%, rgba(24,24,27,1) 95%);
|
|
|
|
}
|
|
|
|
.btn.extension-btn:hover {
|
|
|
|
background-color: #18181b !important;
|
|
|
|
background: #18181b !important;
|
2024-04-28 10:39:26 -04:00
|
|
|
}
|
|
|
|
");
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</style>
|
2023-06-20 11:53:08 -04:00
|
|
|
@endsection
|