Files
delta_framework/templates/test.twig
T

51 lines
1.6 KiB
Twig

{% extends 'layout.twig' %}
{% import '_icons.twig' as icons %}
{% block title %}Тестовая страница{% endblock %}
{% block main %}
<div class="page-head">
<div class="page-head-icon">{{ icons.flask() }}</div>
<div>
<h1>Тестовая страница</h1>
<p class="page-subtitle">Витрина компонентов оформления</p>
</div>
</div>
<div class="section">
<p>This is sample text!</p>
<div class="alert alert-error">{{ icons.warning() }}<span>Error alert</span></div>
<div class="alert alert-success">{{ icons.check() }}<span>Success alert</span></div>
<div class="alert alert-info">{{ icons.info() }}<span>Info alert</span></div>
</div>
<div class="section">
<div class="section-title">
<h2>{{ icons.hash() }} Table</h2>
</div>
<div class="table-wrap">
<table class="table">
<thead>
<tr>
<th>Field 1</th>
<th>Field 2</th>
<th>Field 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Value 1</td>
<td>Value 2</td>
<td>Value 3</td>
</tr>
<tr>
<td>Value 4</td>
<td>Value 5</td>
<td>Value 6</td>
</tr>
</tbody>
</table>
</div>
</div>
{% endblock %}