Commit 1aa7922e by Dirk Benkert

added new box "Journal"

close #191
parent f011f8d5
......@@ -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=1543303471985">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187205">
<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=1543303471985" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187205" 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=1543303471993">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187213">
<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=1543303471993" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187213" 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=1543303471995">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187215">
<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=1543303471995" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187215" 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">
......
......@@ -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=1543303472274">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187399">
<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=1543303472274" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187399" 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=1543303472275">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187401">
<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=1543303472275" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187401" 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=1543303472277">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187403">
<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=1543303472277" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187403" 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=1543303472279">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187405">
<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=1543303472279" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187405" 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=1543303472280">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187407">
<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=1543303472280" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187407" 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=1543303472283">
<link rel="stylesheet" href="resources/css/app.css?t=1543305187409">
<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=1543303472283" data-main="resources/js/app-min.js"></script>
<script type="text/javascript" src="resources/js/library/require.js?t=1543305187409" 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">
......
include ../mixins/mixins.pug
include ../data/log.pug
+getBox('log', labels.logHeadline, columns, true, true, true)
\ No newline at end of file
-
var columns = [
{
"label": labels.logDate,
"size": "medium"
},
{
"label": labels.logAmount,
"size": "small",
"editable": true
},
{
"label": labels.logNotes,
"size": "large"
}
]
\ No newline at end of file
......@@ -476,5 +476,9 @@
"rowformatterBackground":"Hintergrundfarbe",
"rowformatterMoveUp":"nach oben verschieben",
"rowformatterAddBelow":"darunter einfügen",
"rowformatterClear":"leeren"
"rowformatterClear":"leeren",
"logHeadline": "Protokoll",
"logDate": "Datum",
"logAmount": "Karma/Nuyen",
"logNotes": "Anmerkungen"
}
\ No newline at end of file
......@@ -474,5 +474,9 @@
"rowformatterBackground":"background color",
"rowformatterMoveUp":"move up",
"rowformatterAddBelow":"add below",
"rowformatterClear":"clear"
"rowformatterClear":"clear",
"logHeadline": "Journal",
"logDate": "Date",
"logAmount": "Karma/Nuyen",
"logNotes": "Notes"
}
\ No newline at end of file
......@@ -475,5 +475,9 @@
"rowformatterBackground":"Couleur de fond",
"rowformatterMoveUp":"vers le haut",
"rowformatterAddBelow":"ajouter après",
"rowformatterClear":"pure"
"rowformatterClear":"pure",
"logHeadline": "Journal",
"logDate": "Date",
"logAmount": "Karma/Nuyen",
"logNotes": "Remarques"
}
\ No newline at end of file
......@@ -58,10 +58,23 @@ mixin getLabel(item)
- classes.push(item.class)
if (item.removeable === true)
- classes.push('js-removeable')
if(item.tooltip)
label(class=classes, data-module="modules/Tooltip", data-title=item.tooltip, data-placement="bottom")=item.label
else
label(class=classes)=item.label
-
var attribs = {
"class": classes
}
if (item.editable === true) {
attribs.contenteditable = "true"
item.label = " " + item.label
}
if(item.tooltip) {
attribs['data-module'] = "modules/Tooltip"
attribs['data-title'] = item.tooltip
attribs['data-placement'] = "bottom"
}
label()&attributes(attribs)=item.label
mixin getInput(item)
- var classes = ["o-box__column-"+item.size]
......
......@@ -12,6 +12,7 @@ div.o-toolbox(data-module="modules/BoxFilter")
p.o-toolbox__hint=labels.filterHint
div.o-toolbox__boxes.c-box-container(data-filter=".o-box")
include ../../boxes/alchemical-product.pug
include ../../boxes/log.pug
include ../../boxes/adept-powers.pug
include ../../boxes/ammo.pug
include ../../boxes/ammo-alt.pug
......
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