Commit cd8c4660 by Dirk Benkert

Merge branch '2019-2-release' into 'master'

2019 2 release

Closes #210, #195 und #194

See merge request !32
parents 9a0bc407 be595bff
# Changelog
## 2.0.17
- fixed that on smaller screens items under the toolbox could not be used, even if toolbox was off-canvas (#194).
- fixed that navigation on splash screen was not hidden on some tablet sized displays.
- fixed #195 as the new font fixed all known issues with xs select elements.
- fixed #202 german translation of gender missing.
- fixed #203 making box "Language Skills" the same column structure as the other skill boxes by adding a column for rating.
- fixed #204 making header of box "IDs/Lifestyles/License" editable.
- fixed #206 dropdown icon showing in print version.
- fixed #205 making background of textarea elements transparent.
- fixed #208 column headline for essence in box "Cyberware/Bioware" exceeding available space.
- fixed #205 box "Portrait" now uses the full page width if use as full page box.
- fixed that in the box "Comlink" the notes could only be reached by using tab, but not with the mouse.
- fixed #210 special characters in header field "character" breaking export.
- added categories for boxes to the toolbox in preparation of future development.
- fixed exporting now shows a proper filename.
- made regeneration labels in condition monitor editable instead of removeable. You can remove them by editing as well.
## 2.0.16
- added background image for the sheets. Thanks to ciro faienza for the inspiration and help.
- changed the font for inputs and labels to better match the paper version. As the font is narrower it generally looks better.
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685300875">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581964688">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685300875" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581964688" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/docs-en.html">
</head>
<body class="o-bodyspacing" data-language="en">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Character Sheet Generator</span><span class="c-headerbar__text-small"> SR5 - CSG</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Character Sheet Generator</span><span class="c-headerbar__text-small"> SR5 - CSG</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>The undisputed, best character sheet for Shadowrun 5</p>
......@@ -127,7 +127,7 @@ Haggar is a human with body 6. He has Bonelacing Titanium, which add +3 to body.
<p>&copy; <a href="http://www.topps.com/">The Topps Company, Inc. </a>Shadowrun is a registered trademark of The Topps Company, Inc., in the United States and/or
other countries.
</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>created with the help of <a href="https://www.hades-blumenservice.de">[hades]Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685300883">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581964706">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685300883" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581964706" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/docs-fr.html">
</head>
<body class="o-bodyspacing" data-language="fr">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Générateur de feuille de personnage</span><span class="c-headerbar__text-small"> SR5 - GFP</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Générateur de feuille de personnage</span><span class="c-headerbar__text-small"> SR5 - GFP</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>Sans conteste, la meilleur feuille de personnage pour Shadowrun 5</p>
......@@ -127,7 +127,7 @@ Haggar est un humain avec une Constitution de 6. Il a une Ossature renforcée en
<p>&copy; <a href="http://www.topps.com/">The Topps Company, Inc. </a>Shadowrun est une marque déposée de The Topps Company, Inc., aux États-Unis et / ou
dans d'autres pays.
</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>créé avec l'aide de <a href="https://www.hades-blumenservice.de">[hades]Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685300886">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581964710">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685300886" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581964710" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/docs.html">
</head>
<body class="o-bodyspacing" data-language="de">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Charakterbogen Generator</span><span class="c-headerbar__text-small"> SR5 - CBG</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Charakterbogen Generator</span><span class="c-headerbar__text-small"> SR5 - CBG</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>Der unbestritten, beste Charakterbogen für Shadowrun 5</p>
......@@ -130,7 +130,7 @@ Haggar ist ein Mensch mit Konstitution 6. Er hat <code>Kompositknochen Titan</co
</section>
<div class="c-footer__section c-footer--text-center">
<p>Shadowrun-Logo und Inhalte mit freundlicher Genehmigung von <a target="_blank" href="http://www.pegasus.de/">Pegasus Spiele</a> unter Lizenz von <a target="_blank" href="http://www.topps.com//">Topps Company, Inc.</a> <br>&copy; Topps Company, Inc. Alle Rechte vorbehalten. Shadowrun ist eine eingetragene Handelsmarke von Topps Company, Inc.</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>created with the help of <a href="https://www.hades-blumenservice.de">[hades] Blumenservice</a></p>
</div>
</article><script>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "sr5-charactersheet-generator",
"version": "2.0.15",
"version": "2.0.17",
"description": "project files",
"main": "index.html",
"scripts": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685301086">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581964950">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685301086" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581964950" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/roadmap-en.html">
</head>
<body class="o-bodyspacing" data-language="en">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Character Sheet Generator</span><span class="c-headerbar__text-small"> SR5 - CSG</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Character Sheet Generator</span><span class="c-headerbar__text-small"> SR5 - CSG</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>The undisputed, best character sheet for Shadowrun 5</p>
......@@ -78,7 +78,7 @@
<div class="c-textpage__content">
<h1>Roadmap</h1>
<div class="progress">
<div class="progress-bar progress-bar-warning progress-bar-striped active" style="width: 50%;">50% Version 2.0 in progress</div>
<div class="progress-bar progress-bar-warning progress-bar-striped active" style="width: 50%">50% Version 2.0 in progress</div>
</div><h2 id="highlight-feature-version-2-0-autocomplete">Highlight Feature Version 2.0 - Autocomplete</h2>
<p>Version 2.0 provides a REST Backend for the charactersheet generator. This brings an autocomplete feature which can automatically fill rows or complete boxes. For example if you start typing in the &quot;Name&quot; field of the &quot;Vehicle&quot; box a context sensitive search runs in the background suggesting available vehicles. If you select one of the suggestions all fields of the box are automatically filled with the appropriate values of the selected vehicle. Same applies if you enter a &quot;Weapon&quot; in the &quot;Ranges Weapons&quot; box, only that there the fields of the row are automatically filled.</p>
<p><img src="resources/img/mock-autocomplete.png" alt="autocomplete mockup" title="Mockup Autocomplete Funktion"></p>
......@@ -110,7 +110,7 @@
<p>&copy; <a href="http://www.topps.com/">The Topps Company, Inc. </a>Shadowrun is a registered trademark of The Topps Company, Inc., in the United States and/or
other countries.
</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>created with the help of <a href="https://www.hades-blumenservice.de">[hades]Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685301088">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581964993">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685301088" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581964993" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/roadmap-fr.html">
</head>
<body class="o-bodyspacing" data-language="fr">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Générateur de feuille de personnage</span><span class="c-headerbar__text-small"> SR5 - GFP</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Générateur de feuille de personnage</span><span class="c-headerbar__text-small"> SR5 - GFP</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>Sans conteste, la meilleur feuille de personnage pour Shadowrun 5</p>
......@@ -78,7 +78,7 @@
<div class="c-textpage__content">
<h1>Roadmap</h1>
<div class="progress">
<div class="progress-bar progress-bar-warning progress-bar-striped active" style="width: 50%;">50% Version 2.0 in progress</div>
<div class="progress-bar progress-bar-warning progress-bar-striped active" style="width: 50%">50% Version 2.0 in progress</div>
</div><h2 id="highlight-fonctionnalit-version-2-0-saisie-semi-automatique">Highlight Fonctionnalité Version 2.0 - Saisie semi-automatique</h2>
<p>La version 2.0 fournit un arrière-plan (backend) REST pour le générateur de feuille de personnages. Cela apporte une fonctionnalité de saisie semi-automatique qui peut automatiquement remplir des lignes ou remplir des boîtes. Par exemple, si vous commencez à taper dans le champ &quot;Nom&quot; de la case &quot;Véhicule&quot;, une recherche contextuelle s&#39;affiche en arrière-plan pour indiquer les véhicules disponibles. Si vous sélectionnez l&#39;une des suggestions, tous les champs de la boîte sont automatiquement remplis avec les valeurs appropriées du véhicule sélectionné. Il en va de même si vous saisissez une &quot;Arme&quot; dans la case &quot;Portée des armes&quot;, seules les champs de la ligne sont automatiquement remplis.</p>
<p><img src="resources/img/mock-autocomplete.png" alt="autocomplete mockup" title="Mockup Autocomplete Funktion"></p>
......@@ -110,7 +110,7 @@
<p>&copy; <a href="http://www.topps.com/">The Topps Company, Inc. </a>Shadowrun est une marque déposée de The Topps Company, Inc., aux États-Unis et / ou
dans d'autres pays.
</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>créé avec l'aide de <a href="https://www.hades-blumenservice.de">[hades]Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685301090">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581965005">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685301090" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581965005" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/roadmap.html">
</head>
<body class="o-bodyspacing" data-language="de">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Charakterbogen Generator</span><span class="c-headerbar__text-small"> SR5 - CBG</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Charakterbogen Generator</span><span class="c-headerbar__text-small"> SR5 - CBG</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>Der unbestritten, beste Charakterbogen für Shadowrun 5</p>
......@@ -78,7 +78,7 @@
<div class="c-textpage__content">
<h1>Roadmap</h1>
<div class="progress">
<div class="progress-bar progress-bar-warning progress-bar-striped active" style="width: 50%;">50% Version 2.0 in progress</div>
<div class="progress-bar progress-bar-warning progress-bar-striped active" style="width: 50%">50% Version 2.0 in progress</div>
</div><h2 id="highlight-feature-version-2-0-autocomplete">Highlight Feature Version 2.0 - Autocomplete</h2>
<p>In der Version 2.0 wird der Charakterbogen Generator mit einem umfangreichen REST Backend ausgestattet.
Dadurch wird es möglich sein Zeilen oder auch ganze Boxen automatisch zu befüllen. Wenn man z.B. im Feld &quot;Name&quot; der Fahrzeug Box oder im Feld &quot;Waffe&quot; der Fernkampf Box zu tippen beginnt, wird eine kontextsensitive Suche über das REST Backend durchgeführt und die zu dem Namen gefundenen Fahrzeuge oder Waffen vorgeschlagen. Wählt man dann einen der Treffer aus, so werden die Felder der Box, bzw. der Zeile automatisch mit den entsprechenden Werten des Fahrzeugs, bzw. der Waffe befüllt. </p>
......@@ -110,7 +110,7 @@ Du musst dazu deine Emailadresse hinterlassen und bekommst per Email einen Link,
</section>
<div class="c-footer__section c-footer--text-center">
<p>Shadowrun-Logo und Inhalte mit freundlicher Genehmigung von <a target="_blank" href="http://www.pegasus.de/">Pegasus Spiele</a> unter Lizenz von <a target="_blank" href="http://www.topps.com//">Topps Company, Inc.</a> <br>&copy; Topps Company, Inc. Alle Rechte vorbehalten. Shadowrun ist eine eingetragene Handelsmarke von Topps Company, Inc.</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>created with the help of <a href="https://www.hades-blumenservice.de">[hades] Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685301093">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581965009">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685301093" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581965009" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/terms-en.html">
</head>
<body class="o-bodyspacing" data-language="en">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Character Sheet Generator</span><span class="c-headerbar__text-small"> SR5 - CSG</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Character Sheet Generator</span><span class="c-headerbar__text-small"> SR5 - CSG</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>The undisputed, best character sheet for Shadowrun 5</p>
......@@ -113,7 +113,7 @@ use all of the features we offer, you may not be able to store your preferences,
<p>&copy; <a href="http://www.topps.com/">The Topps Company, Inc. </a>Shadowrun is a registered trademark of The Topps Company, Inc., in the United States and/or
other countries.
</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>created with the help of <a href="https://www.hades-blumenservice.de">[hades]Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685301095">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581965012">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685301095" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581965012" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/terms-fr.html">
</head>
<body class="o-bodyspacing" data-language="fr">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Générateur de feuille de personnage</span><span class="c-headerbar__text-small"> SR5 - GFP</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Générateur de feuille de personnage</span><span class="c-headerbar__text-small"> SR5 - GFP</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>Sans conteste, la meilleur feuille de personnage pour Shadowrun 5</p>
......@@ -113,7 +113,7 @@ utiliser toutes les fonctionnalités que nous proposons, vous ne pourrez peut-ê
<p>&copy; <a href="http://www.topps.com/">The Topps Company, Inc. </a>Shadowrun est une marque déposée de The Topps Company, Inc., aux États-Unis et / ou
dans d'autres pays.
</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>créé avec l'aide de <a href="https://www.hades-blumenservice.de">[hades]Blumenservice</a></p>
</div>
</article><script>
......
......@@ -5,17 +5,17 @@
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="resources/css/app.css?t=1546685301097">
<link rel="apple-touch-icon" sizes="180x180" href="/charactersheet/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/charactersheet/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/charactersheet/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/charactersheet/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/charactersheet/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/charactersheet/resources/favicon/favicon.ico">
<link rel="stylesheet" href="resources/css/app.css?t=1550581965077">
<link rel="apple-touch-icon" sizes="180x180" href="/projects/shadowrun/charactersheet/dist/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="/projects/shadowrun/charactersheet/dist/resources/favicon/site.webmanifest">
<link rel="mask-icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/projects/shadowrun/charactersheet/dist/resources/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1546685301097" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1550581965077" data-main="resources/js/app-min.js"></script>
<link rel="canonical" href="https://www.shadowrun5.net/terms.html">
</head>
<body class="o-bodyspacing" data-language="de">
......@@ -24,7 +24,7 @@
</div>
<nav class="c-headerbar">
<div class="c-headerbar__brand">
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Charakterbogen Generator</span><span class="c-headerbar__text-small"> SR5 - CBG</span><span class="c-headerbar__version"> 2.0.16</span></a></div>
<div class="c-headerbar__brandlogo"><a href="index.html"><span class="c-headerbar__text-large"> Shadowrun 5 - Charakterbogen Generator</span><span class="c-headerbar__text-small"> SR5 - CBG</span><span class="c-headerbar__version"> 2.0.17</span></a></div>
<div>
<div class="c-headerbar__slogan">
<p>Der unbestritten, beste Charakterbogen für Shadowrun 5</p>
......@@ -106,7 +106,7 @@ limitations under the License.</p>
</section>
<div class="c-footer__section c-footer--text-center">
<p>Shadowrun-Logo und Inhalte mit freundlicher Genehmigung von <a target="_blank" href="http://www.pegasus.de/">Pegasus Spiele</a> unter Lizenz von <a target="_blank" href="http://www.topps.com//">Topps Company, Inc.</a> <br>&copy; Topps Company, Inc. Alle Rechte vorbehalten. Shadowrun ist eine eingetragene Handelsmarke von Topps Company, Inc.</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.16</p>
<p>HTML, CSS and Javascript &copy; 2019 &ndash; <a href="http://www.dirk-benkert.de">Dirk Benkert</a> &ndash; Version 2.0.17</p>
<p>created with the help of <a href="https://www.hades-blumenservice.de">[hades] Blumenservice</a></p>
</div>
</article><script>
......
......@@ -35,7 +35,7 @@ gulp.task('build', ['buildJs', 'pug', 'less', 'minifyJs', 'cache-bust', 'move-fi
// Run the jscpd command to build the package such a simple task :)
gulp.task('cpd', [], shell.task([
// This is the command
'jscpd'
'/usr/local/bin/jscpd'
]));
// compile the less files to css
......@@ -72,7 +72,7 @@ gulp.task('minify-css', ['less'], function() {
});
// Run the r.js command to build the package such a simple task :)
gulp.task('buildJs', ['cpd', 'move-files'], shell.task([
gulp.task('buildJs', ['move-files'], shell.task([
// This is the command
'r.js -o build.js optimize="none" out="' + targetDirectory + '/resources/js/app.js"'
]));
......@@ -106,6 +106,52 @@ gulp.task('statics', function () {
}));
});
gulp.task('pug-debug', function() {
"use strict";
return gulp.src('./src/pug/pages/index.pug')
.on('data', function(file) {
gutil.log('compiling: ' + file.path);
})
.pipe(gdata(function (file) {
var jsPath = 'resources/js/app-min.js';
var faviconPath = "/projects/shadowrun/charactersheet/dist/resources/favicon/";
if (mode === 'production') {
faviconPath = "/charactersheet/resources/favicon/";
}
var data = {
jsPath: jsPath,
faviconPath: faviconPath,
getId: function() {
return 'ps-' + Math.random().toString(16).slice(-5);
}
};
try {
// look for
var json = require(file.path + '.json');
data = _.assign(data, json, statics);
} catch (e) {
// if data file not found proceed without it
data = _.assign(data, statics);
}
return data;
}))
.pipe(plumber(function(error) {
// Output an error message
gutil.log(gutil.colors.red('Error (' + error.plugin + ')'));
gutil.log(error);
// emit the end event, to properly end the task
this.emit('end');
}))
.pipe(pug({
pretty: true
}))
.pipe(plumber.stop())
.pipe(gulp.dest('./tmp/'));
});
// Compile pug into HTML
gulp.task('pug', ['statics'], function () {
"use strict";
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "Shadowrun5CharacterSheetGenerator",
"version": "2.0.16",
"version": "2.0.17",
"description": "This is a HTML charactersheet generator for Shadowrun 5",
"main": "dist/index.html",
"scripts": {
......
......@@ -4,7 +4,7 @@
"de": "Dein Charakterbogen für Shadowrun 5",
"fr": "Votre feuille de personnage pour Shadowrun 5"
},
"version": "2.0.16",
"version": "2.0.17",
"author": "Dirk Benkert",
"email": "mail@dirk-benkert.de"
}
\ No newline at end of file
define(["require"], function (require) {
"use strict";
var Module = require("Module");
var application;
var sets = [
{to: 'a', from: '[ÀÁÂÃÄÅÆĀĂĄẠẢẤẦẨẪẬẮẰẲẴẶ]'},
{to: 'c', from: '[ÇĆĈČ]'},
{to: 'd', from: '[ÐĎĐÞ]'},
{to: 'e', from: '[ÈÉÊËĒĔĖĘĚẸẺẼẾỀỂỄỆ]'},
{to: 'g', from: '[ĜĞĢǴ]'},
{to: 'h', from: '[ĤḦ]'},
{to: 'i', from: '[ÌÍÎÏĨĪĮİỈỊ]'},
{to: 'j', from: '[Ĵ]'},
{to: 'ij', from: '[IJ]'},
{to: 'k', from: '[Ķ]'},
{to: 'l', from: '[ĹĻĽŁ]'},
{to: 'm', from: '[Ḿ]'},
{to: 'n', from: '[ÑŃŅŇ]'},
{to: 'o', from: '[ÒÓÔÕÖØŌŎŐỌỎỐỒỔỖỘỚỜỞỠỢǪǬƠ]'},
{to: 'oe', from: '[Œ]'},
{to: 'p', from: '[ṕ]'},
{to: 'r', from: '[ŔŖŘ]'},
{to: 's', from: '[ߌŜŞŠ]'},
{to: 't', from: '[ŢŤ]'},
{to: 'u', from: '[ÙÚÛÜŨŪŬŮŰŲỤỦỨỪỬỮỰƯ]'},
{to: 'w', from: '[ẂŴẀẄ]'},
{to: 'x', from: '[ẍ]'},
{to: 'y', from: '[ÝŶŸỲỴỶỸ]'},
{to: 'z', from: '[ŹŻŽ]'},
{to: '-', from: '[·/_,:;\']'}
];
function Slugify(rootNode, app) {
Module.call(this, rootNode);
app.slugify = slugify;
}
function slugify(text, separator) {
text = text.toString().toLowerCase().trim();
sets.forEach(function(set) {
text = text.replace(new RegExp(set.from,'gi'), set.to);
});
text = text.toString().toLowerCase()
.replace(/\s+/g, '-') // Replace spaces with -
.replace(/&/g, '-and-') // Replace & with 'and'
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
.replace(/\--+/g, '-') // Replace multiple - with single -
.replace(/^-+/, '') // Trim - from start of text
.replace(/-+$/, ''); // Trim - from end of text
if ((typeof separator !== 'undefined') && (separator !== '-')) {
text = text.replace(/-/g, separator);
}
return text;
}
Slugify.prototype = {
constructor: Slugify
};
return Slugify;
});
define(["require"], function (require) {
"use strict";
var Module = require("Module");
var application = null;
function Collapsible(rootNode, app) {
Module.call(this, rootNode);
this.node = rootNode;
application = app;
}
function onInit() {
var header = this.node.querySelectorAll('.o-collapsible__toggle');
Array.from(header).forEach(function(headerElement) {
headerElement.addEventListener('click', handleClick);
});
}
function handleClick(event) {
//element is the clicked header Element
var container = application.findParent(event.currentTarget, '[data-module="modules/Collapsible"]');
var activeItem = container.querySelector('.o-collapsible__item--open');
var headerClass = container.dataset.toggleClass || false;
if (headerClass) {
var activeHeader = container.querySelector('.' + headerClass);
if (activeHeader && container.dataset.mode === 'single') {
activeHeader.classList.remove(headerClass);
if (activeHeader !== event.currentTarget) {
event.currentTarget.classList.toggle(headerClass);
}
} else {
event.currentTarget.classList.toggle(headerClass);
}
}
var target = container.querySelector('[data-name="' + event.currentTarget.dataset.target + '"]');
if (activeItem && container.dataset.mode === 'single') {
activeItem.classList.remove('o-collapsible__item--open');
if (activeItem !== target) {
target.classList.toggle('o-collapsible__item--open');
}
} else {
target.classList.toggle('o-collapsible__item--open');
}
}
Collapsible.prototype = {
constructor: Collapsible,
onInit: onInit
};
return Collapsible;
});
\ No newline at end of file
......@@ -46,6 +46,16 @@ define(["require"], function (require) {
});
});
var notes = this.node.querySelector('.js-remove-notes');
if (notes) {
notes.addEventListener('click', function(e) {
var rootNode = application.findParent(e.currentTarget, '.o-box');
rootNode.querySelectorAll('.js-row-notes').forEach(function(row) {
row.remove();
});
});
}
registerDeckConfig(this.node);
}
......
......@@ -82,17 +82,18 @@ define(["require"], function (require) {
function exportSheet(e) {
application.publish('application:tracking', 'sheet-exported');
e.preventDefault();
//e.preventDefault();
var data = {
'version': '2.0.2',
'sheet': application.characterSheet.getEncoded()
};