36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
<% node = Item.root %>
|
||
|
||
<%= render 'site_bar' %>
|
||
|
||
<section id="main-wrap">
|
||
<div class="wrap-inner initial">
|
||
<ol id='<%= node.id %>' class="sortable">
|
||
<%= render 'node_and_children', node: node %>
|
||
</ol>
|
||
</div>
|
||
</section>
|
||
|
||
<div id="dialog" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="Delete item" aria-hidden="true">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h3>Delete item</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<span class="text-warning text-center">This action can not be restored, are you sure you want to delete?</span>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
||
<%= link_to t(:delete_), nil, class: "delete-item btn btn-danger", method: :delete, remote: true %>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="view-page" class="nano" style="display:none">
|
||
<div class="page-info clearfix">
|
||
<a class="pull-right" href="javascript:$.pageslide.close()"><i class="icons-arrow-left-2"></i></a>
|
||
<h3 class="page-name">Communications and liaison</h3>
|
||
</div>
|
||
<div class="content">
|
||
</div>
|
||
</div>
|
||
<%= javascript_include_tag "lib/jquery.pageslide.js" %>
|