-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b93578
commit 6a6f27f
Showing
13 changed files
with
104 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ spin | |
publish-with-relations | ||
paginated-subscription | ||
filepicker | ||
less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
// Mixins | ||
.border-box{ | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
font-family: 'Karla', sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
<template name="home"> | ||
|
||
{{> newsfeed}} | ||
{{> online_friends}} | ||
|
||
<div class="span9"> | ||
{{> newsfeed}} | ||
</div> | ||
<div class="span3 pull-right">{{> online_friends}}</div> | ||
|
||
|
||
|
||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<template name="newsfeed"> | ||
<h2>Newsfeed</h2> | ||
<ul> | ||
{{#each news}} | ||
{{> news}} | ||
{{else}} | ||
Nothing to show here | ||
{{/each}} | ||
</ul> | ||
<div class="newsfeed widget"> | ||
<h2>Newsfeed</h2> | ||
<ul class="unstyled"> | ||
{{#each news}} | ||
{{> news}} | ||
{{else}} | ||
Nothing to show here | ||
{{/each}} | ||
</ul> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
<template name="online_friends"> | ||
|
||
<h2>Online Users</h2> | ||
{{#if count}} | ||
You have {{count}} friend(s) online | ||
<ul> | ||
{{#with onlinefriends}} | ||
{{#each friends}} | ||
{{> online_friend}} | ||
{{/each}} | ||
{{/with}} | ||
</ul> | ||
{{else}} | ||
No friend online | ||
{{/if}} | ||
<div class="online-user widget"> | ||
<h2>{{Lex 'friends.friends_online'}}</h2> | ||
{{#if count}} | ||
<ul class="unstyled"> | ||
{{#with onlinefriends}} | ||
{{#each friends}} | ||
{{> online_friend}} | ||
{{/each}} | ||
{{/with}} | ||
</ul> | ||
{{else}} | ||
No friend online | ||
{{/if}} | ||
</div> | ||
</template> | ||
|
||
<template name="online_friend"> | ||
<li><img src="{{thumbnail profile.picture 100 100 'max'}}" /><a href="{{profilePath}}/{{_id}}">{{profile.name}}</a> is online (<a class="startChat" href="#">chat</a>)</a></li> | ||
<li> | ||
<img src="{{thumbnail profile.picture 30 30 'crop'}}" /> | ||
<a href="{{profilePath}}/{{_id}}">{{profile.name}}</a> | ||
</li> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.