blessing-skin-server/resources/views/skinlib/show.blade.php
2019-04-07 08:54:54 +08:00

51 lines
1.5 KiB
PHP

@extends('skinlib.master')
@section('title', $texture->name)
@section('content')
<!-- Full Width Column -->
<div class="content-wrapper">
<div class="container">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
@lang('skinlib.show.title')
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row"></div>
@if (option('comment_script'))
<div class="row">
<div class="col-md-12">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">@lang('skinlib.show.comment')</h3>
</div>
<div class="box-body">
{!! get_string_replaced(option('comment_script'), [
'{tid}' => $texture->tid,
'{name}' => $texture->name,
'{url}' => request()->url()
]) !!}
</div>
</div>
</div>
</div>
@endif
</section><!-- /.content -->
</div><!-- /.container -->
</div><!-- /.content-wrapper -->
<script>
Object.defineProperty(blessing, 'extra', {
configurable: false,
get: () => Object.freeze(@json($extra))
})
</script>
@endsection