diff --git a/app/Resources/static/themes/material/css/nav.scss b/app/Resources/static/themes/material/css/nav.scss index b7288278c..c84f79571 100644 --- a/app/Resources/static/themes/material/css/nav.scss +++ b/app/Resources/static/themes/material/css/nav.scss @@ -141,3 +141,15 @@ nav { display: none; } } + +.dropdown-content { + min-width: 300px; + + .material-icons { + line-height: initial !important; + } + + li > a { + padding: 10px; + } +} diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js index 1c28401d9..d8f5628cd 100755 --- a/app/Resources/static/themes/material/index.js +++ b/app/Resources/static/themes/material/index.js @@ -63,6 +63,8 @@ $(document).ready(() => { container: 'body', }); + $('.dropdown-trigger').dropdown({ hover: false }); + initFilters(); initExport(); initRandom(); diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 54df2e649..4f8b071fd 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtrer artikler' # random_entry: Jump to a random entry from that list # export: 'Export' + # account: 'My account' search_form: input_label: 'Indtast søgning' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index 549704d0d..4c701223c 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Artikel filtern' # random_entry: Jump to a random entry from that list export: 'Exportieren' + # account: 'My account' search_form: input_label: 'Suchbegriff hier eingeben' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index a68a7d7de..c314bb1da 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filter entries' random_entry: Jump to a random entry from that list export: 'Export' + account: 'My account' search_form: input_label: 'Enter your search here' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index c3e3ba816..e42be021c 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtrar los artículos' random_entry: 'Ir a un artículo aleatório de esta lista' export: 'Exportar' + # account: 'My account' search_form: input_label: 'Introduzca su búsqueda aquí' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index 4a52a2081..1bbcda231 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'فیلترکردن مقاله‌ها' # random_entry: Jump to a random entry from that list export: 'برون‌بری' + # account: 'My account' search_form: input_label: 'جستجوی خود را این‌جا بنویسید:' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 2cfab8cf4..3aa1f6576 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml @@ -41,6 +41,7 @@ menu: filter_entries: "Filtrer les articles" random_entry: Aller à un article aléatoire de cette liste export: "Exporter" + account: "Mon compte" search_form: input_label: "Saisissez votre terme de recherche" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index af1c1fe74..933eac85d 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtra contenuti' # random_entry: Jump to a random entry from that list export: 'Esporta' + # account: 'My account' search_form: input_label: 'Inserisci qui la tua ricerca' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml index f6530a830..ce18732d6 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ja.yml @@ -40,6 +40,7 @@ menu: filter_entries: 'フィルターを使用' random_entry: このリストの中からランダムに記事に記事を表示 export: 'エクスポート' + # account: 'My account' search_form: input_label: '検索内容を入力' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index 59dd9b221..ae2b8c55c 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtrar los articles' random_entry: "Sautar a un article a l'azard" export: 'Exportar' + # account: 'My account' search_form: input_label: 'Picatz vòstre mot-clau a cercar aquí' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index c09ef47ab..3b1749816 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtruj wpisy' # random_entry: Jump to a random entry from that list export: 'Eksportuj' + # account: 'My account' search_form: input_label: 'Wpisz swoje zapytanie tutaj' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml index 293a4e443..e2eaf25d8 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtrar os artigos' random_entry: Ir para um artigo aleatório desta lista export: 'Exportar' + # account: 'My account' search_form: input_label: 'Digite aqui sua pesquisa' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index 3c6057093..0b7441089 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtrează articolele' # random_entry: Jump to a random entry from that list # export: 'Export' + # account: 'My account' search_form: input_label: 'Introdu căutarea ta' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml index eead4ec68..3c1a85964 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Фильтр записей' # random_entry: Jump to a random entry from that list export: 'Экспорт' + # account: 'My account' search_form: input_label: 'Введите текст для поиска' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml index 8d2b05f3f..29025d2e9 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'ตัวกรองรายการ' # random_entry: Jump to a random entry from that list export: 'นำข้อมูลออก' + # account: 'My account' search_form: input_label: 'ค้นหาที่นี้' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index dfbc30108..62f7be02a 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml @@ -41,6 +41,7 @@ menu: filter_entries: 'Filtrele' # random_entry: Jump to a random entry from that list export: 'Dışa Aktar' + # account: 'My account' search_form: input_label: 'Aramak istediğiniz herhangi bir şey yazın' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml index f48ce37a8..da1253717 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.zh.yml @@ -40,6 +40,7 @@ menu: filter_entries: '筛选项目' random_entry: '随机跳到该列表中的一个项目' export: '导出' + # account: 'My account' search_form: input_label: '输入搜索关键词' diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index d9b6d190a..59705e89a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -62,45 +62,9 @@
  • {{ 'menu.left.all_articles'|trans }} {{ count_entries('all') }}
  • -
  • +
  • {{ 'menu.left.tags'|trans }} {{ count_tags() }}
  • -
  • - {{ 'menu.left.config'|trans }} -
  • - {% if craue_setting('restricted_access') %} -
  • - {{ 'menu.left.site_credentials'|trans }} -
  • - {% endif %} - {% if is_granted('ROLE_SUPER_ADMIN') %} -
  • - {{ 'menu.left.users_management'|trans }} -
  • - -
  • - {{ 'menu.left.internal_settings'|trans }} -
  • - -
  • - {{ 'menu.left.ignore_origin_instance_rules'|trans }} -
  • - {% endif %} -
  • - {{ 'menu.left.import'|trans }} -
  • -
  • - {{ 'menu.left.developer'|trans }} -
  • -
  • - {{ 'menu.left.howto'|trans }} -
  • -
  • - {{ 'menu.left.quickstart'|trans }} -
  • -
  • - {{ 'menu.left.logout'|trans }} -