blessing-skin-server/resources/views/skinlib/show.twig
2019-12-16 10:49:09 +08:00

40 lines
938 B
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">
{{ include('shared.grid') }}
</div>
</section>
</div>
</div>
<div id="modals"></div>
{% endblock %}
{% block before_foot %}
<script>
Object.defineProperty(blessing, 'extra', {
configurable: false,
get: () => Object.freeze({{ extra|json_encode|raw }})
})
</script>
{% endblock %}