From d75a9fa38b24b57fbbb11d52c17d56d04387718f Mon Sep 17 00:00:00 2001 From: Alexandr Danilov Date: Mon, 17 Aug 2015 01:29:51 +0300 Subject: Fix: When I click on "new article" icon, and on the cross after, the filter icon is no more visible. When I change the size of my browser window, the filter appears but I didn't click on the icon Bug: can't click on pagination > 1 display bug: when we load homepage, we see quickly the filter form new entry form: when we click on the field, the history of the field is at the left of the screen, not below the field (see screenshot) --- .../views/themes/material/Entry/new_form.html.twig | 2 +- .../Resources/views/themes/material/public/css/main.css | 15 +++++++++++++++ .../Resources/views/themes/material/public/js/init.js | 10 ++++------ 3 files changed, 20 insertions(+), 7 deletions(-) (limited to 'src/Wallabag') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig index 1a3ab86d..fda53e5b 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig @@ -8,7 +8,7 @@ {{ form_errors(form.url) }} {% endif %} - {{ form_widget(form.url) }} + {{ form_widget(form.url, { 'attr': {'autocomplete': 'off'} }) }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css index 2497e3e9..cc1bbd3f 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css @@ -48,6 +48,16 @@ nav, main, footer { margin-bottom: 0; } +.pagination li { + padding: 0; +} + +.pagination a { + padding: 0px 10px; + height: 30px; + display: block; +} + .page-footer .footer-copyright p { display: inline; } @@ -177,6 +187,11 @@ nav input { width: 100%; } +.side-nav.fixed.right-aligned { + right: -250px; + left: auto !important; +} + /* ========================================================================== 3 = Cards ========================================================================== */ diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js index 4adc1a8d..5e5ea847 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js @@ -3,8 +3,7 @@ function init_filters() { if ($("div").is("#filters")) { $('#button_filters').show(); $('.button-collapse-right').sideNav({ edge: 'right' }); - $('#filters').css({ "left": "auto" }); - $('#clean_form_filters').click(function(){ + $('#clean_form_filters').on('click', function(){ $('#filters input').val(''); return false; }); @@ -20,17 +19,16 @@ $(document).ready(function(){ }); init_filters(); - $('#nav-btn-add').click(function(){ + $('#nav-btn-add').on('click', function(){ $(".nav-panel-buttom").hide(100); $(".nav-panel-add").show(100); - $(".nav-panel-menu").hide(100); $(".nav-panels .action").hide(100); $(".nav-panel-menu").addClass('hidden'); $(".nav-panels").css('background', 'white'); $("#entry_url").focus(); return false; }); - $('#nav-btn-search').click(function(){ + $('#nav-btn-search').on('click', function(){ $(".nav-panel-buttom").hide(100); $(".nav-panel-search").show(100); $(".nav-panels .action").hide(100); @@ -39,7 +37,7 @@ $(document).ready(function(){ $("#searchfield").focus(); return false; }); - $('.mdi-navigation-close').click(function(){ + $('.mdi-navigation-close').on('click', function(){ $(".nav-panel-add").hide(100); $(".nav-panel-search").hide(100); $(".nav-panel-buttom").show(100); -- cgit v1.2.3