Skip to content

Commit

Permalink
Merge pull request #59 from viadee/fix-bootstrap
Browse files Browse the repository at this point in the history
fix breaking bootstrap paths
  • Loading branch information
MaxStroh authored Oct 23, 2023
2 parents 09802e4 + 3e40515 commit 318d42c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ This demo app uses spring boot and a h2-database as technologies.

Then browse to `http://localhost:8080`

Or build and run with maven locally:

```shell
mvn spring-boot:run
```

## Building

This is a simple maven project. Just run `maven package`.
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@
<artifactId>bootstrap</artifactId>
<version>5.2.3</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator-core</artifactId>
<version>0.54</version>
</dependency>
</dependencies>

<build>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<footer>

<script type="text/javascript"
src="webjars/bootstrap/5.1.3/js/bootstrap.min.js"></script>
src="webjars/bootstrap/js/bootstrap.min.js"></script>

</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div th:fragment="header-css">
<!-- this is header-css -->
<link rel="stylesheet" type="text/css"
href="webjars/bootstrap/5.1.3/css/bootstrap.min.css" />
href="webjars/bootstrap/css/bootstrap.min.css" />
<title>K8s Test App</title>
</div>
</head>
Expand Down

0 comments on commit 318d42c

Please sign in to comment.