diff --git a/.gitignore b/.gitignore index 262fd0d..6672530 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /target/ -/icon.png +/logo.png diff --git a/build_icon.sh b/build_icon.sh deleted file mode 100644 index 4bb0807..0000000 --- a/build_icon.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -inkscape -o icon.png -w 200 -h 200 -b white src/static/icon.svg diff --git a/build_logo.sh b/build_logo.sh new file mode 100644 index 0000000..665e084 --- /dev/null +++ b/build_logo.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +inkscape -o logo.png -w 200 -h 200 -b white src/static/logo.svg diff --git a/src/main.rs b/src/main.rs index a091aac..b8a5894 100644 --- a/src/main.rs +++ b/src/main.rs @@ -43,7 +43,7 @@ fn main() -> Result<()> { r#static::js, r#static::checkmark, r#static::cross, - r#static::icon, + r#static::logo, r#static::hourglass, api::update]) .manage(config) diff --git a/src/static.rs b/src/static.rs index 670b331..7931a62 100644 --- a/src/static.rs +++ b/src/static.rs @@ -32,9 +32,9 @@ pub fn hourglass() -> Svg<&'static str> { Svg(include_str!("static/hourglass.svg")) } -#[get("/icon.svg")] -pub fn icon() -> Svg<&'static str> { - Svg(include_str!("static/icon.svg")) +#[get("/logo.svg")] +pub fn logo() -> Svg<&'static str> { + Svg(include_str!("static/logo.svg")) } #[get("/legal.html")] diff --git a/src/static/index.html b/src/static/index.html index 630a6b9..8b4316d 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -4,7 +4,7 @@ WebLDAPPasswd - + diff --git a/src/static/icon.svg b/src/static/logo.svg similarity index 100% rename from src/static/icon.svg rename to src/static/logo.svg