-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
234 additions
and
51 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
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
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
14 changes: 13 additions & 1 deletion
14
rpg-docs/client/views/character/characterSettings/shareDialog.html
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
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
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,11 +1,9 @@ | ||
<template name="home"> | ||
<core-toolbar class="blue-grey white-text"> | ||
<core-toolbar class="app-grey white-text"> | ||
<core-icon-button icon="menu" core-drawer-toggle></core-icon-button> | ||
<div flex> | ||
DiceCloud | ||
Home | ||
</div> | ||
</core-toolbar> | ||
<div class="scroll-y" style="padding: 16px" fit> | ||
{{> guide}} | ||
</div> | ||
{{> intro}} | ||
</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,25 +1,15 @@ | ||
Template.home.helpers({ | ||
characterDetails: function(){ | ||
var char = Characters.findOne( | ||
this._id, | ||
{fields: {name: 1, gender: 1, alignment: 1, race:1}} | ||
); | ||
char.title = char.name; | ||
char.field = "base"; | ||
char.color = "d"; | ||
char.class = "characterCard"; | ||
return char; | ||
} | ||
selectedTab: function(){ | ||
return Session.get("homePage.selectedTab"); | ||
}, | ||
}); | ||
|
||
Template.home.events({ | ||
"tap .characterCard": function(event, instance){ | ||
Router.go("characterSheet", {_id: this._id}); | ||
}, | ||
"tap #addCharacter": function(event, template) { | ||
Characters.insert({owner: Meteor.userId()}); | ||
"core-animated-pages-transition-end .tabPages": function(event) { | ||
event.stopPropagation(); | ||
}, | ||
"tap #deleteChar": function(event, template){ | ||
Characters.remove(this._id); | ||
"tap .homeTabs paper-tab": function(event, instance){ | ||
Session.set("homePage.selectedTab", | ||
event.currentTarget.getAttribute("name")); | ||
}, | ||
}); |
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,89 @@ | ||
<template name="intro"> | ||
<div class="intro"> | ||
<div class="section white-text" style="background: #282828"> | ||
<div class="display2"> | ||
Dice Cloud | ||
</div> | ||
<img style="width:130px; height:130px; background-color: #282828;" | ||
src="/crown-dice-logo-cropped-transparent.png"> | ||
<div class="display1"> | ||
Unofficial Online Realtime D&D 5e App | ||
</div> | ||
<h2> | ||
Spend less time shuffling paper and more time playing the game | ||
</h2> | ||
{{#unless currentUser}} | ||
<div layout horizontal around-justified wrap> | ||
<paper-button class="red white-text signInButton" | ||
style="margin: 16px;" | ||
raised> | ||
Sign In | ||
</paper-button> | ||
<paper-button class="red white-text signUpButton" | ||
style="margin: 16px;" | ||
raised> | ||
Sign Up | ||
</paper-button> | ||
</div> | ||
{{else}} | ||
<div style="padding-bottom: 0;"></div> | ||
{{/unless}} | ||
</div> | ||
<div class="section" style="background-color: #e9e9e9;"> | ||
<div> | ||
<div class="display1">Character Sheet Open Beta</div> | ||
<h2 style="margin-bottom: 16px;"> | ||
Check out the example characters | ||
</h2> | ||
<div layout horizontal around-justified wrap> | ||
<paper-shadow class="card characterCard ssArcher clickable" | ||
z="2"> | ||
<div class="top subhead green white-text"> | ||
<div class="subhead" flex> | ||
Starter Set Archer | ||
</div> | ||
</div> | ||
<div class="bottom text">Lawful Good Human</div> | ||
</paper-shadow> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="section white-text" style="background: #282828"> | ||
<div class="columns" layout horizontal around-justified wrap> | ||
<div> | ||
<h1>Check out the guide</h1> | ||
<p> | ||
Learn how your class gives you features, those features have effects, | ||
and those effects determine your stats. | ||
<paper-button class="guideButton">View Guide</paper-button> | ||
</p> | ||
</div> | ||
<div> | ||
<h1> | ||
Discuss | ||
</h1> | ||
<p> | ||
On the official subreddit | ||
<paper-button class="redditButton"> | ||
<a href="http://www.reddit.com/r/dicecloud/"> | ||
/r/dicecloud | ||
</a> | ||
</paper-button> | ||
</p> | ||
</div> | ||
<div> | ||
<h1> | ||
Get involved | ||
</h1> | ||
<p>Shape upcoming features and track bugs on the Dice Cloud Trello board | ||
<paper-button class="trelloButton"> | ||
<a href="https://trello.com/b/94M0SCnq/dicecloud-roadmap"> | ||
Trello Roadmap | ||
</a> | ||
</paper-button> | ||
</p> | ||
</div> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Template.intro.events({ | ||
"tap .signInButton": function() { | ||
Router.go("/sign-in"); | ||
}, | ||
"tap .signUpButton": function() { | ||
Router.go("/sign-up"); | ||
}, | ||
"tap .ssArcher": function() { | ||
Router.go("/character/yBWwt5XQTTHZiRQxq"); | ||
}, | ||
"tap .guideButton": function() { | ||
Router.go("/guide"); | ||
}, | ||
}); |
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,33 @@ | ||
.intro { | ||
.section { | ||
width: 100%; | ||
min-height: 200px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
padding-top: 24px; | ||
padding-bottom: 24px; | ||
& > div, & > h2 { | ||
padding: 32px; | ||
.display1 { | ||
margin-bottom: 16px; | ||
} | ||
} | ||
.columns > div{ | ||
max-width: 300px; | ||
padding: 16px; | ||
text-align: center; | ||
paper-button { | ||
color: #FF5252; | ||
} | ||
} | ||
} | ||
paper-button { | ||
min-width: 200px; | ||
a { | ||
color: inherit; | ||
text-decoration: inherit; | ||
} | ||
} | ||
} |
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
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,4 +1,5 @@ | ||
.bigSpinner { | ||
width: 100px; | ||
height: 100px; | ||
margin-bottom: 16px; | ||
} |
Oops, something went wrong.