This gitlab repository is moving to a new Home. The new server will be running the latest version with a lot of nice features and increased performance. Thererfor you are no longer able to sign up to this gitlab server. Check https://code.dirk-benkert.de for the new server. All active repositories will be moved over.

...
 
Commits (2)
......@@ -4,6 +4,9 @@
- fixed box background in combination with page background.
- fixed edgepoints putting attributes box out of vertical alignment.
- new box with weapon ranges added.
- reversed order of saved character sheet versions. Now the most recent version is on top of the list instead of on the end.
- added permalink function for a readonly-sheet. This feature is only available for Patreons.
- added "Became a Patreon" Button to the header bar.
## 2.0.18
- fixed drag & drop.
......
RewriteEngine on
RewriteBase /projects/shadowrun/charactersheet/dist/
RewriteBase /
RewriteCond %{HTTP:Accept-Language} ^de [NC]
RewriteCond %{REQUEST_FILENAME} !-d
......
......@@ -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=1559046732349">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701427">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732349" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701427" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732358">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701445">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732358" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701445" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732360">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701448">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732360" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701448" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
define({
restUrl: "../../gearbox",
restUrl: "../gearbox",
autoFill: {
de: "../../gearbox/de/query",
en: "../../gearbox/en/query",
fr: "../../gearbox/fr/query"
de: "../gearbox/de/query",
en: "../gearbox/en/query",
fr: "../gearbox/fr/query"
},
langRedirector: {
enabled: false,
......
......@@ -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=1559046732519">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701612">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732519" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701612" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732521">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701702">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732521" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701702" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732523">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701703">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732523" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701703" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732526">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701715">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732526" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701715" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732527">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701721">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732527" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701721" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -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=1559046732529">
<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">
<link rel="stylesheet" href="resources/css/app.css?t=1576584701730">
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/projects/shadowrun/charactersheet/dist/resources/favicon/browserconfig.xml">
<meta name="msapplication-config" content="/charactersheet/resources/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<script type="text/javascript" src="resources/js/library/require.js?t=1559046732529" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1576584701730" 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">
......@@ -37,12 +37,15 @@
<div class="c-headerbar__line"><a class="o-sr-button o-sr-button--gray" data-module="modules/ToggleButton" data-function="toggleClass" data-target=".o-canvas__off-left,.o-canvas__page" data-value="o-canvas__off-left--active,o-canvas__page--with-off-left"><i class="fas fa-bars"></i><span>Navigation</span></a>
</div>
</div>
<div class="c-headerbar__paypal"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal"><div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
</div>
</nav>
......
......@@ -16,10 +16,10 @@ var argv = require('yargs').argv;
var _ = require('lodash');
var targetDirectory = 'dist';
var mode = 'development';
if (argv.production) {
mode = 'production';
}
var mode = 'production';
//var mode = 'development';
//if (argv.production) {
//}
// default gulp task
......@@ -114,7 +114,7 @@ gulp.task('pug-debug', function() {
})
.pipe(gdata(function (file) {
var jsPath = 'resources/js/app-min.js';
var faviconPath = "/projects/shadowrun/charactersheet/dist/resources/favicon/";
var faviconPath = "/charactersheet/dist/resources/favicon/";
if (mode === 'production') {
faviconPath = "/charactersheet/resources/favicon/";
......
RewriteEngine on
RewriteBase /projects/shadowrun/charactersheet/dist/
RewriteBase /
RewriteCond %{HTTP:Accept-Language} ^de [NC]
RewriteCond %{REQUEST_FILENAME} !-d
......
......@@ -31,43 +31,105 @@ define(["require"], function (require) {
application.subscribe('sheet:print', printSheet);
}
function autoLoad() {
var contentNode = document.querySelector('.c-page__container');
if (contentNode && application.localStorage.has(storageKey)) {
var encoded = application.localStorage.read(storageKey);
var version = application.localStorage.read('version');
var replacement = {
version: "",
encoded: "",
source: 'no autoload'
};
var basePath = application.getBasePath();
if (basePath) {
var config = application.getConfig();
replacement.source = 'readonly-sheet';
application.loadJson({
url: config.restUrl + '/sheet/view' + basePath,
method: "GET"
}, onFetchSheetComplete);
}
if (application.localStorage.has(storageKey) && replacement.source === 'no autoload') {
replacement.encoded = application.localStorage.read(storageKey);
replacement.version = application.localStorage.read('version');
replacement.source = 'autoload';
}
if (replacement.source === 'autoload') {
var data = application.characterSheet.fetch({
version: version,
sheet: encoded
version: replacement.version,
sheet: replacement.encoded
});
contentNode.innerHTML = data;
application.characterSheet.modify(contentNode, version);
renderSheet(data,replacement.version, replacement.source);
}
}
function renderSheet(data, version, source) {
var contentNode = document.querySelector('.c-page__container');
contentNode.innerHTML = data;
application.characterSheet.modify(contentNode, version, false);
if (source === 'readonly-sheet') {
contentNode.classList.add('c-page__container--readonly');
contentNode.classList.remove('c-page__container--edit');
var inputs = Array.from(contentNode.querySelectorAll('input'));
inputs.forEach(function(input) {
input.disabled = true;
});
document.body.classList.add('js-readonly');
} else {
application.registerModules(contentNode, application);
}
// set state of letterToggle
var page = contentNode.querySelector('.c-page');
var toggleButton = document.querySelector('.js-letter');
// set state of letterToggle
var page = contentNode.querySelector('.c-page');
var toggleButton = document.querySelector('.js-letter');
if (application.getLanguage() === 'en') {
if (page && page.classList.contains('c-page--a4') && toggleButton.classList.contains('c-toggleButton--disabled')) {
toggleButton.classList.remove('c-toggleButton--disabled');
}
} else {
if (page && page.classList.contains('c-page--letter') && toggleButton.classList.contains('c-toggleButton--disabled')) {
toggleButton.classList.remove('c-toggleButton--disabled');
}
if (application.getLanguage() === 'en') {
if (page && page.classList.contains('c-page--a4') && toggleButton.classList.contains('c-toggleButton--disabled')) {
toggleButton.classList.remove('c-toggleButton--disabled');
}
} else {
if (page && page.classList.contains('c-page--letter') && toggleButton.classList.contains('c-toggleButton--disabled')) {
toggleButton.classList.remove('c-toggleButton--disabled');
}
}
application.publish('application:update-tab-title');
application.publish('application:update-tab-title');
application.track({
eventCategory: 'autoaction',
eventAction: 'autoload',
eventLabel: version
application.track({
eventCategory: 'autoaction',
eventAction: source,
eventLabel: version
});
}
function onFetchSheetComplete(returnData) {
var msg = {
text: application.translate("msgError"),
level: 'success',
autoClose: true
};
if (returnData.result === 'success') {
var data = false;
data = application.characterSheet.fetch({
version: returnData.sheet.version,
sheet: returnData.sheet.content
});
renderSheet(data, returnData.sheet.version, 'readonly-sheet');
msg = {
text: application.translate("msgLoaded"),
level: 'success',
autoClose: true
};
application.publish('logger:success', msg);
application.publish('header-form:update-slug', returnData.slug);
} else {
application.publish('logger:error', msg);
}
}
......
......@@ -141,7 +141,8 @@ define(["require"], function (require) {
// is called after the content is added to the pageContainer, but before the modules are registered
// You can now modify the content on DOM level. Which is sometimes easier than on string level.
function modify(pageContainer, version) {
function modify(pageContainer, version, persist) {
var persist = persist || true;
if (version === '2.0' || version === null) {
var pageMoveBtns = pageContainer.querySelectorAll('.js-move-page-up, .js-move-page-down');
if (pageMoveBtns.length === 0) {
......@@ -247,10 +248,13 @@ define(["require"], function (require) {
}
version = sheetVersion;
}
// sheet now matches current version as specified in var sheetVersion.
// persist modified character-sheet with current version
application.localStorage.write('version', sheetVersion);
save();
if (persist === true) {
// sheet now matches current version as specified in var sheetVersion.
// persist modified character-sheet with current version
application.localStorage.write('version', sheetVersion);
save();
}
}
function save() {
......
......@@ -17,11 +17,14 @@ define(["require"], function (require) {
function loadJson(request, callback) {
var xhr = new XMLHttpRequest();
cb = callback;
var localCb = callback;
xhr.addEventListener("loadstart", xhrStarted);
xhr.addEventListener("progress", updateLoadingBar);
xhr.addEventListener("load", xhrDone);
xhr.addEventListener("load", function() {
var data = xhrDone(this);// this is the response in this context
localCb(data);
});
xhr.addEventListener("error", xhrError);
xhr.addEventListener("abort", xhrAborted);
xhr.addEventListener("timeout", xhrTimedout);
......@@ -70,21 +73,23 @@ define(["require"], function (require) {
}
}
function xhrDone() {
switch(this.status) {
function xhrDone(response) {
switch(response.status) {
case 200:
var data = JSON.parse(this.responseText);
cb(data);
var data = JSON.parse(response.responseText);
application.publish("loadingbar:complete");
return data;
case 402:
processError({status: 402, statusText: application.translate('msgPatreonRequired')}, 'info', true);
break;
case 404:
processError(this, 'error');
processError(response, 'error');
break;
case 500:
processError(this, 'info');
processError(response, 'info');
break;
default:
processError(this, 'debug');
processError(response, 'debug');
break;
}
}
......
......@@ -81,7 +81,7 @@ define(["require"], function (require) {
// create message element
var errorMsg = document.createElement('div');
errorMsg.className = "o-message o-message--" + level;
errorMsg.innerHTML = errorObject.text + '<span class="o-message__closeButton"><i class="fa fa-2x fa-times-circle-o"></i></span>';
errorMsg.innerHTML = errorObject.text + '<span class="o-message__closeButton"><i class="far fa-2x fa-times-circle"></i></span>';
// bind closeBtn of message
var closeBtn = errorMsg.querySelector('.o-message__closeButton');
......
......@@ -18,12 +18,15 @@ define(["require"], function (require) {
function onInit() {
application.subscribe('header-form:update', updateForm, {}, this);
application.subscribe('header-form:update-slug', updateSlug, {}, this);
var inputs = this.node.querySelectorAll('input');
inputs.forEach(function(input){
data[input.name] = input.value;
input.addEventListener('change', updateData);
});
application.publish('header-form:update:' + this.node.dataset.moduleid);
}
function updateData(event) {
......@@ -44,6 +47,25 @@ define(["require"], function (require) {
var input = domNode.querySelector(selector);
input.value = data[input.name];
});
var slug = application.slugify(data.char + "-" + data.player);
var headerLink = domNode.querySelector('.c-charactersheet__header-link');
if (headerLink.dataset.slug){
slug = headerLink.dataset.slug;
}
headerLink.href = "https://www.shadowrun5.net/" + slug;
headerLink.innerHTML = "https://www.shadowrun5.net/" + slug;
}
function updateSlug(slug) {
var headerLinks = Array.from(document.querySelectorAll('.c-charactersheet__header-link'));
headerLinks.forEach(function(headerLink) {
headerLink.href = "https://www.shadowrun5.net/" + slug;
headerLink.innerHTML = "https://www.shadowrun5.net/" + slug;
headerLink.dataset.slug = slug;
});
}
HeaderForm.prototype = {
......
......@@ -71,6 +71,7 @@ define(["require"], function (require) {
autoClose: true
};
application.publish('logger:success', msg);
application.publish('header-form:update-slug', returnData.slug);
} else {
application.publish('logger:error', msg);
}
......
......@@ -64,6 +64,7 @@ define(["require"], function (require) {
};
application.publish('logger:success', msg);
application.publish('application:tracking', 'sheet-saved');
application.publish('header-form:update-slug', returnData.slug);
} else {
application.publish('logger:error', msg);
}
......
......@@ -4,6 +4,7 @@
"msgLoaded": "Daten geladen.",
"msgDeleted": "Daten gelöscht.",
"msgError": "Es ist ein Fehler aufgetreten!",
"msgPatreonRequired": "Diese Funktion steht dir nur als Patreon zur Verfügung.",
"email:isEmpty": "Bitte gib eine Emailadresse ein.",
"name:isEmpty": "Bitte gib einen Namen ein.",
"password:isEmpty": "Bitte gib ein Passwort ein.",
......
......@@ -4,6 +4,7 @@
"msgLoaded": "Data loaded.",
"msgDeleted": "Data deleted.",
"msgError": "There was an error!",
"msgPatreonRequired": "This feature is only available for Patreons.",
"email:isEmpty": "Please provide an email address.",
"name:isEmpty": "Please provide a name.",
"password:isEmpty": "Please provide a password.",
......
......@@ -4,6 +4,7 @@
"msgLoaded": "Chargement terminé.",
"msgDeleted": "Suppression effectuée.",
"msgError": "Il y a une erreur !",
"msgPatreonRequired": "Cette fonction n'est disponible que pour vous en tant que Patreon.",
"email:isEmpty": "S'il vous plait donnez une adresse e-mail.",
"name:isEmpty": "S'il vous plait donnez un nom.",
"password:isEmpty": "S'il vous plait donnez un mot de passe.",
......
......@@ -121,7 +121,7 @@
'helper/Autosave',
'helper/JsonLoader',
'helper/ResetPageZoom',
'helper/Dom',
'helper/Url',
'helper/LangRedirector',
......
.c-patreon-button {
background-image: url(../img/become_a_patron_button@2x.png);
background-size: contain;
background-repeat: no-repeat;
height: 51px;
width: 217px;
display: inline-block;
......
@import "utilities.less";
@import "hacks.less";
@import "position.less";
@import "readonly.less";
\ No newline at end of file
.js-readonly {
.c-headerbar {
height: 70px;
}
.c-headerbar__button-functions,
.c-headerbar__button-edit,
.c-headerbar__button-play,
.c-headerbar__button-help,
.c-headerbar__button-lang,
.c-headerbar__button-print,
.c-headerbar__button-importexport,
.c-headerbar__button-settings,
.c-headerbar__slogan{
display: none;
}
.o-canvas__off-right {
display: none !important;
}
}
\ No newline at end of file
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<div class="c-headerbar__paypal">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="VXHGEN8YA8YCC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
<a class="c-patreon-button" style="display: inline" href="https://www.patreon.com/bePatron?u=8915321" target="_blank">Become a Patron!</a>
</div>
......@@ -57,8 +57,7 @@ div.c-headerbar__actions.c-headerbar__actions--edit
"data-trigger": "modal:open",
"data-target": "#importExport"
})
div.c-headerbar__paypal
include:marked ../../markdown/paypal-buttononly.md
include:marked ../../markdown/paypal-buttononly.md
include ../modals/login.pug
include ../modals/register.pug
include ../modals/import-export.pug
......