mirror of
https://github.com/RussellChamp/Grimoire.git
synced 2026-10-28 00:22:32 +00:00
created a working webpage layout
This commit is contained in:
1 parent
b3d57f0c05
commit
03d1725a12
5 files changed
+127
-9
No files matched your search
+61
-1
@@ -6,7 +6,67 @@
|
||||
function GrimoireController() {
|
||||
/*jshint validthis: true */
|
||||
this.welcome = 'Welcome to the Grimoire App!';
|
||||
console.log("LOADED CONTROLLER");
|
||||
this.sources = [
|
||||
{
|
||||
'name': 'Core Rule Book',
|
||||
'sources': ['Armor', 'Weapons', 'Wondrous Items'],
|
||||
},
|
||||
{
|
||||
'name': 'Advanced Player\'s Guide',
|
||||
'sources': ['Armor', 'Weapons', 'Wondrous Items'],
|
||||
},
|
||||
{
|
||||
'name': 'Core Rule Book',
|
||||
'sources': ['Armor', 'Weapons', 'Wondrous Items'],
|
||||
},
|
||||
{
|
||||
'name': 'Advanced Player\'s Guide',
|
||||
'sources': ['Armor', 'Weapons', 'Wondrous Items'],
|
||||
},
|
||||
{
|
||||
'name': 'Core Rule Book',
|
||||
'sources': ['Armor', 'Weapons', 'Wondrous Items'],
|
||||
},
|
||||
{
|
||||
'name': 'Advanced Player\'s Guide',
|
||||
'sources': ['Armor', 'Weapons', 'Wondrous Items'],
|
||||
},
|
||||
];
|
||||
this.itemLists = [
|
||||
{
|
||||
'timestamp': new Date() - 100000,
|
||||
'items': [
|
||||
{
|
||||
'name': '+2 super cool sword',
|
||||
'worth': 5000,
|
||||
'url': 'http://www.google.com'
|
||||
},
|
||||
{
|
||||
'name': 'nifty hat',
|
||||
'worth': 2000,
|
||||
'url': ''
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
'timestamp': new Date(),
|
||||
'items': [
|
||||
{
|
||||
'name': '+3 super cool sword',
|
||||
'worth': 5000,
|
||||
'url': 'http://www.google.com'
|
||||
},
|
||||
{
|
||||
'name': 'nifty boots',
|
||||
'worth': 2000,
|
||||
'url': ''
|
||||
}
|
||||
],
|
||||
}];
|
||||
|
||||
this.copyToClipboard = function(list) {
|
||||
console.log(list);
|
||||
}
|
||||
}
|
||||
|
||||
angular
|
||||
|
||||
Reference in new issue
Block a user