Patch #30231 » wrapper2-wrapper3-removal.patch
| app/views/layouts/base.html.erb (working copy) | ||
|---|---|---|
|
</div>
|
||
|
<div id="wrapper2">
|
||
|
<div id="wrapper3">
|
||
|
<div id="top-menu">
|
||
|
<div id="account">
|
||
|
<%= render_menu :account_menu -%>
|
||
| ... | ... | |
|
<div style="clear:both;"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
||
|
<div id="ajax-modal" style="display:none;"></div>
|
||
| ... | ... | |
|
Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2018 Jean-Philippe Lang
|
||
|
</div></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<%= call_hook :view_layouts_base_body_bottom %>
|
||
|
</body>
|
||
|
</html>
|
||
| public/javascripts/responsive.js (working copy) | ||
|---|---|---|
|
function openFlyout() {
|
||
|
$('html').addClass('flyout-is-active');
|
||
|
$('#wrapper2').on('click', function(e){
|
||
|
$('#wrapper').on('click', function(e){
|
||
|
e.preventDefault();
|
||
|
e.stopPropagation();
|
||
|
closeFlyout();
|
||
| ... | ... | |
|
function closeFlyout() {
|
||
|
$('html').removeClass('flyout-is-active');
|
||
|
$('#wrapper2').off('click');
|
||
|
$('#wrapper').off('click');
|
||
|
}
|
||
| public/stylesheets/responsive.css (working copy) | ||
|---|---|---|
|
position: relative;
|
||
|
overflow-x: hidden; /* hide horizontal overflow */
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
#wrapper,
|
||
|
#wrapper2 {
|
||
|
margin: 0;
|
||
|
}
|
||
| ... | ... | |
|
#login-form {width:100%; margin-top:2em;}
|
||
|
}
|
||