55 lines
No EOL
2.4 KiB
PHP
55 lines
No EOL
2.4 KiB
PHP
@section("extension.header")
|
|
<img src="{{ $EXTENSION_ICON }}" alt="logo" style="float:left;width:30px;height:30px;border-radius:3px;margin-right:5px;"/>
|
|
|
|
<button class="btn btn-gray-alt pull-right" style="padding: 5px 10px; margin-left: 7px" data-toggle="modal" data-target="#extensionConfigModal">
|
|
<i class="bx bx-slider"></i>
|
|
</button>
|
|
|
|
@if($EXTENSION_WEBSITE != "[website]")
|
|
<a href="{{ $EXTENSION_WEBSITE }}" target="_blank">
|
|
<button class="btn btn-gray-alt pull-right" style="padding: 5px 10px">
|
|
<i class="{{ $EXTENSION_WEBICON }}"></i>
|
|
</button>
|
|
</a>
|
|
@endif
|
|
|
|
<h1 ext-title>{{ $EXTENSION_NAME }}<tag mg-left blue>{{ $EXTENSION_VERSION }}</tag></h1>
|
|
@endsection
|
|
|
|
@section("extension.description")
|
|
<p>{{ $EXTENSION_DESCRIPTION }}</p>
|
|
@endsection
|
|
|
|
@section("extension.config")
|
|
<div class="modal fade" id="extensionConfigModal" tabindex="-1" role="dialog">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<form action="/admin/extensions/blueprint/config" method="POST" autocomplete="off">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="color:#fff;box-shadow:none"><span aria-hidden="true"><i class="bi bi-x"></i></span></button>
|
|
<h3 class="modal-title">
|
|
<img src="{{ $EXTENSION_ICON }}" alt="logo" height="34" width="34" class="pull-left" style="border-radius:3px;margin-right:10px"/>
|
|
Configure <b>{{ $EXTENSION_NAME }}</b>
|
|
</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>hello</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
{{ csrf_field() }}
|
|
<input type="hidden" name="_identifier" value="{{ $EXTENSION_ID }}">
|
|
<input type="hidden" name="_method" value="PATCH">
|
|
<div class="row">
|
|
<div class="col-sm-10">
|
|
<p class="text-muted small text-left">This settings dialog was automatically generated by Blueprint. Unsaved changes will be lost when updating this extension's configuration.</p>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<button type="submit" class="btn btn-primary btn-sm" style="width:100%; margin-top:10px; margin-bottom:10px">Save</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection |