refactor: rename icon to logo
This commit is contained in:
parent
b96a26d2d0
commit
e578b56237
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
/target/
|
||||
|
||||
/icon.png
|
||||
/logo.png
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
inkscape -o icon.png -w 200 -h 200 -b white src/static/icon.svg
|
3
build_logo.sh
Normal file
3
build_logo.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
inkscape -o logo.png -w 200 -h 200 -b white src/static/logo.svg
|
@ -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)
|
||||
|
@ -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")]
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>WebLDAPPasswd</title>
|
||||
<link rel="stylesheet" href="webldappasswd.css">
|
||||
<link rel="icon" type="image/svg+xml" href="icon.svg">
|
||||
<link rel="icon" type="image/svg+xml" href="logo.svg">
|
||||
<script src="webldappasswd.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
Loading…
Reference in New Issue
Block a user