diff --git a/rpg-docs/Model/Character/Characters.js b/rpg-docs/Model/Character/Characters.js index 98edfae05..c0dbab0c3 100644 --- a/rpg-docs/Model/Character/Characters.js +++ b/rpg-docs/Model/Character/Characters.js @@ -176,6 +176,12 @@ Schemas.Character = new SimpleSchema({ "settings.useStandardEncumbrance": {type: Boolean, defaultValue: true}, //hide spellcasting "settings.hideSpellcasting": {type: Boolean, defaultValue: false}, + //show to anyone with link + "settings.viewPermission": { + type: String, + defaultValue: "whitelist", + allowedValues: ["whitelist", "public"], + }, }); Characters.attachSchema(Schemas.Character); diff --git a/rpg-docs/Routes/Routes.js b/rpg-docs/Routes/Routes.js index d54b3357d..7a26c2ccb 100644 --- a/rpg-docs/Routes/Routes.js +++ b/rpg-docs/Routes/Routes.js @@ -4,17 +4,9 @@ Router.configure({ }); Router.plugin("ensureSignedIn", { - except: [ - "home", - "atSignIn", - "atSignUp", - "atForgotPassword", - "atResetPwd", - "atEnrollAccount", - "atVerifyEmail", - "atResendVerificationEmail", - "loginButtons", - "notFound", + only: [ + "profile", + "characterList", ] }); @@ -93,4 +85,11 @@ Router.map(function() { document.title = appName; }, }); + + this.route("/guide", { + name: "guide", + onAfterAction: function() { + document.title = appName; + }, + }); }); diff --git a/rpg-docs/client/style/colors.scss b/rpg-docs/client/style/colors.scss index f98b53d3d..6f501aa99 100644 --- a/rpg-docs/client/style/colors.scss +++ b/rpg-docs/client/style/colors.scss @@ -70,8 +70,8 @@ background-color: #9E9E9E; } -.blue-grey { - background-color: #607D8B; +.app-grey { + background-color: #424242; } .white { diff --git a/rpg-docs/client/style/main.scss b/rpg-docs/client/style/main.scss index a282ab4f3..77a3172f2 100644 --- a/rpg-docs/client/style/main.scss +++ b/rpg-docs/client/style/main.scss @@ -19,6 +19,16 @@ body { background-color: #E0E0E0; } +//fix tabs and core-toolbar having box shadow +core-toolbar { + box-shadow: none; +} + +//give drawer panel a shadow always +core-header-panel[drawer] { + box-shadow: 2px 0px 5px 0px rgba(0,0,0,0.2); +} + //Horizontal rule hr { background-color: #444; diff --git a/rpg-docs/client/views/character/characterSettings/shareDialog.html b/rpg-docs/client/views/character/characterSettings/shareDialog.html index 9ce9b6ff3..d788ac2e5 100644 --- a/rpg-docs/client/views/character/characterSettings/shareDialog.html +++ b/rpg-docs/client/views/character/characterSettings/shareDialog.html @@ -1,5 +1,17 @@