fix div and section in application

This commit is contained in:
Tyrel Souza 2014-05-09 10:53:28 -04:00
parent 18d1893069
commit 279501bfe0
9 changed files with 55 additions and 75 deletions

View File

@ -2,10 +2,6 @@ body {
margin-top: 50px;
}
h2 {
margin-top: 0;
}
strong, label, th {
color: #395C84;
}

View File

@ -1,4 +1,3 @@
json.key @BETTER_VIDEO_API_KEY
json.address campaign.address if campaign.address
json.advertisername campaign.advertisername if campaign.advertisername
json.awards campaign.awards if campaign.awards

View File

@ -1,5 +1,3 @@
<div class="container">
<section>
<div class="pull-right">
<%= link_to 'Cancel Edit Campaign', campaign_path(@campaign.listingcode) %> |
<%= link_to 'Back to Campaigns', campaigns_path %>
@ -7,5 +5,3 @@
<h1>Edit <%= @campaign.advertisername %></h1>
<hr>
<%= render 'form' %>
</section>
</div>

View File

@ -1,5 +1,3 @@
<div class="container">
<section>
<h1>Campaigns</h1>
<hr>
<table class="table table-striped">
@ -35,5 +33,3 @@
</tbody>
</table>
<%= link_to 'New Campaign', new_campaign_path unless Rails.env.production? %>
</section>
</div>

View File

@ -1,10 +1,6 @@
<div class="container">
<section>
<div class="pull-right">
<%= link_to 'Cancel New Campaign', campaigns_path %>
</div>
<h1>New Campaign</h1>
<hr>
<%= render 'form' %>
</section>
</div>

View File

@ -1,5 +1,3 @@
<div class="container">
<section>
<div class="pull-right">
<%= link_to 'Edit Campaign', edit_campaign_path(@campaign.listingcode) %> |
<%= link_to 'Back to Campaigns', campaigns_path %>
@ -149,5 +147,3 @@
</ul>
</div>
</div>
</section>
</div>

View File

@ -14,7 +14,12 @@
<div class="col-md-12">
<%= render 'flashes' -%>
<%= render 'layouts/header' %>
<div class="container">
<section>
<%= yield %>
</section>
</div>
</div>
<%= render 'javascript' %>
<%= yield :js_foot %>

View File

@ -3,8 +3,6 @@
<script src="//player.bettervideo.com/plugins/bvPlugins.js"></script>
<% end %>
<div class="container">
<section>
<div class="pull-right">
<%= link_to 'Back to Campaign', campaign_path(@videolisting.campaign.listingcode) %> |
<%= link_to 'Back to Campaigns List', campaigns_path %>
@ -36,8 +34,6 @@
</ul>
</div>
</div>
</section>
</div>