forked from spen/seminar
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
<span id="index_table" style="display: inline-block;">
|
|
<script>
|
|
if(document.querySelectorAll("#orbit-bar").length==0) location.reload();
|
|
</script>
|
|
<% if @can_edit %>
|
|
<% if params[:type].blank?%>
|
|
<label><input id="copy_mode_on" type="checkbox"><%=t("seminar.copy_mode_on")%></label>
|
|
<% end %>
|
|
<ul class="pull-right">
|
|
<li><a href="?type=" class="btn <%='active' if params[:type].blank? %>"><%= t('seminar.dashboard') %></a></li>
|
|
<% if @seminar.enable_summary_choice %>
|
|
<li><a href="?type=session" class="btn <%='active' if params[:type] == 'session'%>"><%= t('seminar.session_dashboard') %></a></li>
|
|
<% end %>
|
|
<li><a href="?type=table" class="btn <%='active' if params[:type] == 'table'%>"><%= t('seminar.table') %></a></li>
|
|
</ul>
|
|
<% end %>
|
|
<% if params[:type] == "table" || (!@can_edit) %>
|
|
<div style="clear: both;"></div>
|
|
<%= render :partial => 'seminar_signup_table' %>
|
|
<% elsif params[:type] == "session" %>
|
|
<%=render :partial => 'seminar_signup_session_dashboard' %>
|
|
<% else %>
|
|
<%= render :partial => 'seminar_signup_dashboard' %>
|
|
<% end %>
|
|
<style type="text/css">
|
|
.pull-right li{
|
|
float: left;
|
|
}
|
|
li{
|
|
list-style: none;
|
|
}
|
|
</style>
|