51 lines
1.3 KiB
Twig
51 lines
1.3 KiB
Twig
{% extends 'skinlib.base' %}
|
|
|
|
{% block title %}{{ texture.name }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="content-wrapper">
|
|
<div class="container">
|
|
<div class="content-header">
|
|
<div class="container-fluid">
|
|
<div class="d-flex justify-content-between flex-wrap">
|
|
<div>
|
|
<h1 class="m-0 text-dark">{{ trans('skinlib.show.title') }}</h1>
|
|
</div>
|
|
<div>
|
|
<div class="breadcrumb"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<section class="content">
|
|
<div class="container-fluid">
|
|
<div class="row"></div>
|
|
|
|
{% if comment_script %}
|
|
<div class="container-fluid p-0">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h3 class="card-title">{{ trans('skinlib.show.comment') }}</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
{{ comment_script|raw }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block before_foot %}
|
|
<script>
|
|
Object.defineProperty(blessing, 'extra', {
|
|
configurable: false,
|
|
get: () => Object.freeze({{ extra|json_encode|raw }})
|
|
})
|
|
</script>
|
|
{% endblock %}
|