Fix for structure: restore js and change manifests
This commit is contained in:
parent
876036dd20
commit
58d52c60d3
|
@ -1,28 +1,28 @@
|
||||||
var history_edited = false;
|
var history_edited = false;
|
||||||
|
|
||||||
// $('#back_sidebar a, #back_main a.nav').live('click',
|
$('#back_sidebar a, #back_main a.nav').live('click',
|
||||||
// function () {
|
function () {
|
||||||
// $.getScript(this.href);
|
$.getScript(this.href);
|
||||||
// history.pushState(null, document.title, this.href);
|
history.pushState(null, document.title, this.href);
|
||||||
// history_edited = true;
|
history_edited = true;
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
// );
|
);
|
||||||
|
|
||||||
// $('#back_main a.reload').live('click',
|
$('#back_main a.reload').live('click',
|
||||||
// function () {
|
function () {
|
||||||
// $.getScript(this.href);
|
$.getScript(this.href);
|
||||||
// history.replaceState(null, document.title, this.href);
|
history.replaceState(null, document.title, this.href);
|
||||||
// history_edited = true;
|
history_edited = true;
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
// );
|
);
|
||||||
|
|
||||||
// $('.form').live('submit', function () {
|
$('#back_main .form').live('submit', function () {
|
||||||
// $.post(this.action, $(this).serialize(), null, 'script');
|
$.post(this.action, $(this).serialize(), null, 'script');
|
||||||
// history_edited = true;
|
history_edited = true;
|
||||||
// return false;
|
return false;
|
||||||
// });
|
});
|
||||||
|
|
||||||
$(document).on('click', '.js_history',
|
$(document).on('click', '.js_history',
|
||||||
function () {
|
function () {
|
||||||
|
|
|
@ -4,8 +4,5 @@
|
||||||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
||||||
// the compiled file.
|
// the compiled file.
|
||||||
//
|
//
|
||||||
//= require jquery
|
|
||||||
//= require jquery_ujs
|
|
||||||
//= require page_edit
|
|
||||||
//= require side_bar_history
|
|
||||||
//= require new_admin
|
//= require new_admin
|
||||||
|
//= require page_edit
|
|
@ -2,9 +2,7 @@
|
||||||
*This is a manifest file that'll automatically include all the stylesheets available in this directory
|
*This is a manifest file that'll automatically include all the stylesheets available in this directory
|
||||||
*and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
*and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
||||||
*the top of the compiled file, but it's generally better to create a new file per style scope.
|
*the top of the compiled file, but it's generally better to create a new file per style scope.
|
||||||
*= require reset
|
*= require new_admin
|
||||||
*= require_self
|
|
||||||
*= require message
|
|
||||||
*= require site_items
|
*= require site_items
|
||||||
*= require sidebar
|
*= require sidebar
|
||||||
*/
|
*/
|
|
@ -9,31 +9,30 @@
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<%= stylesheet_link_tag "site_editor" %>
|
<%= stylesheet_link_tag "site_editor" %>
|
||||||
<%= javascript_include_tag "site_editor" %>
|
<%= javascript_include_tag "site_editor" %>
|
||||||
<%= yield :page_specific_css %>
|
|
||||||
<%= yield :page_specific_javascript %>
|
|
||||||
<%= csrf_meta_tag %>
|
<%= csrf_meta_tag %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!--
|
<%= render 'layouts/orbit_bar' %>
|
||||||
<header id="back_banner_link" class="fixed clear" >
|
<nav id="main-sidebar" class="my_scroll">
|
||||||
<nav id="back_orbit">
|
<div class="scrollbar">
|
||||||
<span>Orbit Icon</span>
|
<div class="track">
|
||||||
<%= render 'layouts/drop_down_menu' %>
|
<div class="thumb">
|
||||||
</nav>
|
<div class="end"></div>
|
||||||
<div class="hmenu">
|
</div>
|
||||||
<%= render 'devise/menu/login_items' %>
|
</div>
|
||||||
<div class="lang"><%= render 'layouts/lang_menu' %></div>
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
<div class="viewport">
|
||||||
-->
|
<div id='back_sidebar' class="overview">
|
||||||
|
<ul class="nav nav-list">
|
||||||
|
<%= yield :sidebar %>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
<div id="main-wrap">
|
<div id="main-wrap">
|
||||||
<div id="main-sidebar"><%= yield :sidebar %></div>
|
<div id='back_main'>
|
||||||
<div class="main"><div id='back_main' class="main2">
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div></div>
|
</div>
|
||||||
<div class="tertiary"><%= yield :tertiary %></div>
|
|
||||||
<div id="back_footer"><p><%= APP_CONFIG['ruling_digital'] %></p></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue