feat: Possiblity to join a room

This commit is contained in:
2024-06-30 23:55:59 +02:00
parent 788b81402b
commit f3d606ee7d
4 changed files with 17 additions and 8 deletions

View File

@ -8,6 +8,9 @@
</head>
<body>
<div class="container text-center">
<h2>Welcome</h2>
<p>Choose the music that will play tonight.</p>
<p>Info: You're in room: <b>{{ roomid }} </b>, the playlist is called: <b>{{ playlistName }} </b></p>
<form method="POST">
<div class="form-group">
<div class="form-inline text-center">

View File

@ -43,7 +43,7 @@
title: "{{ response }}",
text: "{{ comment }}",
icon: "{{ type }}",
confirmButtonText: "Join another room",
confirmButtonText: "Let's get in!",
}).then(function() {
window.location = "/search/{{ roomid }}";
})

View File

@ -6,7 +6,10 @@
{{ bootstrap.load_css() }}
</head>
<body>
<div class="container">
<div class="container text-center">
<h2>Welcome</h2>
<p>Choose the music that will play tonight.</p>
<p>Info: You're in room: <b>{{ roomid }} </b>, the playlist is called: <b>{{ playlistName }} </b></p>
<form method="POST">
<div class="form-group">
<div class="form-inline text-center">