-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded to 9.0.1 plus started on v2.0
- Loading branch information
Showing
18 changed files
with
192 additions
and
125 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file contains information which helps Meteor properly upgrade your | ||
# app when you run 'meteor update'. You should check it into version control | ||
# with your project. | ||
|
||
notices-for-0.9.0 |
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,7 @@ | ||
# This file contains a token that is unique to your project. | ||
# Check it into your repository along with the rest of this directory. | ||
# It can be used for purposes such as: | ||
# - ensuring you don't accidentally deploy one app on top of another | ||
# - providing package authors with aggregated statistics | ||
|
||
762i5q1rs9s2v1jmf92w |
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 +1 @@ | ||
0.8.1.3 | ||
[email protected] |
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,29 +1,29 @@ | ||
// Autoform hooks | ||
|
||
AutoForm.hooks({ | ||
myFormId: { | ||
documentForm: { | ||
before: { | ||
insert: function(doc) {}, | ||
update: function(docId, modifier) {}, | ||
remove: function(docId) {}, | ||
"methodName": function(doc) {} | ||
}, | ||
after: { | ||
insert: function(error, result, template) {}, | ||
update: function(error, result, template) {}, | ||
insert: function(error, result, template) { }, | ||
update: function(error, result, template) { }, | ||
remove: function(error, result, template) {}, | ||
"methodName": function(error, result, template) {} | ||
}, | ||
onSubmit: function(insertDoc, updateDoc, currentDoc) {}, | ||
|
||
//called when any operation succeeds, where operation will be | ||
//"insert", "update", "remove", or the method name. | ||
onSuccess: function(operation, result, template) {}, | ||
onSuccess: function(operation, result, template) {}, | ||
|
||
//called when any operation fails, where operation will be | ||
//"validation", "insert", "update", "remove", or the method name. | ||
onError: function(operation, error, template) {}, | ||
formToDoc: function(doc) {}, | ||
docToForm: function(doc) {} | ||
} | ||
}); | ||
}); |
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,4 @@ | ||
<template name="documentEdit"> | ||
<h2>Edit document</h2> | ||
{{> quickForm collection="Documents" doc=this id="DocumentForm" type="update"}} | ||
</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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<template name="documentNew"> | ||
<h2>Create document</h2> | ||
{{> quickForm collection="Documents" id="DocumentForm" type="insert"}} | ||
</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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<template name="documentShow"> | ||
<h2>{{title}}</h2> | ||
<p>{{content}}</p> | ||
</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,3 +1,13 @@ | ||
<template name="frontpage"> | ||
Frontpage | ||
<div class="container"> | ||
<!-- Main component for a primary marketing message or call to action --> | ||
<div class="jumbotron"> | ||
<h1>Meteor-skeleton</h1> | ||
<p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p> | ||
<p>To see the difference between static and fixed top navbars, just scroll.</p> | ||
<p> | ||
<a class="btn btn-lg btn-primary" href="#" role="button">Button</a> | ||
</p> | ||
</div> | ||
</div> <!-- /container --> | ||
</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,3 +1,7 @@ | ||
<template name="footer"> | ||
Footer | ||
</template> | ||
<div class="footer"> | ||
<div class="container"> | ||
<p class="text-muted">Footer</p> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
<template name="header"> | ||
Header | ||
</template> | ||
<!-- Static navbar --> | ||
<div class="navbar navbar-default navbar-static-top" role="navigation"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="{{pathFor 'frontpage'}}">Meteor-skeleton</a> | ||
</div> | ||
<div class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li class="{{active 'frontpage'}}"><a href="{{pathFor 'frontpage'}}">Home</a></li> | ||
<li class="{{active 'documentsIndex'}}"><a href="{{pathFor 'documentsIndex'}}">Documents</a></li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li class="{{active 'frontpage'}}"><a href="#">About (static)</a></li> | ||
<li><a href="#">Github</a></li> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</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
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,16 +1,19 @@ | ||
// Fixture data | ||
// Fixture data | ||
if (Documents.find().count() === 0) { | ||
|
||
Documents.insert({ | ||
title: "Derp" | ||
title: "Derp", | ||
content: "Lorem ipsum, herp derp durr." | ||
}); | ||
|
||
Documents.insert({ | ||
title: "Hurr" | ||
title: "Hurr", | ||
content: "Lorem ipsum, herp derp durr." | ||
}); | ||
|
||
Documents.insert({ | ||
title: "Durr" | ||
title: "Durr", | ||
content: "Lorem ipsum, herp derp durr." | ||
}); | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.