add module preload for each page
This commit is contained in:
parent
7f7e17e8ee
commit
323129185b
@ -5,6 +5,8 @@
|
|||||||
<script src="scripts/account.js" type="module"></script>
|
<script src="scripts/account.js" type="module"></script>
|
||||||
<script src="modules/chart.js"></script>
|
<script src="modules/chart.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||||
|
<link rel="modulepreload" href="scripts/utils.js">
|
||||||
|
<link rel="modulepreload" href="scripts/dialog.js">
|
||||||
<style>
|
<style>
|
||||||
@media screen and (width >= 1264px){
|
@media screen and (width >= 1264px){
|
||||||
#resource-container {
|
#resource-container {
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
{{template "head" .}}
|
{{template "head" .}}
|
||||||
<script src="scripts/index.js" type="module"></script>
|
<script src="scripts/index.js" type="module"></script>
|
||||||
<script src="modules/wfa.js" type="module"></script>
|
<script src="modules/wfa.js" type="module"></script>
|
||||||
|
<link rel="modulepreload" href="scripts/utils.js">
|
||||||
|
<link rel="modulepreload" href="scripts/dialog.js">
|
||||||
|
<link rel="modulepreload" href="scripts/clientsync.js">
|
||||||
<style>
|
<style>
|
||||||
#instance-container > div {
|
#instance-container > div {
|
||||||
border-bottom: 1px solid white;
|
border-bottom: 1px solid white;
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
<script src="scripts/draggable.js" type="module"></script>
|
<script src="scripts/draggable.js" type="module"></script>
|
||||||
<script src="modules/Sortable.min.js"></script>
|
<script src="modules/Sortable.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
|
||||||
|
<link rel="modulepreload" href="scripts/utils.js">
|
||||||
|
<link rel="modulepreload" href="scripts/dialog.js">
|
||||||
<style>
|
<style>
|
||||||
.input-grid p, .input-grid div {
|
.input-grid p, .input-grid div {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
<head>
|
<head>
|
||||||
{{template "head" .}}
|
{{template "head" .}}
|
||||||
<script src="scripts/login.js" type="module"></script>
|
<script src="scripts/login.js" type="module"></script>
|
||||||
|
<link rel="modulepreload" href="scripts/utils.js">
|
||||||
|
<link rel="modulepreload" href="scripts/dialog.js">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
{{template "head" .}}
|
{{template "head" .}}
|
||||||
<script src="scripts/settings.js" type="module"></script>
|
<script src="scripts/settings.js" type="module"></script>
|
||||||
|
<link rel="modulepreload" href="scripts/utils.js">
|
||||||
<style>
|
<style>
|
||||||
legend {
|
legend {
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user