added default bootstrap navbar
This commit is contained in:
parent
e63409d72a
commit
ca2c204b67
@ -1,3 +1,10 @@
|
||||
nav {
|
||||
background: #f9f9f9;
|
||||
}
|
||||
section {
|
||||
margin-top: 70px;
|
||||
}
|
||||
|
||||
$medgray: #3A9AC9;
|
||||
|
||||
.videolisting {
|
||||
|
@ -1,8 +1,10 @@
|
||||
<h1>Listing campaigns</h1>
|
||||
<table class="table table-striped">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>Listing Campaigns</h1>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Listing Code(Form Hash)</th>
|
||||
<th>Listing Code (Form Hash)</th>
|
||||
<th>Processed?</th>
|
||||
<th>Billing Code</th>
|
||||
<th>Address</th>
|
||||
@ -13,7 +15,6 @@
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<% @campaigns.each do |campaign| %>
|
||||
<tr>
|
||||
@ -29,8 +30,7 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<%= link_to 'New Campaign', new_campaign_path %>
|
||||
</table>
|
||||
<%= link_to 'Add New Campaign', new_campaign_path %>
|
||||
</section>
|
||||
</div>
|
@ -1,3 +1,4 @@
|
||||
<br><br><br>
|
||||
<%= link_to 'Edit', edit_campaign_path(@campaign.listingcode) %> |
|
||||
<%= link_to 'Back', campaigns_path %>
|
||||
|
||||
|
@ -1,7 +1,23 @@
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to "Profile", edit_user_registration_path %>
|
||||
<%= link_to "Logout", destroy_user_session_path, :method => :delete %>
|
||||
<% else %>
|
||||
<%= link_to "Sign in", new_user_session_path %>
|
||||
<% end %>
|
||||
-----
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/">VidPush</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<% if user_signed_in? %>
|
||||
<li><%= link_to "Profile", edit_user_registration_path %></li>
|
||||
<li><%= link_to "Logout", destroy_user_session_path, :method => :delete %></li>
|
||||
<% else %>
|
||||
<li><%= link_to "Sign in", new_user_session_path %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user