forked from gt-scripts/gta-assets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
97 lines (92 loc) · 4.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>mri Qbox - Assets</title>
<!-- Bootstrap CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
/* Estilos para o tema escuro */
body.dark-mode {
background-color: #121212;
color: #ffffff;
}
.dark-mode .list-group-item {
background-color: #333333;
color: #ffffff;
}
.dark-mode .breadcrumb {
background-color: #333333;
}
.dark-mode .breadcrumb-item, .dark-mode .breadcrumb-item a {
color: #ffffff;
}
.theme-toggle-btn {
cursor: pointer;
position: fixed;
top: 10px;
right: 10px;
z-index: 1000;
background: none;
border: none;
font-size: 1.5em;
color: #333;
}
.dark-mode .theme-toggle-btn {
color: #ffffff;
}
</style>
</head>
<body>
<div class="container mt-5">
<div class="row">
<img src="https://assets.mriqbox.com.br/branding/logo96.png" alt="mri logo" width="32" height="32" />
<h1 class="mb-4" style="line-height: 32px; padding-left: 5px;">mri Qbox - Lista de Assets</h1>
</div>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="../index.html"><i class="fas fa-home"></i></a>
</li>
</ol>
</nav>
<button class="theme-toggle-btn" onclick="toggleTheme()">
<i id="theme-icon" class="fas fa-moon"></i>
</button>
<ul class="list-group">
<li class="list-group-item"><a href="props/index.html"><strong>props/</strong></a></li><li class="list-group-item"><a href="scripts/index.html"><strong>scripts/</strong></a></li><li class="list-group-item"><a href="assets/index.html"><strong>assets/</strong></a></li><li class="list-group-item"><a href="branding/index.html"><strong>branding/</strong></a></li><li class="list-group-item"><a href="dui/index.html"><strong>dui/</strong></a></li>
</ul>
</div>
<!-- JavaScript para alternar tema -->
<script>
document.addEventListener("DOMContentLoaded", () => {
const theme = localStorage.getItem('theme');
const themeIcon = document.getElementById('theme-icon');
if (theme === 'dark') {
document.body.classList.add('dark-mode');
themeIcon.classList.replace('fa-moon', 'fa-sun');
}
});
function toggleTheme() {
document.body.classList.toggle('dark-mode');
const themeIcon = document.getElementById('theme-icon');
const theme = document.body.classList.contains('dark-mode') ? 'dark' : 'light';
localStorage.setItem('theme', theme);
// Alterar ícone
if (theme === 'dark') {
themeIcon.classList.replace('fa-moon', 'fa-sun');
} else {
themeIcon.classList.replace('fa-sun', 'fa-moon');
}
}
</script>
<!-- Bootstrap JS and dependencies -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/js/all.min.js" integrity="sha512-6sSYJqDreZRZGkJ3b+YfdhB3MzmuP9R7X1QZ6g5aIXhRvR1Y/N/P47jmnkENm7YL3oqsmI6AK+V6AD99uWDnIw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>