Files
mms43-v2/static/admin/index.html
Arnaud Delcasse ed5dade5c3
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 30s
replace Gitea with COOPGO mention
2025-12-30 18:58:41 +01:00

26 lines
893 B
HTML

<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Administration - MMS43</title>
<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js" type="module"></script>
<link href="config.yml" type="text/yaml" rel="cms-config-url" />
<script>
// Modifier le texte des boutons de connexion
const observer = new MutationObserver(() => {
const buttons = document.querySelectorAll('button');
buttons.forEach(btn => {
if (btn.textContent.includes('Gitea / Forgejo')) {
btn.textContent = btn.textContent.replace('Gitea / Forgejo', 'COOPGO');
}
});
});
document.addEventListener('DOMContentLoaded', () => {
observer.observe(document.body, { childList: true, subtree: true });
});
</script>
</head>
<body></body>
</html>