1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 06:38:23 +02:00

Integrate chat

This commit is contained in:
Yohann D'ANELLO
2020-10-29 16:08:27 +01:00
parent 238333a175
commit 316e4eefc1
4 changed files with 112 additions and 85 deletions

View File

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block extracss %}
<style>
iframe {
width: 100%;
height: 100vh;
margin: 0;
padding: 0;
}
</style>
{% endblock %}
{% block fullcontent %}
<iframe frameborder="0" src="https://element.correspondances-maths.fr/#/room/#faq:correspondances-maths.fr"></iframe>
{% endblock %}

View File

@ -1,4 +1,5 @@
from django.urls import path
from django.views.generic import TemplateView
from .views import CalendarView, CreateTeamView, JoinTeamView, MyParticipationDetailView, MyTeamDetailView, \
ParticipationDetailView, PhaseUpdateView, TeamAuthorizationsView, TeamDetailView, TeamLeaveView, TeamUpdateView, \
@ -20,4 +21,5 @@ urlpatterns = [
path("detail/upload-video/<int:pk>/", UploadVideoView.as_view(), name="upload_video"),
path("calendar/", CalendarView.as_view(), name="calendar"),
path("calendar/<int:pk>/", PhaseUpdateView.as_view(), name="update_phase"),
path("chat/", TemplateView.as_view(template_name="participation/chat.html"), name="chat")
]