mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add hint on problem_files page
This commit is contained in:
1 parent
de375f74c7
commit
8b9ff434e2
10 files changed
+157
-148
No files matched your search
@@ -13,10 +13,10 @@ export default function tpl(pieces, ...substitutions) {
|
||||
return result;
|
||||
}
|
||||
|
||||
tpl.typoMsg = function (msg) {
|
||||
tpl.typoMsg = function (msg, raw = false) {
|
||||
return tpl`
|
||||
<div class="typo">
|
||||
<p>${msg}</p>
|
||||
<p>${raw ? { html: msg, templateRaw: true } : msg}</p>
|
||||
</div>
|
||||
`;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user