29 lines
1,010 B
HTML
29 lines
1,010 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Pronote{% endblock %}
|
|
{% block content %}
|
|
<div class="container-fluid">
|
|
<h1 class="h3 mb-4">Intégration Pronote</h1>
|
|
|
|
{% if session %}
|
|
<div class="alert alert-success">
|
|
<i class="bi bi-check-circle"></i> Session Pronote active
|
|
</div>
|
|
{% else %}
|
|
<div class="alert alert-warning">
|
|
<i class="bi bi-exclamation-triangle"></i> Aucune session Pronote active
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<a href="{{ url_for('pronote.connect') }}" class="btn btn-primary">
|
|
<i class="bi bi-link"></i> Connecter à Pronote
|
|
</a>
|
|
<form method="post" action="{{ url_for('pronote.sync_salles') }}" class="d-inline">
|
|
<button type="submit" class="btn btn-outline-secondary ms-2">
|
|
<i class="bi bi-arrow-repeat"></i> Synchroniser les salles
|
|
</button></form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|