2026-03-17 17:34:34 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="fr">
|
2026-03-18 13:21:19 +01:00
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2026-03-19 14:37:08 +01:00
|
|
|
<title>Parcoursup Explorer</title>
|
|
|
|
|
|
2026-03-18 13:21:19 +01:00
|
|
|
<link rel="stylesheet" href="./style.css" />
|
2026-03-18 13:44:30 +01:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" />
|
2026-03-19 14:37:08 +01:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/charts.css/dist/charts.min.css" />
|
|
|
|
|
|
2026-03-18 13:21:19 +01:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/riot@9/riot+compiler.min.js"></script>
|
|
|
|
|
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
|
|
|
|
|
</head>
|
2026-03-20 01:51:08 +01:00
|
|
|
<body>
|
|
|
|
|
<app></app>
|
2026-03-17 17:34:34 +01:00
|
|
|
|
2026-03-20 01:51:08 +01:00
|
|
|
<script src="./components/search-bar.riot" type="riot"></script>
|
|
|
|
|
<script src="./components/result-list.riot" type="riot"></script>
|
|
|
|
|
<script src="./components/detail-view.riot" type="riot"></script>
|
|
|
|
|
<script src="./components/map-view.riot" type="riot"></script>
|
2026-03-20 02:35:15 +01:00
|
|
|
<script src="./components/auth-panel.riot" type="riot"></script>
|
2026-03-20 01:51:08 +01:00
|
|
|
<script src="./app.riot" type="riot"></script>
|
2026-03-17 17:34:34 +01:00
|
|
|
|
2026-03-20 01:51:08 +01:00
|
|
|
<script type="module">
|
|
|
|
|
import { fetchFormations, fetchFormationHistory } from './api.js'
|
|
|
|
|
import { createFormation } from './formation.js'
|
|
|
|
|
import {
|
|
|
|
|
auth,
|
|
|
|
|
db,
|
|
|
|
|
createAccount,
|
|
|
|
|
login,
|
|
|
|
|
logout,
|
|
|
|
|
onUserChanged,
|
|
|
|
|
saveUserData,
|
|
|
|
|
loadUserData
|
|
|
|
|
} from './firebase.js'
|
2026-03-18 13:00:48 +01:00
|
|
|
|
2026-03-20 01:51:08 +01:00
|
|
|
window.fetchFormations = fetchFormations
|
|
|
|
|
window.createFormation = createFormation
|
|
|
|
|
window.fetchFormationHistory = fetchFormationHistory
|
2026-03-18 13:00:48 +01:00
|
|
|
|
2026-03-20 01:51:08 +01:00
|
|
|
window.firebaseServices = {
|
|
|
|
|
auth,
|
|
|
|
|
db,
|
|
|
|
|
createAccount,
|
|
|
|
|
login,
|
|
|
|
|
logout,
|
|
|
|
|
onUserChanged,
|
|
|
|
|
saveUserData,
|
|
|
|
|
loadUserData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
await riot.compile()
|
2026-03-18 12:45:44 +01:00
|
|
|
riot.mount('app')
|
2026-03-20 01:51:08 +01:00
|
|
|
</script>
|
|
|
|
|
</body>
|
2026-03-17 17:34:34 +01:00
|
|
|
</html>
|