refactor: rename icon to logo

This commit is contained in:
2021-02-27 14:39:40 +01:00
parent b96a26d2d0
commit e578b56237
7 changed files with 9 additions and 9 deletions

View File

@ -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)

View File

@ -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")]

View File

@ -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>

View File

Before

Width:  |  Height:  |  Size: 728 B

After

Width:  |  Height:  |  Size: 728 B