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-07 02:28:42 +12:00
|
|
|
<a data-ls-attrs="href=/console/database?project={{router.params.company}}" class="button icon margin-top-tiny pull-end"><i class="icon-plus"></i> 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">
|
|
|
|
<img src="" data-ls-attrs="src={{collection.name|gravatar}}" alt="Collection Avatar" class="avatar margin-end pull-start" />
|
|
|
|
|
|
|
|
<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>
|