Update dependencies, use local fonts
This commit is contained in:
parent
21974c0b22
commit
82619f02ec
Binary file not shown.
10
package.json
10
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "random-fo76",
|
"name": "random-fo76",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"description": "Random Fallout 76 record.",
|
"description": "Random Fallout 76 record.",
|
||||||
"author": "Felix W. Dekker",
|
"author": "Felix W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
@ -16,18 +16,18 @@
|
||||||
"deploy": "grunt deploy"
|
"deploy": "grunt deploy"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fwdekker/template": "^0.0.21"
|
"@fwdekker/template": "^0.0.24"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "^1.3.0",
|
"grunt": "^1.3.0",
|
||||||
"grunt-cli": "^1.3.2",
|
"grunt-cli": "^1.4.1",
|
||||||
"grunt-contrib-clean": "^2.0.0",
|
"grunt-contrib-clean": "^2.0.0",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-watch": "^1.1.0",
|
"grunt-contrib-watch": "^1.1.0",
|
||||||
"grunt-focus": "^1.0.0",
|
"grunt-focus": "^1.0.0",
|
||||||
"grunt-text-replace": "^0.4.0",
|
"grunt-text-replace": "^0.4.0",
|
||||||
"grunt-webpack": "^4.0.2",
|
"grunt-webpack": "^4.0.2",
|
||||||
"webpack": "^4.44.2",
|
"webpack": "^5.28.0",
|
||||||
"webpack-cli": "^3.3.12"
|
"webpack-cli": "^4.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,8 +44,7 @@ switch ($action) {
|
||||||
$stmt->bindValue($i + 1, $signature);
|
$stmt->bindValue($i + 1, $signature);
|
||||||
$results = $stmt->execute();
|
$results = $stmt->execute();
|
||||||
|
|
||||||
while ($row = $results->fetchArray(SQLITE3_ASSOC))
|
print(json_encode($results->fetchArray(SQLITE3_ASSOC)));
|
||||||
print(json_encode($row));
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
print("null");
|
print("null");
|
||||||
|
|
|
@ -10,8 +10,7 @@
|
||||||
|
|
||||||
<title>Random Fallout 76 record</title>
|
<title>Random Fallout 76 record</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
|
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto.css" crossorigin="anonymous" />
|
||||||
crossorigin="anonymous" />
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {$, doAfterLoad, footer, header, nav} from "@fwdekker/template";
|
import {$, doAfterLoad, footer, header, nav, showPage} from "@fwdekker/template";
|
||||||
|
|
||||||
|
|
||||||
const storageKey = "/tools/random-fo76//selected-signatures";
|
const storageKey = "/tools/random-fo76//selected-signatures";
|
||||||
|
@ -180,7 +180,7 @@ doAfterLoad(() => {
|
||||||
vcsURL: "https://git.fwdekker.com/FWDekker/random-fo76/",
|
vcsURL: "https://git.fwdekker.com/FWDekker/random-fo76/",
|
||||||
version: "v%%VERSION_NUMBER%%"
|
version: "v%%VERSION_NUMBER%%"
|
||||||
}));
|
}));
|
||||||
$("main").style.display = null;
|
showPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load page from API
|
// Load page from API
|
||||||
|
|
Loading…
Reference in New Issue