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
set -o vi | |
#alias ll='ls -laF' | |
#alias server='ssh [email protected]' | |
alias md='mkdir' | |
#alias editVhosts='sublime /etc/apache2/extra/httpd-vhosts.conf' | |
#alias restartApache="sudo apachectl restart" | |
#alias editHosts='sublime /etc/hosts' | |
alias bash='sublime ~/.bash_profile' | |
alias refrash='source ~/.bash_profile' |
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
Router.configure({ | |
layoutTemplate: 'layout' | |
}); | |
Router.map(function() { | |
this.route('Home', {path: '/'}); | |
this.route('Projects', {path: '/projects'}); | |
this.route('About', {path: '/about'}); | |
}); |
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
<template name="layout"> | |
<div class="container"> | |
<header class="navbar"> | |
{{> Menu}} | |
</header> | |
<div id="main" class="row-fluid"> | |
{{> yield}} | |
</div> | |
</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
<template name="About"> | |
<div class="container"> | |
<div class="page-header"> | |
<h1>About <small>we are more awesome than you are</small></h1> | |
</div> | |
</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
Session.setDefault('appName', 'Project Manager'); |
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
Handlebars.registerHelper("formatDate", function(datetime) { | |
if (moment) { | |
return moment(datetime).format("MM/DD/YYYY"); | |
} | |
else { | |
return datetime; | |
} | |
}); |
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
Handlebars.registerHelper("formatDate", function(datetime) { | |
if (moment) { | |
return moment(datetime).format("MM/DD/YYYY"); | |
} | |
else { | |
return datetime; | |
} | |
}); |
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
Projects = new Meteor.Collection('projects'); |
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
<template name="ProjectRow"> | |
<tr class="projectRow"> | |
<td>{{name}}</td> | |
<td>{{client}}</td> | |
<td>{{formatDate duedate}}</td> | |
<td>{{status}}</td> | |
</tr> | |
</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
/* /client/main.js */ | |
Session.setDefault('showProjectDialog', false); |
OlderNewer