]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix:
authorAlexandr Danilov <bitbucket@modos189.ru>
Sun, 16 Aug 2015 22:29:51 +0000 (01:29 +0300)
committerAlexandr Danilov <bitbucket@modos189.ru>
Sun, 16 Aug 2015 22:29:51 +0000 (01:29 +0300)
    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)

src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js

index 1a3ab86d846fd06aef299568f09f04ff8c5a96cf..fda53e5b0876387d176f75557013354d123bcf7d 100644 (file)
@@ -8,7 +8,7 @@
             <span class="black-text">{{ form_errors(form.url) }}</span>
         {% endif %}
 
-        {{ form_widget(form.url) }}
+        {{ form_widget(form.url, { 'attr': {'autocomplete': 'off'} }) }}
 
     <div class="hidden">{{ form_rest(form) }}</div>
 </form>
index 2497e3e9a7dfb8febf872129c89e6e98b677ff1a..cc1bbd3f9d33643aee27fa06e1a8e0c08b6e7a82 100755 (executable)
@@ -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
    ========================================================================== */
index 4adc1a8d7d48bbb4e1901d11972059036afd6179..5e5ea8472af9de994e45bfe3b197b07afe6f59d0 100755 (executable)
@@ -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);