Sha256: 12b52fdc050fca86748c2ac121e050b5899f96e0a88d1eda61900162baf57dc3

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 KB

Contents

!!!
%head
  %title= @title
  :javascript
    var ROOT = "#{url('/')}";
  = include_gon
  - %w{jquery-1.7.2.min.js jquery-ui-1.8.16.bootstrap.min.js jquery-ui-timepicker-addon.js json2.js underscore-min.js backbone-min.js application.js bootstrap.js}.each do |jsfile|
    %script{type: 'text/javascript', src: url("/js/#{jsfile}")}
  - %w{bootstrap.min.css application.css jquery-ui-1.8.16.bootstrap.css}.each do |cssfile|
    %link{rel: 'stylesheet', href: url("/css/#{cssfile}"), type: 'text/css', media: 'screen'}
  %script{type: 'text/javascript', src: "https://www.google.com/jsapi"}
  :javascript
    google.load("visualization", "1", {packages:["corechart", "table", "gauge"]});
    google.setOnLoadCallback(drawChart);
    function drawChart() {
      document.startApp();
    }
%body
  - %w(area line table pie gauge).each do |wtype|
    = partial "widgets/#{wtype}"
  = partial "sensors"

  .navbar.navbar-fixed-top
    .navbar-inner
      .container-fluid
        %a.brand{href: '#/custom'}= @title
        %ul.nav#page-titles

  .container-fluid#main
    .row-fluid#widgets

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
pulse_meter_visualizer-0.4.16 lib/pulse_meter/visualize/views/main.haml
pulse_meter_visualizer-0.4.15 lib/pulse_meter/visualize/views/main.haml
pulse_meter_visualizer-0.4.14 lib/pulse_meter/visualize/views/main.haml
pulse_meter_visualizer-0.4.13 lib/pulse_meter/visualize/views/main.haml
pulse_meter_visualizer-0.4.12 lib/pulse_meter/visualize/views/main.haml
pulse_meter_visualizer-0.4.11 lib/pulse_meter/visualize/views/main.haml
pulse-meter-0.4.9 lib/pulse-meter/visualize/views/main.haml