summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6ee6b12)
Also added some aesthetic clear-divs to help with logn titles.
-<h2>This is your user summary profile, <%=h @user.login.capitalize %></h2>
+<h3>This is your user summary profile, <%=h @user.login.capitalize %></h3>
<p>
E-mail: <%=h @user.email %><br />
<p>
E-mail: <%=h @user.email %><br />
- <table class="voterbox">
+ <table class="voterbox" id="election">
<tr>
<% Election.content_columns.each do |column| -%>
<% next if column.name.eql?("viewable") || column.name.eql?("quickuser")\
<tr>
<% Election.content_columns.each do |column| -%>
<% next if column.name.eql?("viewable") || column.name.eql?("quickuser")\
- || column.name.eql?("active") %>
+ || column.name.eql?("active") || column.name.eql?("anonymous") %>
<th><%= column.human_name %></th>
<% end -%>
</tr>
<th><%= column.human_name %></th>
<% end -%>
</tr>
<% end -%>
</td>
<td><%=h election.description %></td>
<% end -%>
</td>
<td><%=h election.description %></td>
- <td>
- <% if election.anonymous == 0 -%>
- No
- <% else -%>
- Yes
- <% end -%>
- </td>
<td><%=h election.startdate.strftime("%x") %></td>
<td><%=h election.enddate.strftime("%x") %></td>
<td>
<td><%=h election.startdate.strftime("%x") %></td>
<td><%=h election.enddate.strftime("%x") %></td>
<td>
<p>
Your Quickvotes:
<table class="voterbox">
<p>
Your Quickvotes:
<table class="voterbox">
<span class="subheader"><%=h @voter.election.description.capitalize %></span>
</div>
<span class="subheader"><%=h @voter.election.description.capitalize %></span>
</div>
+<div class="clear-div"></div>
+
<div class="main-content">
<% if @voter.voted? %>
<div class="main-content">
<% if @voter.voted? %>
+/* voterbox#election is used on user summary page */
+.voterbox#election { border-color: #990d13; }
+
+.voterbox#election th {
+ background-color: #dc0d13;
+ border-color: #dc0d13;
+}
+
+.voterbox#election td { border-color: #990d13;}
+
+
.rbmoreinfo hr {
width: 100%;
height: 10px;
.rbmoreinfo hr {
width: 100%;
height: 10px;