2023-01-30 08:52:22 -05:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
2023-02-19 13:30:47 -05:00
|
|
|
Blueprint
|
2023-01-30 08:52:22 -05:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
2023-02-06 15:14:26 -05:00
|
|
|
<img src="/assets/extensions/blueprint/logo.jpg" alt="logo" style="float:left;width:30px;height:30px;border-radius:3px;margin-right:5px;">
|
2023-02-22 13:47:18 -05:00
|
|
|
<h1 ext-title>Blueprint<tag mg-left blue>{{ $bp->version() }}</tag></h1>
|
2023-01-30 08:52:22 -05:00
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
|
|
|
<li><a href="{{ route('admin.extensions') }}">Extensions</a></li>
|
|
|
|
<li class="active">Blueprint</li>
|
|
|
|
</ol>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2023-02-19 13:30:47 -05:00
|
|
|
<p>Blueprint is the framework that drives all Blueprint-compatible extensions and allows multiple extensions to be installed at the same time.</p>
|
2023-02-08 04:47:00 -05:00
|
|
|
<div class="row">
|
2023-02-19 13:30:47 -05:00
|
|
|
<div class="col-xs-3">
|
2023-02-22 13:47:18 -05: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-02-19 13:30:47 -05:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title"><i class='bx bxs-pen' style='margin-right:5px;'></i>License</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
2023-02-21 04:36:33 -05:00
|
|
|
@if ($license)
|
2023-02-21 03:21:45 -05:00
|
|
|
<input type="text" id="license" value="{{ $bp->licenseKeyCensored() }}" class="form-control" style="letter-spacing: 3px;" readonly/>
|
2023-02-23 16:02:15 -05:00
|
|
|
<p class="text-muted small">Your license key is valid. <a data-toggle="modal" data-target="#licenseMoreInfo">Learn more.</a></p>
|
2023-02-21 04:36:33 -05:00
|
|
|
@else
|
|
|
|
<input type="text" id="license" value="{{ $bp->licenseKeyCensored() }}" class="form-control" style="letter-spacing: 3px;" readonly/>
|
2023-02-23 16:02:15 -05:00
|
|
|
<p class="text-muted small">Your license key could not be validated. <a data-toggle="modal" data-target="#licenseMoreInfo">Learn more.</a></p>
|
2023-02-21 03:21:45 -05:00
|
|
|
@endif
|
2023-02-19 13:30:47 -05:00
|
|
|
</div>
|
2023-02-22 13:47:18 -05:00
|
|
|
</div>
|
2023-02-19 14:13:29 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-9">
|
2023-02-26 08:41:16 -05: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">
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label class="control-label">placeholder</label>
|
|
|
|
<input type="text" required name="placeholder:1" id="placeholder" value="{{ $bp->dbGet('placeholder:1') }}" class="form-control" @if(!$bp->licenseIsValid())readonly @endif/>
|
|
|
|
<p class="text-muted small">placeholder</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label class="control-label">placeholder</label>
|
|
|
|
<input type="text" required name="placeholder:2" id="placeholder" value="{{ $bp->dbGet('placeholder:2') }}" class="form-control" @if(!$bp->licenseIsValid())readonly @endif/>
|
|
|
|
<p class="text-muted small">placeholder</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-4">
|
|
|
|
<label class="control-label">placeholder</label>
|
|
|
|
<input type="text" required name="placeholder:3" id="placeholder" value="{{ $bp->dbGet('placeholder:3') }}" class="form-control" @if(!$bp->licenseIsValid())readonly @endif/>
|
|
|
|
<p class="text-muted small">placeholder</p>
|
|
|
|
</div>
|
2023-02-19 14:13:29 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-26 08:41:16 -05:00
|
|
|
<div class="box-footer">
|
|
|
|
@if ($license)
|
|
|
|
{{ csrf_field() }}
|
|
|
|
<button type="submit" name="_method" value="PATCH" class="btn btn-gray-alt btn-sm pull-right">Save</button>
|
|
|
|
@else
|
|
|
|
<p class="text-muted small">You are required to have a valid license key attached to be able to change any settings.</p>
|
|
|
|
@endif
|
|
|
|
</div>
|
2023-02-19 14:13:29 -05:00
|
|
|
</div>
|
2023-02-26 08:41:16 -05:00
|
|
|
</form>
|
2023-02-08 04:47:00 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-23 16:02:15 -05:00
|
|
|
<div class="modal fade" id="licenseMoreInfo" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<i class='bx bxs-pen' style='margin-right:6px;float:left;font-size:23px;'></i><h4 class="modal-title" style="font-size:19px;">License</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>
|
|
|
|
Every purchase comes with a unique license key preinstalled into your Blueprint files and allows our license system to work without any user input.
|
|
|
|
Most of the time this system does not hinder the user experience, but in rare cases our validation server may be offline and is unable to validate any licenses.
|
|
|
|
If this happens, it should automatically resolve itself within 2 hours.
|
|
|
|
<br><br>
|
|
|
|
The Blueprint development team is also able to blacklist licenses and ips remotely.
|
2023-02-24 04:15:42 -05:00
|
|
|
A license may be blacklisted if the buyer chargebacks their purchase or violates our terms and conditions.
|
2023-02-23 16:02:15 -05:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button class="btn btn-gray-alt btn-sm pull-right" data-dismiss="modal" aria-label="Close">Close</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-30 08:52:22 -05:00
|
|
|
@endsection
|