Update resources/views/blueprint/admin/template.blade.php

This commit is contained in:
denis 2024-11-03 04:23:18 -05:00
parent 5202acba56
commit a774886e2b

View file

@ -22,7 +22,7 @@
@section("extension.config") @section("extension.config")
<?php <?php
use Pterodactyl\Models\Egg; use App\Models\Egg;
$eggs = Egg::all(); $eggs = Egg::all();
?> ?>
<div class="modal fade" id="extensionConfigModal" tabindex="-1" role="dialog"> <div class="modal fade" id="extensionConfigModal" tabindex="-1" role="dialog">
@ -39,7 +39,7 @@
<div class="modal-body" style="border-color:transparent; border-radius:7px; margin-bottom: 15px"> <div class="modal-body" style="border-color:transparent; border-radius:7px; margin-bottom: 15px">
<h4><b>Permissions</b></h4> <h4><b>Permissions</b></h4>
<p class="text-muted text-left">Configure what elements this extension can or can't edit/extend on your Pterodactyl panel.</p><br> <p class="text-muted text-left">Configure what elements this extension can or can't edit/extend on your Pelican panel.</p><br>
<div class="row"> <div class="row">
<div class="col-xs-6"> <div class="col-xs-6">
@ -69,7 +69,7 @@
<option value="{{ $egg->id }}" @if(in_array(strval($egg->id), json_decode($blueprint->dbGet('blueprint', 'extensionconfig_'.$EXTENSION_ID.'_eggs') ?: '["-1"]'))) selected @endif>{{ $egg->name }}</option> <option value="{{ $egg->id }}" @if(in_array(strval($egg->id), json_decode($blueprint->dbGet('blueprint', 'extensionconfig_'.$EXTENSION_ID.'_eggs') ?: '["-1"]'))) selected @endif>{{ $egg->name }}</option>
@endforeach @endforeach
</select> </select>
<p class="text-muted small">Choose on which Pterodactyl eggs this extension should be able to add new pages on.</p> <p class="text-muted small">Choose on which Pelican eggs this extension should be able to add new pages on.</p>
</div> </div>
</div> </div>
</div> </div>