From 38ab5a4a505caee5ed6ef40b1b0a6d6a47936f3e Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Wed, 28 May 2014 13:00:44 +0300 Subject: Add button colors --- templates/home.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/home.html b/templates/home.html index dd5a702..9f48ad1 100644 --- a/templates/home.html +++ b/templates/home.html @@ -4,6 +4,7 @@ Light Loop Pi + @@ -12,14 +13,14 @@ var CHANNELS = 8; var LIGHTS = 8; - // _.templateSettings = { interpolate: /\{\{(.+?)\}\}/g }; - _.each(_.range(CHANNELS), function(i) { var row = $(_.template($('#light-row-template').text(), {i: i, lights: LIGHTS})); $('#light-container').append(row); }); }); +
@@ -29,7 +30,7 @@ -- cgit v1.3.1