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