Sha256: 6f998205beb2e62ab33497d258b73137a8ab58f2eed708626b8799842bddffcb
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
!!! %head %title= @title :javascript var ROOT = "#{url('/')}"; = include_gon - %w{jquery-1.7.2.min.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}.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" .container#main .row .span10.offset1 .navbar .navbar-inner .container %a{href: '#/custom'} %span.brand= @title %ul.nav#page-titles #widgets.row
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pulse-meter-0.2.11 | lib/pulse-meter/visualize/views/main.haml |
pulse-meter-0.2.10 | lib/pulse-meter/visualize/views/main.haml |
pulse-meter-0.2.9 | lib/pulse-meter/visualize/views/main.haml |