Files
public-html2/parcoursup/index.html
T

58 lines
1.7 KiB
HTML
Raw Normal View History

2026-03-17 17:34:34 +01:00
<!DOCTYPE html>
<html lang="fr">
<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>
<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" />
<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>
<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-20 01:51:08 +01:00
window.fetchFormations = fetchFormations
window.createFormation = createFormation
window.fetchFormationHistory = fetchFormationHistory
2026-03-20 01:51:08 +01:00
window.firebaseServices = {
auth,
db,
createAccount,
login,
logout,
onUserChanged,
saveUserData,
loadUserData
}
await riot.compile()
riot.mount('app')
2026-03-20 01:51:08 +01:00
</script>
</body>
2026-03-17 17:34:34 +01:00
</html>