commit 64ba9bb67088370ad4dc392374eddd08a7c1d3d9 Author: Edin Dazdarevic Date: Wed May 27 18:51:07 2015 +0200 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a628b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.meteor/local diff --git a/confighub.css b/confighub.css new file mode 100644 index 0000000..b6b4052 --- /dev/null +++ b/confighub.css @@ -0,0 +1 @@ +/* CSS declarations go here */ diff --git a/confighub.html b/confighub.html new file mode 100644 index 0000000..021bb75 --- /dev/null +++ b/confighub.html @@ -0,0 +1,21 @@ + + confighub + + + +
+
+

Welcome to confighub.io

+
+ Here goes list of machines +
+
+
+ + + + + diff --git a/confighub.js b/confighub.js new file mode 100644 index 0000000..4f8c65d --- /dev/null +++ b/confighub.js @@ -0,0 +1,23 @@ +if (Meteor.isClient) { + // counter starts at 0 + Session.setDefault('counter', 0); + + Template.hello.helpers({ + counter: function () { + return Session.get('counter'); + } + }); + + Template.hello.events({ + 'click button': function () { + // increment the counter when button is clicked + Session.set('counter', Session.get('counter') + 1); + } + }); +} + +if (Meteor.isServer) { + Meteor.startup(function () { + // code to run on server at startup + }); +}