From e53d80d9fa3b1d770812e84f9c305ca4ee4e009e Mon Sep 17 00:00:00 2001 From: danda Date: Thu, 9 May 2024 14:34:02 -0700 Subject: [PATCH] chore: move src/web --> templates/web --- src/main.rs | 2 +- templates/web | 1 - {src => templates}/web/css/styles.css | 0 {src => templates}/web/html/components/header.html | 0 {src => templates}/web/html/page/block_info.html | 0 {src => templates}/web/html/page/root.html | 0 {src => templates}/web/html/page/utxo.html | 0 7 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 templates/web rename {src => templates}/web/css/styles.css (100%) rename {src => templates}/web/html/components/header.html (100%) rename {src => templates}/web/html/page/block_info.html (100%) rename {src => templates}/web/html/page/root.html (100%) rename {src => templates}/web/html/page/utxo.html (100%) diff --git a/src/main.rs b/src/main.rs index 2703fcd..bdf6028 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,7 @@ async fn main() -> Result<(), RpcError> { "/css/styles.css", ServeFile::new(concat!( env!("CARGO_MANIFEST_DIR"), - "/src/web/css/styles.css" + "/templates/web/css/styles.css" )), ) // add state diff --git a/templates/web b/templates/web deleted file mode 120000 index d90a754..0000000 --- a/templates/web +++ /dev/null @@ -1 +0,0 @@ -../src/web \ No newline at end of file diff --git a/src/web/css/styles.css b/templates/web/css/styles.css similarity index 100% rename from src/web/css/styles.css rename to templates/web/css/styles.css diff --git a/src/web/html/components/header.html b/templates/web/html/components/header.html similarity index 100% rename from src/web/html/components/header.html rename to templates/web/html/components/header.html diff --git a/src/web/html/page/block_info.html b/templates/web/html/page/block_info.html similarity index 100% rename from src/web/html/page/block_info.html rename to templates/web/html/page/block_info.html diff --git a/src/web/html/page/root.html b/templates/web/html/page/root.html similarity index 100% rename from src/web/html/page/root.html rename to templates/web/html/page/root.html diff --git a/src/web/html/page/utxo.html b/templates/web/html/page/utxo.html similarity index 100% rename from src/web/html/page/utxo.html rename to templates/web/html/page/utxo.html