Add favicon to WebGoat/WebWolf

This commit is contained in:
Nanne Baars 2021-10-31 20:44:21 +01:00 committed by Nanne Baars
parent c7e04cef97
commit 22af35a9a7
8 changed files with 6 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -2,6 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head> <head>
<title th:text="#{login.page.title}">Login Page</title> <title th:text="#{login.page.title}">Login Page</title>
<link rel="shortcut icon" th:href="@{/css/img/favicon.ico}" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/main.css}"/> <link rel="stylesheet" type="text/css" th:href="@{/css/main.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/plugins/bootstrap/css/bootstrap.min.css}"/> <link rel="stylesheet" type="text/css" th:href="@{/plugins/bootstrap/css/bootstrap.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/font-awesome.min.css}"/> <link rel="stylesheet" type="text/css" th:href="@{/css/font-awesome.min.css}"/>

View File

@ -8,7 +8,7 @@
<meta http-equiv="Cache-Control" CONTENT="no-store"/> <meta http-equiv="Cache-Control" CONTENT="no-store"/>
<!-- CSS --> <!-- CSS -->
<link rel="shortcut icon" th:href="@{/images/favicon.ico}" type="image/x-icon"/> <link rel="shortcut icon" th:href="@{/css/img/favicon.ico}" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/main.css}"/> <link rel="stylesheet" type="text/css" th:href="@{/css/main.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/plugins/bootstrap/css/bootstrap.min.css}"/> <link rel="stylesheet" type="text/css" th:href="@{/plugins/bootstrap/css/bootstrap.min.css}"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -6,11 +6,8 @@
<div th:fragment="footer"> <div th:fragment="footer">
<div class="container"> <div class="container">
<footer> <footer>
© 2020 WebGoat - Use WebWolf at your own risk © 2021 WebGoat - Use WebWolf at your own risk
<script type="text/javascript"
src="webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</footer> </footer>
</div> </div>

View File

@ -2,9 +2,7 @@
<head> <head>
<title>WebWolf</title> <title>WebWolf</title>
<div th:fragment="header-css"> <div th:fragment="header-css">
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css" href="/webjars/bootstrap/3.3.7/css/bootstrap.min.css"/>
href="/webjars/bootstrap/3.3.7/css/bootstrap.min.css"/>
<!--<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"/>-->
<link rel="stylesheet" th:href="@{/css/main.css}"/> <link rel="stylesheet" th:href="@{/css/main.css}"/>
<script src="/webjars/jquery/3.5.1/jquery.min.js"></script> <script src="/webjars/jquery/3.5.1/jquery.min.js"></script>
<script src="/webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script src="/webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>

View File

@ -1,6 +1,7 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"> <html xmlns:th="http://www.thymeleaf.org">
<head> <head>
<link rel="icon" href="/css/img/favicon.ico"/>
<div th:replace="fragments/header :: header-css"/> <div th:replace="fragments/header :: header-css"/>
</head> </head>
<body> <body>

View File

@ -3,6 +3,7 @@
> >
<head> <head>
<title>WebWolf</title> <title>WebWolf</title>
<link rel="icon" href="/css/img/favicon.ico"/>
<div th:replace="fragments/header :: header-css"/> <div th:replace="fragments/header :: header-css"/>
</head> </head>
<body> <body>