1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 07:59:30 +00:00

Added views for classUser pages

This commit is contained in:
2022-03-21 09:14:08 +00:00
parent e34016667f
commit e6cdf94c14
3 changed files with 23 additions and 2 deletions

16
views/classUsers.hbs Normal file
View File

@@ -0,0 +1,16 @@
<section class='adminSection adminSection--buttons'>
{{#eq userType 'account'}}
<div class='classes__buttons'>
{{> button style='full' colour='primary' to=addLink content=addContent size='lg' }}
</div>
{{/eq}}
</section>
<section class='adminSection classUsers'>
<div class="adminItem">
<h2>{{pageTitle}}</h2>
{{#each users as |user|}}
{{> classUser user=user }}
{{/each}}
</div>
</section>