mirror of
https://github.com/standardebooks/web.git
synced 2025-07-23 07:44:49 -04:00
Add a /collections endpoint
This commit is contained in:
parent
3a231d7cee
commit
e2dd256edc
7 changed files with 60 additions and 7 deletions
14
templates/CollectionTable.php
Normal file
14
templates/CollectionTable.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<table class="download-list">
|
||||
<thead>
|
||||
<tr class="mid-header">
|
||||
<th scope="col">Collection</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? foreach($collections as $collection){ ?>
|
||||
<tr>
|
||||
<td class="row-header"><a href="<?= $collection->Url ?>"><?= Formatter::ToPlainText($collection->Name) ?></a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
</tbody>
|
||||
</table>
|
Loading…
Add table
Add a link
Reference in a new issue