From b79b2b4ccc6832226316d9e7afe5f61d350cc680 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 13 Jun 2020 14:13:53 +0300 Subject: [PATCH 1/2] Performance and accessibility improvments --- app/controllers/web/console.php | 1 + app/views/console/comps/footer.phtml | 6 +++--- app/views/console/comps/header.phtml | 10 +++++----- app/views/console/database/collection.phtml | 6 +++--- app/views/console/database/document.phtml | 6 +++--- app/views/console/database/rules/array.phtml | 4 ++-- app/views/console/home/index.phtml | 14 +++++++------- app/views/console/index.phtml | 7 +++---- app/views/console/keys/index.phtml | 4 ++-- app/views/console/settings/index.phtml | 2 +- app/views/console/storage/index.phtml | 8 ++++---- app/views/console/tasks/index.phtml | 4 ++-- app/views/console/webhooks/index.phtml | 4 ++-- app/views/home/auth/signup.phtml | 2 +- public/dist/scripts/app-all.js | 7 ++++--- public/dist/scripts/app.js | 7 ++++--- public/dist/styles/default-ltr.css | 2 +- public/dist/styles/default-rtl.css | 2 +- public/scripts/views/forms/upload.js | 3 +++ public/scripts/views/ui/open.js | 7 ++++++- public/styles/scopes/console.less | 7 +++++++ 21 files changed, 65 insertions(+), 48 deletions(-) diff --git a/app/controllers/web/console.php b/app/controllers/web/console.php index d90966ba7..ff59b0307 100644 --- a/app/controllers/web/console.php +++ b/app/controllers/web/console.php @@ -14,6 +14,7 @@ use Appwrite\Storage\Storage; $utopia->init(function () use ($layout) { $layout + ->setParam('description', 'Appwrite Console allows you to easily manage, monitor, and control your entire backend API and tools.') ->setParam('analytics', 'UA-26264668-5') ; }); diff --git a/app/views/console/comps/footer.phtml b/app/views/console/comps/footer.phtml index e8f7770d6..c96683939 100644 --- a/app/views/console/comps/footer.phtml +++ b/app/views/console/comps/footer.phtml @@ -9,21 +9,21 @@ $version = $this->getParam('version', '').'.'.APP_CACHE_BUSTER; data-analytics-event="click" data-analytics-category="console/footer" data-analytics-label="GitHub Link" - href="https://github.com/appwrite/appwrite" target="_blank"> GitHub + href="https://github.com/appwrite/appwrite" target="_blank" rel="noopener"> GitHub
  • Open an Issue + href="https://github.com/appwrite/appwrite/issues/new?body=%0A%0A%0A---%0AAppwrite Version:%20" target="_blank" rel="noopener">Open an Issue
  • Docs + href="/docs" target="_blank" rel="noopener">Docs
  • v: diff --git a/app/views/console/comps/header.phtml b/app/views/console/comps/header.phtml index 6588adf4e..4a8d58643 100644 --- a/app/views/console/comps/header.phtml +++ b/app/views/console/comps/header.phtml @@ -42,7 +42,7 @@ -
    +
    -