Commit 89921c95 authored by Manuel Gauto's avatar Manuel Gauto
Browse files

Add houston. Setup links for choosing channel.

parent 0a76f396
......@@ -9,4 +9,5 @@ ewall:foundation
aldeed:collection2
alanning:roles
atoy40:accounts-cas
houston:admin
accounts-base@1.1.2
accounts-password@1.0.4
alanning:roles@1.2.13
aldeed:collection2@2.2.0
aldeed:simple-schema@1.0.3
......@@ -12,15 +13,19 @@ blaze@2.0.3
boilerplate-generator@1.0.1
callback-hook@1.0.1
check@1.0.2
coffeescript@1.0.4
ctl-helper@1.0.4
ctl@1.0.2
dburles:mongo-collection-instances@0.2.2
ddp@1.0.11
deps@1.0.5
ejson@1.0.4
email@1.0.4
ewall:foundation@5.4.7
fastclick@1.0.1
follower-livedata@1.0.2
geojson-utils@1.0.1
houston:admin@1.3.4
html-tools@1.0.2
htmljs@1.0.2
http@1.0.8
......@@ -46,6 +51,7 @@ minimongo@1.0.5
mobile-status-bar@1.0.1
mongo-livedata@1.0.6
mongo@1.0.8
npm-bcrypt@0.7.7
observe-sequence@1.0.3
ordered-dict@1.0.1
random@1.0.1
......@@ -56,9 +62,12 @@ retry@1.0.1
routepolicy@1.0.2
service-configuration@1.0.2
session@1.0.4
sha@1.0.1
spacebars-compiler@1.0.3
spacebars@1.0.3
srp@1.0.1
templating@1.0.9
tmeasday:paginated-subscription@0.2.4
tracker@1.0.3
ui@1.0.4
underscore@1.0.1
......
<template name="createChannel">
</template>
......@@ -4,16 +4,18 @@
<div class="large-2 columns">
<ul class="side-nav" role="navigation" title="Channel List">
{{#each channels}}
<li role="menuitem"><a id="chan-{{_id}}" href="#">{{channelName channel._id}}</a></li>
<li role="menuitem"><a class="chanSelect" data-chanId="{{_id}}"href="#">{{channelName channel._id}}</a></li>
{{/each}}
</ul>
</div>
<!--Side Bar END-->
<!--Messages START-->
<div class="large-7 columns">
{{#each messages}}
:q
{{/each}}
<table>
{{#each messages}}
<td>{{username senderId}}<>
{{/each}}
</table>
</div>
</div>
Logged In As: {{username}}
......
......@@ -14,3 +14,10 @@ Template.home.helpers({
return messArr;
}
});
Template.home.events({
'click .chanSelect' : function(e, t) {
var chanId = e.target.data("chanId");
alert(chanId);
}
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment