Commit ca426a99 authored by royce-matthew's avatar royce-matthew

added header

parent 9fa620d1
...@@ -191,3 +191,12 @@ thead { ...@@ -191,3 +191,12 @@ thead {
.candidate-name { .candidate-name {
font-size: 32px; font-size: 32px;
} }
.position-container {
display: block;
margin-top: 40px;
}
.position-container a {
text-decoration: underline;
}
\ No newline at end of file
<!--<div class="overlay"><div class="row-image" style="height: 400px; background: url(<%= asset_path 'image1.JPG' %>) center center"></div></div> <div class="overlay"><div class="row-image" style="height: 400px; background: url(<%= asset_path 'image1.JPG' %>) center center"></div></div>
-->
<%if user_signed_in?%>
<h6 style="text-align: left; color: #8e8e8e !important; margin: 0px;">Hi, <%= current_user.first_name%>, you can view the candidates here.</h6>
<% end %>
<h4>Roster of Candidates</h4> <h4>Roster of Candidates</h4>
......
<h4>Positions from the Vote-a-Sutra </h4> <%if user_signed_in?%>
<%=link_to "+ New Position", new_admin_position_path%> <h6 style="text-align: left; color: #8e8e8e !important; margin: 0px;">What position would you like to add or view, <%= current_user.first_name%>?</h6>
<div class="container">
<% end %>
<h4>List of Positions</h4>
<%=link_to new_admin_position_path, {:class =>"button-primary pink"} do%>
Create a Position &nbsp; <span class='ion-plus-round'></span>
<% end %>
<div class="position-container">
<% @positions.each do |p| %> <% @positions.each do |p| %>
<div style=""> <div style="">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<% end %> <% end %>
<h3 class="main-heading">Election Summary</h3> <h3 class="main-heading"><span class="ion-stats-bars"></span>&nbsp;Election Summary</h3>
<hr> <hr>
<%@positions.each do |p|%> <%@positions.each do |p|%>
<div style="display:inline-block; padding:20px"> <div style="display:inline-block; padding:20px">
...@@ -25,3 +25,4 @@ ...@@ -25,3 +25,4 @@
</div> </div>
<%end%> <%end%>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment