diff --git a/src/web_ui.rs b/src/web_ui.rs index b3a3fcc..0518c52 100644 --- a/src/web_ui.rs +++ b/src/web_ui.rs @@ -341,6 +341,7 @@ fn show_warning(web_view: &mut WebView<()>, text: &str) { } } +#[allow(dead_code)] fn show_success(web_view: &mut WebView<()>, text: &str) { let str = text.replace('\'', "\\'"); match web_view.eval(&format!("showSuccess('{}');", &str)) { diff --git a/src/webview/index.html b/src/webview/index.html index 8247840..7fb4f71 100644 --- a/src/webview/index.html +++ b/src/webview/index.html @@ -5,20 +5,64 @@ ALFIS {styles} - {scripts}
+ +
+ +
+ -
- +
- +
@@ -31,13 +75,12 @@
-
- +