2014-04-11 08:26:34 +00:00
|
|
|
|
|
2014-05-09 08:42:23 +00:00
|
|
|
|
<% content_for :page_specific_javascript do %>
|
|
|
|
|
<%= javascript_include_tag "cycle2" %>
|
|
|
|
|
<%= javascript_include_tag "ad_banner/banner_preview" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div id="banner_index">
|
|
|
|
|
<%= render 'index' %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottomnav clearfix" style="left: 81px;">
|
|
|
|
|
<div class="action pull-right">
|
|
|
|
|
<a data-title="New Banner" data-id="new" data-fx="fade" class="btn btn-primary open-slide" href="#">
|
|
|
|
|
<i class="icon-plus"></i> Add
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pagination pagination-centered"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="preview" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
<h3 id="ModalLabel"><%= t(:preview) %></h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="preview">
|
|
|
|
|
<%= image_tag "slideshow_preview_A.png", class: 'hide' %>
|
|
|
|
|
<%= image_tag "slideshow_preview_B.png", class: 'hide' %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="pageslide">
|
|
|
|
|
<div class="page-title clearfix">
|
|
|
|
|
<a class="pull-right" href="javascript:$.pageslide.close()">
|
|
|
|
|
<i class="icons-arrow-left-2"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<span></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="view-page">
|
|
|
|
|
<div class="nano">
|
|
|
|
|
<div class="content">
|
|
|
|
|
<%= form_for :ad_banner, url: nil, remote: true do |f| %>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<%= render :partial => "form", :locals => { :f => f } %>
|
|
|
|
|
<div class="form-actions">
|
|
|
|
|
<a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
|
|
|
|
|
<%= f.submit t(:submit), class: 'btn btn-primary btn-small' %>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|