summaryrefslogtreecommitdiffstats
path: root/client/components/main/header.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/main/header.js')
-rw-r--r--client/components/main/header.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/components/main/header.js b/client/components/main/header.js
new file mode 100644
index 00000000..2a545309
--- /dev/null
+++ b/client/components/main/header.js
@@ -0,0 +1,10 @@
+Template.header.helpers({
+ // Reactively set the color of the page from the color of the current board.
+ headerTemplate: function() {
+ return 'headerBoard';
+ }
+});
+
+Template.header.events({
+ 'click .js-create-board': Popup.open('createBoard')
+});