Skip to content

Commit

Permalink
quick cache fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Frooodle committed May 19, 2024
1 parent 0dd91f2 commit 2443ed2
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 30 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
import com.github.jk1.license.render.*

group = 'stirling.software'
version = '0.24.0'
version = '0.24.1'

//17 is lowest but we support and recommend 21
sourceCompatibility = '17'
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/static/images/file-earmark-pdf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 26 additions & 26 deletions src/main/resources/templates/fragments/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,36 +41,36 @@
<script src="js/thirdParty/pdf-lib.min.js"></script>

<!-- Custom -->
<link rel="stylesheet" href="css/general.css">
<link rel="stylesheet" th:href="@{css/theme/theme.css}">
<link rel="stylesheet" th:href="@{css/theme/componentes.css}">
<link rel="stylesheet" th:href="@{css/theme/theme.light.css}" id="light-mode-styles">
<link rel="stylesheet" th:href="@{css/theme/theme.dark.css}" id="dark-mode-styles">
<link rel="stylesheet" th:href="@{css/rainbow-mode.css}" id="rainbow-mode-styles" disabled>
<link rel="stylesheet" href="css/tab-container.css">
<link rel="stylesheet" href="css/navbar.css">

<link rel="stylesheet" th:href="@{/css/error.css}" th:if="${error}">

<link rel="stylesheet" href="css/home.css" th:if="${currentPage == 'home'}">
<link rel="stylesheet" href="css/account.css" th:if="${currentPage == 'account'}">
<link rel="stylesheet" href="css/licenses.css" th:if="${currentPage == 'licenses'}">
<link rel="stylesheet" href="css/multi-tool.css" th:if="${currentPage == 'multi-tool'}">
<link rel="stylesheet" href="css/rotate-pdf.css" th:if="${currentPage == 'rotate-pdf'}">
<link rel="stylesheet" href="css/stamp.css" th:if="${currentPage == 'stamp'}">
<link rel="stylesheet" href="css/fileSelect.css">
<link rel="stylesheet" href="css/footer.css">
<link rel="stylesheet" href="css/general.css?v=2">
<link rel="stylesheet" th:href="@{css/theme/theme.css?v=2}">
<link rel="stylesheet" th:href="@{css/theme/componentes.css?v=2}">
<link rel="stylesheet" th:href="@{css/theme/theme.light.css?v=2}" id="light-mode-styles">
<link rel="stylesheet" th:href="@{css/theme/theme.dark.css?v=2}" id="dark-mode-styles">
<link rel="stylesheet" th:href="@{css/rainbow-mode.css?v=2}" id="rainbow-mode-styles" disabled>
<link rel="stylesheet" href="css/tab-container.css?v=2">
<link rel="stylesheet" href="css/navbar.css?v=2">

<link rel="stylesheet" th:href="@{/css/error.css?v=2}" th:if="${error}">

<link rel="stylesheet" href="css/home.css?v=2" th:if="${currentPage == 'home'}">
<link rel="stylesheet" href="css/account.css?v=2" th:if="${currentPage == 'account'}">
<link rel="stylesheet" href="css/licenses.css?v=2" th:if="${currentPage == 'licenses'}">
<link rel="stylesheet" href="css/multi-tool.css?v=2" th:if="${currentPage == 'multi-tool'}">
<link rel="stylesheet" href="css/rotate-pdf.css?v=2" th:if="${currentPage == 'rotate-pdf'}">
<link rel="stylesheet" href="css/stamp.css?v=2" th:if="${currentPage == 'stamp'}">
<link rel="stylesheet" href="css/fileSelect.css?v=2">
<link rel="stylesheet" href="css/footer.css?v=2">
<script src="js/thirdParty/fontfaceobserver.standalone.js"></script>

<!-- Google MD Icons -->
<link rel="stylesheet" href="css/theme/font.css">

<!-- Help Modal -->
<link rel="stylesheet" href="css/errorBanner.css">
<link rel="stylesheet" href="css/errorBanner.css?v=2">

<script src="js/cacheFormInputs.js"></script>
<script src="js/tab-container.js"></script>
<script src="js/darkmode.js"></script>
<script src="js/cacheFormInputs.js?v=2"></script>
<script src="js/tab-container.js?v=2"></script>
<script src="js/darkmode.js?v=2"></script>
</th:block>

<th:block th:fragment="game">
Expand Down Expand Up @@ -140,7 +140,7 @@
<div id="level">Level: 1</div>
<img src="favicon.svg" class="player" id="player" alt="favicon">
</div>
<link rel="stylesheet" href="css/game.css">
<link rel="stylesheet" href="css/game.css?v=2">
</dialog>
</th:block>

Expand All @@ -150,7 +150,7 @@
const multiple = [[${multiple}]] || false;
const remoteCall = [[${remoteCall}]] || true;
</script>
<script src="js/downloader.js"></script>
<script src="js/downloader.js?v=2"></script>

<div class="custom-file-chooser" th:attr="data-bs-unique-id=${name}, data-bs-element-id=${name+'-input'}, data-bs-files-selected=#{filesSelected}, data-bs-pdf-prompt=#{pdfPrompt}">
<div class="mb-3">
Expand All @@ -166,5 +166,5 @@
</div>
</div>
</div>
<script src="js/fileInput.js"></script>
<script src="js/fileInput.js?v=2"></script>
</th:block>
2 changes: 1 addition & 1 deletion src/main/resources/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html th:lang="${#locale.language}" th:dir="#{language.direction}" th:data-language="${#locale.toString()}" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block th:insert="~{fragments/common :: head(title=#{login.title}, header=#{login.header})}"></th:block>
<link rel="stylesheet" href="css/login.css">
<link rel="stylesheet" href="css/login.css?v=2">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/sign.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html th:lang="${#locale.language}" th:dir="#{language.direction}" th:data-language="${#locale.toString()}" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block th:insert="~{fragments/common :: head(title=#{sign.title}, header=#{sign.header})}"></th:block>
<link rel="stylesheet" href="css/sign.css">
<link rel="stylesheet" href="css/sign.css?v=2">
<th:block th:each="font : ${fonts}">
<style th:inline="text">
@font-face {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/split-pdf-by-sections.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html th:lang="${#locale.language}" th:dir="#{language.direction}" th:data-language="${#locale.toString()}" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block th:insert="~{fragments/common :: head(title=#{split-by-sections.title}, header=#{split-by-sections.header})}"></th:block>
<link rel="stylesheet" href="css/split-pdf-by-sections.css">
<link rel="stylesheet" href="css/split-pdf-by-sections.css?v=2">
</head>

<body>
Expand Down

0 comments on commit 2443ed2

Please sign in to comment.