From 3d30dcddddd660a14276aaea4dd0e8eb3679e689 Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Sun, 18 Nov 2018 22:20:16 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80?= =?UTF-8?q?=D1=8B=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=B5=D0=B4=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B,=20=D0=BF=D1=80=D0=B8=D0=B1=D1=80=D0=B0=D0=BD=20css,=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=D1=81=D0=BA=D0=B0=D0=B7=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/presets/filters.conf.js | 28 ++++++++++++++-------------- pages/index.scss | 11 +++++++++++ pages/index.vue | 21 +++++++++++++-------- 3 files changed, 38 insertions(+), 22 deletions(-) diff --git a/assets/js/presets/filters.conf.js b/assets/js/presets/filters.conf.js index b44ea68..b57fd89 100644 --- a/assets/js/presets/filters.conf.js +++ b/assets/js/presets/filters.conf.js @@ -1,36 +1,36 @@ module.exports = [ { - name: 'prod', + name: 'Боевые сайты', q: 'prod=1', groups: ['main'] }, { - name: 'приоритетные клиенты', + name: 'Приоритетные клиенты', q: 'prod=1&meta_client_priority<3', groups: ['main'] }, { - name: 'bitrix', + name: 'Bitrix', q: 'engine=bitrix&prod=1', groups: ['bitrix'] }, { - name: 'drupal', + name: 'Drupal', q: 'engine=drupal&prod=1', groups: ['modules'] }, { - name: 'without cron', + name: 'Без cron', q: 'engine=drupal&prod=1&cron=0', groups: ['cron'] }, { - name: 'without git', + name: 'Без git', q: 'prod=1&git=0', groups: ['git'] }, { - name: 'dirty git', + name: 'Грязный git', q: 'prod=1&git=1&git_clean=0', groups: ['git'] }, @@ -40,37 +40,37 @@ module.exports = [ groups: ['seo'] }, { - name: 'without https', + name: 'Без HTTPS', q: 'https=0&prod=1', groups: ['service'] }, { - name: 'drupal without cache', + name: 'Drupal без кэша анонимов', q: 'engine=drupal&prod=1&cache=0&boost=0', groups: ['cache'] }, { - name: 'drupal without js min', + name: 'Drupal без js min', q: 'engine=drupal&prod=1&preprocess_js=0', groups: ['cache'] }, { - name: 'yandex_maps', + name: 'Яндекс.карты на главке', q: 'yandex_maps=1', groups: ['perf'] }, { - name: 'lighthouse_performance', + name: 'Быстрый PageSpeed', q: 'prod=1&lighthouse_performance>50', groups: ['perf', 'lighthouse'] }, { - name: 'кликабельные телефоны', + name: 'Кликабельные телефоны', q: 'prod=1&tel_links>0', groups: ['service'] }, { - name: 'продан pagespeed', + name: 'Продан PageSpeed', q: 'prod=1&meta_pagespeed>0', groups: ['service', 'lighthouse'] } diff --git a/pages/index.scss b/pages/index.scss index 0ce479e..a6526f4 100644 --- a/pages/index.scss +++ b/pages/index.scss @@ -54,6 +54,16 @@ background: none; font-weight: normal; } + + &__columns{ + display: block; + margin-left: 18px; + } + + &__filters{ + // display: inline; + margin-left: 18px; + } } &__field { @@ -90,6 +100,7 @@ border-bottom: 1px dashed; padding: 0; margin-right: 1em; + font-weight: normal; } } diff --git a/pages/index.vue b/pages/index.vue index 383e433..c3f57b1 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -7,20 +7,25 @@
{{ group.name }} - -
-
- + +
+ + +
+
@@ -121,7 +126,7 @@ export default { filterable: ['domain_idn'], perPage: this.filteredSites.length, perPageValues: [100, 250, 500], - columnsDropdown: true, + // columnsDropdown: true, rowClassCallback(row) { if (row.error) return 'danger'; // return 'success';