small fix
This commit is contained in:
parent
2a5938ed2b
commit
93df21ea00
|
@ -21,12 +21,14 @@
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td style="position:relative;">
|
<td>
|
||||||
|
<div style="position:relative;">
|
||||||
<% if site.site_logs.where(:archive.ne => true).count > 0 %>
|
<% if site.site_logs.where(:archive.ne => true).count > 0 %>
|
||||||
<a data-toggle="modal" href="/admin/customization_logs/<%= site.id.to_s %>/get_log" data-target="#logModal" class="btn view_log_btn">View Log</a>
|
<a data-toggle="modal" href="/admin/customization_logs/<%= site.id.to_s %>/get_log" data-target="#logModal" class="btn view_log_btn">View Log</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
<a href="<%= new_admin_customization_log_path(:id => site.id) %>" class="btn btn-primary">Add Log</a>
|
<a href="<%= new_admin_customization_log_path(:id => site.id) %>" class="btn btn-primary">Add Log</a>
|
||||||
<div class="line pull-right" style="position:absolute; top:0; right:0; bottom:0; width:5px; background-color:<%= site.active? ? "green" : "red" %>;"></div>
|
<div class="line" style="position:absolute; top:0; right:0; bottom:0; width:5px; background-color:<%= site.active? ? "green" : "red" %>;"></div>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue