Moved views out of private folder
This commit is contained in:
5
rpg-docs/client/views/loading/loading.css
Normal file
5
rpg-docs/client/views/loading/loading.css
Normal file
@@ -0,0 +1,5 @@
|
||||
.bigSpinner {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
12
rpg-docs/client/views/loading/loading.html
Normal file
12
rpg-docs/client/views/loading/loading.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<template name="loading">
|
||||
<app-toolbar class="app-grey white-text">
|
||||
<paper-icon-button icon="menu" drawer-toggle></paper-icon-button>
|
||||
</app-toolbar>
|
||||
<div fit layout vertical center center-justified>
|
||||
<paper-spinner class="bigSpinner" active></paper-spinner>
|
||||
<div class="subhead"
|
||||
style="margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
text-align: center;">{{randomHint}}</div>
|
||||
</div>
|
||||
</template>
|
||||
11
rpg-docs/client/views/loading/loading.js
Normal file
11
rpg-docs/client/views/loading/loading.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var hints = [
|
||||
"Drag and drop items to move them between containers",
|
||||
"Hold Ctrl while dragging items around to only move some of them",
|
||||
"Magic items are considered priceless, don't give them a gold value",
|
||||
];
|
||||
|
||||
Template.loading.helpers({
|
||||
randomHint: function(){
|
||||
return Random.choice(hints);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user