Add files via upload
Browse files- a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/hooks.html +211 -0
- a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/index.html +0 -0
- a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/inscription.html +204 -0
- a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/media_image.html +600 -0
- a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/mentions_legales.html +739 -0
a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/hooks.html
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="light">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>GitForge | Repository - Settings - Webhooks</title>
|
| 7 |
+
<link rel="icon" type="image/png" href="https://i.postimg.cc/t4NCGNzD/gitforge-png.png">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/lucide@latest"></script>
|
| 10 |
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap">
|
| 11 |
+
<style>
|
| 12 |
+
body { font-family: 'Inter', sans-serif; }
|
| 13 |
+
|
| 14 |
+
.light {
|
| 15 |
+
--bg-page: #FFFFFF;
|
| 16 |
+
--bg-header: #F6F8FA;
|
| 17 |
+
--bg-card: #FFFFFF;
|
| 18 |
+
--bg-active: #F3F4F6;
|
| 19 |
+
--border-color: #D0D7DE;
|
| 20 |
+
--text-color: #24292F;
|
| 21 |
+
--text-secondary: #57606A;
|
| 22 |
+
--text-link: #0969DA;
|
| 23 |
+
--primary-color: #1f883d; /* Vert pour le bouton Add Webhook */
|
| 24 |
+
--primary-hover: #1a7f37;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.bg-page-var { background-color: var(--bg-page); }
|
| 28 |
+
.bg-header-var { background-color: var(--bg-header); }
|
| 29 |
+
.border-color-var { border-color: var(--border-color); }
|
| 30 |
+
.text-color-var { color: var(--text-color); }
|
| 31 |
+
.text-secondary-var { color: var(--text-secondary); }
|
| 32 |
+
.text-link-var { color: var(--text-link); }
|
| 33 |
+
|
| 34 |
+
.repo-nav-link {
|
| 35 |
+
padding: 0.5rem 1rem; border-bottom: 2px solid transparent;
|
| 36 |
+
margin-right: 0.5rem; white-space: nowrap;
|
| 37 |
+
}
|
| 38 |
+
.repo-nav-link.active {
|
| 39 |
+
border-bottom-color: #F78166;
|
| 40 |
+
color: var(--text-color) !important;
|
| 41 |
+
font-weight: 600;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.settings-nav-link {
|
| 45 |
+
display: flex; align-items: center;
|
| 46 |
+
padding: 0.5rem 0.75rem; border-radius: 0.5rem;
|
| 47 |
+
color: var(--text-secondary); transition: all 0.15s;
|
| 48 |
+
}
|
| 49 |
+
.settings-nav-link:hover { color: var(--text-color); background-color: var(--bg-active); }
|
| 50 |
+
.settings-nav-link.active {
|
| 51 |
+
color: var(--text-color); background-color: var(--bg-active); font-weight: 600;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
#sidebar {
|
| 55 |
+
position: fixed; top: 0; left: 0; width: 300px; height: 100%;
|
| 56 |
+
background-color: var(--bg-card); transform: translateX(-100%);
|
| 57 |
+
transition: transform 0.3s ease-in-out; z-index: 100;
|
| 58 |
+
box-shadow: 2px 0 5px rgba(0,0,0,0.1);
|
| 59 |
+
}
|
| 60 |
+
#sidebar.open { transform: translateX(0); }
|
| 61 |
+
#overlay {
|
| 62 |
+
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
|
| 63 |
+
background: rgba(0, 0, 0, 0.5); z-index: 90; display: none;
|
| 64 |
+
}
|
| 65 |
+
#overlay.open { display: block; }
|
| 66 |
+
</style>
|
| 67 |
+
</head>
|
| 68 |
+
|
| 69 |
+
<body class="bg-page-var text-color-var min-h-screen">
|
| 70 |
+
|
| 71 |
+
<div id="overlay"></div>
|
| 72 |
+
|
| 73 |
+
<div id="sidebar" class="p-4 border-r border-color-var">
|
| 74 |
+
<div class="flex justify-between items-center pb-4 border-b border-color-var/50 mb-4">
|
| 75 |
+
<div class="flex items-center space-x-2">
|
| 76 |
+
<i data-lucide="git-fork" class="text-link-var w-8 h-8"></i>
|
| 77 |
+
<span class="font-bold text-xl">GitForge</span>
|
| 78 |
+
</div>
|
| 79 |
+
<button id="close-sidebar" class="text-secondary-var hover:text-color-var">
|
| 80 |
+
<i data-lucide="x" class="w-6 h-6"></i>
|
| 81 |
+
</button>
|
| 82 |
+
</div>
|
| 83 |
+
|
| 84 |
+
<nav class="space-y-1">
|
| 85 |
+
<a href="/mindus/nexus/dashboard?repo_slug={{ repo_slug }}" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 86 |
+
<i data-lucide="home" class="w-5 h-5 mr-3"></i> Home
|
| 87 |
+
</a>
|
| 88 |
+
<a href="#" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 89 |
+
<i data-lucide="alert-circle" class="w-5 h-5 mr-3"></i> Issues
|
| 90 |
+
</a>
|
| 91 |
+
<a href="/mindus/nexus/pull_requests?repo_slug={{ repo_slug }}" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 92 |
+
<i data-lucide="git-pull-request" class="w-5 h-5 mr-3"></i> Pull requests
|
| 93 |
+
</a>
|
| 94 |
+
<a href="#" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 95 |
+
<i data-lucide="layout-grid" class="w-5 h-5 mr-3"></i> Projects
|
| 96 |
+
</a>
|
| 97 |
+
<a href="#" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 98 |
+
<i data-lucide="message-square" class="w-5 h-5 mr-3"></i> Discussions
|
| 99 |
+
</a>
|
| 100 |
+
<a href="/mindus/nexus/repo_files?repo_slug={{ repo_slug }}" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 101 |
+
<i data-lucide="code" class="w-5 h-5 mr-3"></i> Codespaces
|
| 102 |
+
</a>
|
| 103 |
+
<a href="/mindus/nexus/gitforge_copilot" class="flex items-center p-2 rounded-lg hover:bg-active-var">
|
| 104 |
+
<i data-lucide="cpu" class="w-5 h-5 mr-3"></i> Copilot
|
| 105 |
+
</a>
|
| 106 |
+
</nav>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<header class="w-full bg-header-var border-b border-color-var">
|
| 110 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 111 |
+
<div class="flex justify-between items-center h-16">
|
| 112 |
+
<div class="flex items-center space-x-4">
|
| 113 |
+
<button id="open-sidebar" class="p-2 rounded-lg text-color-var hover:bg-active-var">
|
| 114 |
+
<i data-lucide="menu" class="w-6 h-6"></i>
|
| 115 |
+
</button>
|
| 116 |
+
<span class="text-xl font-bold hidden md:block">GitForge</span>
|
| 117 |
+
<span class="text-secondary-var hidden md:block">/</span>
|
| 118 |
+
<a href="#" class="text-color-var hover:text-link-var text-lg font-semibold flex items-center">
|
| 119 |
+
<span id="repo-user">{{ user.username if user.username else 'current_user' }}</span> / <span id="repo-name">{{ repo_name if repo_name else repo_slug }}</span>
|
| 120 |
+
<i data-lucide="lock" class="w-4 h-4 ml-2 text-secondary-var"></i>
|
| 121 |
+
</a>
|
| 122 |
+
</div>
|
| 123 |
+
|
| 124 |
+
<div class="flex items-center space-x-3">
|
| 125 |
+
<input type="text" placeholder="Type / to search" class="hidden sm:block bg-page-var border border-color-var rounded-lg p-1.5 text-sm w-48 focus:ring-1 focus:ring-link-var outline-none">
|
| 126 |
+
<i data-lucide="bell" class="w-5 h-5 text-secondary-var cursor-pointer"></i>
|
| 127 |
+
<i data-lucide="plus" class="w-5 h-5 text-secondary-var cursor-pointer"></i>
|
| 128 |
+
<i data-lucide="user-circle" class="w-6 h-6 text-secondary-var cursor-pointer"></i>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
|
| 133 |
+
<div class="w-full border-b border-color-var bg-page-var">
|
| 134 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 135 |
+
<nav class="flex space-x-1 overflow-x-auto text-sm font-medium">
|
| 136 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="code" class="w-4 h-4 mr-1"></i> Code</a>
|
| 137 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="alert-circle" class="w-4 h-4 mr-1"></i> Issues</a>
|
| 138 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="git-pull-request" class="w-4 h-4 mr-1"></i> Pull requests</a>
|
| 139 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="play-circle" class="w-4 h-4 mr-1"></i> Actions</a>
|
| 140 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="box" class="w-4 h-4 mr-1"></i> Projects</a>
|
| 141 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="shield" class="w-4 h-4 mr-1"></i> Security</a>
|
| 142 |
+
<a href="#" class="repo-nav-link text-secondary-var flex items-center"><i data-lucide="trending-up" class="w-4 h-4 mr-1"></i> Insights</a>
|
| 143 |
+
<a href="#" class="repo-nav-link active flex items-center"><i data-lucide="settings" class="w-4 h-4 mr-1"></i> Settings</a>
|
| 144 |
+
</nav>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</header>
|
| 148 |
+
|
| 149 |
+
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
| 150 |
+
<div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
|
| 151 |
+
<aside class="lg:col-span-1 hidden lg:block">
|
| 152 |
+
<nav class="space-y-1">
|
| 153 |
+
<h3 class="px-3 text-xs font-semibold text-secondary-var uppercase tracking-wider mb-2">General</h3>
|
| 154 |
+
<a href="#" class="settings-nav-link"><i data-lucide="settings" class="w-4 h-4 mr-3"></i> General</a>
|
| 155 |
+
|
| 156 |
+
<h3 class="px-3 text-xs font-semibold text-secondary-var uppercase tracking-wider mt-6 mb-2">Access</h3>
|
| 157 |
+
<a href="#" class="settings-nav-link"><i data-lucide="users" class="w-4 h-4 mr-3"></i> Collaborators</a>
|
| 158 |
+
|
| 159 |
+
<h3 class="px-3 text-xs font-semibold text-secondary-var uppercase tracking-wider mt-6 mb-2">Code and automation</h3>
|
| 160 |
+
<a href="#" class="settings-nav-link"><i data-lucide="git-branch" class="w-4 h-4 mr-3"></i> Branches</a>
|
| 161 |
+
<a href="#" class="settings-nav-link"><i data-lucide="tag" class="w-4 h-4 mr-3"></i> Tags</a>
|
| 162 |
+
<a href="#" class="settings-nav-link"><i data-lucide="shield-check" class="w-4 h-4 mr-3"></i> Rules <i data-lucide="chevron-down" class="w-4 h-4 ml-auto"></i></a>
|
| 163 |
+
<a href="#" class="settings-nav-link"><i data-lucide="play-circle" class="w-4 h-4 mr-3"></i> Actions <i data-lucide="chevron-down" class="w-4 h-4 ml-auto"></i></a>
|
| 164 |
+
<a href="#" class="settings-nav-link"><i data-lucide="box" class="w-4 h-4 mr-3"></i> Models <span class="ml-2 px-2 py-0.5 text-[10px] bg-green-100 text-green-700 rounded-full border border-green-200">Preview</span></a>
|
| 165 |
+
<a href="#" class="settings-nav-link active"><i data-lucide="webhook" class="w-4 h-4 mr-3"></i> Webhooks</a>
|
| 166 |
+
<a href="#" class="settings-nav-link"><i data-lucide="cpu" class="w-4 h-4 mr-3"></i> Copilot <i data-lucide="chevron-down" class="w-4 h-4 ml-auto"></i></a>
|
| 167 |
+
<a href="#" class="settings-nav-link"><i data-lucide="cloud" class="w-4 h-4 mr-3"></i> Environments</a>
|
| 168 |
+
<a href="#" class="settings-nav-link"><i data-lucide="monitor" class="w-4 h-4 mr-3"></i> Codespaces</a>
|
| 169 |
+
<a href="#" class="settings-nav-link"><i data-lucide="file-text" class="w-4 h-4 mr-3"></i> Pages</a>
|
| 170 |
+
</nav>
|
| 171 |
+
</aside>
|
| 172 |
+
|
| 173 |
+
<div class="lg:col-span-3">
|
| 174 |
+
<div class="flex justify-between items-center mb-4">
|
| 175 |
+
<h1 class="text-2xl font-semibold">Webhooks</h1>
|
| 176 |
+
<button class="bg-[#218838] hover:bg-[#1e7e34] text-white px-3 py-1.5 rounded-md text-sm font-medium transition shadow-sm border border-[#1b1e211a]">
|
| 177 |
+
Add webhook
|
| 178 |
+
</button>
|
| 179 |
+
</div>
|
| 180 |
+
|
| 181 |
+
<div class="border-t border-color-var pt-4">
|
| 182 |
+
<p class="text-[14px] text-color-var leading-relaxed mb-4">
|
| 183 |
+
Webhooks allow external services to be notified when certain events happen. When the specified events happen, we'll send a POST request to each of the URLs you provide. Learn more in our
|
| 184 |
+
<a href="#" class="text-link-var hover:underline">Webhooks Guide</a>.
|
| 185 |
+
</p>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
</main>
|
| 191 |
+
|
| 192 |
+
<script>
|
| 193 |
+
lucide.createIcons();
|
| 194 |
+
|
| 195 |
+
// Sidebar Toggle Logic
|
| 196 |
+
const sidebar = document.getElementById('sidebar');
|
| 197 |
+
const overlay = document.getElementById('overlay');
|
| 198 |
+
const openBtn = document.getElementById('open-sidebar');
|
| 199 |
+
const closeBtn = document.getElementById('close-sidebar');
|
| 200 |
+
|
| 201 |
+
const toggleSidebar = () => {
|
| 202 |
+
sidebar.classList.toggle('open');
|
| 203 |
+
overlay.classList.toggle('open');
|
| 204 |
+
};
|
| 205 |
+
|
| 206 |
+
openBtn.onclick = toggleSidebar;
|
| 207 |
+
closeBtn.onclick = toggleSidebar;
|
| 208 |
+
overlay.onclick = toggleSidebar;
|
| 209 |
+
</script>
|
| 210 |
+
</body>
|
| 211 |
+
</html>
|
a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/index.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/inscription.html
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr" class="light">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Inscription - GitForge</title>
|
| 7 |
+
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 8 |
+
<link rel="stylesheet"
|
| 9 |
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
+
<style>
|
| 12 |
+
body { font-family: 'Inter', sans-serif; }
|
| 13 |
+
|
| 14 |
+
/* Définir les Variables de Thème (Mode Clair uniquement) */
|
| 15 |
+
:root {
|
| 16 |
+
--bg-page: #f9fafb;
|
| 17 |
+
--bg-card: #ffffff;
|
| 18 |
+
--text-primary: #1f2937;
|
| 19 |
+
--text-secondary: #6b7280;
|
| 20 |
+
--border-color: #d1d5db;
|
| 21 |
+
--bg-input: #ffffff;
|
| 22 |
+
--ring-color: #a78bfa; /* Violet clair pour le focus */
|
| 23 |
+
--ring-offset-color: #f9fafb;
|
| 24 |
+
}
|
| 25 |
+
</style>
|
| 26 |
+
</head>
|
| 27 |
+
<body class="bg-[--bg-page] text-[--text-primary] min-h-screen flex items-center justify-center p-4 py-8">
|
| 28 |
+
|
| 29 |
+
<div class="w-full max-w-lg">
|
| 30 |
+
<div class="bg-[--bg-card] p-8 rounded-xl shadow-2xl border border-[--border-color]">
|
| 31 |
+
<h2 class="text-3xl font-extrabold text-center mb-6">Créer un compte</h2>
|
| 32 |
+
<p id="message" class="text-center mb-4"></p>
|
| 33 |
+
|
| 34 |
+
<form id="register-form" class="space-y-4">
|
| 35 |
+
|
| 36 |
+
<div>
|
| 37 |
+
<label for="username" class="block text-sm font-medium text-[--text-secondary] mb-1">Nom d'utilisateur</label>
|
| 38 |
+
<input type="text" id="username" name="username" required
|
| 39 |
+
class="w-full px-4 py-2 border border-[--border-color] rounded-lg bg-[--bg-input] text-[--text-primary] focus:ring-2 focus:ring-[--ring-color] focus:border-transparent outline-none"
|
| 40 |
+
placeholder="Votre nom d'utilisateur unique">
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<div>
|
| 44 |
+
<label for="email" class="block text-sm font-medium text-[--text-secondary] mb-1">Adresse E-mail</label>
|
| 45 |
+
<input type="email" id="email" name="email" required
|
| 46 |
+
class="w-full px-4 py-2 border border-[--border-color] rounded-lg bg-[--bg-input] text-[--text-primary] focus:ring-2 focus:ring-[--ring-color] focus:border-transparent outline-none"
|
| 47 |
+
placeholder="Votre adresse e-mail">
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<div>
|
| 51 |
+
<label for="password" class="block text-sm font-medium text-[--text-secondary] mb-1">Mot de passe</label>
|
| 52 |
+
<div class="relative">
|
| 53 |
+
<input type="password" id="password" name="password" required minlength="8"
|
| 54 |
+
class="w-full px-4 py-2 border border-[--border-color] rounded-lg bg-[--bg-input] text-[--text-primary] focus:ring-2 focus:ring-[--ring-color] focus:border-transparent outline-none pr-10"
|
| 55 |
+
placeholder="Minimum 8 caractères">
|
| 56 |
+
<button type="button" id="toggle-password" class="absolute inset-y-0 right-0 pr-3 flex items-center text-[--text-secondary] hover:text-[--text-primary]" aria-label="Afficher/Masquer le mot de passe">
|
| 57 |
+
<span class="material-symbols-rounded text-xl">visibility</span>
|
| 58 |
+
</button>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div>
|
| 63 |
+
<label for="confirm_password" class="block text-sm font-medium text-[--text-secondary] mb-1">Confirmer le mot de passe</label>
|
| 64 |
+
<div class="relative">
|
| 65 |
+
<input type="password" id="confirm_password" name="confirm_password" required minlength="8"
|
| 66 |
+
class="w-full px-4 py-2 border border-[--border-color] rounded-lg bg-[--bg-input] text-[--text-primary] focus:ring-2 focus:ring-[--ring-color] focus:border-transparent outline-none pr-10"
|
| 67 |
+
placeholder="Confirmez votre mot de passe">
|
| 68 |
+
<button type="button" id="toggle-confirm-password" class="absolute inset-y-0 right-0 pr-3 flex items-center text-[--text-secondary] hover:text-[--text-primary]" aria-label="Afficher/Masquer le mot de passe">
|
| 69 |
+
<span class="material-symbols-rounded text-xl">visibility</span>
|
| 70 |
+
</button>
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
|
| 74 |
+
<div>
|
| 75 |
+
<label for="security_question" class="block text-sm font-medium text-[--text-secondary] mb-1">Question de sécurité</label>
|
| 76 |
+
<select id="security_question" name="security_question" required
|
| 77 |
+
class="w-full px-4 py-2 border border-[--border-color] rounded-lg bg-[--bg-input] text-[--text-primary] focus:ring-2 focus:ring-[--ring-color] focus:border-transparent outline-none">
|
| 78 |
+
<option value="">Sélectionnez une question...</option>
|
| 79 |
+
<option value="nom_animal">Quel est le nom de votre premier animal de compagnie ?</option>
|
| 80 |
+
<option value="ville_naissance">Quelle est la ville où vous êtes né(e) ?</option>
|
| 81 |
+
<option value="plat_prefere">Quel est votre plat préféré ?</option>
|
| 82 |
+
</select>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<div>
|
| 86 |
+
<label for="security_answer" class="block text-sm font-medium text-[--text-secondary] mb-1">Réponse de sécurité</label>
|
| 87 |
+
<input type="text" id="security_answer" name="security_answer" required
|
| 88 |
+
class="w-full px-4 py-2 border border-[--border-color] rounded-lg bg-[--bg-input] text-[--text-primary] focus:ring-2 focus:ring-[--ring-color] focus:border-transparent outline-none"
|
| 89 |
+
placeholder="Votre réponse (surtout ne la perdez pas)">
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
<button type="submit" id="submit-button"
|
| 94 |
+
class="w-full py-2 px-4 border border-transparent rounded-lg shadow-sm text-lg font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 focus:ring-offset-[--ring-offset-color] disabled:opacity-50 transition duration-150 mt-6">
|
| 95 |
+
S'inscrire
|
| 96 |
+
</button>
|
| 97 |
+
</form>
|
| 98 |
+
|
| 99 |
+
<div class="mt-6 text-center text-sm">
|
| 100 |
+
<p class="text-[--text-secondary]">
|
| 101 |
+
Vous avez déjà un compte ?
|
| 102 |
+
<a href="/mindus/nexus/connexion" class="font-medium text-indigo-600 hover:text-indigo-500">
|
| 103 |
+
Se connecter
|
| 104 |
+
</a>
|
| 105 |
+
</p>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<script>
|
| 111 |
+
// L'URL de l'API pointe directement vers l'endpoint local du backend Flask
|
| 112 |
+
const REGISTER_ENDPOINT = "/api/register";
|
| 113 |
+
|
| 114 |
+
const form = document.getElementById('register-form');
|
| 115 |
+
const messageElement = document.getElementById('message');
|
| 116 |
+
const submitButton = document.getElementById('submit-button');
|
| 117 |
+
|
| 118 |
+
// --- LOGIQUE D'AFFICHAGE/MASQUAGE DU MOT DE PASSE (pour les deux champs) ---
|
| 119 |
+
function setupPasswordToggle(inputId, toggleId) {
|
| 120 |
+
const passwordInput = document.getElementById(inputId);
|
| 121 |
+
const toggleButton = document.getElementById(toggleId);
|
| 122 |
+
const icon = toggleButton.querySelector('.material-symbols-rounded');
|
| 123 |
+
|
| 124 |
+
toggleButton.addEventListener('click', () => {
|
| 125 |
+
const isPassword = passwordInput.type === 'password';
|
| 126 |
+
passwordInput.type = isPassword ? 'text' : 'password';
|
| 127 |
+
icon.textContent = isPassword ? 'visibility_off' : 'visibility';
|
| 128 |
+
});
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
setupPasswordToggle('password', 'toggle-password');
|
| 132 |
+
setupPasswordToggle('confirm_password', 'toggle-confirm-password');
|
| 133 |
+
// ---------------------------------------------------
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
form.addEventListener('submit', async (e) => {
|
| 137 |
+
e.preventDefault();
|
| 138 |
+
messageElement.textContent = ''; // Réinitialiser le message
|
| 139 |
+
messageElement.className = 'text-center mb-4'; // Réinitialiser les classes
|
| 140 |
+
submitButton.disabled = true;
|
| 141 |
+
submitButton.textContent = 'Inscription en cours...';
|
| 142 |
+
|
| 143 |
+
// Validation de base des mots de passe côté client (même si le backend le fait aussi)
|
| 144 |
+
const password = document.getElementById('password').value;
|
| 145 |
+
const confirmPassword = document.getElementById('confirm_password').value;
|
| 146 |
+
|
| 147 |
+
if (password !== confirmPassword) {
|
| 148 |
+
messageElement.textContent = 'Le mot de passe et la confirmation ne correspondent pas.';
|
| 149 |
+
messageElement.className = 'text-red-600 mb-4 font-bold';
|
| 150 |
+
submitButton.disabled = false;
|
| 151 |
+
submitButton.textContent = "S'inscrire";
|
| 152 |
+
return;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
const formData = new FormData(form);
|
| 157 |
+
const data = Object.fromEntries(formData.entries());
|
| 158 |
+
|
| 159 |
+
try {
|
| 160 |
+
const response = await fetch(REGISTER_ENDPOINT, {
|
| 161 |
+
method: 'POST',
|
| 162 |
+
headers: {
|
| 163 |
+
'Content-Type': 'application/json',
|
| 164 |
+
},
|
| 165 |
+
body: JSON.stringify(data)
|
| 166 |
+
});
|
| 167 |
+
|
| 168 |
+
const result = await response.json();
|
| 169 |
+
|
| 170 |
+
if (response.ok && result.success) {
|
| 171 |
+
messageElement.textContent = result.message || 'Inscription réussie ! Redirection vers la connexion...';
|
| 172 |
+
messageElement.className = 'text-green-600 mb-4 font-bold';
|
| 173 |
+
|
| 174 |
+
// Le backend retourne la redirection (normalement vers la page de connexion)
|
| 175 |
+
const redirectUrl = result.redirect || '/mindus/nexus/connexion';
|
| 176 |
+
|
| 177 |
+
// Redirection
|
| 178 |
+
setTimeout(() => {
|
| 179 |
+
window.location.href = redirectUrl;
|
| 180 |
+
}, 1500);
|
| 181 |
+
|
| 182 |
+
} else {
|
| 183 |
+
// Afficher le message d'erreur du backend
|
| 184 |
+
messageElement.textContent = result.message || 'Échec de l\'inscription. Veuillez vérifier les informations.';
|
| 185 |
+
messageElement.className = 'text-red-600 mb-4 font-bold';
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
} catch (error) {
|
| 189 |
+
console.error('Erreur lors de la communication avec le backend:', error);
|
| 190 |
+
messageElement.textContent = 'Erreur de connexion au serveur ou réseau indisponible.';
|
| 191 |
+
messageElement.className = 'text-red-600 mb-4 font-bold';
|
| 192 |
+
} finally {
|
| 193 |
+
// Réactiver le bouton si la redirection n'a pas eu lieu
|
| 194 |
+
if (messageElement.className.indexOf('text-green-600') === -1) {
|
| 195 |
+
submitButton.disabled = false;
|
| 196 |
+
submitButton.textContent = "S'inscrire";
|
| 197 |
+
}
|
| 198 |
+
}
|
| 199 |
+
});
|
| 200 |
+
|
| 201 |
+
// --- LOGIQUE DU THÈME ENLEVÉE ---
|
| 202 |
+
</script>
|
| 203 |
+
</body>
|
| 204 |
+
</html>
|
a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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr" class="bg-gray-100 dark:bg-gray-900">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>GitForge - Déploiement de Space</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
| 9 |
+
<style>
|
| 10 |
+
/* Styles personnalisés si nécessaire, ou pour les variables de couleur */
|
| 11 |
+
:root {
|
| 12 |
+
--color-var: #1f2937; /* Exemple de couleur primaire sombre */
|
| 13 |
+
--secondary-var: #6b7280; /* Exemple de couleur secondaire */
|
| 14 |
+
--page-var: #ffffff; /* Exemple de couleur de fond de page claire */
|
| 15 |
+
--border-color-var: #e5e7eb; /* Exemple de couleur de bordure claire */
|
| 16 |
+
}
|
| 17 |
+
.dark {
|
| 18 |
+
--color-var: #f3f4f6;
|
| 19 |
+
--secondary-var: #9ca3af;
|
| 20 |
+
--page-var: #1f2937;
|
| 21 |
+
--border-color-var: #374151;
|
| 22 |
+
}
|
| 23 |
+
.text-color-var { color: var(--color-var); }
|
| 24 |
+
.bg-page-var { background-color: var(--page-var); }
|
| 25 |
+
.border-color-var { border-color: var(--border-color-var); }
|
| 26 |
+
.text-secondary-var { color: var(--secondary-var); }
|
| 27 |
+
/* Style pour le lien de navigation actif */
|
| 28 |
+
.repo-nav-link.active {
|
| 29 |
+
color: #3b82f6; /* Bleu par défaut */
|
| 30 |
+
border-bottom: 2px solid #3b82f6;
|
| 31 |
+
padding-bottom: 0.5rem;
|
| 32 |
+
margin-bottom: -1px; /* Compense la bordure */
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/* Style pour l'animation de chargement (Spinner) */
|
| 36 |
+
.spinner {
|
| 37 |
+
border: 4px solid rgba(0, 0, 0, 0.1);
|
| 38 |
+
width: 20px;
|
| 39 |
+
height: 20px;
|
| 40 |
+
border-radius: 50%;
|
| 41 |
+
border-left-color: #3b82f6; /* Couleur bleue */
|
| 42 |
+
animation: spin 1s linear infinite; /* Changé à linear pour un effet plus doux */
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
@keyframes spin {
|
| 46 |
+
0% { transform: rotate(0deg); }
|
| 47 |
+
100% { transform: rotate(360deg); }
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* Style pour les zones de log (similaire à l'image fournie) */
|
| 51 |
+
.log-area {
|
| 52 |
+
background-color: #1e293b; /* bg-slate-800 pour un look pro/console */
|
| 53 |
+
color: #f8fafc; /* text-slate-50 */
|
| 54 |
+
font-family: 'Consolas', 'Monaco', monospace;
|
| 55 |
+
font-size: 0.875rem; /* text-sm */
|
| 56 |
+
padding: 1rem;
|
| 57 |
+
line-height: 1.5;
|
| 58 |
+
overflow-y: scroll;
|
| 59 |
+
height: 300px;
|
| 60 |
+
border-radius: 0.375rem; /* rounded-md */
|
| 61 |
+
white-space: pre-wrap; /* Maintient les sauts de ligne et permet le wrap */
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
/* Assure la réactivité des sections principales */
|
| 65 |
+
.main-container {
|
| 66 |
+
display: flex;
|
| 67 |
+
flex-grow: 1;
|
| 68 |
+
}
|
| 69 |
+
@media (max-width: 1024px) {
|
| 70 |
+
.main-container > aside {
|
| 71 |
+
display: none; /* Cache la barre latérale sur les petits écrans */
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
</style>
|
| 75 |
+
<script>
|
| 76 |
+
// Ceci doit être rendu par votre backend (ex: Flask/Jinja2)
|
| 77 |
+
const CURRENT_USER_ID = "{{ current_user.user_id }}"; // Assurez-vous que cette variable existe
|
| 78 |
+
let CURRENT_REPO_SLUG = "{{ repo_slug | default('') }}"; // Slug du repo sélectionné (peut être vide au début)
|
| 79 |
+
let CURRENT_SPACE_ID = null; // ID du Space après déploiement
|
| 80 |
+
let MONITORING_INTERVAL = null; // Intervalle pour le monitoring
|
| 81 |
+
const MONITORING_RATE = 10000; // 10 secondes
|
| 82 |
+
</script>
|
| 83 |
+
</head>
|
| 84 |
+
<body class="min-h-screen flex flex-col bg-page-var transition-colors-theme">
|
| 85 |
+
|
| 86 |
+
<header class="sticky top-0 z-50 bg-page-var transition-colors-theme">
|
| 87 |
+
<div class="w-full border-b border-color-var bg-page-var transition-colors-theme sticky top-0 z-40">
|
| 88 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 89 |
+
<nav class="flex space-x-4 overflow-x-auto text-sm font-medium">
|
| 90 |
+
<a href="/mindus/nexus/repo_files?repo_slug={{ repo_slug }}" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 91 |
+
<span class="material-symbols-rounded text-base mr-1">code</span> Code
|
| 92 |
+
</a>
|
| 93 |
+
<a href="/mindus/nexus/new_issue?repo_slug={{ repo_slug }}" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 94 |
+
<span class="material-symbols-rounded text-base mr-1">bug_report</span> Issues
|
| 95 |
+
</a>
|
| 96 |
+
<a href="/mindus/nexus/pull_requests?repo_slug={{ repo_slug }}" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 97 |
+
<span class="material-symbols-rounded text-base mr-1">merge</span> Pull requests
|
| 98 |
+
</a>
|
| 99 |
+
<a href="/mindus/nexus/editor?repo_slug={{ repo_slug }}" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 100 |
+
<span class="material-symbols-rounded text-base mr-1">checklist</span> Actions
|
| 101 |
+
</a>
|
| 102 |
+
<a href="#" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 103 |
+
<span class="material-symbols-rounded text-base mr-1">lock</span> Security
|
| 104 |
+
</a>
|
| 105 |
+
<a href="#" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 106 |
+
<span class="material-symbols-rounded text-base mr-1">insights</span> Insights
|
| 107 |
+
</a>
|
| 108 |
+
<a href="/mindus/nexus" class="repo-nav-link text-secondary-var hover:text-color-var transition-colors-theme flex items-center py-3">
|
| 109 |
+
<span class="material-symbols-rounded text-base mr-1">settings</span> Settings
|
| 110 |
+
</a>
|
| 111 |
+
<a href="#" class="repo-nav-link text-color-var flex items-center py-3 active">
|
| 112 |
+
<span class="material-symbols-rounded text-base mr-1">rocket_launch</span> Déploiement
|
| 113 |
+
</a>
|
| 114 |
+
</nav>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</header>
|
| 118 |
+
|
| 119 |
+
<main class="main-container max-w-7xl mx-auto w-full px-4 sm:px-6 lg:px-8 py-8">
|
| 120 |
+
|
| 121 |
+
<aside class="w-64 flex-shrink-0 mr-8 hidden lg:block">
|
| 122 |
+
<div class="sticky top-20">
|
| 123 |
+
<h3 class="text-xs font-semibold uppercase tracking-wider text-secondary-var mb-2">DÉPÔTS DE L'UTILISATEUR</h3>
|
| 124 |
+
|
| 125 |
+
<div id="repo-loading-spinner" class="flex items-center justify-center py-4">
|
| 126 |
+
<div class="spinner mr-2"></div>
|
| 127 |
+
<span class="text-sm text-secondary-var">Chargement des dépôts...</span>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<nav id="repo-list" class="space-y-1" aria-label="Repos">
|
| 131 |
+
</nav>
|
| 132 |
+
|
| 133 |
+
<p id="no-repos-message" class="text-sm text-secondary-var py-4 hidden">
|
| 134 |
+
Aucun dépôt trouvé.
|
| 135 |
+
</p>
|
| 136 |
+
</div>
|
| 137 |
+
</aside>
|
| 138 |
+
|
| 139 |
+
<section class="flex-1 min-w-0">
|
| 140 |
+
<div class="bg-page-var shadow-lg rounded-lg border border-color-var p-6">
|
| 141 |
+
|
| 142 |
+
<div class="flex flex-col md:flex-row items-start md:items-center justify-between border-b border-color-var pb-4 mb-6">
|
| 143 |
+
<h2 class="text-2xl font-bold text-color-var flex flex-col items-start mb-4 md:mb-0">
|
| 144 |
+
<div class="flex items-center">
|
| 145 |
+
<span class="material-symbols-rounded mr-2 text-3xl">rocket_launch</span>
|
| 146 |
+
Orchestration de Space GitForge
|
| 147 |
+
</div>
|
| 148 |
+
<span id="current-repo-display" class="text-base font-normal text-secondary-var mt-1">Sélectionnez un dépôt</span>
|
| 149 |
+
</h2>
|
| 150 |
+
|
| 151 |
+
<div class="flex flex-col sm:flex-row items-start sm:items-center space-y-3 sm:space-y-0 sm:space-x-4">
|
| 152 |
+
<div class="flex items-center space-x-2">
|
| 153 |
+
<label for="sdk-select" class="text-sm text-color-var font-medium">SDK:</label>
|
| 154 |
+
<select id="sdk-select" class="form-select border border-color-var rounded-lg p-2 text-sm text-color-var bg-page-var transition-colors-theme focus:ring-blue-500 focus:border-blue-500">
|
| 155 |
+
<option value="gradio">Gradio</option>
|
| 156 |
+
<option value="streamlit">Streamlit</option>
|
| 157 |
+
<option value="docker">Docker (Web/API)</option>
|
| 158 |
+
<option value="static">Statique (HTML)</option>
|
| 159 |
+
</select>
|
| 160 |
+
</div>
|
| 161 |
+
<button id="deploy-button"
|
| 162 |
+
class="bg-blue-600 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded-lg shadow transition duration-150 ease-in-out flex items-center disabled:opacity-50 disabled:cursor-not-allowed"
|
| 163 |
+
disabled>
|
| 164 |
+
<span id="deploy-button-text">Create Space</span>
|
| 165 |
+
<div id="deploy-spinner" class="spinner ml-2 hidden"></div>
|
| 166 |
+
</button>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
|
| 170 |
+
<div id="status-container" class="mb-8">
|
| 171 |
+
<h3 class="text-xl font-bold text-color-var mb-3 flex items-center">
|
| 172 |
+
<span class="material-symbols-rounded mr-2" id="status-icon">info</span>
|
| 173 |
+
Statut du Service
|
| 174 |
+
<span id="space-status" class="ml-3 px-3 py-1 text-sm font-semibold rounded-full bg-gray-200 text-gray-800 dark:bg-gray-700 dark:text-gray-300">Inactif</span>
|
| 175 |
+
</h3>
|
| 176 |
+
|
| 177 |
+
<div id="space-details" class="space-y-2 text-sm border-l-4 border-gray-300 dark:border-gray-700 pl-4 py-2">
|
| 178 |
+
<p class="text-secondary-var flex items-center">
|
| 179 |
+
ID du Space (HF): <span id="space-id-display" class="font-mono text-color-var ml-2 px-2 py-0.5 bg-gray-100 dark:bg-gray-800 rounded">N/A</span>
|
| 180 |
+
<button id="copy-id-button" class="ml-2 text-secondary-var hover:text-color-var transition-colors-theme text-base" title="Copier l'ID">
|
| 181 |
+
<span class="material-symbols-rounded text-base">content_copy</span>
|
| 182 |
+
</button>
|
| 183 |
+
</p>
|
| 184 |
+
<p class="text-secondary-var flex items-center">
|
| 185 |
+
URL Publique:
|
| 186 |
+
<a id="space-url-display" href="#" target="_blank" class="text-blue-600 hover:underline disabled:text-secondary-var disabled:pointer-events-none ml-2">N/A</a>
|
| 187 |
+
</p>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<div id="logs-area" class="mt-6">
|
| 192 |
+
<div class="flex justify-between items-center mb-2">
|
| 193 |
+
<h3 class="text-lg font-semibold text-color-var flex items-center">
|
| 194 |
+
<span class="material-symbols-rounded mr-2">terminal</span>
|
| 195 |
+
Historique des Logs
|
| 196 |
+
</h3>
|
| 197 |
+
<div class="flex items-center space-x-3">
|
| 198 |
+
<select id="logs-type-select" class="form-select text-sm border border-color-var rounded-lg p-1 text-color-var bg-page-var transition-colors-theme focus:ring-blue-500 focus:border-blue-500">
|
| 199 |
+
<option value="build">Build Logs</option>
|
| 200 |
+
<option value="runtime">Runtime Logs</option>
|
| 201 |
+
</select>
|
| 202 |
+
<button id="refresh-logs-button" class="text-secondary-var hover:text-color-var transition-colors-theme p-1 rounded hover:bg-gray-100 dark:hover:bg-gray-800" title="Rafraîchir les logs">
|
| 203 |
+
<span class="material-symbols-rounded text-base">refresh</span>
|
| 204 |
+
</button>
|
| 205 |
+
<button id="copy-logs-button" class="text-secondary-var hover:text-color-var transition-colors-theme p-1 rounded hover:bg-gray-100 dark:hover:bg-gray-800" title="Copier les logs">
|
| 206 |
+
<span class="material-symbols-rounded text-base">content_copy</span>
|
| 207 |
+
</button>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
<pre id="log-content" class="log-area">Sélectionnez un dépôt et lancez un déploiement pour voir les logs ici...</pre>
|
| 211 |
+
</div>
|
| 212 |
+
|
| 213 |
+
<div id="alert-message" class="mt-4 p-3 rounded-lg text-sm hidden" role="alert"></div>
|
| 214 |
+
|
| 215 |
+
</div>
|
| 216 |
+
</section>
|
| 217 |
+
|
| 218 |
+
</main>
|
| 219 |
+
|
| 220 |
+
<script>
|
| 221 |
+
// DOM Elements
|
| 222 |
+
const repoList = document.getElementById('repo-list');
|
| 223 |
+
const repoLoadingSpinner = document.getElementById('repo-loading-spinner');
|
| 224 |
+
const noReposMessage = document.getElementById('no-repos-message');
|
| 225 |
+
const deployButton = document.getElementById('deploy-button');
|
| 226 |
+
const deployButtonText = document.getElementById('deploy-button-text');
|
| 227 |
+
const deploySpinner = document.getElementById('deploy-spinner');
|
| 228 |
+
const sdkSelect = document.getElementById('sdk-select');
|
| 229 |
+
const spaceStatus = document.getElementById('space-status');
|
| 230 |
+
const statusIcon = document.getElementById('status-icon');
|
| 231 |
+
const spaceIdDisplay = document.getElementById('space-id-display');
|
| 232 |
+
const spaceUrlDisplay = document.getElementById('space-url-display');
|
| 233 |
+
const currentRepoDisplay = document.getElementById('current-repo-display');
|
| 234 |
+
const logContent = document.getElementById('log-content');
|
| 235 |
+
const alertMessage = document.getElementById('alert-message');
|
| 236 |
+
const logsTypeSelect = document.getElementById('logs-type-select');
|
| 237 |
+
const refreshLogsButton = document.getElementById('refresh-logs-button');
|
| 238 |
+
const copyLogsButton = document.getElementById('copy-logs-button');
|
| 239 |
+
const copyIdButton = document.getElementById('copy-id-button'); // Nouveau bouton de copie
|
| 240 |
+
|
| 241 |
+
let allUserRepos = []; // Stocke tous les dépôts
|
| 242 |
+
|
| 243 |
+
// --- Fonctions Utilitaires ---
|
| 244 |
+
|
| 245 |
+
function updateRepoSelection(repoSlug) {
|
| 246 |
+
CURRENT_REPO_SLUG = repoSlug;
|
| 247 |
+
currentRepoDisplay.textContent = repoSlug;
|
| 248 |
+
deployButton.disabled = false;
|
| 249 |
+
|
| 250 |
+
// Met à jour la classe active dans la barre latérale
|
| 251 |
+
document.querySelectorAll('.repo-item').forEach(el => {
|
| 252 |
+
el.classList.remove('font-semibold', 'bg-blue-50', 'dark:bg-gray-700');
|
| 253 |
+
el.classList.add('hover:bg-gray-50', 'dark:hover:bg-gray-800');
|
| 254 |
+
if (el.dataset.slug === repoSlug) {
|
| 255 |
+
el.classList.add('font-semibold', 'bg-blue-50', 'dark:bg-gray-700');
|
| 256 |
+
el.classList.remove('hover:bg-gray-50', 'dark:hover:bg-gray-800');
|
| 257 |
+
}
|
| 258 |
+
});
|
| 259 |
+
|
| 260 |
+
// Vérifier si un déploiement est déjà connu pour ce dépôt
|
| 261 |
+
const selectedRepo = allUserRepos.find(r => r.repo_slug === repoSlug);
|
| 262 |
+
const deployId = selectedRepo ? selectedRepo.deploy_id : null;
|
| 263 |
+
|
| 264 |
+
if (deployId && deployId !== "N/A") {
|
| 265 |
+
// Correction : On utilise l'ID de déploiement (deployId) fourni par le backend
|
| 266 |
+
// dans la liste des dépôts, car il doit contenir l'ID complet (owner/repo_name)
|
| 267 |
+
// nécessaire pour l'API Hugging Face.
|
| 268 |
+
CURRENT_SPACE_ID = deployId; // Utiliser directement l'ID complet
|
| 269 |
+
|
| 270 |
+
startMonitoring(CURRENT_SPACE_ID);
|
| 271 |
+
} else {
|
| 272 |
+
// Pas de déploiement existant, réinitialiser
|
| 273 |
+
stopMonitoring();
|
| 274 |
+
updateDeploymentUI('Inactif', 'N/A', '#', 'Prêt à déployer. Veuillez sélectionner le type de SDK et cliquer sur "Créer Space Dynamique".');
|
| 275 |
+
deployButtonText.textContent = 'Créer Space Dynamique';
|
| 276 |
+
deployButton.disabled = false;
|
| 277 |
+
}
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
function showAlert(message, type = 'success') {
|
| 281 |
+
let bgColor, textColor;
|
| 282 |
+
if (type === 'success') {
|
| 283 |
+
bgColor = 'bg-green-100 dark:bg-green-900';
|
| 284 |
+
textColor = 'text-green-800 dark:text-green-200';
|
| 285 |
+
} else if (type === 'error') {
|
| 286 |
+
bgColor = 'bg-red-100 dark:bg-red-900';
|
| 287 |
+
textColor = 'text-red-800 dark:text-red-200';
|
| 288 |
+
} else {
|
| 289 |
+
// 'info' ou 'warning'
|
| 290 |
+
bgColor = 'bg-blue-100 dark:bg-blue-900';
|
| 291 |
+
textColor = 'text-blue-800 dark:text-blue-200';
|
| 292 |
+
}
|
| 293 |
+
alertMessage.className = `mt-4 p-3 rounded-lg text-sm ${bgColor} ${textColor}`;
|
| 294 |
+
alertMessage.textContent = message;
|
| 295 |
+
alertMessage.classList.remove('hidden');
|
| 296 |
+
setTimeout(() => alertMessage.classList.add('hidden'), 7000); // Masquer après 7s
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
function updateDeploymentUI(status, spaceId, spaceUrl, logs) {
|
| 300 |
+
spaceStatus.textContent = status;
|
| 301 |
+
spaceIdDisplay.textContent = spaceId || 'N/A';
|
| 302 |
+
spaceUrlDisplay.textContent = spaceUrl || 'N/A';
|
| 303 |
+
spaceUrlDisplay.href = spaceUrl || '#';
|
| 304 |
+
|
| 305 |
+
if (spaceUrl && spaceUrl !== 'N/A') {
|
| 306 |
+
spaceUrlDisplay.classList.remove('disabled:text-secondary-var', 'disabled:pointer-events-none');
|
| 307 |
+
} else {
|
| 308 |
+
spaceUrlDisplay.classList.add('disabled:text-secondary-var', 'disabled:pointer-events-none');
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
// Mise à jour de l'icône et des couleurs en fonction du statut
|
| 312 |
+
let statusClass = 'bg-gray-200 text-gray-800 dark:bg-gray-700 dark:text-gray-300';
|
| 313 |
+
let iconName = 'info';
|
| 314 |
+
|
| 315 |
+
// Les statuts sont ceux renvoyés par Hugging Face
|
| 316 |
+
if (status === 'Building' || status === 'Uploading' || status === 'No stage') {
|
| 317 |
+
statusClass = 'bg-yellow-200 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-200';
|
| 318 |
+
iconName = 'autorenew';
|
| 319 |
+
} else if (status === 'Running') {
|
| 320 |
+
statusClass = 'bg-green-200 text-green-800 dark:bg-green-800 dark:text-green-200';
|
| 321 |
+
iconName = 'check_circle';
|
| 322 |
+
} else if (status === 'Error' || status === 'Killed' || status === 'Failed') {
|
| 323 |
+
statusClass = 'bg-red-200 text-red-800 dark:bg-red-800 dark:text-red-200';
|
| 324 |
+
iconName = 'error';
|
| 325 |
+
stopMonitoring(); // Arrêter le monitoring en cas d'erreur/arrêt
|
| 326 |
+
} else if (status === 'Stopped' || status === 'Sleeping') {
|
| 327 |
+
statusClass = 'bg-gray-200 text-gray-800 dark:bg-gray-700 dark:text-gray-300';
|
| 328 |
+
iconName = 'pause_circle';
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
spaceStatus.className = `ml-3 px-3 py-1 text-sm font-semibold rounded-full ${statusClass}`;
|
| 332 |
+
statusIcon.textContent = iconName;
|
| 333 |
+
|
| 334 |
+
if (logs !== null) {
|
| 335 |
+
updateLogsContent(logs);
|
| 336 |
+
}
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
function updateLogsContent(logs) {
|
| 340 |
+
logContent.textContent = logs;
|
| 341 |
+
logContent.scrollTop = logContent.scrollHeight; // Scroll vers le bas
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
function copyToClipboard(text, successMessage) {
|
| 345 |
+
if (text && text !== 'N/A') {
|
| 346 |
+
navigator.clipboard.writeText(text).then(() => {
|
| 347 |
+
showAlert(successMessage, 'info');
|
| 348 |
+
}).catch(err => {
|
| 349 |
+
console.error('Erreur lors de la copie:', err);
|
| 350 |
+
showAlert('Échec de la copie. Assurez-vous d\'avoir les permissions nécessaires.', 'error');
|
| 351 |
+
});
|
| 352 |
+
} else {
|
| 353 |
+
showAlert('Rien à copier.', 'warning');
|
| 354 |
+
}
|
| 355 |
+
}
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
// --- Fonctions API ---
|
| 359 |
+
|
| 360 |
+
async function fetchUserRepos() {
|
| 361 |
+
repoLoadingSpinner.classList.remove('hidden');
|
| 362 |
+
noReposMessage.classList.add('hidden');
|
| 363 |
+
repoList.innerHTML = '';
|
| 364 |
+
|
| 365 |
+
try {
|
| 366 |
+
// Route fournie dans la requête
|
| 367 |
+
const response = await fetch('/api/repos');
|
| 368 |
+
const data = await response.json();
|
| 369 |
+
|
| 370 |
+
if (data.success && data.repos.length > 0) {
|
| 371 |
+
allUserRepos = data.repos;
|
| 372 |
+
data.repos.forEach(repo => {
|
| 373 |
+
const repoItem = document.createElement('a');
|
| 374 |
+
repoItem.href = '#';
|
| 375 |
+
repoItem.dataset.slug = repo.repo_slug;
|
| 376 |
+
// Ajout de classes de couleur pour indiquer l'état de déploiement
|
| 377 |
+
const deployIndicator = repo.deploy_id && repo.deploy_id !== 'N/A' ? 'text-green-500' : 'text-gray-400 dark:text-gray-500';
|
| 378 |
+
|
| 379 |
+
repoItem.className = 'repo-item text-secondary-var hover:text-color-var hover:bg-gray-50 dark:hover:bg-gray-800 group flex items-center px-3 py-2 text-sm font-medium rounded-md transition-colors-theme';
|
| 380 |
+
repoItem.innerHTML = `
|
| 381 |
+
<span class="material-symbols-rounded text-base mr-3 flex-shrink-0 ${deployIndicator}">rocket_launch</span>
|
| 382 |
+
<span class="truncate">${repo.repo_name}</span>
|
| 383 |
+
`;
|
| 384 |
+
repoItem.addEventListener('click', (e) => {
|
| 385 |
+
e.preventDefault();
|
| 386 |
+
updateRepoSelection(repo.repo_slug);
|
| 387 |
+
});
|
| 388 |
+
repoList.appendChild(repoItem);
|
| 389 |
+
});
|
| 390 |
+
|
| 391 |
+
// Sélectionner le premier dépôt par défaut ou le dépôt présélectionné
|
| 392 |
+
const initialRepo = CURRENT_REPO_SLUG || data.repos[0].repo_slug;
|
| 393 |
+
if (initialRepo) {
|
| 394 |
+
updateRepoSelection(initialRepo);
|
| 395 |
+
}
|
| 396 |
+
|
| 397 |
+
} else {
|
| 398 |
+
noReposMessage.classList.remove('hidden');
|
| 399 |
+
}
|
| 400 |
+
} catch (error) {
|
| 401 |
+
console.error('Erreur lors du chargement des dépôts:', error);
|
| 402 |
+
showAlert('Erreur lors du chargement de la liste des dépôts. Vérifiez l\'API /api/repos.', 'error');
|
| 403 |
+
noReposMessage.textContent = 'Erreur de chargement. Vérifiez l\'API.';
|
| 404 |
+
noReposMessage.classList.remove('hidden');
|
| 405 |
+
} finally {
|
| 406 |
+
repoLoadingSpinner.classList.add('hidden');
|
| 407 |
+
}
|
| 408 |
+
}
|
| 409 |
+
// --- Code Corrigé pour le script frontend (deployment_routes.py) ---
|
| 410 |
+
async function handleDeploy() {
|
| 411 |
+
if (!CURRENT_REPO_SLUG) {
|
| 412 |
+
showAlert('Veuillez sélectionner un dépôt à déployer.', 'error');
|
| 413 |
+
return;
|
| 414 |
+
}
|
| 415 |
+
|
| 416 |
+
// Mise à jour de l'interface utilisateur pour le chargement
|
| 417 |
+
deployButton.disabled = true;
|
| 418 |
+
deployButtonText.textContent = 'Déploiement en cours...';
|
| 419 |
+
deploySpinner.classList.remove('hidden');
|
| 420 |
+
|
| 421 |
+
const sdkType = sdkSelect.value;
|
| 422 |
+
const apiUrl = `/api/v1/deployment/${CURRENT_USER_ID}/${CURRENT_REPO_SLUG}/deploy`;
|
| 423 |
+
|
| 424 |
+
try {
|
| 425 |
+
const response = await fetch(apiUrl, {
|
| 426 |
+
method: 'POST',
|
| 427 |
+
headers: { 'Content-Type': 'application/json' },
|
| 428 |
+
body: JSON.stringify({ sdk_type: sdkType })
|
| 429 |
+
});
|
| 430 |
+
|
| 431 |
+
// --- NOUVELLE LOGIQUE AJOUTÉE ICI ---
|
| 432 |
+
if (!response.ok) {
|
| 433 |
+
// Tente de lire le JSON même en cas de statut 4xx/5xx pour récupérer le message d'erreur du backend.
|
| 434 |
+
// Si le corps n'est pas un JSON valide (ex: un 500 généré par le serveur web non géré),
|
| 435 |
+
// le .json() échouera et nous irons dans le bloc catch.
|
| 436 |
+
try {
|
| 437 |
+
const errorData = await response.json();
|
| 438 |
+
showAlert(`Échec du déploiement (HTTP ${response.status}): ${errorData.message || 'Erreur non spécifiée.'}`, 'error');
|
| 439 |
+
return; // Sortir après l'affichage de l'erreur HTTP avec corps JSON
|
| 440 |
+
} catch (jsonError) {
|
| 441 |
+
// Si la lecture du JSON échoue (ex: 500 sans JSON), on lève l'exception pour le bloc catch externe
|
| 442 |
+
throw new Error(`Erreur HTTP ${response.status}: Impossible de lire la réponse d'erreur.`);
|
| 443 |
+
}
|
| 444 |
+
}
|
| 445 |
+
// --- FIN NOUVELLE LOGIQUE ---
|
| 446 |
+
|
| 447 |
+
const data = await response.json();
|
| 448 |
+
|
| 449 |
+
// L'état 409 (Conflict) renvoie success: true dans le backend s'il existe déjà
|
| 450 |
+
if (data.success) {
|
| 451 |
+
showAlert(data.message, 'success');
|
| 452 |
+
CURRENT_SPACE_ID = data.space_id;
|
| 453 |
+
updateDeploymentUI('Creating', data.space_id, data.space_url, 'Déploiement démarré. Attente des logs de construction...');
|
| 454 |
+
startMonitoring(CURRENT_SPACE_ID);
|
| 455 |
+
} else {
|
| 456 |
+
// Ceci gère les erreurs de validation du backend qui renvoient 200/400 avec success: false
|
| 457 |
+
showAlert(`Échec du déploiement: ${data.message}`, 'error');
|
| 458 |
+
}
|
| 459 |
+
} catch (error) {
|
| 460 |
+
console.error('Erreur de déploiement (Catch):', error);
|
| 461 |
+
// Le message d'erreur est plus précis car il ne devrait être atteint qu'en cas de VRAIE erreur réseau ou d'erreur JSON.
|
| 462 |
+
showAlert(`Erreur de connexion lors du déploiement. (Détails: ${error.message || error})`, 'error');
|
| 463 |
+
} finally {
|
| 464 |
+
// Le bouton est réactivé par startMonitoring ou en cas d'erreur
|
| 465 |
+
if (spaceStatus.textContent === 'Inactif' || spaceStatus.textContent === 'Error' || spaceStatus.textContent === 'Stopped' || deployButtonText.textContent.includes('Échoué')) {
|
| 466 |
+
deployButtonText.textContent = 'Créer Space Dynamique';
|
| 467 |
+
deploySpinner.classList.add('hidden');
|
| 468 |
+
deployButton.disabled = false;
|
| 469 |
+
}
|
| 470 |
+
}
|
| 471 |
+
}
|
| 472 |
+
|
| 473 |
+
async function fetchSpaceStatus(spaceId) {
|
| 474 |
+
// Route fournie dans la requête
|
| 475 |
+
const apiUrl = `/api/v1/deployment/${spaceId}/status`;
|
| 476 |
+
|
| 477 |
+
try {
|
| 478 |
+
const response = await fetch(apiUrl);
|
| 479 |
+
const data = await response.json();
|
| 480 |
+
|
| 481 |
+
if (data.success) {
|
| 482 |
+
const status = data.status;
|
| 483 |
+
// L'URL est reconstruite, mais on peut aussi utiliser l'API /url pour plus de précision
|
| 484 |
+
const spaceUrl = `https://${spaceId.replace('/', '-')}.hf.space`;
|
| 485 |
+
updateDeploymentUI(status, spaceId, spaceUrl, null);
|
| 486 |
+
|
| 487 |
+
if (status === 'Running') {
|
| 488 |
+
deployButton.disabled = true;
|
| 489 |
+
deployButtonText.textContent = 'Space en Ligne';
|
| 490 |
+
stopMonitoring();
|
| 491 |
+
showAlert(`Le Space ${spaceId} est maintenant en ligne!`, 'success');
|
| 492 |
+
} else if (status === 'Error' || status === 'Killed' || status === 'Failed') {
|
| 493 |
+
deployButton.disabled = false;
|
| 494 |
+
deployButtonText.textContent = 'Déploiement Échoué (Relancer)';
|
| 495 |
+
} else if (status === 'Building' || status === 'Creating' || status === 'Uploading' || status === 'No stage') {
|
| 496 |
+
deployButton.disabled = true;
|
| 497 |
+
deployButtonText.textContent = 'Construction...';
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
// Récupérer les logs
|
| 501 |
+
await fetchSpaceLogs(spaceId, logsTypeSelect.value);
|
| 502 |
+
|
| 503 |
+
} else {
|
| 504 |
+
if (data.message.includes("Space non trouvé")) {
|
| 505 |
+
stopMonitoring();
|
| 506 |
+
updateDeploymentUI('Inactif', 'N/A', '#', 'Space non trouvé sur Hugging Face. Lancez le déploiement.');
|
| 507 |
+
deployButton.disabled = false;
|
| 508 |
+
deployButtonText.textContent = 'Créer Space Dynamique';
|
| 509 |
+
}
|
| 510 |
+
console.warn(`Échec du statut pour ${spaceId}: ${data.message}`);
|
| 511 |
+
}
|
| 512 |
+
} catch (error) {
|
| 513 |
+
console.error(`Erreur de statut pour ${spaceId}:`, error);
|
| 514 |
+
// Ne pas arrêter le monitoring sur une erreur de connexion temporaire
|
| 515 |
+
}
|
| 516 |
+
}
|
| 517 |
+
|
| 518 |
+
async function fetchSpaceLogs(spaceId, logType = 'build') {
|
| 519 |
+
// Route fournie dans la requête
|
| 520 |
+
const apiUrl = `/api/v1/deployment/${spaceId}/logs?type=${logType}`;
|
| 521 |
+
|
| 522 |
+
try {
|
| 523 |
+
const response = await fetch(apiUrl);
|
| 524 |
+
const data = await response.json();
|
| 525 |
+
|
| 526 |
+
if (data.success) {
|
| 527 |
+
updateLogsContent(data.logs);
|
| 528 |
+
} else {
|
| 529 |
+
updateLogsContent(`Impossible de récupérer les logs de type '${logType}': ${data.message}`);
|
| 530 |
+
console.warn(`Échec des logs pour ${spaceId}: ${data.message}`);
|
| 531 |
+
}
|
| 532 |
+
} catch (error) {
|
| 533 |
+
console.error(`Erreur de logs pour ${spaceId}:`, error);
|
| 534 |
+
updateLogsContent(`Erreur de connexion lors de la récupération des logs.`);
|
| 535 |
+
}
|
| 536 |
+
}
|
| 537 |
+
|
| 538 |
+
function startMonitoring(spaceId) {
|
| 539 |
+
stopMonitoring(); // Assurer qu'il n'y a qu'un seul intervalle
|
| 540 |
+
|
| 541 |
+
// Première vérification immédiate
|
| 542 |
+
fetchSpaceStatus(spaceId);
|
| 543 |
+
|
| 544 |
+
// Ensuite, vérifier toutes les MONITORING_RATE millisecondes
|
| 545 |
+
MONITORING_INTERVAL = setInterval(() => {
|
| 546 |
+
fetchSpaceStatus(spaceId);
|
| 547 |
+
}, MONITORING_RATE);
|
| 548 |
+
|
| 549 |
+
// Afficher le message de monitoring
|
| 550 |
+
showAlert(`Démarrage de la surveillance pour ${spaceId}. Vérification toutes les ${MONITORING_RATE/1000}s.`, 'info');
|
| 551 |
+
}
|
| 552 |
+
|
| 553 |
+
function stopMonitoring() {
|
| 554 |
+
if (MONITORING_INTERVAL) {
|
| 555 |
+
clearInterval(MONITORING_INTERVAL);
|
| 556 |
+
MONITORING_INTERVAL = null;
|
| 557 |
+
console.log("Monitoring arrêté.");
|
| 558 |
+
}
|
| 559 |
+
}
|
| 560 |
+
|
| 561 |
+
// --- Événements ---
|
| 562 |
+
|
| 563 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 564 |
+
fetchUserRepos();
|
| 565 |
+
});
|
| 566 |
+
|
| 567 |
+
deployButton.addEventListener('click', handleDeploy);
|
| 568 |
+
|
| 569 |
+
// Changement de type de logs
|
| 570 |
+
logsTypeSelect.addEventListener('change', () => {
|
| 571 |
+
if (CURRENT_SPACE_ID) {
|
| 572 |
+
fetchSpaceLogs(CURRENT_SPACE_ID, logsTypeSelect.value);
|
| 573 |
+
} else {
|
| 574 |
+
updateLogsContent(`Veuillez d'abord déployer un Space.`);
|
| 575 |
+
}
|
| 576 |
+
});
|
| 577 |
+
|
| 578 |
+
// Rafraîchissement manuel des logs
|
| 579 |
+
refreshLogsButton.addEventListener('click', () => {
|
| 580 |
+
if (CURRENT_SPACE_ID) {
|
| 581 |
+
fetchSpaceLogs(CURRENT_SPACE_ID, logsTypeSelect.value);
|
| 582 |
+
showAlert(`Logs de type '${logsTypeSelect.value}' rafraîchis.`, 'info');
|
| 583 |
+
} else {
|
| 584 |
+
showAlert('Aucun Space n\'est en cours de surveillance.', 'warning');
|
| 585 |
+
}
|
| 586 |
+
});
|
| 587 |
+
|
| 588 |
+
// Copie des logs
|
| 589 |
+
copyLogsButton.addEventListener('click', () => {
|
| 590 |
+
copyToClipboard(logContent.textContent, 'Logs copiés dans le presse-papiers!');
|
| 591 |
+
});
|
| 592 |
+
|
| 593 |
+
// Copie de l'ID du Space
|
| 594 |
+
copyIdButton.addEventListener('click', () => {
|
| 595 |
+
copyToClipboard(spaceIdDisplay.textContent, `ID du Space '${spaceIdDisplay.textContent}' copié!`);
|
| 596 |
+
});
|
| 597 |
+
|
| 598 |
+
</script>
|
| 599 |
+
</body>
|
| 600 |
+
</html>
|
a6ea61c8-951a-413a-ba9d-7365d83fbd4d/mindus/mentions_legales.html
ADDED
|
@@ -0,0 +1,739 @@
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title data-translate="page-title">Legal Notice - GitForge</title>
|
| 7 |
+
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
| 10 |
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 11 |
+
<style>
|
| 12 |
+
/* Styles personnalisés similaires à tarifs.html */
|
| 13 |
+
.bg-header { background-color: #f7f9fc; }
|
| 14 |
+
.header-border { border-color: #f7f9fc; }
|
| 15 |
+
.text-blue-600-var { color: #2563eb; }
|
| 16 |
+
.border-blue-600-var { border-color: #f7f9fc; }
|
| 17 |
+
.text-gray-900-var { color: #1f2937; }
|
| 18 |
+
.text-gray-600-var { color: #4b5563; }
|
| 19 |
+
.text-color { color: #1f2937; } /* Couleur par défaut pour le texte */
|
| 20 |
+
.hover\:text-blue-500-var:hover { color: #3b82f6; } /* Similaire à blue-500 de Tailwind */
|
| 21 |
+
|
| 22 |
+
/* Styles pour la navigation rapide (Table des Matières) */
|
| 23 |
+
.sticky-toc {
|
| 24 |
+
position: sticky;
|
| 25 |
+
top: 1rem;
|
| 26 |
+
max-height: calc(100vh - 2rem);
|
| 27 |
+
overflow-y: auto;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/* Style de base pour les listes de contenu H3 */
|
| 31 |
+
.content-list {
|
| 32 |
+
list-style: none;
|
| 33 |
+
padding-left: 0;
|
| 34 |
+
margin-top: 1rem;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.content-list li {
|
| 38 |
+
margin-bottom: 0.5rem;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.content-list strong {
|
| 42 |
+
display: block;
|
| 43 |
+
margin-bottom: 0.25rem;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/* Style pour l'image de fond */
|
| 47 |
+
.article-background {
|
| 48 |
+
background-image: url('https://i.postimg.cc/L8RyJVpW/Gemini-Generated-Image-5uqe9w5uqe9w5uqe.jpg');
|
| 49 |
+
background-size: cover;
|
| 50 |
+
background-position: center;
|
| 51 |
+
background-attachment: fixed; /* L'image ne défile pas avec le contenu */
|
| 52 |
+
padding: 2rem; /* Espace autour du contenu */
|
| 53 |
+
border-radius: 0.5rem;
|
| 54 |
+
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* Pour assurer une bonne lisibilité du texte sur l'image de fond */
|
| 58 |
+
.content-overlay {
|
| 59 |
+
background-color: rgba(255, 255, 255, 0.9); /* Fond blanc semi-transparent */
|
| 60 |
+
padding: 2rem;
|
| 61 |
+
border-radius: 0.5rem;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.prose h1, .prose h2, .prose h3 {
|
| 65 |
+
color: #2563eb; /* Rendre les titres bleus plus lisibles */
|
| 66 |
+
}
|
| 67 |
+
</style>
|
| 68 |
+
</head>
|
| 69 |
+
<body class="bg-white text-gray-900-var">
|
| 70 |
+
<header class="bg-header border-b header-border sticky top-0 z-50">
|
| 71 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 72 |
+
<div class="flex justify-between items-center h-16">
|
| 73 |
+
<a href="#" class="flex items-center space-x-2">
|
| 74 |
+
<img src="https://i.imgur.com/7Gn3toV.png" alt="GitForge Logo" class="h-8 w-auto">
|
| 75 |
+
<span class="text-xl font-bold text-gray-900-var">GitForge</span>
|
| 76 |
+
</a>
|
| 77 |
+
|
| 78 |
+
<nav class="hidden sm:flex space-x-6 items-center">
|
| 79 |
+
<a data-translate="nav-product" href="#" class="nav-link text-color hover:text-blue-500-var transition duration-200 hidden lg:block">Product</a>
|
| 80 |
+
<a data-translate="nav-pricing" href="/mindus/nexus/tarifs" class="nav-link text-color hover:text-blue-500-var transition duration-200">Pricing</a>
|
| 81 |
+
<a data-translate="nav-resources" href="#" class="nav-link text-color hover:text-blue-500-var transition duration-200 hidden md:block">Resources</a>
|
| 82 |
+
<a data-translate="nav-company" href="/mindus/nexus/contact" class="nav-link text-color hover:text-blue-500-var transition duration-200 hidden lg:block">Company</a>
|
| 83 |
+
<a data-translate="nav-contact" href="/mindus/nexus/contact" class="nav-link text-color hover:text-blue-500-var transition duration-200 hidden xl:block">Contact us</a>
|
| 84 |
+
|
| 85 |
+
<a data-translate="nav-signin" href="/mindus/nexus/connexion" class="text-color hover:text-blue-500-var transition duration-200">Sign in</a>
|
| 86 |
+
|
| 87 |
+
</nav>
|
| 88 |
+
|
| 89 |
+
<div class="relative ml-4">
|
| 90 |
+
<button id="lang-menu-button" class="flex items-center p-2 rounded-lg hover:bg-gray-100 transition duration-200">
|
| 91 |
+
<i class="fas fa-globe mr-2"></i>
|
| 92 |
+
<span id="current-lang-display" class="font-medium text-color">EN</span>
|
| 93 |
+
<i class="fas fa-chevron-down ml-2 text-xs"></i>
|
| 94 |
+
</button>
|
| 95 |
+
<div id="lang-menu-dropdown" class="absolute right-0 mt-2 w-32 bg-white rounded-lg shadow-xl z-50 hidden border border-gray-200">
|
| 96 |
+
<a href="#" data-lang="en" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="en">English</a>
|
| 97 |
+
<a href="#" data-lang="fr" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="fr">Français</a>
|
| 98 |
+
<a href="#" data-lang="es" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="es">Español</a>
|
| 99 |
+
<a href="#" data-lang="zh-CN" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="zh-CN">Chinese (Simplified)</a>
|
| 100 |
+
<a href="#" data-lang="ja" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="ja">Japanese</a>
|
| 101 |
+
<a href="#" data-lang="de" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="de">German</a>
|
| 102 |
+
<a href="#" data-lang="pt-BR" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="pt-BR">Portuguese (BR)</a>
|
| 103 |
+
<a href="#" data-lang="ru" class="lang-option block px-4 py-2 text-gray-700 hover:bg-gray-100" data-translate-lang-name="ru">Russian</a>
|
| 104 |
+
</div>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<button class="sm:hidden text-gray-900-var focus:outline-none">
|
| 108 |
+
<i class="fas fa-bars h-6 w-6"></i>
|
| 109 |
+
</button>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
</header>
|
| 113 |
+
|
| 114 |
+
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
| 115 |
+
<div class="flex flex-col lg:flex-row lg:space-x-10">
|
| 116 |
+
<aside class="w-full lg:w-1/4 mb-10 lg:mb-0">
|
| 117 |
+
<div class="sticky-toc p-4 border rounded-lg bg-white shadow-sm">
|
| 118 |
+
<h2 class="text-xl font-bold mb-4 text-blue-600-var" data-translate="toc-title">Table of Contents</h2>
|
| 119 |
+
<nav id="toc-nav" class="space-y-2 text-sm">
|
| 120 |
+
</nav>
|
| 121 |
+
</div>
|
| 122 |
+
</aside>
|
| 123 |
+
|
| 124 |
+
<article id="content-container" class="w-full lg:w-3/4 prose max-w-none article-background">
|
| 125 |
+
<div class="content-overlay">
|
| 126 |
+
<h1 class="text-4xl font-extrabold mb-4 text-gray-900-var" data-translate="article-main-title">GitForge Legal Notice</h1>
|
| 127 |
+
<p class="text-sm text-gray-600-var mb-8" data-translate="effective-date-text">Last updated: November 28, 2025</p>
|
| 128 |
+
|
| 129 |
+
<h2 id="informations-legales-editeur" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-a-title">Legal Information and Publisher</h2>
|
| 130 |
+
<ul class="content-list text-gray-600-var space-y-3">
|
| 131 |
+
<li><strong data-translate="section-a-list-1-title">Site Publisher and Owner</strong> <span data-translate="section-a-list-1-desc">Parisien Ernest</span></li>
|
| 132 |
+
<li><strong data-translate="section-a-list-2-title">Headquarters Address (France)</strong> <span data-translate="section-a-list-2-desc">15 Rue de la Paix, 75002 Paris, France</span></li>
|
| 133 |
+
<li><strong data-translate="section-a-list-3-title">Email Address</strong> <span data-translate="section-a-list-3-desc">parisien.data@gmail.com</span></li>
|
| 134 |
+
<li><strong data-translate="section-a-list-4-title">Phone Number</strong> <span data-translate="section-a-list-4-desc">+50935794028</span></li>
|
| 135 |
+
<li><strong data-translate="section-a-list-5-title">Legal Form (Placeholder)</strong> <span data-translate="section-a-list-5-desc">SAS with a capital of €50,000 (Registration in progress)</span></li>
|
| 136 |
+
</ul>
|
| 137 |
+
|
| 138 |
+
<h2 id="hebergement-du-site" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-b-title">Website Hosting</h2>
|
| 139 |
+
<p class="text-gray-600-var mb-4" data-translate="section-b-desc-1">The GitForge platform is hosted by:</p>
|
| 140 |
+
<ul class="content-list text-gray-600-var space-y-3">
|
| 141 |
+
<li><strong data-translate="section-b-list-1-title">Host Name</strong> <span data-translate="section-b-list-1-desc">Render.com</span></li>
|
| 142 |
+
<li><strong data-translate="section-b-list-2-title">Host Contact</strong> <span data-translate="section-b-list-2-desc">Please refer to the host's official website for contact information.</span></li>
|
| 143 |
+
</ul>
|
| 144 |
+
|
| 145 |
+
<h2 id="propriete-intellectuelle" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-c-title">Intellectual Property</h2>
|
| 146 |
+
<p class="text-gray-600-var mb-4" data-translate="section-c-desc-1">All elements accessible on the GitForge platform (texts, images, graphics, logo, code, etc.) are the exclusive property of the publisher, Parisien Ernest, or are legitimately used under license.</p>
|
| 147 |
+
<p class="text-gray-600-var mb-4" data-translate="section-c-desc-2">Any reproduction, representation, modification, publication, or adaptation of all or part of the site elements, regardless of the means or process used, is strictly prohibited without the prior written authorization of the publisher.</p>
|
| 148 |
+
|
| 149 |
+
<h2 id="responsabilites" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-d-title">Responsibilities</h2>
|
| 150 |
+
<p class="text-gray-600-var mb-4" data-translate="section-d-desc-1">The publisher is only responsible for the content he has directly created. The publisher shall not be held liable for direct or indirect damage caused to the user's equipment when accessing the GitForge site, resulting either from the use of equipment that does not meet the specifications indicated in the point above, or from the appearance of a bug or incompatibility.</p>
|
| 151 |
+
<p class="text-gray-600-var mb-4" data-translate="section-d-desc-2">Interactive spaces (possibility to ask questions in the contact area) are available to users. The publisher reserves the right to delete, without prior notice, any content posted in this space that would violate the applicable law in France, particularly the provisions relating to data protection.</p>
|
| 152 |
+
|
| 153 |
+
<h2 id="conditions-generales-d-utilisation" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-e-title">General Terms of Use (GTU)</h2>
|
| 154 |
+
<p class="text-gray-600-var mb-4" data-translate="section-e-desc-1">The use of the GitForge platform implies the full acceptance of the General Terms of Use (GTU) described separately. These terms are intended to define the rules of use of the platform and the contractual obligations between the user and the publisher. Users are invited to consult them regularly.</p>
|
| 155 |
+
|
| 156 |
+
<h2 id="droit-applicable-et-attribution-de-juridiction" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-f-title">Applicable Law and Jurisdiction</h2>
|
| 157 |
+
<p class="text-gray-600-var mb-4" data-translate="section-f-desc-1">Any dispute in connection with the use of the GitForge site is subject to French law. Exclusive jurisdiction is given to the competent courts of Paris, France.</p>
|
| 158 |
+
<p class="text-gray-600-var mb-4" data-translate="section-f-desc-2">In the event of a dispute, the user should first contact the publisher to seek an amicable solution.</p>
|
| 159 |
+
|
| 160 |
+
<h2 id="gestion-des-donnees-personnelles-et-cookies" class="text-3xl font-bold mt-10 mb-4 text-gray-900-var" data-translate="section-g-title">Personal Data Management and Cookies</h2>
|
| 161 |
+
<p class="text-gray-600-var mb-4" data-translate="section-g-desc-1">As required by the French Data Protection Act (Loi Informatique et Libertés) and the GDPR, GitForge commits to protecting personal data. Information regarding the collection, processing, and use of personal data is detailed in our dedicated Privacy Policy (which remains accessible via the footer).</p>
|
| 162 |
+
<p class="text-gray-600-var mb-4" data-translate="section-g-desc-2">The management of cookies and other tracking technologies is also covered in the aforementioned policy. Users have the right to access, rectify, or erase their personal data by contacting the publisher via the email address provided.</p>
|
| 163 |
+
</div>
|
| 164 |
+
</article>
|
| 165 |
+
</div>
|
| 166 |
+
</main>
|
| 167 |
+
|
| 168 |
+
<footer class="bg-header border-t header-border mt-12">
|
| 169 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 text-sm text-gray-600-var">
|
| 170 |
+
<div class="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
|
| 171 |
+
<p>© <span id="current-year">2025</span> GitForge. All rights reserved.</p>
|
| 172 |
+
<div class="space-x-4">
|
| 173 |
+
<a href="#" class="hover:text-blue-600-var" data-translate="footer-privacy">Privacy</a>
|
| 174 |
+
<a href="#" class="hover:text-blue-600-var" data-translate="footer-terms">Terms</a>
|
| 175 |
+
<a href="#" class="hover:text-blue-600-var" data-translate="footer-support">Support</a>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</footer>
|
| 180 |
+
|
| 181 |
+
<script>
|
| 182 |
+
const translations = {
|
| 183 |
+
// General
|
| 184 |
+
'page-title': {
|
| 185 |
+
en: 'Legal Notice - GitForge',
|
| 186 |
+
fr: 'Mentions Légales - GitForge',
|
| 187 |
+
es: 'Aviso Legal - GitForge',
|
| 188 |
+
'zh-CN': '法律声明 - GitForge',
|
| 189 |
+
ja: '法的通知 - GitForge',
|
| 190 |
+
de: 'Impressum - GitForge',
|
| 191 |
+
'pt-BR': 'Aviso Legal - GitForge',
|
| 192 |
+
ru: 'Правовая информация - GitForge'
|
| 193 |
+
},
|
| 194 |
+
'article-main-title': {
|
| 195 |
+
en: 'GitForge Legal Notice',
|
| 196 |
+
fr: 'Mentions Légales GitForge',
|
| 197 |
+
es: 'Aviso Legal de GitForge',
|
| 198 |
+
'zh-CN': 'GitForge法律声明',
|
| 199 |
+
ja: 'GitForge 法的通知',
|
| 200 |
+
de: 'GitForge Impressum',
|
| 201 |
+
'pt-BR': 'Aviso Legal do GitForge',
|
| 202 |
+
ru: 'Правовая информация GitForge'
|
| 203 |
+
},
|
| 204 |
+
'effective-date-text': {
|
| 205 |
+
en: 'Last updated: November 28, 2025',
|
| 206 |
+
fr: 'Dernière mise à jour : 28 novembre 2025',
|
| 207 |
+
es: 'Última actualización: 28 de noviembre de 2025',
|
| 208 |
+
'zh-CN': '最后更新: 2025年11月28日',
|
| 209 |
+
ja: '最終更新日: 2025年11月28日',
|
| 210 |
+
de: 'Zuletzt aktualisiert: 28. November 2025',
|
| 211 |
+
'pt-BR': 'Última atualização: 28 de novembro de 2025',
|
| 212 |
+
ru: 'Последнее обновление: 28 ноября 2025 г.'
|
| 213 |
+
},
|
| 214 |
+
'toc-title': {
|
| 215 |
+
en: 'Table of Contents',
|
| 216 |
+
fr: 'Table des Matières',
|
| 217 |
+
es: 'Tabla de Contenidos',
|
| 218 |
+
'zh-CN': '目录',
|
| 219 |
+
ja: '目次',
|
| 220 |
+
de: 'Inhaltsverzeichnis',
|
| 221 |
+
'pt-BR': 'Índice',
|
| 222 |
+
ru: 'Содержание'
|
| 223 |
+
},
|
| 224 |
+
'nav-product': {
|
| 225 |
+
en: 'Product',
|
| 226 |
+
fr: 'Produit',
|
| 227 |
+
es: 'Producto',
|
| 228 |
+
'zh-CN': '产品',
|
| 229 |
+
ja: '製品',
|
| 230 |
+
de: 'Produkt',
|
| 231 |
+
'pt-BR': 'Produto',
|
| 232 |
+
ru: 'Продукт'
|
| 233 |
+
},
|
| 234 |
+
'nav-pricing': {
|
| 235 |
+
en: 'Pricing',
|
| 236 |
+
fr: 'Tarifs',
|
| 237 |
+
es: 'Precios',
|
| 238 |
+
'zh-CN': '定价',
|
| 239 |
+
ja: '価格',
|
| 240 |
+
de: 'Preise',
|
| 241 |
+
'pt-BR': 'Preços',
|
| 242 |
+
ru: 'Цены'
|
| 243 |
+
},
|
| 244 |
+
'nav-resources': {
|
| 245 |
+
en: 'Resources',
|
| 246 |
+
fr: 'Ressources',
|
| 247 |
+
es: 'Recursos',
|
| 248 |
+
'zh-CN': '资源',
|
| 249 |
+
ja: 'リソース',
|
| 250 |
+
de: 'Ressourcen',
|
| 251 |
+
'pt-BR': 'Recursos',
|
| 252 |
+
ru: 'Ресурсы'
|
| 253 |
+
},
|
| 254 |
+
'nav-company': {
|
| 255 |
+
en: 'Company',
|
| 256 |
+
fr: 'Entreprise',
|
| 257 |
+
es: 'Compañía',
|
| 258 |
+
'zh-CN': '公司',
|
| 259 |
+
ja: '会社',
|
| 260 |
+
de: 'Unternehmen',
|
| 261 |
+
'pt-BR': 'Empresa',
|
| 262 |
+
ru: 'Компания'
|
| 263 |
+
},
|
| 264 |
+
'nav-contact': {
|
| 265 |
+
en: 'Contact us',
|
| 266 |
+
fr: 'Nous contacter',
|
| 267 |
+
es: 'Contáctanos',
|
| 268 |
+
'zh-CN': '联系我们',
|
| 269 |
+
ja: 'お問い合わせ',
|
| 270 |
+
de: 'Kontaktieren Sie uns',
|
| 271 |
+
'pt-BR': 'Fale conosco',
|
| 272 |
+
ru: 'Связаться с нами'
|
| 273 |
+
},
|
| 274 |
+
'nav-signin': {
|
| 275 |
+
en: 'Sign in',
|
| 276 |
+
fr: 'Connexion',
|
| 277 |
+
es: 'Iniciar sesión',
|
| 278 |
+
'zh-CN': '登录',
|
| 279 |
+
ja: 'サインイン',
|
| 280 |
+
de: 'Anmelden',
|
| 281 |
+
'pt-BR': 'Entrar',
|
| 282 |
+
ru: 'Войти'
|
| 283 |
+
},
|
| 284 |
+
'translate-lang-name-en': { en: 'English', fr: 'Anglais', es: 'Inglés', 'zh-CN': '英语', ja: '英語', de: 'Englisch', 'pt-BR': 'Inglês', ru: 'Английский' },
|
| 285 |
+
'translate-lang-name-fr': { en: 'French', fr: 'Français', es: 'Francés', 'zh-CN': '法语', ja: 'フランス語', de: 'Französisch', 'pt-BR': 'Francês', ru: 'Французский' },
|
| 286 |
+
'translate-lang-name-es': { en: 'Spanish', fr: 'Espagnol', es: 'Español', 'zh-CN': '西班牙语', ja: 'スペイン語', de: 'Spanisch', 'pt-BR': 'Espanhol', ru: 'Испанский' },
|
| 287 |
+
'translate-lang-name-zh-CN': { en: 'Chinese (Simplified)', fr: 'Chinois (Simplifié)', es: 'Chino (Simplificado)', 'zh-CN': '中文(简体)', ja: '中国語(簡体字)', de: 'Chinesisch (Vereinfacht)', 'pt-BR': 'Chinês (Simplificado)', ru: 'Китайский (Упр.)' },
|
| 288 |
+
'translate-lang-name-ja': { en: 'Japanese', fr: 'Japonais', es: 'Japonés', 'zh-CN': '日语', ja: '日本語', de: 'Japanisch', 'pt-BR': 'Japonês', ru: 'Японский' },
|
| 289 |
+
'translate-lang-name-de': { en: 'German', fr: 'Allemand', es: 'Alemán', 'zh-CN': '德语', ja: 'ドイツ語', de: 'Deutsch', 'pt-BR': 'Alemão', ru: 'Немецкий' },
|
| 290 |
+
'translate-lang-name-pt-BR': { en: 'Portuguese (BR)', fr: 'Portugais (Brésilien)', es: 'Portugués (Brasil)', 'zh-CN': '葡萄牙语(巴西)', ja: 'ポルトガル語(ブラジル)', de: 'Portugiesisch (BR)', 'pt-BR': 'Português (BR)', ru: 'Португальский (Бразилия)' },
|
| 291 |
+
'translate-lang-name-ru': { en: 'Russian', fr: 'Russe', es: 'Ruso', 'zh-CN': '俄��', ja: 'ロシア語', de: 'Russisch', 'pt-BR': 'Russo', ru: 'Русский' },
|
| 292 |
+
'footer-privacy': {
|
| 293 |
+
en: 'Privacy',
|
| 294 |
+
fr: 'Confidentialité',
|
| 295 |
+
es: 'Privacidad',
|
| 296 |
+
'zh-CN': '隐私',
|
| 297 |
+
ja: 'プライバシー',
|
| 298 |
+
de: 'Datenschutz',
|
| 299 |
+
'pt-BR': 'Privacidade',
|
| 300 |
+
ru: 'Конфиденциальность'
|
| 301 |
+
},
|
| 302 |
+
'footer-terms': {
|
| 303 |
+
en: 'Terms',
|
| 304 |
+
fr: 'Conditions',
|
| 305 |
+
es: 'Términos',
|
| 306 |
+
'zh-CN': '条款',
|
| 307 |
+
ja: '利用規約',
|
| 308 |
+
de: 'Bedingungen',
|
| 309 |
+
'pt-BR': 'Termos',
|
| 310 |
+
ru: 'Условия'
|
| 311 |
+
},
|
| 312 |
+
'footer-support': {
|
| 313 |
+
en: 'Support',
|
| 314 |
+
fr: 'Support',
|
| 315 |
+
es: 'Soporte',
|
| 316 |
+
'zh-CN': '支持',
|
| 317 |
+
ja: 'サポート',
|
| 318 |
+
de: 'Support',
|
| 319 |
+
'pt-BR': 'Suporte',
|
| 320 |
+
ru: 'Поддержка'
|
| 321 |
+
},
|
| 322 |
+
|
| 323 |
+
// Article Content (Mentions Légales)
|
| 324 |
+
'section-a-title': {
|
| 325 |
+
en: 'Legal Information and Publisher',
|
| 326 |
+
fr: 'Informations Légales et Éditeur',
|
| 327 |
+
es: 'Información Legal y Editor',
|
| 328 |
+
'zh-CN': '法律信息和发布者',
|
| 329 |
+
ja: '法的情報と発行元',
|
| 330 |
+
de: 'Rechtliche Informationen und Herausgeber',
|
| 331 |
+
'pt-BR': 'Informações Legais e Editor',
|
| 332 |
+
ru: 'Правовая информация и издатель'
|
| 333 |
+
},
|
| 334 |
+
'section-a-list-1-title': {
|
| 335 |
+
en: 'Site Publisher and Owner',
|
| 336 |
+
fr: 'Éditeur et Propriétaire du Site',
|
| 337 |
+
es: 'Editor y Propietario del Sitio',
|
| 338 |
+
'zh-CN': '网站发布者和所有者',
|
| 339 |
+
ja: 'サイト発行元と所有者',
|
| 340 |
+
de: 'Herausgeber und Inhaber der Website',
|
| 341 |
+
'pt-BR': 'Editor e Proprietário do Site',
|
| 342 |
+
ru: 'Издатель и владелец сайта'
|
| 343 |
+
},
|
| 344 |
+
'section-a-list-1-desc': {
|
| 345 |
+
en: 'Parisien Ernest',
|
| 346 |
+
fr: 'Parisien Ernest',
|
| 347 |
+
es: 'Parisien Ernest',
|
| 348 |
+
'zh-CN': 'Parisien Ernest',
|
| 349 |
+
ja: 'Parisien Ernest',
|
| 350 |
+
de: 'Parisien Ernest',
|
| 351 |
+
'pt-BR': 'Parisien Ernest',
|
| 352 |
+
ru: 'Parisien Ernest'
|
| 353 |
+
},
|
| 354 |
+
'section-a-list-2-title': {
|
| 355 |
+
en: 'Headquarters Address (France)',
|
| 356 |
+
fr: 'Adresse du Siège Social (France)',
|
| 357 |
+
es: 'Dirección de la Sede (Francia)',
|
| 358 |
+
'zh-CN': '总部地址(法国)',
|
| 359 |
+
ja: '本社住所(フランス)',
|
| 360 |
+
de: 'Hauptsitzadresse (Frankreich)',
|
| 361 |
+
'pt-BR': 'Endereço da Sede (França)',
|
| 362 |
+
ru: 'Адрес штаб-квартиры (Франция)'
|
| 363 |
+
},
|
| 364 |
+
'section-a-list-2-desc': {
|
| 365 |
+
en: '15 Rue de la Paix, 75002 Paris, France',
|
| 366 |
+
fr: '15 Rue de la Paix, 75002 Paris, France',
|
| 367 |
+
es: '15 Rue de la Paix, 75002 París, Francia',
|
| 368 |
+
'zh-CN': '15 Rue de la Paix, 75002 Paris, France',
|
| 369 |
+
ja: '15 Rue de la Paix, 75002 Paris, France',
|
| 370 |
+
de: '15 Rue de la Paix, 75002 Paris, Frankreich',
|
| 371 |
+
'pt-BR': '15 Rue de la Paix, 75002 Paris, França',
|
| 372 |
+
ru: '15 Rue de la Paix, 75002 Paris, France'
|
| 373 |
+
},
|
| 374 |
+
'section-a-list-3-title': {
|
| 375 |
+
en: 'Email Address',
|
| 376 |
+
fr: 'Adresse Email',
|
| 377 |
+
es: 'Dirección de Correo Electrónico',
|
| 378 |
+
'zh-CN': '电子邮件地址',
|
| 379 |
+
ja: 'メールアドレス',
|
| 380 |
+
de: 'E-Mail-Adresse',
|
| 381 |
+
'pt-BR': 'Endereço de Email',
|
| 382 |
+
ru: 'Адрес электронной почты'
|
| 383 |
+
},
|
| 384 |
+
'section-a-list-3-desc': {
|
| 385 |
+
en: 'parisien.data@gmail.com',
|
| 386 |
+
fr: 'parisien.data@gmail.com',
|
| 387 |
+
es: 'parisien.data@gmail.com',
|
| 388 |
+
'zh-CN': 'parisien.data@gmail.com',
|
| 389 |
+
ja: 'parisien.data@gmail.com',
|
| 390 |
+
de: 'parisien.data@gmail.com',
|
| 391 |
+
'pt-BR': 'parisien.data@gmail.com',
|
| 392 |
+
ru: 'parisien.data@gmail.com'
|
| 393 |
+
},
|
| 394 |
+
'section-a-list-4-title': {
|
| 395 |
+
en: 'Phone Number',
|
| 396 |
+
fr: 'Numéro de Téléphone',
|
| 397 |
+
es: 'Número de Teléfono',
|
| 398 |
+
'zh-CN': '电话号码',
|
| 399 |
+
ja: '電話番号',
|
| 400 |
+
de: 'Telefonnummer',
|
| 401 |
+
'pt-BR': 'Número de Telefone',
|
| 402 |
+
ru: 'Номер телефона'
|
| 403 |
+
},
|
| 404 |
+
'section-a-list-4-desc': {
|
| 405 |
+
en: '+50935794028',
|
| 406 |
+
fr: '+50935794028',
|
| 407 |
+
es: '+50935794028',
|
| 408 |
+
'zh-CN': '+50935794028',
|
| 409 |
+
ja: '+50935794028',
|
| 410 |
+
de: '+50935794028',
|
| 411 |
+
'pt-BR': '+50935794028',
|
| 412 |
+
ru: '+50935794028'
|
| 413 |
+
},
|
| 414 |
+
'section-a-list-5-title': {
|
| 415 |
+
en: 'Legal Form (Placeholder)',
|
| 416 |
+
fr: 'Forme Juridique (à titre indicatif)',
|
| 417 |
+
es: 'Forma Legal (indicativo)',
|
| 418 |
+
'zh-CN': '法律形式(占位符)',
|
| 419 |
+
ja: '法形式(プレースホルダー)',
|
| 420 |
+
de: 'Rechtsform (Platzhalter)',
|
| 421 |
+
'pt-BR': 'Forma Jurídica (Placeholder)',
|
| 422 |
+
ru: 'Организационно-правовая форма (заполнитель)'
|
| 423 |
+
},
|
| 424 |
+
'section-a-list-5-desc': {
|
| 425 |
+
en: 'SAS with a capital of €50,000 (Registration in progress)',
|
| 426 |
+
fr: 'SAS au capital de 50 000€ (Immatriculation en cours)',
|
| 427 |
+
es: 'SAS con un capital de 50.000€ (Registro en curso)',
|
| 428 |
+
'zh-CN': 'SAS 资本 50,000 欧元(正在注册中)',
|
| 429 |
+
ja: '資本金 €50,000 の SAS (登録進行中)',
|
| 430 |
+
de: 'SAS mit einem Kapital von 50.000 € (Registrierung läuft)',
|
| 431 |
+
'pt-BR': 'SAS com capital de €50.000 (Registro em andamento)',
|
| 432 |
+
ru: 'SAS с капиталом 50 000 евро (Регистрация в процессе)'
|
| 433 |
+
},
|
| 434 |
+
|
| 435 |
+
'section-b-title': {
|
| 436 |
+
en: 'Website Hosting',
|
| 437 |
+
fr: 'Hébergement du Site',
|
| 438 |
+
es: 'Alojamiento Web',
|
| 439 |
+
'zh-CN': '网站托管',
|
| 440 |
+
ja: 'ウェブサイトホスティング',
|
| 441 |
+
de: 'Website-Hosting',
|
| 442 |
+
'pt-BR': 'Hospedagem do Site',
|
| 443 |
+
ru: 'Хостинг сайта'
|
| 444 |
+
},
|
| 445 |
+
'section-b-desc-1': {
|
| 446 |
+
en: 'The GitForge platform is hosted by:',
|
| 447 |
+
fr: 'La plateforme GitForge est hébergée par :',
|
| 448 |
+
es: 'La plataforma GitForge está alojada por:',
|
| 449 |
+
'zh-CN': 'GitForge 平台由以下机构托管:',
|
| 450 |
+
ja: 'GitForge プラットフォームは以下によってホストされています:',
|
| 451 |
+
de: 'Die GitForge-Plattform wird gehostet von:',
|
| 452 |
+
'pt-BR': 'A plataforma GitForge é hospedada por:',
|
| 453 |
+
ru: 'Платформа GitForge размещена на:'
|
| 454 |
+
},
|
| 455 |
+
'section-b-list-1-title': {
|
| 456 |
+
en: 'Host Name',
|
| 457 |
+
fr: 'Nom de l\'Hébergeur',
|
| 458 |
+
es: 'Nombre del Anfitrión',
|
| 459 |
+
'zh-CN': '主机名',
|
| 460 |
+
ja: 'ホスト名',
|
| 461 |
+
de: 'Host-Name',
|
| 462 |
+
'pt-BR': 'Nome do Host',
|
| 463 |
+
ru: 'Имя хоста'
|
| 464 |
+
},
|
| 465 |
+
'section-b-list-1-desc': {
|
| 466 |
+
en: 'Render.com',
|
| 467 |
+
fr: 'Render.com',
|
| 468 |
+
es: 'Render.com',
|
| 469 |
+
'zh-CN': 'Render.com',
|
| 470 |
+
ja: 'Render.com',
|
| 471 |
+
de: 'Render.com',
|
| 472 |
+
'pt-BR': 'Render.com',
|
| 473 |
+
ru: 'Render.com'
|
| 474 |
+
},
|
| 475 |
+
'section-b-list-2-title': {
|
| 476 |
+
en: 'Host Contact',
|
| 477 |
+
fr: 'Contact de l\'Hébergeur',
|
| 478 |
+
es: 'Contacto del Anfitrión',
|
| 479 |
+
'zh-CN': '主机联系方式',
|
| 480 |
+
ja: 'ホスト連絡先',
|
| 481 |
+
de: 'Host-Kontakt',
|
| 482 |
+
'pt-BR': 'Contato do Host',
|
| 483 |
+
ru: 'Контакт хоста'
|
| 484 |
+
},
|
| 485 |
+
'section-b-list-2-desc': {
|
| 486 |
+
en: 'Please refer to the host\'s official website for contact information.',
|
| 487 |
+
fr: 'Veuillez vous référer au site officiel de l\'hébergeur pour les informations de contact.',
|
| 488 |
+
es: 'Consulte el sitio web oficial del anfitrión para obtener información de contacto.',
|
| 489 |
+
'zh-CN': '请参考主机的官方网站获取联系信息。',
|
| 490 |
+
ja: '連絡先については、ホストの公式ウェブサイトを参照してください。',
|
| 491 |
+
de: 'Bitte beachten Sie die offizielle Website des Host-Anbieters für Kontaktinformationen.',
|
| 492 |
+
'pt-BR': 'Por favor, consulte o site oficial do host para informações de contato.',
|
| 493 |
+
ru: 'Пожалуйста, обратитесь к официальному веб-сайту хоста для получения контактной информации.'
|
| 494 |
+
},
|
| 495 |
+
|
| 496 |
+
'section-c-title': {
|
| 497 |
+
en: 'Intellectual Property',
|
| 498 |
+
fr: 'Propriété Intellectuelle',
|
| 499 |
+
es: 'Propiedad Intelectual',
|
| 500 |
+
'zh-CN': '知识产权',
|
| 501 |
+
ja: '知的財産',
|
| 502 |
+
de: 'Geistiges Eigentum',
|
| 503 |
+
'pt-BR': 'Propriedade Intelectual',
|
| 504 |
+
ru: 'Интеллектуальная собственность'
|
| 505 |
+
},
|
| 506 |
+
'section-c-desc-1': {
|
| 507 |
+
en: 'All elements accessible on the GitForge platform (texts, images, graphics, logo, code, etc.) are the exclusive property of the publisher, Parisien Ernest, or are legitimately used under license.',
|
| 508 |
+
fr: 'Tous les éléments accessibles sur la plateforme GitForge (textes, images, graphismes, logo, code, etc.) sont la propriété exclusive de l’éditeur, Parisien Ernest, ou sont légitimement utilisés sous licence.',
|
| 509 |
+
es: 'Todos los elementos accesibles en la plataforma GitForge (textos, imágenes, gráficos, logotipo, código, etc.) son propiedad exclusiva del editor, Parisien Ernest, o son utilizados legítimamente bajo licencia.',
|
| 510 |
+
'zh-CN': 'GitForge 平台上可访问的所有元素(文本、图像、图形、徽标、代码等)均为发布者 Parisien Ernest 的独家财产,或根据许可合法使用。',
|
| 511 |
+
ja: 'GitForge プラットフォーム上でアクセス可能なすべての要素(テキスト、画像、グラフィック、ロゴ、コードなど)は、発行元である Parisien Ernest の独占的な財産であるか、またはライセンスに基づいて合法的に使用されています。',
|
| 512 |
+
de: 'Alle auf der GitForge-Plattform zugänglichen Elemente (Texte, Bilder, Grafiken, Logo, Code usw.) sind das ausschließliche Eigentum des Herausgebers, Parisien Ernest, oder werden rechtmäßig unter Lizenz genutzt.',
|
| 513 |
+
'pt-BR': 'Todos os elementos acessíveis na plataforma GitForge (textos, imagens, gráficos, logotipos, código, etc.) são propriedade exclusiva do editor, Parisien Ernest, ou são legitimamente utilizados sob licença.',
|
| 514 |
+
ru: 'Все элементы, доступные на платформе GitForge (тексты, изображения, графика, логотип, код и т. д.), являются исключительной собственностью издателя, Parisien Ernest, или правомерно используются по лицензии.'
|
| 515 |
+
},
|
| 516 |
+
'section-c-desc-2': {
|
| 517 |
+
en: 'Any reproduction, representation, modification, publication, or adaptation of all or part of the site elements, regardless of the means or process used, is strictly prohibited without the prior written authorization of the publisher.',
|
| 518 |
+
fr: 'Toute reproduction, représentation, modification, publication, ou adaptation de tout ou partie des éléments du site, quel que soit le moyen ou le procédé utilisé, est strictement interdite sans l’autorisation écrite préalable de l’éditeur.',
|
| 519 |
+
es: 'Cualquier reproducción, representación, modificación, publicación o adaptación de la totalidad o parte de los elementos del sitio, independientemente del medio o proceso utilizado, está estrictamente prohibida sin la autorización previa por escrito del editor.',
|
| 520 |
+
'zh-CN': '未经发布者事先书面授权,严禁以任何方式或过程对网站元素的全部或部分进行任何复制、表示、修改、发布或改编。',
|
| 521 |
+
ja: '使用される手段やプロセスに関係なく、サイト要素の全部または一部の複製、表現、変更、公開、または翻案は、発行元の事前の書面による許可なしに厳禁されています。',
|
| 522 |
+
de: 'Jede Vervielfältigung, Darstellung, Änderung, Veröffentlichung oder Anpassung aller oder eines Teils der Website-Elemente, unabhängig von den verwendeten Mitteln oder Verfahren, ist ohne die vorherige schriftliche Genehmigung des Herausgebers strengstens untersagt.',
|
| 523 |
+
'pt-BR': 'Qualquer reprodução, representação, modificação, publicação ou adaptação de todo ou parte dos elementos do site, independentemente do meio ou processo utilizado, é estritamente proibida sem a autorização prévia por escrito do editor.',
|
| 524 |
+
ru: 'Любое воспроизведение, представление, изменение, публикация или адаптация всех или части элементов сайта, независимо от используемых средств или процесса, строго запрещены без предварительного письменного разрешения издателя.'
|
| 525 |
+
},
|
| 526 |
+
|
| 527 |
+
'section-d-title': {
|
| 528 |
+
en: 'Responsibilities',
|
| 529 |
+
fr: 'Responsabilités',
|
| 530 |
+
es: 'Responsabilidades',
|
| 531 |
+
'zh-CN': '责任',
|
| 532 |
+
ja: '責任',
|
| 533 |
+
de: 'Verantwortlichkeiten',
|
| 534 |
+
'pt-BR': 'Responsabilidades',
|
| 535 |
+
ru: 'Ответственность'
|
| 536 |
+
},
|
| 537 |
+
'section-d-desc-1': {
|
| 538 |
+
en: 'The publisher is only responsible for the content he has directly created. The publisher shall not be held liable for direct or indirect damage caused to the user\'s equipment when accessing the GitForge site, resulting either from the use of equipment that does not meet the specifications indicated in the point above, or from the appearance of a bug or incompatibility.',
|
| 539 |
+
fr: 'L’éditeur n’est responsable que du contenu qu’il a directement créé. L’éditeur ne pourra être tenu responsable des dommages directs et indirects causés au matériel de l’utilisateur lors de l’accès au site GitForge, résultant soit de l’utilisation d’un matériel ne répondant pas aux spécifications indiquées au point ci-dessus, soit de l’apparition d’un bug ou d’une incompatibilité.',
|
| 540 |
+
es: 'El editor solo es responsable del contenido que ha creado directamente. El editor no será responsable de los daños directos o indirectos causados al equipo del usuario al acceder al sitio de GitForge, resultantes del uso de equipos que no cumplen con las especificaciones, o de la aparición de un error o incompatibilidad.',
|
| 541 |
+
'zh-CN': '发布者仅对其直接创建的内容负责。发布者对用户在访问 GitForge 网站时给用户设备造成的直接或间接损害不承担责任,这些损害是由于使用了不符合上述规格的设备,或由于出现错误或不兼容性造成的。',
|
| 542 |
+
ja: '発行元は、自身が直接作成したコンテンツについてのみ責任を負います。発行元は、GitForgeサイトにアクセスする際にユーザーの機器に生じた直接的または間接的な損害について責任を負いません。これは、上記で示された仕様を満たさない機器の使用、またはバグや非互換性の発生によるものです。',
|
| 543 |
+
de: 'Der Herausgeber ist nur für die von ihm direkt erstellten Inhalte verantwortlich. Der Herausgeber haftet nicht für direkte oder indirekte Schäden am Gerät des Benutzers beim Zugriff auf die GitForge-Website, die entweder aus der Verwendung von Geräten resultieren, die nicht den oben angegebenen Spezifikationen entsprechen, oder aus dem Auftreten eines Fehlers oder einer Inkompatibilität.',
|
| 544 |
+
'pt-BR': 'O editor é responsável apenas pelo conteúdo que ele criou diretamente. O editor não será responsabilizado por danos diretos ou indiretos causados ao equipamento do usuário ao acessar o site GitForge, resultantes do uso de equipamento que não atende às especificações indicadas no ponto acima, ou do surgimento de um bug ou incompatibilidade.',
|
| 545 |
+
ru: 'Издатель несет ответственность только за контент, который он создал непосредственно. Издатель не несет ответственности за прямой или косвенный ущерб, причиненный оборудованию пользователя при доступе к сайту GitForge, возникший в результате использования оборудования, не соответствующего указанным выше спецификациям, или из-за появления ошибки или несовместимости.'
|
| 546 |
+
},
|
| 547 |
+
'section-d-desc-2': {
|
| 548 |
+
en: 'Interactive spaces (possibility to ask questions in the contact area) are available to users. The publisher reserves the right to delete, without prior notice, any content posted in this space that would violate the applicable law in France, particularly the provisions relating to data protection.',
|
| 549 |
+
fr: 'Des espaces interactifs (possibilité de poser des questions dans l’espace contact) sont à la disposition des utilisateurs. L’éditeur se réserve le droit de supprimer, sans mise en demeure préalable, tout contenu déposé dans cet espace qui contreviendrait à la législation applicable en France, en particulier aux dispositions relatives à la protection des données.',
|
| 550 |
+
es: 'Los espacios interactivos (posibilidad de hacer preguntas en el área de contacto) están disponibles para los usuarios. El editor se reserva el derecho de eliminar, sin previo aviso, cualquier contenido publicado en este espacio que contravenga la legislación aplicable en Francia, en particular las disposiciones relativas a la protección de datos.',
|
| 551 |
+
'zh-CN': '互动空间(在联系区域提问的可能性)可供用户使用。发布者保留在不事先通知的情况下删除在此空间发布的任何违反法国适用法律(特别是与数据保护相关的规定)的内容的权利。',
|
| 552 |
+
ja: 'インタラクティブなスペース(連絡先エリアで質問をする可能性)がユーザーに提供されています。発行元は���フランスで適用される法律、特にデータ保護に関する規定に違反するこのスペースに投稿されたコンテンツを、事前の通知なしに削除する権利を留保します。',
|
| 553 |
+
de: 'Interaktive Bereiche (Möglichkeit, Fragen im Kontaktbereich zu stellen) stehen den Benutzern zur Verfügung. Der Herausgeber behält sich das Recht vor, ohne vorherige Ankündigung alle in diesem Bereich veröffentlichten Inhalte zu löschen, die gegen das in Frankreich geltende Recht verstoßen würden, insbesondere die Bestimmungen zum Datenschutz.',
|
| 554 |
+
'pt-BR': 'Espaços interativos (possibilidade de fazer perguntas na área de contato) estão disponíveis para os usuários. O editor se reserva o direito de excluir, sem aviso prévio, qualquer conteúdo postado neste espaço que viole a lei aplicável na França, em particular as disposições relativas à proteção de dados.',
|
| 555 |
+
ru: 'Интерактивные пространства (возможность задавать вопросы в зоне контактов) доступны пользователям. Издатель оставляет за собой право удалять без предварительного уведомления любой контент, размещенный в этом пространстве, который нарушает применимое законодательство Франции, в частности положения, касающиеся защиты данных.'
|
| 556 |
+
},
|
| 557 |
+
|
| 558 |
+
'section-e-title': {
|
| 559 |
+
en: 'General Terms of Use (GTU)',
|
| 560 |
+
fr: 'Conditions Générales d\'Utilisation (CGU)',
|
| 561 |
+
es: 'Condiciones Generales de Uso (CGU)',
|
| 562 |
+
'zh-CN': '一般使用条款 (GTU)',
|
| 563 |
+
ja: '一般利用規約 (GTU)',
|
| 564 |
+
de: 'Allgemeine Nutzungsbedingungen (ANB)',
|
| 565 |
+
'pt-BR': 'Termos Gerais de Uso (TGU)',
|
| 566 |
+
ru: 'Общие условия использования (ОУИ)'
|
| 567 |
+
},
|
| 568 |
+
'section-e-desc-1': {
|
| 569 |
+
en: 'The use of the GitForge platform implies the full acceptance of the General Terms of Use (GTU) described separately. These terms are intended to define the rules of use of the platform and the contractual obligations between the user and the publisher. Users are invited to consult them regularly.',
|
| 570 |
+
fr: 'L’utilisation de la plateforme GitForge implique l’acceptation pleine et entière des Conditions Générales d’Utilisation (CGU) décrites séparément. Ces conditions visent à définir les règles d’utilisation de la plateforme et les obligations contractuelles entre l’utilisateur et l’éditeur. Les utilisateurs sont invités à les consulter régulièrement.',
|
| 571 |
+
es: 'El uso de la plataforma GitForge implica la plena aceptación de las Condiciones Generales de Uso (CGU) descritas por separado. Estos términos tienen como objetivo definir las reglas de uso de la plataforma y las obligaciones contractuales entre el usuario y el editor. Se invita a los usuarios a consultarlas regularmente.',
|
| 572 |
+
'zh-CN': '使用 GitForge 平台即表示完全接受单独描述的一般使用条款 (GTU)。这些条款旨在界定平台的使用规则以及用户与发布者之间的合同义务。鼓励用户定期查阅这些条款。',
|
| 573 |
+
ja: 'GitForge プラットフォームの使用は、別途記述されている一般利用規約(GTU)の完全な受諾を意味します。これらの規約は、プラットフォームの使用規則と、ユーザーと発行元の間の契約上の義務を定義することを目的としています。ユーザーは定期的にこれらを参照することが推奨されます。',
|
| 574 |
+
de: 'Die Nutzung der GitForge-Plattform impliziert die vollständige Akzeptanz der separat beschriebenen Allgemeinen Nutzungsbedingungen (ANB). Diese Bedingungen sollen die Nutzungsregeln der Plattform und die vertraglichen Verpflichtungen zwischen dem Benutzer und dem Herausgeber definieren. Die Benutzer werden aufgefordert, diese regelmäßig zu konsultieren.',
|
| 575 |
+
'pt-BR': 'O uso da plataforma GitForge implica a aceitação total dos Termos Gerais de Uso (TGU) descritos separadamente. Estes termos visam definir as regras de uso da plataforma e as obrigações contratuais entre o usuário e o editor. Os usuários são convidados a consultá-los regularmente.',
|
| 576 |
+
ru: 'Использование платформы GitForge подразумевает полное принятие Общих условий использования (ОУИ), описанных отдельно. Эти условия предназначены для определения правил использования платформы и договорных обязательств между пользователем и издателем. Пользователям рекомендуется регулярно с ними ознакомляться.'
|
| 577 |
+
},
|
| 578 |
+
|
| 579 |
+
'section-f-title': {
|
| 580 |
+
en: 'Applicable Law and Jurisdiction',
|
| 581 |
+
fr: 'Droit Applicable et Attribution de Juridiction',
|
| 582 |
+
es: 'Ley Aplicable y Jurisdicción',
|
| 583 |
+
'zh-CN': '适用法律和管辖权',
|
| 584 |
+
ja: '準拠法および管轄',
|
| 585 |
+
de: 'Anwendbares Recht und Gerichtsstand',
|
| 586 |
+
'pt-BR': 'Lei Aplicável e Jurisdição',
|
| 587 |
+
ru: 'Применимое право и юрисдикция'
|
| 588 |
+
},
|
| 589 |
+
'section-f-desc-1': {
|
| 590 |
+
en: 'Any dispute in connection with the use of the GitForge site is subject to French law. Exclusive jurisdiction is given to the competent courts of Paris, France.',
|
| 591 |
+
fr: 'Tout litige en relation avec l’utilisation du site GitForge est soumis au droit français. Il est fait attribution exclusive de juridiction aux tribunaux compétents de Paris, France.',
|
| 592 |
+
es: 'Cualquier disputa en relación con el uso del sitio de GitForge está sujeta a la ley francesa. La jurisdicción exclusiva se otorga a los tribunales competentes de París, Francia.',
|
| 593 |
+
'zh-CN': '任何与使用 GitForge 网站有关的争议均受法国法律管辖。专属管辖权赋予法国巴黎的具有管辖权的法院。',
|
| 594 |
+
ja: 'GitForge サイトの使用に関する紛争はすべてフランス法に準拠します。専属管轄権は、フランス、パリの管轄裁判所に与えられます。',
|
| 595 |
+
de: 'Jede Streitigkeit im Zusammenhang mit der Nutzung der GitForge-Website unterliegt französischem Recht. Die ausschließliche Zuständigkeit liegt bei den zuständigen Gerichten von Paris, Frankreich.',
|
| 596 |
+
'pt-BR': 'Qualquer disputa relacionada ao uso do site GitForge está sujeita à lei francesa. A jurisdição exclusiva é dada aos tribunais competentes de Paris, França.',
|
| 597 |
+
ru: 'Любой спор, связанный с использованием сайта GitForge, регулируется французским законодательством. Исключительная юрисдикция принадлежит компетентным судам Парижа, Франция.'
|
| 598 |
+
},
|
| 599 |
+
'section-f-desc-2': {
|
| 600 |
+
en: 'In the event of a dispute, the user should first contact the publisher to seek an amicable solution.',
|
| 601 |
+
fr: 'En cas de litige, l’utilisateur doit contacter en premier lieu l’éditeur pour tenter de trouver une solution amiable.',
|
| 602 |
+
es: 'En caso de disputa, el usuario debe contactar primero al editor para buscar una solución amistosa.',
|
| 603 |
+
'zh-CN': '如发生争议,用户应首先联系发布者寻求友好解决方案。',
|
| 604 |
+
ja: '紛争が発生した場合、ユーザーはまず発行元に連絡を取り、友好的な解決策を試みる必要があります。',
|
| 605 |
+
de: 'Im Falle einer Streitigkeit sollte der Benutzer zunächst den Herausgeber kontaktieren, um eine gütliche Lösung zu suchen.',
|
| 606 |
+
'pt-BR': 'Em caso de disputa, o usuário deve primeiro entrar em contato com o editor para buscar uma solução amigável.',
|
| 607 |
+
ru: 'В случае спора пользователь должен сначала связаться с издателем, чтобы попытаться найти мирное решение.'
|
| 608 |
+
},
|
| 609 |
+
|
| 610 |
+
'section-g-title': {
|
| 611 |
+
en: 'Personal Data Management and Cookies',
|
| 612 |
+
fr: 'Gestion des Données Personnelles et Cookies',
|
| 613 |
+
es: 'Gestión de Datos Personales y Cookies',
|
| 614 |
+
'zh-CN': '个人数据管理和 Cookie',
|
| 615 |
+
ja: '個人データ管理とクッキー',
|
| 616 |
+
de: 'Verwaltung personenbezogener Daten und Cookies',
|
| 617 |
+
'pt-BR': 'Gerenciamento de Dados Pessoais e Cookies',
|
| 618 |
+
ru: 'Управление персональными данными и файлы cookie'
|
| 619 |
+
},
|
| 620 |
+
'section-g-desc-1': {
|
| 621 |
+
en: 'As required by the French Data Protection Act (Loi Informatique et Libertés) and the GDPR, GitForge commits to protecting personal data. Information regarding the collection, processing, and use of personal data is detailed in our dedicated Privacy Policy (which remains accessible via the footer).',
|
| 622 |
+
fr: 'Conformément à la Loi Informatique et Libertés française et au RGPD, GitForge s’engage à protéger les données personnelles. Les informations relatives à la collecte, au traitement et à l\'utilisation des données personnelles sont détaillées dans notre Politique de Confidentialité dédiée (qui reste accessible via le pied de page).',
|
| 623 |
+
es: 'Según lo exige la Ley de Protección de Datos francesa (Loi Informatique et Libertés) y el GDPR, GitForge se compromete a proteger los datos personales. La información sobre la recopilación, el procesamiento y el uso de datos personales se detalla en nuestra Política de Privacidad dedicada (que sigue siendo accesible a través del pie de página).',
|
| 624 |
+
'zh-CN': '根据法国数据保护法(Loi Informatique et Libertés)和 GDPR 的要求,GitForge 承诺保护个人数据。有关个人数据的收集、处理和使用的信息详见我们专门的隐私政策(可通过页脚访问)。',
|
| 625 |
+
ja: 'フランスのデータ保護法(Loi Informatique et Libertés)および GDPR の要求に従い、GitForge は個人データの保護に努めます。個人データの収集、処理、および使用に関する情報は、専用のプライバシーポリシー(フッターからアクセス可能)に詳述されています。',
|
| 626 |
+
de: 'Wie es das französische Datenschutzgesetz (Loi Informatique et Libertés) und die DSGVO verlangen, verpflichtet sich GitForge zum Schutz personenbezogener Daten. Informationen zur Erfassung, Verarbeitung und Nutzung personenbezogener Daten sind in unserer dedizierten Datenschutzrichtlinie (die über die Fußzeile zugänglich bleibt) detailliert aufgeführt.',
|
| 627 |
+
'pt-BR': 'Conforme exigido pela Lei Francesa de Proteção de Dados (Loi Informatique et Libertés) e pelo GDPR, o GitForge se compromete a proteger os dados pessoais. As informações sobre a coleta, processamento e uso de dados pessoais são detalhadas em nossa Política de Privacidade dedicada (que permanece acessível através do rodapé).',
|
| 628 |
+
ru: 'В соответствии с французским Законом о защите данных (Loi Informatique et Libertés) и GDPR, GitForge обязуется защищать персональные данные. Информация о сборе, обработке и использовании персональных данных подробно изложена в нашей специальной Политике конфиденциальности (которая остается доступной через нижний колонтитул).'
|
| 629 |
+
},
|
| 630 |
+
'section-g-desc-2': {
|
| 631 |
+
en: 'The management of cookies and other tracking technologies is also covered in the aforementioned policy. Users have the right to access, rectify, or erase their personal data by contacting the publisher via the email address provided.',
|
| 632 |
+
fr: 'La gestion des cookies et autres technologies de suivi est également couverte dans la politique susmentionnée. Les utilisateurs disposent d’un droit d’accès, de rectification ou de suppression des données personnelles les concernant en contactant l’éditeur via l’adresse email fournie.',
|
| 633 |
+
es: 'La gestión de cookies y otras tecnologías de seguimiento también está cubierta en la política mencionada. Los usuarios tienen derecho a acceder, rectificar o eliminar sus datos personales contactando al editor a través de la dirección de correo electrónico proporcionada.',
|
| 634 |
+
'zh-CN': 'Cookie 和其他跟踪技术的管理也包含在上述政策中。用户有权通过提供的电子邮件地址联系发布者,以访问、纠正或删除其个人数据。',
|
| 635 |
+
ja: 'クッキーおよびその他のトラッキング技術の管理も、前述のポリシーでカバーされています。ユーザーは、提供されたメールアドレスを通じて発行元に連絡することにより、自身の個人データへのアクセス、訂正、または削除の権利を有します。',
|
| 636 |
+
de: 'Die Verwaltung von Cookies und anderen Tracking-Technologien wird ebenfalls in der oben genannten Richtlinie behandelt. Benutzer haben das Recht auf Zugang, Berichtigung oder Löschung ihrer personenbezogenen Daten, indem sie den Herausgeber über die angegebene E-Mail-Adresse kontaktieren.',
|
| 637 |
+
'pt-BR': 'O gerenciamento de cookies e outras tecnologias de rastreamento também é abordado na política mencionada. Os usuários têm o direito de acessar, retificar ou apagar seus dados pessoais entrando em contato com o editor através do endereço de e-mail fornecido.',
|
| 638 |
+
ru: 'Управление файлами cookie и другими технологиями отслеживания также охвачено вышеупомянутой политикой. Пользователи имеют право на доступ, исправление или удаление своих персональных данных, связавшись с издателем по предоставленному адресу электронной почты.'
|
| 639 |
+
},
|
| 640 |
+
};
|
| 641 |
+
|
| 642 |
+
// Langage par défaut
|
| 643 |
+
let currentLang = 'en';
|
| 644 |
+
|
| 645 |
+
function applyTranslations(lang) {
|
| 646 |
+
currentLang = lang;
|
| 647 |
+
document.querySelectorAll('[data-translate]').forEach(element => {
|
| 648 |
+
const key = element.getAttribute('data-translate');
|
| 649 |
+
if (translations[key] && translations[key][lang]) {
|
| 650 |
+
element.textContent = translations[key][lang];
|
| 651 |
+
}
|
| 652 |
+
});
|
| 653 |
+
|
| 654 |
+
// Gérer les titres et descriptions composés (Summary Box)
|
| 655 |
+
document.querySelectorAll('[data-translate-lang-name]').forEach(element => {
|
| 656 |
+
const key = 'translate-lang-name-' + element.getAttribute('data-lang');
|
| 657 |
+
// S'assurer que la clé de traduction existe pour cette langue
|
| 658 |
+
const translationKey = element.getAttribute('data-lang');
|
| 659 |
+
if (translations[key] && translations[key][lang]) {
|
| 660 |
+
element.textContent = translations[key][lang];
|
| 661 |
+
} else if (translations[key] && translations[key]['en']) {
|
| 662 |
+
// Fallback en anglais si la traduction n'existe pas pour la langue cible
|
| 663 |
+
element.textContent = translations[key]['en'];
|
| 664 |
+
}
|
| 665 |
+
});
|
| 666 |
+
|
| 667 |
+
// Mettre à jour l'affichage de la langue actuelle
|
| 668 |
+
document.getElementById('current-lang-display').textContent = lang.toUpperCase();
|
| 669 |
+
|
| 670 |
+
// Générer la Table des Matières pour la nouvelle langue
|
| 671 |
+
generateTOC(lang);
|
| 672 |
+
}
|
| 673 |
+
|
| 674 |
+
function generateTOC(lang) {
|
| 675 |
+
const contentContainer = document.getElementById('content-container');
|
| 676 |
+
const tocNav = document.getElementById('toc-nav');
|
| 677 |
+
if (!contentContainer || !tocNav) return;
|
| 678 |
+
|
| 679 |
+
tocNav.innerHTML = '';
|
| 680 |
+
// Cibler les titres H2 et H3 dans l'article
|
| 681 |
+
const headings = contentContainer.querySelectorAll('.content-overlay h2, .content-overlay h3');
|
| 682 |
+
|
| 683 |
+
headings.forEach((heading) => {
|
| 684 |
+
const key = heading.getAttribute('data-translate');
|
| 685 |
+
|
| 686 |
+
if (key && translations[key]) {
|
| 687 |
+
// Créer un ID unique à partir de la traduction en français pour garantir la cohérence des ancres
|
| 688 |
+
let id_slug = translations[key]['fr'].toLowerCase().replace(/[^\w\s-]/g, '').trim().replace(/[-\s]+/g, '-');
|
| 689 |
+
heading.id = id_slug;
|
| 690 |
+
|
| 691 |
+
const isH2 = heading.tagName === 'H2';
|
| 692 |
+
const link = document.createElement('a');
|
| 693 |
+
link.href = `#${heading.id}`;
|
| 694 |
+
link.className = `block transition duration-200 hover:text-blue-600-var ${isH2 ? 'font-semibold text-gray-900-var pt-2' : 'ml-4 text-gray-600-var'}`;
|
| 695 |
+
|
| 696 |
+
// Utiliser le texte traduit pour le lien, avec un fallback en anglais
|
| 697 |
+
link.textContent = translations[key][lang] || translations[key]['en'];
|
| 698 |
+
|
| 699 |
+
tocNav.appendChild(link);
|
| 700 |
+
}
|
| 701 |
+
});
|
| 702 |
+
}
|
| 703 |
+
|
| 704 |
+
|
| 705 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 706 |
+
// Définir l'année actuelle dans le footer
|
| 707 |
+
document.getElementById('current-year').textContent = new Date().getFullYear();
|
| 708 |
+
|
| 709 |
+
// Logique d'activation/désactivation du sélecteur de langue
|
| 710 |
+
const langButton = document.getElementById('lang-menu-button');
|
| 711 |
+
const langDropdown = document.getElementById('lang-menu-dropdown');
|
| 712 |
+
|
| 713 |
+
langButton.addEventListener('click', (e) => {
|
| 714 |
+
e.stopPropagation();
|
| 715 |
+
langDropdown.style.display = langDropdown.style.display === 'block' ? 'none' : 'block';
|
| 716 |
+
});
|
| 717 |
+
|
| 718 |
+
document.addEventListener('click', (e) => {
|
| 719 |
+
if (!langButton.contains(e.target) && !langDropdown.contains(e.target)) {
|
| 720 |
+
langDropdown.style.display = 'none';
|
| 721 |
+
}
|
| 722 |
+
});
|
| 723 |
+
|
| 724 |
+
// Logique de sélection de la langue
|
| 725 |
+
document.querySelectorAll('.lang-option').forEach(option => {
|
| 726 |
+
option.addEventListener('click', (e) => {
|
| 727 |
+
e.preventDefault();
|
| 728 |
+
const newLang = option.getAttribute('data-lang');
|
| 729 |
+
applyTranslations(newLang);
|
| 730 |
+
langDropdown.style.display = 'none'; // Fermer le menu après la sélection
|
| 731 |
+
});
|
| 732 |
+
});
|
| 733 |
+
|
| 734 |
+
// Chargement initial: Appliquer les traductions pour la langue par défaut ('en')
|
| 735 |
+
applyTranslations('en');
|
| 736 |
+
});
|
| 737 |
+
</script>
|
| 738 |
+
</body>
|
| 739 |
+
</html>
|