From a8407d51efe1238099f5e91a3e5b2e9f026c4bd4 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 5 Sep 2022 17:49:00 -0400 Subject: [PATCH] Add Edit link for recipes --- web/Cargo.toml | 1 + web/index.html | 6 +-- web/src/components/recipe.rs | 86 ++++++++++++++++++++++++++++++++++-- web/src/js_lib.rs | 29 ++++++++++++ web/src/lib.rs | 1 + web/src/service.rs | 26 ++++++++--- 6 files changed, 138 insertions(+), 11 deletions(-) create mode 100644 web/src/js_lib.rs diff --git a/web/Cargo.toml b/web/Cargo.toml index 4d49d97..565db65 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -38,6 +38,7 @@ features = [ "History", "HtmlAnchorElement", "HtmlBaseElement", + "HtmlDialogElement", "KeyboardEvent", "Location", "PopStateEvent", diff --git a/web/index.html b/web/index.html index 4d1bbee..19de9be 100644 --- a/web/index.html +++ b/web/index.html @@ -19,14 +19,14 @@ - - + +