You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/resources/views/venix/user/layout_plain_header.tpl

29 lines
1.3 KiB
Smarty

<!DOCTYPE html>
<html lang="zh-CN">
{include file='user/layout_assets.tpl'}
{assign var=vu_page_title value=$vu_title|default:''}
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#f7fafc">
<title>{if $vu_page_title != ''}{$vu_page_title|escape:"html"} | {/if}{$config["appName"]|escape:"html"}</title>
<script>
(function () {
var stored = {};
try {
stored = JSON.parse(localStorage.getItem("__CONFIG__") || "{}");
} catch (error) {
stored = {};
}
var preferred = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
document.documentElement.setAttribute("data-bs-theme", stored.theme || preferred);
})();
</script>
<link rel="shortcut icon" href="/theme/venix/images/favicon.ico" type="image/x-icon">
<link href="{$cdn}/theme/venix/css/icons.min.css?v={$vu_asset_version}" rel="stylesheet">
<link href="/cloud/styles.css?v={$vu_asset_version}" rel="stylesheet">
<link href="/cloud/account.css?v={$vu_asset_version}" rel="stylesheet">
</head>
<body class="vu-body">