minor tweaks
This commit is contained in:
parent
117fe87282
commit
457732ae03
|
@ -96,6 +96,10 @@ a {
|
|||
color: var(--active-color);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
filter: brightness(80%);
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: var(--active-color);
|
||||
}
|
||||
|
|
|
@ -302,4 +302,4 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
}
|
||||
});
|
||||
</script>
|
||||
%= javascript '/js/lufi-upload.js', type => 'module'
|
||||
%= javascript '/js/lufi-upload.js', type => 'module', defer => "true"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
<link rel="apple-touch-icon" sizes="152x152" href="<%= url_for('/img/lufi152.png') %>">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="128x128" href="<%= url_for('/img/lufi128.png') %>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preload" href="/css/lufi.css" as="style">
|
||||
<link rel="stylesheet" href="/css/lufi.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -62,6 +63,24 @@
|
|||
</header>
|
||||
|
||||
<main role="main">
|
||||
<%= content %>
|
||||
|
||||
% if (defined(config('piwik_img'))) {
|
||||
<img src="<%== config('piwik_img') %>" class="no_border" alt="" />
|
||||
% }
|
||||
</main>
|
||||
|
||||
<div class="toast-container"></div>
|
||||
|
||||
<template id="toast">
|
||||
<div class="toast">
|
||||
<div class="message"></div>
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script type="text/javascript">
|
||||
const langUrl = '<%= url_for('lang') %>';
|
||||
const prefix = '<%= substr(config('prefix'), 1) %>';
|
||||
|
@ -137,22 +156,5 @@
|
|||
document.getElementById("menu-language").onchange = (event) => window.location = langUrl + event.target.value;
|
||||
})
|
||||
</script>
|
||||
<%= content %>
|
||||
</main>
|
||||
|
||||
<div class="toast-container"></div>
|
||||
|
||||
<template id="toast">
|
||||
<div class="toast">
|
||||
<div class="message"></div>
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
% if (defined(config('piwik_img'))) {
|
||||
<img src="<%== config('piwik_img') %>" class="no_border" alt="" />
|
||||
% }
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue