2023-04-05 15:29:58 -04:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
|
|
|
Blueprint
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
|
|
|
<img src="/assets/extensions/blueprint/logo.jpg" alt="logo" style="float:left;width:30px;height:30px;border-radius:3px;margin-right:5px;">
|
2023-06-19 15:04:06 -04:00
|
|
|
<a href="https://ptero.shop" target="_blank">
|
|
|
|
<button class="btn btn-gray-alt pull-right"><i class="bx bx-globe"></i></button>
|
|
|
|
</a>
|
2023-06-19 15:37:10 -04:00
|
|
|
<h1 ext-title>Blueprint<tag mg-left blue>{{ $bp->version() }}</tag></h1>
|
2023-04-05 15:29:58 -04:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2023-04-17 07:15:47 -04:00
|
|
|
{{ $bp->serve() }}
|
2023-04-11 15:54:57 -04:00
|
|
|
{{ $telemetry->send("SERVE_BLUEPRINT_ADMIN") }}
|
2023-04-05 15:29:58 -04:00
|
|
|
<p>Blueprint is the framework that powers all Blueprint-compatible extensions, enabling multiple extensions to be installed and used simultaneously.</p>
|
|
|
|
<div class="row">
|
2023-09-30 08:07:04 -04:00
|
|
|
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
|
2023-04-08 16:07:59 -04:00
|
|
|
|
|
|
|
<!-- Overview -->
|
2023-04-05 15:29:58 -04:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title"><i class='bx bxs-shapes' style='margin-right:5px;'></i></i>Overview</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<p>You are currently using version <code>{{ $bp->version() }}</code>.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-08 16:07:59 -04:00
|
|
|
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-09-30 08:07:04 -04:00
|
|
|
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
|
2023-04-05 15:29:58 -04:00
|
|
|
<form action="" method="POST">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title"><i class='bx bxs-cog' style='margin-right:5px;'></i>Configuration</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="row">
|
2023-09-30 08:07:04 -04:00
|
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
2023-04-10 15:59:20 -04:00
|
|
|
<label class="control-label">Telemetry</label>
|
|
|
|
<select class="form-control" name="telemetry">
|
|
|
|
<option value="true">Enabled</option>
|
2023-05-09 15:15:13 -04:00
|
|
|
<option value="false" @if($bp->dbGet('telemetry') != "true") selected @endif>Disabled</option>
|
2023-04-10 15:59:20 -04:00
|
|
|
</select>
|
|
|
|
<p class="text-muted small">Automatically share anonymous usage data with Blueprint.</p>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-09-30 08:07:04 -04:00
|
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
2023-05-31 04:40:03 -04:00
|
|
|
<label class="control-label">ID</label>
|
|
|
|
<input type="text" required name="panel:id" id="panel:id" value="{{ $bp->dbGet('panel:id') }}" class="form-control" readonly/>
|
|
|
|
<p class="text-muted small">Randomly generated string with your version that is used as a panel identifier.</p>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
2023-09-30 08:07:04 -04:00
|
|
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
|
2023-04-07 05:48:13 -04:00
|
|
|
<label class="control-label">Developer Mode</label>
|
2023-04-08 15:31:20 -04:00
|
|
|
<select class="form-control" name="developer">
|
2023-04-10 09:08:07 -04:00
|
|
|
<option value="true">Enabled</option>
|
|
|
|
<option value="false" @if($bp->dbGet('developer') != "true") selected @endif>Disabled</option>
|
2023-04-08 15:31:20 -04:00
|
|
|
</select>
|
|
|
|
<p class="text-muted small">Enable or disable developer-oriented features.</p>
|
2023-04-05 15:29:58 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
2023-04-17 07:48:45 -04:00
|
|
|
{{ 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>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-19 15:04:06 -04:00
|
|
|
@endsection
|