Sha256: cbf13035398b72527090eb25594cf2b3bab6bd5babf06f1913b9ebb3f1743ec3

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

<% link_path = linkpath(pathinfo[0..2], (view_complex ? '/view_complex' : '/view_graph')) %>
<ul class="pagination pagination-sm pull-right" style="margin: 10px 0px 0px">
  <li class="prev <%= params[:t] == 'sh' ? 'active' : '' %>"><a href="<%= url_for link_path, t:'sh' %>">hour・8hours(1min)</a></li>
  <li class="prev <%= params[:t] == 'sd' ? 'active' : '' %>"><a href="<%= url_for link_path, t:'sd' %>">day・3days(1min)</a></li>
  <li class="prev <%= params[:t] == 'h' ? 'active' : '' %>"><a href="<%= url_for link_path, t:'h' %>">hour・halfday</a></li>
  <li class="<%= ['h','m','sh','sd'].include?(params[:t]) ? '' : 'activate' %>"><a href="<%= url_for link_path %>">day・week</a></li>
  <li class="next <%= params[:t] == 'm' ? 'active' : '' %>"><a href="<%= url_for link_path, t:'m' %>">month・year</a></li>
</ul>
<div class="clearfix"></div>
<br />

<div class="panel-group">
<% graphs.each do |graph| %>
  <%== erb :view, layout: false, locals: { graph: graph, listing: true, current_term: params[:t] } %>
<% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
focuslight-0.1.4 view/view_graph.erb
focuslight-0.1.3 view/view_graph.erb
focuslight-0.1.2 view/view_graph.erb
focuslight-0.1.1 view/view_graph.erb