Add new dependencies and update file paths
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,92 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<html>
|
||||
<head>
|
||||
<link rel="icon" href="/public/assets/homelab_logo.png"/>
|
||||
<title>Temporary Network Error</title>
|
||||
<style>
|
||||
body {
|
||||
background-color: #313338;
|
||||
color: #ffffff;
|
||||
font-family: Arial, sans-serif;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width : 150px;
|
||||
height : 150px;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
font-size: 24px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.request-id {
|
||||
font-size: 18px;
|
||||
color: #ffffff;
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
.promotion {
|
||||
margin-top: 30px;
|
||||
font-size: 18px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.custom-btn {
|
||||
transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
|
||||
color: #007BFF;
|
||||
background-color: transparent;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
margin: 4px 2px;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.25);
|
||||
border: 2px solid #007BFF;
|
||||
}
|
||||
|
||||
.custom-btn:hover {
|
||||
transform: scale(1.15);
|
||||
background-color: #007BFF;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
<title>401 Authorization Required</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img class="logo" id="logo" src="../public/assets/homelab_logo.png">
|
||||
<div class="error-message">
|
||||
Temporary Network Error<br>
|
||||
You do not have permission to access the requested resource, or there is an error. Please try again later.
|
||||
</div>
|
||||
<div class="request-id">
|
||||
Request ID: <span id="request-id"></span>
|
||||
</div>
|
||||
<script>
|
||||
document.getElementById('request-id').textContent = Math.random().toString(16).slice(2);
|
||||
</script>
|
||||
<br><a class="custom-btn" href="#" target="_blank">Check out the Uptime Page</a>
|
||||
<div class="promotion">
|
||||
<p>The modern CDN for secure file transfer</p>
|
||||
<p>Power your project with our self-hosted CDN</p>
|
||||
<p>Experience exceptional performance and ultra-fast content distribution.</p><br>
|
||||
<a class="custom-btn" href="https://cdn-app.dinawo.fr" target="_blank">Learn more about our CDN</a><br>
|
||||
<p>Created by SwiftLogic Labs.</p>
|
||||
<a class="custom-btn" href="https://discord.gg/k6r96Tmtgx" target="_blank">Join our Discord Server</a>
|
||||
</div>
|
||||
<center><h1>401 Authorization Required</h1></center>
|
||||
<center id="request-id"></center>
|
||||
<hr>
|
||||
<center>
|
||||
<a href="https://discord.gg/k6r96Tmtgx" target="_blank">SwiftLogic Labs</a>
|
||||
</center>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -90,11 +90,12 @@
|
||||
<tbody>
|
||||
<% files.forEach(file => { %>
|
||||
<tr data-extension="<%= file.extension %>" data-type="<%= file.type %>">
|
||||
<% if (fileInfoNames.includes(file.name)) { %>
|
||||
<% if (fileInfoNames.includes(file.name) || file.name === 'mm4alktpmei71.jpg') { %>
|
||||
<td><a href="#" onclick="showFileInfo('<%= file.name %>')"><%= file.name %></a></td>
|
||||
<% } else { %>
|
||||
<td><%= file.name %></td>
|
||||
<% } %> <td>
|
||||
<% } %>
|
||||
<td>
|
||||
<% if (file.type === 'folder') { %>
|
||||
Dossier
|
||||
<% } else { %>
|
||||
@@ -171,7 +172,7 @@
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="patch-note-item pl-3">
|
||||
<p><i class="fas fa-tools"></i> Améliorations :</p>
|
||||
<ul>
|
||||
@@ -199,10 +200,37 @@
|
||||
<div class="patch-note-item pl-3">
|
||||
<p>Remarque : Nous apprécions vos retours d'expérience et vos rapports de bogues pour continuer à améliorer notre plateforme. Merci pour votre soutien continu !</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
|
||||
<button type="button" class="btn btn-primary" onclick="displayMetadata()">Afficher les métadonnées</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="metadataModal" class="modal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Metadata</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" onclick="closeModal()" aria-label="Fermer">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><i class="fas fa-code-branch"></i> Version de Build: <span id="buildVersion"></span></p>
|
||||
<p><i class="fab fa-node"></i> Version de Node.js: <span id="nodeVersion"></span></p>
|
||||
<p><i class="fas fa-server"></i> Version de Express.js: <span id="expressVersion"></span></p>
|
||||
<p><i class="fas fa-hashtag"></i> SHA de Build: <span id="buildSha"></span></p>
|
||||
<p><i class="fas fa-windows"></i> Type d'OS: <span id="osType"></span></p>
|
||||
<p><i class="fas fa-laptop-code"></i> Version d'OS: <span id="osRelease"></span></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary btn-block" data-dismiss="modal" onclick="closeModal()">OK</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="container">
|
||||
<footer class="py-3 my-4">
|
||||
@@ -216,16 +244,6 @@
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<p class="text-center text-muted mb-0">© 2024 SwiftLogic Labs</p>
|
||||
<div class="ml-3">
|
||||
<% if (user.role === 'admin') { %>
|
||||
<button id="checkUpdateButton" class="btn btn-icon btn-info btn-round" title="Vérifier les mises à jour" onclick="checkUpdates()">
|
||||
<div class="d-flex align-items-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 512 512">
|
||||
<path d="M370.7 133.3C339.5 104 298.9 88 255.8 88c-77.5 .1-144.3 53.2-162.8 126.9-1.3 5.4-6.1 9.2-11.7 9.2H24.1c-7.5 0-13.2-6.8-11.8-14.2C33.9 94.9 134.8 8 256 8c66.4 0 126.8 26.1 171.3 68.7L463 41C478.1 25.9 504 36.6 504 57.9V192c0 13.3-10.7 24-24 24H345.9c-21.4 0-32.1-25.9-17-41l41.8-41.7zM32 296h134.1c21.4 0 32.1 25.9 17 41l-41.8 41.8c31.3 29.3 71.8 45.3 114.9 45.3 77.4-.1 144.3-53.1 162.8-126.8 1.3-5.4 6.1-9.2 11.7-9.2h57.3c7.5 0 13.2 6.8 11.8 14.2C478.1 417.1 377.2 504 256 504c-66.4 0-126.8-26.1-171.3-68.7L49 471C33.9 486.1 8 475.4 8 454.1V320c0-13.3 10.7-24 24-24z"/>
|
||||
</svg>
|
||||
<span class="ml-2 d-none">Vérifier les mises à jours</span>
|
||||
</div>
|
||||
</button>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user