Commit 0a5f0706 by Dirk Benkert

fixed a lot of minor issues.

parent ed9ac838
......@@ -4,7 +4,14 @@
- 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.
## 2.0.16
- added background image for the sheets. Thanks to ciro faienza for the inspiration and help.
......
......@@ -5,7 +5,7 @@
<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=1547391343740">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475414">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391343740" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475414" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391343750">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475423">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391343750" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475423" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391343753">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475426">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391343753" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475426" 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">
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,7 +5,7 @@
<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=1547391344062">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475597">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391344062" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475597" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391344065">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475645">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391344065" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475645" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391344068">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475647">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391344068" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475647" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391344070">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475649">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391344070" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475649" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391344072">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475651">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391344072" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475651" 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">
......
......@@ -5,7 +5,7 @@
<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=1547391344074">
<link rel="stylesheet" href="resources/css/app.css?t=1548758475652">
<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">
......@@ -15,7 +15,7 @@
<meta name="msapplication-TileColor" content="#da532c">
<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=1547391344074" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1548758475652" 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">
......
......@@ -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.
......@@ -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);
}
......
......@@ -14,6 +14,7 @@ select {
-moz-appearance: none;
-webkit-border-radius: 0px;
}
// show icon when edit mode is active
.c-page__container--edit {
select {
......@@ -21,4 +22,8 @@ select {
background-position: right 1px center;
background-size: 1em;
}
}
textarea {
background: transparent;
}
\ No newline at end of file
......@@ -68,4 +68,14 @@
background-size: 1em;
}
}
}
@media print {
.c-page__container--edit {
.o-selectbox {
input {
background: none;
}
}
}
}
\ No newline at end of file
......@@ -30,6 +30,13 @@
height: auto;
}
.o-box--fullpage {
.c-portrait-preview {
width: @box-full-width - 12px;
height: auto;
}
}
// default dont have edit elemens visible
.c-page__container {
.c-portrait-file, .c-portrait-description, .c-portrait-remove {
......
......@@ -2,7 +2,7 @@ include ../mixins/mixins.pug
include ../mixins/checkbox.pug
if (!boxsize)
- boxsize = 'o-box--halfpage'
div.o-box(class=boxsize, draggable="true",data-module="modules/Box" data-box="comlink")
div.o-box(class=boxsize, draggable="true", data-module="modules/Box" data-box="comlink")
div.o-box__body(data-minrows="4", data-module="modules/Cyberdeck")
+boxtools(true)
h2.o-box__header(contenteditable="true")= " "+labels.comlink
......@@ -19,12 +19,12 @@ div.o-box(class=boxsize, draggable="true",data-module="modules/Box" data-box="co
input.o-box__column-xsmall(type="text", data-autofill-field="dataprocessing")
label= labels.firewall
input.o-box__column-xsmall(type="text", data-autofill-field="firewall")
div.o-box__form-row.o-box__form-row--with-space.js-removeable(data-module="modules/Tooltip", data-title=labels.removeRowText, data-placement="right")
label= labels.notes
div.o-box__form-row.o-box__form-row--with-space.js-row-notes
label.js-remove-notes(data-module="modules/Tooltip", data-title=labels.removeRowText, data-placement="right")= labels.notes
input.o-box__column-large(type="text")
- rows = 0
while rows < 2
div.o-box__form-row.o-box__form-row--with-space.js-removeable(data-module="modules/Tooltip", data-title=labels.removeRowText, data-placement="right")
div.o-box__form-row.o-box__form-row--with-space.js-row-notes
input.o-box__column-large(type="text")
- rows++
div.c-matrix-monitor
......
......@@ -9,6 +9,7 @@ div.o-box(class=boxsize, draggable="true", data-module="modules/Box", data-box="
div.o-box__form-row.o-box__form-row--with-border.o-box__form-row--with-space
label.o-box__column-large= labels.language
label.o-box__column-small= " "
label.o-box__column-xsmall= labels.levelShort
label.o-box__column-xsmall= labels.pool
- rows = 0
while rows < 2
......@@ -17,5 +18,6 @@ div.o-box(class=boxsize, draggable="true", data-module="modules/Box", data-box="
input.o-box__column-large(type="text")
+printselect('small', [labels.languageLearned, labels.languageNative, labels.languageSkillsoft])
input.o-box__column-xsmall(type="text")
input.o-box__column-xsmall(type="text")
- rows++
- boxsize = null
\ No newline at end of file
......@@ -4,7 +4,7 @@ if (!boxsize)
div.o-box(class=boxsize, draggable="true", data-module="modules/Box", data-box="lifestyle")
div.o-box__body(data-minrows="4")
+boxtools(true)
h2.o-box__header= " "+ labels.idsLivestyleMoney
h2.o-box__header(contenteditable="true")= " "+ labels.idsLivestyleMoney
div.o-box__inner
div.o-box__form-row.o-box__form-row--with-space
label.o-box__column-small= labels.primaryLifestyle
......
......@@ -13,7 +13,7 @@
"size": "large"
},
{
"label": labels.es,
"label": labels.essenceMedium,
"size": "xsmall"
}
]
\ No newline at end of file
......@@ -134,7 +134,7 @@
"nartaki": "Nartaki",
"ethnicity": "Ethnie",
"m": "m",
"f": "f",
"f": "w",
"orc": "Ork",
"hobgoblin": "Hobgoblin",
"ogre": "Oger",
......@@ -455,8 +455,6 @@
"spriteWillpowerTitle": "Willenskraft",
"spriteWillpower": "Wk",
"spriteType": "Sprite-Typ",
"spriteSkills": "Fertigkeiten",
"spritePowers": "Kräfte",
"spiritBox": "Geist",
"spiritRating": "Stufe",
"spiritIni": "Initiative / Astral",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment