Sha256: 7b7569f899bf7a81e348d33cdfd0b3f4a04c0668040d6b38afb76643a30af876
Contents?: true
Size: 717 Bytes
Versions: 3
Compression:
Stored size: 717 Bytes
Contents
.panel{:id => "#{@watch}_sensors", :title => @title} - if @sensor %h2= @name %fieldset %div{:align => "center"} %p %b=# @status.to_s.capitalize [#{Time.now.strftime("%H:%m %m/%d")}] #logspark= @log.join(",") - if @log %h2 Log %fieldset %div{:align => "left"}= @log - if @child %h2 Watches %fieldset %ul - for child in @child %li{:id => child[0]} %a{:href => "/w/#{child[0]}"} %img{:src => "icons/#{child[1]}.png"}/ = child[0] :javascript $('.panel').toggle(); $('#logspark').sparkline('html', { lineColor: 'green', fillColor: '#aaffaa', width:'100%', height:'80px' });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
subduino-0.2.1 | webapp/views/watch.haml |
subduino-0.2.0 | webapp/views/watch.haml |
subduino-0.1.0 | webapp/views/watch.haml |