mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Small updates to UI
This commit is contained in:
@@ -78,7 +78,7 @@ use Utopia\Locale\Locale;
|
||||
</div>
|
||||
|
||||
<div data-ls-if="0 != {{project-collections.sum}}" style="display: none;">
|
||||
<div class="note margin-bottom-small margin-end-small text-align-end text-size-small"><span data-ls-bind="{{project-collections.sum}}"></span> results found</div>
|
||||
<div class="note margin-bottom-small margin-end-small text-align-end text-size-small"><span data-ls-bind="{{project-collections.sum}}"></span> collections found</div>
|
||||
|
||||
<div class="box margin-bottom">
|
||||
<table class="vertical">
|
||||
@@ -88,13 +88,13 @@ use Utopia\Locale\Locale;
|
||||
<th width="160">Name</th>
|
||||
<th>Rules</th>
|
||||
<th width="150">Created</th>
|
||||
<th width="150">Updated</th>
|
||||
<th width="150">Last Updated</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody data-ls-loop="project-collections.collections" data-ls-as="collection">
|
||||
<tr>
|
||||
<td class="hide">
|
||||
<img src="" data-ls-attrs="src={{collection.name|gravatar}}" data-size="200" alt="Collection Avatar" class="avatar margin-end pull-start" />
|
||||
<img src="" data-ls-attrs="src={{collection.name|gravatar}}" data-size="200" alt="Collection Avatar" class="avatar margin-end pull-start" loading="lazy" />
|
||||
</td>
|
||||
<td data-title="Name: ">
|
||||
<a data-ls-attrs="href=/console/database/collection?project={{router.params.project}}&id={{collection.$uid}}">
|
||||
@@ -107,7 +107,7 @@ use Utopia\Locale\Locale;
|
||||
<td data-title="Created: ">
|
||||
<span data-ls-bind="{{collection.dateCreated|date-text}}" class="note"></span>
|
||||
</td>
|
||||
<td data-title="Updated: ">
|
||||
<td data-title="Last Updated: ">
|
||||
<span data-ls-bind="{{collection.dateUpdated|date-text}}" class="note"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -18,8 +18,8 @@ $graph = $this->getParam('graph', false);
|
||||
</div>
|
||||
|
||||
<div class="zone xxl margin-top-negative-large">
|
||||
<div>
|
||||
<div class="box margin-bottom dashboard"
|
||||
<div class="box margin-bottom dashboard">
|
||||
<div
|
||||
data-service="projects.getProjectUsage"
|
||||
data-event="load"
|
||||
data-name="usage"
|
||||
@@ -109,7 +109,7 @@ $graph = $this->getParam('graph', false);
|
||||
</form>
|
||||
|
||||
<div class="margin-bottom-tiny">
|
||||
<img src="" data-ls-attrs="src=/images/clients/{{platform.type}}.png" class="avatar pull-start margin-end" />
|
||||
<img src="" data-ls-attrs="src=/images/clients/{{platform.type}}.png" class="avatar pull-start margin-end" loading="lazy" />
|
||||
<span data-ls-bind="{{platform.name}}"></span>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ use Utopia\Locale\Locale;
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<img src="" data-ls-attrs="src={{member|gravatar}}" data-size="200" alt="User Avatar" class="avatar pull-start margin-end" />
|
||||
<img src="" data-ls-attrs="src={{member|gravatar}}" data-size="200" alt="User Avatar" class="avatar pull-start margin-end" loading="lazy" />
|
||||
|
||||
<div class="margin-bottom-small">
|
||||
<span data-ls-bind="{{member.name}}"></span> <span class="tag" data-ls-bind="{{member.roles.0}}"></span> <span data-ls-if="false === {{member.confirm}}" class="tag red" style="display: none;"><?php echo Locale::getText('console.settings.section.members.labels.pending'); ?></span>
|
||||
|
||||
@@ -79,7 +79,7 @@ use Utopia\Locale\Locale;
|
||||
</div>
|
||||
|
||||
<div data-ls-if="0 != {{project-files.sum}}" style="display: none;">
|
||||
<div class="note margin-bottom-small margin-end-small text-align-end text-size-small"><span data-ls-bind="{{project-files.sum}}"></span> results found</div>
|
||||
<div class="note margin-bottom-small margin-end-small text-align-end text-size-small"><span data-ls-bind="{{project-files.sum}}"></span> files found</div>
|
||||
|
||||
<div class="box margin-bottom">
|
||||
<table class="vertical">
|
||||
@@ -95,7 +95,7 @@ use Utopia\Locale\Locale;
|
||||
<tbody data-ls-loop="project-files.files" data-ls-as="file">
|
||||
<tr>
|
||||
<td class="hide">
|
||||
<img src="" data-ls-attrs="src=//{{env.DOMAIN}}/v1/storage/files/{{file.$uid}}/preview?width=100&height=100&project={{router.params.project}}&mode=admin" class="pull-start avatar" />
|
||||
<img src="" data-ls-attrs="src=//{{env.DOMAIN}}/v1/storage/files/{{file.$uid}}/preview?width=100&height=100&project={{router.params.project}}&mode=admin" class="pull-start avatar" loading="lazy" />
|
||||
</td>
|
||||
<td data-title="Name: ">
|
||||
<span data-ls-bind="{{file.name}}" class="note"></span>
|
||||
|
||||
@@ -82,7 +82,7 @@ $providers = $this->getParam('providers', []);
|
||||
</div>
|
||||
|
||||
<div data-ls-if="0 != {{project-users.sum}}" style="display: none;">
|
||||
<div class="note margin-bottom-small margin-end-small text-align-end text-size-small"><span data-ls-bind="{{project-users.sum}}"></span> results found</div>
|
||||
<div class="note margin-bottom-small margin-end-small text-align-end text-size-small"><span data-ls-bind="{{project-users.sum}}"></span> users found</div>
|
||||
|
||||
<div class="box margin-bottom">
|
||||
<table class="vertical">
|
||||
@@ -98,7 +98,7 @@ $providers = $this->getParam('providers', []);
|
||||
<tbody data-ls-loop="project-users.users" data-ls-as="user">
|
||||
<tr>
|
||||
<td class="hide">
|
||||
<img src="" data-ls-attrs="src={{user|gravatar}}" alt="User Avatar" class="avatar pull-start" />
|
||||
<img src="" data-ls-attrs="src={{user|gravatar}}" alt="User Avatar" class="avatar pull-start" loading="lazy" />
|
||||
</td>
|
||||
<td data-title="Name: ">
|
||||
<a data-ls-attrs="href=/console/users/view?id={{user.$uid}}&project={{router.params.project}}" data-ls-bind="{{user.name}}"></a>
|
||||
@@ -227,6 +227,7 @@ $providers = $this->getParam('providers', []);
|
||||
<table class="vertical">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="60"></th>
|
||||
<th width="180">Name</th>
|
||||
<th>Members</th>
|
||||
<th width="150">Created</th>
|
||||
@@ -234,6 +235,9 @@ $providers = $this->getParam('providers', []);
|
||||
</thead>
|
||||
<tbody data-ls-loop="project-teams.teams" data-ls-as="team">
|
||||
<tr>
|
||||
<td class="hide">
|
||||
<img src="" data-ls-attrs="src={{team.name|gravatar}}" data-size="200" alt="Collection Avatar" class="avatar margin-end pull-start" loading="lazy" />
|
||||
</td>
|
||||
<td data-title="Name: ">
|
||||
<div data-ui-modal class="modal close" data-button-text="{{team.name}}" data-button-class="link">
|
||||
<h1>Update Team</h1>
|
||||
|
||||
Reference in New Issue
Block a user