rename /rpg-docs to /app
This commit is contained in:
5
app/client/views/loading/loading.css
Normal file
5
app/client/views/loading/loading.css
Normal file
@@ -0,0 +1,5 @@
|
||||
.bigSpinner {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
16
app/client/views/loading/loading.html
Normal file
16
app/client/views/loading/loading.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<template name="loading">
|
||||
<app-header-layout has-scrolling-region fullbleed>
|
||||
<app-header class="app-grey white-text" fixed>
|
||||
<app-toolbar>
|
||||
<paper-icon-button icon="menu" drawer-toggle></paper-icon-button>
|
||||
</app-toolbar>
|
||||
</app-header>
|
||||
<div class="fit layout vertical center center-justified">
|
||||
<paper-spinner class="bigSpinner" active></paper-spinner>
|
||||
<div class="paper-font-subhead"
|
||||
style="margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
text-align: center;">{{randomHint}}</div>
|
||||
</div>
|
||||
</app-header-layout>
|
||||
</template>
|
||||
17
app/client/views/loading/loading.js
Normal file
17
app/client/views/loading/loading.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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.",
|
||||
"You can use formulae in {curly brackets} in any field with a {} icon.",
|
||||
"You can disable the 'Spells' tab from the charecter menu in the top right.",
|
||||
"You can share your character with others from the menu in the top right.",
|
||||
"Your spells, features, and items are ordered by their colour, which you can set with the paint bucket.",
|
||||
"You can only have three magic items attuned to you at once. Choose carefully!",
|
||||
"Click the '+' underneath 'Hit Points' to add additional health bars for temporary HP, wild shapes, familiars and more.",
|
||||
];
|
||||
|
||||
Template.loading.helpers({
|
||||
randomHint: function(){
|
||||
return Random.choice(hints);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user