mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:39:26 +00:00
Prepare views for data injection
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
<section class='classes'>
|
<section class='classes'>
|
||||||
{{> class name='13(3) Chemistry' teacher='Dr M Ashley' id=1 }}
|
{{#each classes}}
|
||||||
{{> class name='13(3) Chemistry' teacher='Dr M Ashley' id=2 }}
|
{{> class name=name teacher=teachers.[0] id=id }}
|
||||||
{{> class name='13(3) Chemistry' teacher='Dr M Ashley' id=3 }}
|
{{/each}}
|
||||||
{{> class name='13(3) Chemistry' teacher='Dr M Ashley' id=4 }}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
<div class='classes__class adminItem' data-id={{ id }}>
|
<div class='classes__class adminItem' data-id={{ id }}>
|
||||||
<h2>{{ name }}</h2>
|
<h2>{{ name }}</h2>
|
||||||
<h3>{{ teacher }}</h3>
|
{{#with teacher}}
|
||||||
|
<h3>{{ fullName }}</h3>
|
||||||
|
{{/with}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,48 +11,15 @@
|
|||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{{> test
|
{{#each tests}}
|
||||||
id='1'
|
{{> test
|
||||||
name='Organic Synthesis'
|
id=id
|
||||||
class='MKA_133'
|
name=template.name
|
||||||
subject='Chemistry'
|
class=class.name
|
||||||
date='01/08/2021'
|
subject=class.subject.name
|
||||||
}}
|
date=date
|
||||||
{{> test
|
}}
|
||||||
id='2'
|
{{/each}}
|
||||||
name='Organic Synthesis'
|
|
||||||
class='MKA_133'
|
|
||||||
subject='Chemistry'
|
|
||||||
date='01/08/2021'
|
|
||||||
}}
|
|
||||||
{{> test
|
|
||||||
id='3'
|
|
||||||
name='Organic Synthesis'
|
|
||||||
class='MKA_133'
|
|
||||||
subject='Chemistry'
|
|
||||||
date='01/08/2021'
|
|
||||||
}}
|
|
||||||
{{> test
|
|
||||||
id='4'
|
|
||||||
name='Organic Synthesis'
|
|
||||||
class='MKA_133'
|
|
||||||
subject='Chemistry'
|
|
||||||
date='01/08/2021'
|
|
||||||
}}
|
|
||||||
{{> test
|
|
||||||
id='5'
|
|
||||||
name='Organic Synthesis'
|
|
||||||
class='MKA_133'
|
|
||||||
subject='Chemistry'
|
|
||||||
date='01/08/2021'
|
|
||||||
}}
|
|
||||||
{{> test
|
|
||||||
id='6'
|
|
||||||
name='Organic Synthesis'
|
|
||||||
class='MKA_133'
|
|
||||||
subject='Chemistry'
|
|
||||||
date='01/08/2021'
|
|
||||||
}}
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user