+
+
+
Toast
+
+
+
+
+
+
{{template "devtest/devtest-footer"}}
diff --git a/web_src/css/modules/message.css b/web_src/css/modules/message.css
index d7a6cb8aee..26f7af792f 100644
--- a/web_src/css/modules/message.css
+++ b/web_src/css/modules/message.css
@@ -12,6 +12,25 @@
border-radius: var(--border-radius);
}
+details.ui.message {
+ padding: 0;
+}
+
+details.ui.message summary {
+ padding: 1em 1.5em;
+}
+
+details.ui.message pre {
+ margin: -1.25em 0 0;
+ padding: 0.5em 1.5em;
+ white-space: pre-wrap;
+}
+
+details.ui.message:not(:has(pre)) summary {
+ list-style: none;
+ cursor: text;
+}
+
.ui.message:first-child {
margin-top: 0;
}
diff --git a/web_src/js/modules/devtest.ts b/web_src/js/modules/devtest.ts
index 7886ff9748..d96df89bae 100644
--- a/web_src/js/modules/devtest.ts
+++ b/web_src/js/modules/devtest.ts
@@ -4,6 +4,7 @@ import {registerGlobalInitFunc} from './observer.ts';
import {fomanticQuery} from './fomantic/base.ts';
import {createElementFromHTML} from '../utils/dom.ts';
import {html} from '../utils/html.ts';
+import {showGlobalErrorMessage} from './errors.ts';
type LevelMap = Record