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

added header

parent 9fa620d1
......@@ -190,4 +190,13 @@ thead {
.candidate-name {
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>Positions from the Vote-a-Sutra </h4>
<%if user_signed_in?%>
<%=link_to "+ New Position", new_admin_position_path%>
<div class="container">
<h6 style="text-align: left; color: #8e8e8e !important; margin: 0px;">What position would you like to add or view, <%= current_user.first_name%>?</h6>
<% 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| %>
<div style="">
......
......@@ -4,7 +4,7 @@
<% end %>
<h3 class="main-heading">Election Summary</h3>
<h3 class="main-heading"><span class="ion-stats-bars"></span>&nbsp;Election Summary</h3>
<hr>
<%@positions.each do |p|%>
<div style="display:inline-block; padding:20px">
......@@ -24,4 +24,5 @@
</table>
</div>
<%end%>
\ No newline at end of file
<%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