- content_for :head_javascripts do
  = javascript_include_tag "/control_center/javascripts/jquery.flot.js"
  = javascript_include_tag "/control_center/javascripts/jquery.flot.stack.js"
  = javascript_include_tag "/control_center/javascripts/jquery.flot.resize.js"
  = javascript_include_tag "/control_center/javascripts/statistics.js"

#content
  .panels.thick-border
    .panel.wide.border
      %h3
        Visits in Past 24 Hours
      .graph
        #recent-visits{:style => "width: 100%; height: 200px;"}

  .panels.clearfix
    .panel.visits-1-hour
      .thick-border
        .border
          %h3 Visits In Past Hour
          %p.big-number
    .panel.popular-pages
      .thick-border
        .border
          %h3 Popular Pages
          %ul
    .panel.server.edge
      .thick-border
        .border
          %h3 Server
          %ul

- content_for :head_javascripts do
  /[if lte IE 8]
    = javascript_include_tag "/control_center/javascripts/excanvas.js"
  = javascript_include_tag "/control_center/javascripts/jquery.flot.js"
  = javascript_include_tag "/control_center/javascripts/jquery.flot.stack.js"
  = javascript_include_tag "/control_center/javascripts/jquery.flot.resize.js"
  = javascript_include_tag "/control_center/javascripts/statistics.js"

#content
  .panels.thick-border
    .panel.wide.border
      %h3
        Visits in Past 24 Hours
      .graph
        #recent-visits{:style => "width: 100%; height: 200px;"}

  .panels.clearfix
    .panel.visits-1-hour
      .thick-border
        .border
          %h3 Visits In Past Hour
          %p.big-number
    .panel.popular-pages
      .thick-border
        .border
          %h3 Popular Pages
          %ul
    .panel.server.edge
      .thick-border
        .border
          %h3 Server
          %ul

Include excanvas for IE8 and below.
Include excanvas for IE8 and below.
