wrapper2-wrapper3-removal.patch

Anonymous, 2018-12-18 08:54

Download (1.91 KB)

View differences:

app/views/layouts/base.html.erb (working copy)
58 58

  
59 59
</div>
60 60

  
61
<div id="wrapper2">
62
<div id="wrapper3">
61

  
63 62
<div id="top-menu">
64 63
    <div id="account">
65 64
        <%= render_menu :account_menu -%>
......
112 111
        <div style="clear:both;"></div>
113 112
    </div>
114 113
</div>
115
</div>
116 114

  
117 115
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
118 116
<div id="ajax-modal" style="display:none;"></div>
......
122 120
    Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2018 Jean-Philippe Lang
123 121
  </div></div>
124 122
</div>
123

  
125 124
</div>
126
</div>
127 125
<%= call_hook :view_layouts_base_body_bottom %>
128 126
</body>
129 127
</html>
public/javascripts/responsive.js (working copy)
2 2

  
3 3
function openFlyout() {
4 4
  $('html').addClass('flyout-is-active');
5
  $('#wrapper2').on('click', function(e){
5
  $('#wrapper').on('click', function(e){
6 6
    e.preventDefault();
7 7
    e.stopPropagation();
8 8
    closeFlyout();
......
11 11

  
12 12
function closeFlyout() {
13 13
  $('html').removeClass('flyout-is-active');
14
  $('#wrapper2').off('click');
14
  $('#wrapper').off('click');
15 15
}
16 16

  
17 17

  
public/stylesheets/responsive.css (working copy)
76 76
    position: relative;
77 77
    overflow-x: hidden; /* hide horizontal overflow */
78 78
    max-width: 100%;
79
  }
80

  
81
  #wrapper,
82
  #wrapper2 {
83 79
    margin: 0;
84 80
  }
85 81

  
......
855 851

  
856 852
  #login-form {width:100%; margin-top:2em;}
857 853
}
858