diff --git a/app/components/char-card-custom-tabs-content.js b/app/components/char-card-custom-tabs-content.js new file mode 100644 index 00000000..0a447bae --- /dev/null +++ b/app/components/char-card-custom-tabs-content.js @@ -0,0 +1,5 @@ +import Component from '@ember/component'; + +export default Component.extend({ + tagName: '' +}); diff --git a/app/components/char-card-custom-tabs.js b/app/components/char-card-custom-tabs.js new file mode 100644 index 00000000..0a447bae --- /dev/null +++ b/app/components/char-card-custom-tabs.js @@ -0,0 +1,5 @@ +import Component from '@ember/component'; + +export default Component.extend({ + tagName: '' +}); diff --git a/app/components/char-card-demo.js b/app/components/char-card-demo.js new file mode 100644 index 00000000..bb93d73f --- /dev/null +++ b/app/components/char-card-demo.js @@ -0,0 +1,4 @@ +import Component from '@ember/component'; + +export default Component.extend({ +}); diff --git a/app/components/char-card-fs3.js b/app/components/char-card-fs3.js new file mode 100644 index 00000000..bb93d73f --- /dev/null +++ b/app/components/char-card-fs3.js @@ -0,0 +1,4 @@ +import Component from '@ember/component'; + +export default Component.extend({ +}); diff --git a/app/components/char-card-profile.js b/app/components/char-card-profile.js new file mode 100644 index 00000000..bb93d73f --- /dev/null +++ b/app/components/char-card-profile.js @@ -0,0 +1,4 @@ +import Component from '@ember/component'; + +export default Component.extend({ +}); diff --git a/app/templates/components/char-card-custom-tabs-content.hbs b/app/templates/components/char-card-custom-tabs-content.hbs new file mode 100644 index 00000000..e69de29b diff --git a/app/templates/components/char-card-custom-tabs.hbs b/app/templates/components/char-card-custom-tabs.hbs new file mode 100644 index 00000000..e69de29b diff --git a/app/templates/components/char-card-demo.hbs b/app/templates/components/char-card-demo.hbs new file mode 100644 index 00000000..0b9f7b65 --- /dev/null +++ b/app/templates/components/char-card-demo.hbs @@ -0,0 +1,23 @@ +
+ {{#if (not this.char.is_ooc)}} + {{#each this.char.demographics as |demo|}} +
+
+ {{demo.name}} +
+
+ {{demo.value}} +
+
+ {{/each}} + {{#if (not this.char.demographics)}} + No demographics available. Try reloading the scene page. + {{/if}} + {{/if}} + + {{#if this.char.status_message}} +
+ {{this.char.status_message}} +
+ {{/if}} +
\ No newline at end of file diff --git a/app/templates/components/char-card-fs3.hbs b/app/templates/components/char-card-fs3.hbs new file mode 100644 index 00000000..1afae111 --- /dev/null +++ b/app/templates/components/char-card-fs3.hbs @@ -0,0 +1,71 @@ +
+
+ Attributes +
+
+ {{#each this.char.fs3.attributes as |ability|}} +
+ {{ability.name}} + +
+ {{/each}} +
+ +
+ Action Skills +
+
+ {{#each this.char.fs3.action_skills as |ability|}} +
+ {{ability.name}} + +
+ {{/each}} +
+ +
+ {{#each this.char.fs3.action_skills as |ability|}} + {{#if ability.specialties}} +
{{ability.name}}: {{ability.specialties}}
+ {{/if}} + {{/each}} +
+ +
+ Background Skills +
+
+ {{#each this.char.fs3.backgrounds as |ability|}} +
+ {{ability.name}} + +
+ {{/each}} +
+ +
+ Languages +
+
+ {{#each this.char.fs3.languages as |ability|}} +
+ {{ability.name}} + +
+ {{/each}} +
+ + {{#if this.char.fs3.use_advantages}} +
+ Advantages +
+
+ {{#each this.char.fs3.advantages as |ability|}} +
+ {{ability.name}} + +
+ {{/each}} +
+ {{/if}} +
\ No newline at end of file diff --git a/app/templates/components/char-card-profile.hbs b/app/templates/components/char-card-profile.hbs new file mode 100644 index 00000000..81f6de9c --- /dev/null +++ b/app/templates/components/char-card-profile.hbs @@ -0,0 +1,8 @@ +
+ + + {{#if this.char.id}} + View Full Profile + {{/if}} + +
\ No newline at end of file diff --git a/app/templates/components/char-card.hbs b/app/templates/components/char-card.hbs index 61ab58c5..ab8b6a4c 100644 --- a/app/templates/components/char-card.hbs +++ b/app/templates/components/char-card.hbs @@ -1,105 +1,43 @@
-
-
- - - {{#if this.char.id}} - View Full Profile - {{/if}} - -
-
- {{#if (not this.char.is_ooc)}} - {{#each this.char.demographics as |demo|}} -
-
- {{demo.name}} -
-
- {{demo.value}} -
-
- {{/each}} - {{#if (not this.char.demographics)}} - No demographics available. Try reloading the scene page. - {{/if}} - {{/if}} - - {{#if this.char.status_message}} -
-
- {{this.char.status_message}} +
+
+ +
+
+ +
- {{/if}} - - -
-
- -
- -{{#if this.char.description}} - -{{/if}} - -
- -{{#if this.char.fs3}} - -
- {{#each this.char.fs3.attributes as |ability|}} -
- {{ability.name}} -
- {{/each}} -
-
- {{#each this.char.fs3.action_skills as |ability|}} -
- {{ability.name}} - -
- {{/each}} -
+{{#if (not this.char.is_ooc)}} +
-
-{{#each this.char.fs3.action_skills as |ability|}} - {{#if ability.specialties}} -
{{ability.name}}: {{ability.specialties}}
- {{/if}} -{{/each}} -
+ -
- {{#each this.char.fs3.languages as |ability|}} -
- {{ability.name}} - -
- {{/each}} -
+
+ {{#if this.char.description}} +
+ +
+ {{/if}} -{{#if this.char.fs3.use_advantages}} -
- {{#each this.char.fs3.advantages as |ability|}} -
- {{ability.name}} - + {{#if this.char.fs3}} +
+ +
+ {{/if}} + +
- {{/each}} -
-{{/if}} - {{/if}}
\ No newline at end of file diff --git a/public/scripts/aresweb_version.js b/public/scripts/aresweb_version.js index 30041745..2b2d4c5d 100644 --- a/public/scripts/aresweb_version.js +++ b/public/scripts/aresweb_version.js @@ -1 +1 @@ -var aresweb_version = "1.6.0"; +var aresweb_version = "1.7.0";