1
0
Fork 0
mirror of synced 2024-07-17 20:36:10 +12:00
appwrite/app/views/console/database/index.phtml

30 lines
1.3 KiB
PHTML
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?php
2019-08-06 16:58:32 +12:00
2019-05-09 18:54:39 +12:00
use Utopia\Locale\Locale;
?>
<div class="cover margin-bottom-large">
<h1 class="zone xl margin-bottom-large margin-top">
2019-08-08 18:11:47 +12:00
<a data-ls-attrs="href=/console/database?project={{router.params.company}}" class="button icon pull-end"><i class="icon-plus"></i> &nbsp;Collection</a>
2019-05-09 18:54:39 +12:00
<?php echo Locale::getText('console.database.title'); ?>
</h1>
</div>
<div class="zone xl">
2019-08-08 06:10:53 +12:00
<div class="zone xl"
data-service="database.listCollections"
data-scope="sdk"
data-event="load"
data-name="project-collections">
2019-08-07 00:22:54 +12:00
<div class="box margin-bottom">
<ul data-ls-loop="project-collections.collections" data-ls-as="collection" class="list">
<li class="clear">
2019-08-09 17:03:41 +12:00
<img src="" data-ls-attrs="src={{collection.name|gravatar}}" data-size="200" alt="Collection Avatar" class="avatar margin-end pull-start" />
2019-08-07 00:22:54 +12:00
<a data-ls-bind="{{collection.name}}" data-ls-attrs="href=/console/database/collection?project={{console-project.$uid}}&id={{collection.$uid}}"></a>
<p class=" note margin-bottom-no margin-top-small"><span data-ls-bind="{{collection.rules.length}}"></span> fields</p>
</li>
</ul>
</div>
2019-08-07 02:28:42 +12:00
</div>
</div>