mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
进一步的网页国际化支持
This commit is contained in:
@@ -51,14 +51,15 @@ html(lang="en")
|
||||
link(rel="stylesheet" href=`${css_dir}/${name}.css`)
|
||||
link(rel="stylesheet" href=`${css_dir}/user.css`)
|
||||
|
||||
script(src=`${js_dir}/i18n/jquery-3.7.1.min.js`)
|
||||
script(src=`${js_dir}/i18n/jquery.i18n.min.js`)
|
||||
script(src=`${js_dir}/i18n/i18n.js`)
|
||||
|
||||
if main_js
|
||||
script(type="module")
|
||||
| import {main} from "#{js_dir}/#{main_js}.js";
|
||||
| main();
|
||||
|
||||
script(src=`${js_dir}/i18n/jquery-3.7.1.min.js`)
|
||||
script(src=`${js_dir}/i18n/jquery.i18n.min.js`)
|
||||
script(src=`${js_dir}/i18n/i18n.js`)
|
||||
|
||||
body(class=body_class)
|
||||
block body
|
||||
|
||||
Reference in New Issue
Block a user