Moved back to meteor's default loginbuttons until custom buttons are done

This commit is contained in:
Thaum
2015-03-30 08:48:22 +00:00
parent 543a0a0674
commit ba247ff90d
6 changed files with 110 additions and 74 deletions

View File

@@ -1,9 +1,9 @@
Template.characterList.helpers({
characterDetails: function(){
var char = Characters.findOne(this._id, {fields: {name: 1, gender: 1, alignment: 1, race:1, color: 1}})
var char = Characters.findOne(this._id, {fields: {name: 1, gender: 1, alignment: 1, race:1, color: 1}});
char.title = char.name;
char.field = "base"
char.class = "characterCard"
char.field = "base";
char.class = "characterCard";
return char;
}
});
@@ -13,7 +13,7 @@ Template.characterList.events({
console.log(this);
Router.go("characterSheet", {_id: this._id});
},
"tap #addCharacter": function (event, template) {
"tap .addCharacter": function (event, template) {
Characters.insert({owner: Meteor.userId()});
},
"tap #deleteChar": function(event, template){