2023-04-05 15:29:58 -04:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
2023-11-06 07:24:04 -05:00
|
|
|
Blueprint
|
2023-04-05 15:29:58 -04:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
2024-03-02 09:30:28 -05:00
|
|
|
|
|
|
|
<!-- Page logo -->
|
2023-11-06 07:24:04 -05:00
|
|
|
<img src="/assets/extensions/blueprint/logo.jpg" alt="logo" style="float:left;width:30px;height:30px;border-radius:3px;margin-right:5px;">
|
2024-03-02 09:30:28 -05:00
|
|
|
|
|
|
|
<!-- Website button -->
|
2023-11-28 12:31:26 -05:00
|
|
|
<a href="https://blueprint.zip" target="_blank"><button class="btn btn-gray-alt pull-right" style="padding: 5px 10px;"><i class="bx bx-link-external"></i></button></a>
|
2024-03-02 09:30:28 -05:00
|
|
|
|
|
|
|
<!-- GitHub button -->
|
2024-05-11 13:48:55 -04:00
|
|
|
<a href="https://github.com/BlueprintFramework/framework" class="pull-right" target="_blank">
|
2024-03-02 09:30:28 -05:00
|
|
|
<button class="btn btn-gray-alt" style="padding: 5px 10px; margin-right: 7px;"><i class="bx bx-git-branch"></i></button>
|
2024-03-10 17:26:41 -04:00
|
|
|
@if($ExtensionLibrary->dbGet("blueprint", "git-hint") != "0")
|
2024-03-02 12:27:01 -05:00
|
|
|
<div class="blueprint:push-repo">
|
|
|
|
<div class="blueprint:push-container">
|
|
|
|
<p>Contribute to the Blueprint framework through GitHub.</p>
|
|
|
|
</div>
|
2024-03-02 09:30:28 -05:00
|
|
|
</div>
|
2024-03-10 17:26:41 -04:00
|
|
|
<?php $ExtensionLibrary->dbSet("blueprint", "git-hint", "0"); ?>
|
2024-03-02 12:27:01 -05:00
|
|
|
@endif
|
2024-03-02 09:30:28 -05:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<!-- Page title -->
|
2024-03-10 17:26:41 -04:00
|
|
|
<h1 ext-title>Blueprint<tag mg-left @if($LatestVersion != $PlaceholderService->version()) red @else blue @endif>{{ $PlaceholderService->version() }}</tag></h1>
|
2024-03-02 09:30:28 -05:00
|
|
|
|
2023-04-05 15:29:58 -04:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2024-08-30 12:47:47 -04:00
|
|
|
<p class="ext-description">Blueprint is the framework that powers all Blueprint-compatible extensions, enabling multiple extensions to be installed and used simultaneously.</p>
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
|
2023-04-08 16:07:59 -04:00
|
|
|
|
2023-11-06 07:24:04 -05:00
|
|
|
<!-- Overview -->
|
2024-03-10 17:26:41 -04:00
|
|
|
<div class="box @if($LatestVersion != $PlaceholderService->version()) box-danger @else box-info @endif">
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="box-header with-border">
|
2024-02-14 02:38:13 -05:00
|
|
|
<h3 class="box-title"><i class='bx bxs-shapes'></i> Overview</h3>
|
2023-11-06 07:24:04 -05:00
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
2024-03-10 17:26:41 -04:00
|
|
|
<p>You are currently using version <code>{{ $PlaceholderService->version() }}</code>@if($LatestVersion != $PlaceholderService->version()) which is outdated. @else. @endif</p>
|
2023-11-06 07:24:04 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-08 16:07:59 -04:00
|
|
|
|
2023-11-06 07:24:04 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
|
2024-02-11 06:23:21 -05:00
|
|
|
<form action="" method="POST" autocomplete="off">
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
2024-02-14 02:38:13 -05:00
|
|
|
<h3 class="box-title"><i class='bx bxs-cog'></i> Configuration</h3>
|
2023-11-06 07:24:04 -05:00
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="row">
|
2024-04-14 17:34:52 -04:00
|
|
|
<!-- Telemetry -->
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
|
|
|
<label class="control-label">Telemetry</label>
|
|
|
|
<select class="form-control" name="telemetry">
|
|
|
|
<option value="true">Enabled</option>
|
2024-03-10 17:26:41 -04:00
|
|
|
<option value="false" @if($ExtensionLibrary->dbGet('blueprint', 'telemetry') != "true") selected @endif>Disabled</option>
|
2023-11-06 07:24:04 -05:00
|
|
|
</select>
|
|
|
|
<p class="text-muted small">Automatically share anonymous usage data with Blueprint.</p>
|
|
|
|
</div>
|
2024-04-14 17:34:52 -04:00
|
|
|
<!-- Identifier -->
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
2024-04-14 17:34:52 -04:00
|
|
|
<label class="control-label">Identifer</label>
|
2024-03-10 17:26:41 -04:00
|
|
|
<input type="text" required name="panel:id" id="panel:id" value="{{ $ExtensionLibrary->dbGet('blueprint', 'panel:id') }}" class="form-control" readonly/>
|
2023-11-06 07:24:04 -05:00
|
|
|
<p class="text-muted small">Randomly generated string with your version that is used as a panel identifier.</p>
|
|
|
|
</div>
|
2024-04-14 17:34:52 -04:00
|
|
|
<!-- Developer Mode -->
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
|
|
|
<label class="control-label">Developer Mode</label>
|
|
|
|
<select class="form-control" name="developer">
|
|
|
|
<option value="true">Enabled</option>
|
2024-03-10 17:26:41 -04:00
|
|
|
<option value="false" @if($ExtensionLibrary->dbGet('blueprint', 'developer') != "true") selected @endif>Disabled</option>
|
2023-11-06 07:24:04 -05:00
|
|
|
</select>
|
|
|
|
<p class="text-muted small">Enable or disable developer-oriented features.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-11-06 07:24:04 -05:00
|
|
|
<div class="box-footer">
|
|
|
|
{{ csrf_field() }}
|
|
|
|
<button type="submit" name="_method" value="PATCH" class="btn btn-gray-alt btn-sm pull-right">Save</button>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-11-06 07:24:04 -05:00
|
|
|
</form>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-11-06 07:24:04 -05:00
|
|
|
</div>
|
2023-12-08 10:20:48 -05:00
|
|
|
|
2023-12-08 10:31:08 -05:00
|
|
|
<p style="text-align: center"><img src="/assets/extensions/blueprint/byte.png" class="byte-img"></p>
|
2024-08-30 12:47:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
section.content { padding-top: 7px !important; }
|
|
|
|
section.content-header > h1 { margin-top: 3px !important; }
|
|
|
|
.ext-description { padding-bottom: 10px; }
|
|
|
|
</style>
|
2023-06-19 15:04:06 -04:00
|
|
|
@endsection
|