59 lines
2.6 KiB
Handlebars
59 lines
2.6 KiB
Handlebars
<div>
|
|
<div>
|
|
<header class="navbar navbar-expand-md navbar-dark bd-navbar">
|
|
<ul class="nav nav-pills container flex-wrap flex-md-nowrap gap-2">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/userspace">Вернуться</a>
|
|
</li>
|
|
<div class="flex-grow-1"></div>
|
|
<li class="nav-item">
|
|
<a class="nav-link active" href="/gateway/logout">Выйти</a>
|
|
</li>
|
|
</ul>
|
|
</header>
|
|
|
|
<div class="container p-0">
|
|
<div>
|
|
<table id="votesTable" class="w-100 table table-sm table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Когда</th>
|
|
<th scope="col">Здоровье</th>
|
|
<th scope="col">Любовь</th>
|
|
<th scope="col">Секс</th>
|
|
<th scope="col">Работа</th>
|
|
<th scope="col">Отдых</th>
|
|
<th scope="col">Деньги</th>
|
|
<th scope="col">Отношения</th>
|
|
<th scope="col">Личн. рост</th>
|
|
<th scope="col">Смысл жизни</th>
|
|
<th scope="col">Тревожность</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="table-group-divider">
|
|
{{#each votes}}
|
|
<tr>
|
|
<td scope="row">{{date}}</td>
|
|
<td scope="row">{{health}}</td>
|
|
<td scope="row">{{love}}</td>
|
|
<td scope="row">{{sex}}</td>
|
|
<td scope="row">{{work}}</td>
|
|
<td scope="row">{{rest}}</td>
|
|
<td scope="row">{{finances}}</td>
|
|
<td scope="row">{{relations}}</td>
|
|
<td scope="row">{{pers_growth}}</td>
|
|
<td scope="row">{{meaning_of_life}}</td>
|
|
<td scope="row">{{serenity}}</td>
|
|
</tr>
|
|
{{else}}
|
|
<tr>
|
|
<td colspan="11" class="text-center">Нет данных</td>
|
|
</tr>
|
|
{{/each}}
|
|
</template>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|