From 25faaaf01ae13ef6d6c200e35b5261bc7b226b13 Mon Sep 17 00:00:00 2001 From: David Vandorpe Date: Tue, 30 Aug 2016 18:28:14 +0200 Subject: [PATCH] Coffeescript for absolute controls --- content/assets/scripts/cammie.coffee | 2 +- content/cammie.erb | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/content/assets/scripts/cammie.coffee b/content/assets/scripts/cammie.coffee index cfb7288..912d754 100644 --- a/content/assets/scripts/cammie.coffee +++ b/content/assets/scripts/cammie.coffee @@ -27,6 +27,6 @@ $ '.ctrl' $context = $ this $.ajax "//kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi", data: - command: 'set_relative_pos' + command: $context.data 'command' posX: $context.data 'x' posY: $context.data 'y' \ No newline at end of file diff --git a/content/cammie.erb b/content/cammie.erb index 1fb694c..e279be8 100644 --- a/content/cammie.erb +++ b/content/cammie.erb @@ -31,48 +31,48 @@ title: Cammie
-
+
<%= fa 'chevron-circle-left' %>
-
+
<%= fa 'chevron-circle-up' %>
-
+
<%= fa 'chevron-circle-up' %>
-
+
<%= fa 'chevron-circle-left' %>
-
+
Kleine tafel
-
+
Grote tafel
-
+
Zetel
-
+
<%= fa 'chevron-circle-right' %>
-
+
<%= fa 'chevron-circle-down' %>
-
+
<%= fa 'chevron-circle-down' %>
-
+
<%= fa 'chevron-circle-right' %>