Skip to content

Commit

Permalink
enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
ParisNeo committed Jul 15, 2024
1 parent 36331a5 commit cd8f30b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@
max-width: 300px;
}
}
.refresh-button {
margin-top: 20px;
padding: 10px 20px;
background-color: #61dafb;
color: #1e1e1e;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.refresh-button:hover {
background-color: #4ca3d9;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -102,6 +115,7 @@ <h1>WebCraftorApps</h1>
</div>
</div>
</div>
<button class="refresh-button" onclick="forceRefresh()">Refresh Page</button>
<script>
function downloadFile(filePath) {
const link = document.createElement('a');
Expand All @@ -111,6 +125,9 @@ <h1>WebCraftorApps</h1>
link.click();
document.body.removeChild(link);
}
function forceRefresh() {
window.location.reload(true);
}
</script>
</body>
</html>

0 comments on commit cd8f30b

Please sign in to comment.