mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Fixed UI loops
This commit is contained in:
parent
d52e98490b
commit
a10177b9fe
3 changed files with 4 additions and 4 deletions
|
|
@ -501,7 +501,7 @@ $maxCells = 10;
|
||||||
<script type="text/html" id="template-validation-document-array-true">
|
<script type="text/html" id="template-validation-document-array-true">
|
||||||
<label data-ls-attrs="for=rule-list-{{rule.$id}}" class="margin-bottom">Allowed Collections</label>
|
<label data-ls-attrs="for=rule-list-{{rule.$id}}" class="margin-bottom">Allowed Collections</label>
|
||||||
|
|
||||||
<div data-ls-loop="project-collections.collections" data-ls-as="project" data-ls-key="$index2" class="tiles cell-3 margin-bottom-negative" style="visibility: hidden">
|
<div data-ls-loop="project-collections.collections" data-ls-as="project" data-ls-key="$index2" class="tiles cell-3 margin-bottom-negative">
|
||||||
<div class="margin-bottom" data-ls-if="{{project.$id}} != {{router.params.id}}">
|
<div class="margin-bottom" data-ls-if="{{project.$id}} != {{router.params.id}}">
|
||||||
<input type="checkbox" name="list" data-ls-attrs="value={{project.$id}}" data-ls-bind="{{rule.list}}" /> <span data-ls-bind="{{project.name}}"></span>
|
<input type="checkbox" name="list" data-ls-attrs="value={{project.$id}}" data-ls-bind="{{rule.list}}" /> <span data-ls-bind="{{project.name}}"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -511,7 +511,7 @@ $maxCells = 10;
|
||||||
<script type="text/html" id="template-validation-document-array-false">
|
<script type="text/html" id="template-validation-document-array-false">
|
||||||
<label data-ls-attrs="for=rule-list-{{rule.$id}}" class="margin-bottom">Allowed Collection</label>
|
<label data-ls-attrs="for=rule-list-{{rule.$id}}" class="margin-bottom">Allowed Collection</label>
|
||||||
|
|
||||||
<div data-ls-loop="project-collections.collections" data-ls-as="project" data-ls-key="$index2" class="tiles cell-3 margin-bottom-negative" style="visibility: hidden">
|
<div data-ls-loop="project-collections.collections" data-ls-as="project" data-ls-key="$index2" class="tiles cell-3 margin-bottom-negative">
|
||||||
<div class="margin-bottom" data-ls-if="{{project.$id}} != {{router.params.id}}">
|
<div class="margin-bottom" data-ls-if="{{project.$id}} != {{router.params.id}}">
|
||||||
<input type="radio" name="list" data-ls-attrs="value={{project.$id}}" data-ls-bind="{{rule.list|firstElement}}" data-cast-to="array" required /> <span data-ls-bind="{{project.name}}"></span>
|
<input type="radio" name="list" data-ls-attrs="value={{project.$id}}" data-ls-bind="{{rule.list|firstElement}}" data-cast-to="array" required /> <span data-ls-bind="{{project.name}}"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div data-ls-if="0 != {{project-collections.sum}}">
|
<div data-ls-if="0 != {{project-collections.sum}}">
|
||||||
<ul data-ls-loop="project-collections.collections" data-ls-as="collection" data-ls-append="" class="tiles cell-3 margin-bottom-small" style="visibility: hidden">
|
<ul data-ls-loop="project-collections.collections" data-ls-as="collection" data-ls-append="" class="tiles cell-3 margin-bottom-small">
|
||||||
<li class="margin-bottom">
|
<li class="margin-bottom">
|
||||||
<a data-ls-attrs="href=/console/database/collection?id={{collection.$id}}&project={{router.params.project}}" class="box">
|
<a data-ls-attrs="href=/console/database/collection?id={{collection.$id}}&project={{router.params.project}}" class="box">
|
||||||
<div data-ls-bind="{{collection.name}}" class="text-one-liner margin-bottom text-bold"> </div>
|
<div data-ls-bind="{{collection.name}}" class="text-one-liner margin-bottom text-bold"> </div>
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ $home = $this->getParam('home', '');
|
||||||
<p class="margin-bottom-no">No Projects Found, Create your first project now.</p>
|
<p class="margin-bottom-no">No Projects Found, Create your first project now.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul data-ls-loop="console-projects.projects" data-ls-as="project" data-ls-append="" class="tiles cell-3" style="visibility: hidden">
|
<ul data-ls-loop="console-projects.projects" data-ls-as="project" data-ls-append="" class="tiles cell-3">
|
||||||
<li class="margin-bottom">
|
<li class="margin-bottom">
|
||||||
<a data-ls-attrs="href=/console/home?project={{project.$id}}" class="box">
|
<a data-ls-attrs="href=/console/home?project={{project.$id}}" class="box">
|
||||||
<div data-ls-bind="{{project.name}}" class="text-one-liner margin-bottom-tiny text-bold"> </div>
|
<div data-ls-bind="{{project.name}}" class="text-one-liner margin-bottom-tiny text-bold"> </div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue