Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58843613ba | ||
|
|
39b549b24b | ||
|
|
c79177de72 | ||
|
|
11d09b1487 | ||
|
|
0e4918d57d | ||
|
|
949f313af2 | ||
|
|
85b63f152f | ||
|
|
2141d52a7a | ||
|
|
4c84235064 | ||
|
|
0e194a5408 | ||
|
|
4b60eac330 | ||
|
|
cb017c359d |
1
rpg-docs/.gitignore
vendored
1
rpg-docs/.gitignore
vendored
@@ -1,5 +1,6 @@
|
|||||||
.meteor/local
|
.meteor/local
|
||||||
.meteor/meteorite
|
.meteor/meteorite
|
||||||
|
settings.json
|
||||||
public/components
|
public/components
|
||||||
nohup.out
|
nohup.out
|
||||||
dump
|
dump
|
||||||
@@ -27,3 +27,5 @@ fourseven:scss@2.1.1
|
|||||||
wolves:bourbon
|
wolves:bourbon
|
||||||
meteorhacks:subs-manager
|
meteorhacks:subs-manager
|
||||||
meteorhacks:kadira
|
meteorhacks:kadira
|
||||||
|
chuangbo:marked
|
||||||
|
reywood:iron-router-ga
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ blaze-tools@1.0.3
|
|||||||
boilerplate-generator@1.0.3
|
boilerplate-generator@1.0.3
|
||||||
callback-hook@1.0.3
|
callback-hook@1.0.3
|
||||||
check@1.0.5
|
check@1.0.5
|
||||||
|
chuangbo:marked@0.3.5
|
||||||
coffeescript@1.0.6
|
coffeescript@1.0.6
|
||||||
dburles:collection-helpers@1.0.3
|
dburles:collection-helpers@1.0.3
|
||||||
dburles:mongo-collection-instances@0.3.3
|
dburles:mongo-collection-instances@0.3.3
|
||||||
@@ -70,6 +71,7 @@ reactive-dict@1.1.0
|
|||||||
reactive-var@1.0.5
|
reactive-var@1.0.5
|
||||||
reload@1.1.3
|
reload@1.1.3
|
||||||
retry@1.0.3
|
retry@1.0.3
|
||||||
|
reywood:iron-router-ga@0.6.0
|
||||||
routepolicy@1.0.5
|
routepolicy@1.0.5
|
||||||
service-configuration@1.0.4
|
service-configuration@1.0.4
|
||||||
session@1.1.0
|
session@1.1.0
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
Router.configure({
|
Router.configure({
|
||||||
loadingTemplate: "loading",
|
loadingTemplate: "loading",
|
||||||
layoutTemplate: "layout",
|
layoutTemplate: "layout",
|
||||||
|
trackPageView: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
Router.plugin("ensureSignedIn", {
|
Router.plugin("ensureSignedIn", {
|
||||||
|
|||||||
@@ -29,6 +29,11 @@ core-header-panel[drawer] {
|
|||||||
box-shadow: 2px 0px 5px 0px rgba(0,0,0,0.2);
|
box-shadow: 2px 0px 5px 0px rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Paragraphs
|
||||||
|
p {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
//Horizontal rule
|
//Horizontal rule
|
||||||
hr {
|
hr {
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
@@ -37,7 +42,7 @@ hr {
|
|||||||
color: #444;
|
color: #444;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
margin: 16px -16px;
|
margin: 16px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
td {
|
td {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
&:nth-child(1) {
|
|
||||||
min-width: 100px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.strengthTable{
|
.strengthTable{
|
||||||
|
|||||||
@@ -44,7 +44,8 @@
|
|||||||
label="Value"
|
label="Value"
|
||||||
floatinglabel
|
floatinglabel
|
||||||
value={{effectValue}}
|
value={{effectValue}}
|
||||||
flex>
|
flex
|
||||||
|
style="flex-basis: 100px;">
|
||||||
</paper-input>
|
</paper-input>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
<div class="pre-wrap">{{evaluateString charId description}}</div>
|
<div>{{#markdown}}{{evaluateString charId description}}{{/markdown}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{> effectsViewList charId=charId parentId=_id}}
|
{{> effectsViewList charId=charId parentId=_id}}
|
||||||
|
|||||||
@@ -102,8 +102,9 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
<div flex class="bottom text"
|
<div flex class="bottom">
|
||||||
>{{evaluateString charId shortDescription}}</div>
|
{{#markdown}}{{evaluateString charId shortDescription}}{{/markdown}}
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if hasUses}}
|
{{#if hasUses}}
|
||||||
<div layout horizontal center end-justified>
|
<div layout horizontal center end-justified>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Template.features.helpers({
|
|||||||
},
|
},
|
||||||
shortDescription: function() {
|
shortDescription: function() {
|
||||||
if (_.isString(this.description)){
|
if (_.isString(this.description)){
|
||||||
return this.description.split(/[\n\r]{3,}/)[0];
|
return this.description.split(/^( *[-*_]){3,} *(?:\n+|$)/m)[0];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
hasUses: function(){
|
hasUses: function(){
|
||||||
|
|||||||
@@ -41,6 +41,6 @@
|
|||||||
</div>
|
</div>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
<hr class="vertMargin">
|
<hr class="vertMargin">
|
||||||
<div class="pre-wrap">{{evaluateString charId description}}</div>
|
<div>{{#markdown}}{{evaluateString charId description}}{{/markdown}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
{{#if requiresAttunement}}<div class="vertMargin">Requires Attunement</div>{{/if}}
|
{{#if requiresAttunement}}<div class="vertMargin">Requires Attunement</div>{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
<hr class="vertMargin">
|
<hr style="margin: 16px 0 16px 0;">
|
||||||
<div class="pre-wrap">{{evaluateString charId description}}</div>
|
<div>{{#markdown}}{{evaluateString charId description}}{{/markdown}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{> effectsViewList charId=charId parentId=_id}}
|
{{> effectsViewList charId=charId parentId=_id}}
|
||||||
{{> attacksViewList charId=charId parentId=_id}}
|
{{> attacksViewList charId=charId parentId=_id}}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
<hr class="vertMargin">
|
<hr class="vertMargin">
|
||||||
<div class="pre-wrap">{{description}}</div>
|
<div>{{#markdown}}{{description}}{{/markdown}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{> experienceEdit}}
|
{{> experienceEdit}}
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
layout horizontal center>
|
layout horizontal center>
|
||||||
{{name}}
|
{{name}}
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom text">{{description}}</div>
|
<div class="bottom">{{#markdown}}{{description}}{{/markdown}}</div>
|
||||||
</paper-shadow>
|
</paper-shadow>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template name="noteDialog">
|
<template name="noteDialog">
|
||||||
{{#with note}}
|
{{#with note}}
|
||||||
{{#baseDialog title=name class=colorClass startEditing=../startEditing}}
|
{{#baseDialog title=name class=colorClass startEditing=../startEditing}}
|
||||||
<div class="pre-wrap">{{description}}</div>
|
<div>{{#markdown}}{{description}}{{/markdown}}</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{> noteDialogEdit}}
|
{{> noteDialogEdit}}
|
||||||
{{/baseDialog}}
|
{{/baseDialog}}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template name="backgroundDialog">
|
<template name="backgroundDialog">
|
||||||
{{#baseDialog title=title class=colorClass hideColor="true" hideDelete="true"}}
|
{{#baseDialog title=title class=colorClass hideColor="true" hideDelete="true"}}
|
||||||
<div class="pre-wrap">{{evaluateString charId value}}</div>
|
<div>{{#markdown}}{{evaluateString charId value}}{{/markdown}}</div>
|
||||||
{{> proficiencyViewList charId=charId parentId=charId parentGroup="background"}}
|
{{> proficiencyViewList charId=charId parentId=charId parentGroup="background"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{> textDialogEdit}}
|
{{> textDialogEdit}}
|
||||||
|
|||||||
@@ -68,6 +68,6 @@
|
|||||||
{{title}}
|
{{title}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom text">{{> UI.contentBlock}}</div>
|
<div class="bottom">{{#markdown}}{{> UI.contentBlock}}{{/markdown}}</div>
|
||||||
</paper-shadow>
|
</paper-shadow>
|
||||||
</template>
|
</template>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<template name="textDialog">
|
<template name="textDialog">
|
||||||
{{#baseDialog title=title class=colorClass hideColor="true" hideDelete="true" startEditing=startEditing}}
|
{{#baseDialog title=title class=colorClass hideColor="true" hideDelete="true" startEditing=startEditing}}
|
||||||
<div class="pre-wrap">{{evaluateString charId value}}</div>
|
<div>{{#markdown}}{{evaluateString charId value}}{{/markdown}}</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{> textDialogEdit}}
|
{{> textDialogEdit}}
|
||||||
{{/baseDialog}}
|
{{/baseDialog}}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="pre-wrap">{{evaluateString charId description}}</div>
|
<div>{{#markdown}}{{evaluateString charId description}}{{/markdown}}</div>
|
||||||
{{> attacksViewList charId=charId parentId=_id}}
|
{{> attacksViewList charId=charId parentId=_id}}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<hr class="vertMargin">
|
<hr class="vertMargin">
|
||||||
<div class="pre-wrap">{{evaluateString charId description}}</div>
|
<div>{{#markdown}}{{evaluateString charId description}}{{/markdown}}</div>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<!--Name-->
|
<!--Name-->
|
||||||
|
|||||||
@@ -225,6 +225,21 @@ ChangeLogs.insert({
|
|||||||
changes: [
|
changes: [
|
||||||
"Net worth now takes container values into account",
|
"Net worth now takes container values into account",
|
||||||
"Added support for character pictures",
|
"Added support for character pictures",
|
||||||
"Disabled edit buttons for reada-only viewers",
|
"Disabled edit buttons for read-only viewers",
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|
||||||
|
ChangeLogs.insert({
|
||||||
|
version: "0.6.6",
|
||||||
|
changes: [
|
||||||
|
"Text fields now accept github-flavor markdown formatting",
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|
||||||
|
ChangeLogs.insert({
|
||||||
|
version: "0.6.7",
|
||||||
|
changes: [
|
||||||
|
"Fixed effect values not being visible on small screens",
|
||||||
|
"Added basic analytics",
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user