ui: add hint on problem_files page

This commit is contained in:
undefined committed 2021-10-15 00:17:54 +08:00
1 parent de375f74c7
commit 8b9ff434e2
10 files changed
+157 -148

No files matched your search

+2 -2
View File
@@ -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>
`;
};