Site :
- PTME -> METH
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<div id="topBar">
|
||||
<h1>PTME</h1>
|
||||
<h1>METH</h1>
|
||||
</div>
|
||||
<div style='color: white; position: absolute; left: 50%; top: 50%; text-align: center; transform: translate(-50%, -50%); font-size: 10vh;' id="content">
|
||||
<h1>404</h1>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div id="divNotification">
|
||||
</div>
|
||||
<div id="topBar">
|
||||
<h1>PTME</h1>
|
||||
<h1>METH</h1>
|
||||
<div id="topButton">
|
||||
<p id="buttonPlay">PLAY</p>
|
||||
<p id="buttonProject">PROJECT</p>
|
||||
@ -130,7 +130,7 @@
|
||||
<footer>
|
||||
<div class="footer-content">
|
||||
<div class="footer-left">
|
||||
<h1>PTME</h1>
|
||||
<h1>METH</h1>
|
||||
<p>ft_transcendance project<br>for 42 shcool</p>
|
||||
</div>
|
||||
<div class="footer-right">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="topBarLobby">
|
||||
<h1 id="homeButton">PTME</h1>
|
||||
<h1 id="homeButton">METH</h1>
|
||||
<div class="search-container">
|
||||
<input type="text" placeholder="Search..." class="search-input" id="searchInputUser">
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="topBar">
|
||||
<h1>PTME</h1>
|
||||
<h1>METH</h1>
|
||||
</div>
|
||||
<div style='color: white; position: absolute; left: 50%; top: 50%; text-align: center; transform: translate(-50%, -50%); font-size: 5vh;'>
|
||||
<p id="sentence">Waiting for other players to start the game</p>
|
||||
|
@ -3,10 +3,10 @@
|
||||
# ::: :::::::: #
|
||||
# createAccount.py :+: :+: :+: #
|
||||
# +:+ +:+ +:+ #
|
||||
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
||||
# By: marvin <marvin@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/08/09 08:08:00 by edbernar #+# #+# #
|
||||
# Updated: 2024/09/18 07:24:47 by edbernar ### ########.fr #
|
||||
# Updated: 2024/09/22 18:58:55 by marvin ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -80,7 +80,7 @@ def createAccount(socket, content):
|
||||
|
||||
def sendVerifMail(verif_str, mail, username):
|
||||
msg = MIMEMultipart()
|
||||
msg['From'] = 'PTME <ptme@tmoron.fr>'
|
||||
msg['From'] = 'METH <meth@tmoron.fr>'
|
||||
msg['To'] = mail
|
||||
msg['Subject'] = 'Account verification'
|
||||
msg.attach(MIMEText('''
|
||||
@ -145,14 +145,14 @@ def sendVerifMail(verif_str, mail, username):
|
||||
<table class="container" role="presentation">
|
||||
<tr>
|
||||
<td>
|
||||
<h1>Bienvenue chez PTME !</h1>
|
||||
<h1>Bienvenue chez METH !</h1>
|
||||
<p>Bonjour ''' + username + ''',</p>
|
||||
<p>Merci d'avoir créé un compte avec PTME ! Nous sommes ravis de vous accueillir parmi nous.</p>
|
||||
<p>Merci d'avoir créé un compte avec METH ! Nous sommes ravis de vous accueillir parmi nous.</p>
|
||||
<p>Pour compléter votre inscription, veuillez vérifier votre adresse e-mail en cliquant sur le bouton ci-dessous :</p>
|
||||
<p><a href="''' + URLMAIL + verif_str +'''" class="button">Confirmer mon adresse e-mail</a></p>
|
||||
<p>Si vous n'avez pas demandé cette inscription, vous pouvez ignorer cet e-mail.</p>
|
||||
<p>Merci,</p>
|
||||
<p>L'équipe PTME</p>
|
||||
<p>L'équipe METH</p>
|
||||
<div class="footer">
|
||||
<p>42, 49 Bd Besson Bey, 16000 Angoulême, France</p>
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@ RUN apt upgrade -y
|
||||
RUN apt install openssl nginx -y
|
||||
|
||||
RUN mkdir -p /etc/nginx/ssl
|
||||
RUN openssl req -x509 -nodes -out /etc/nginx/ssl/inception.crt -keyout /etc/nginx/ssl/inception.key -subj "/C=FR/ST=IDF/L=Paris/O=42/OU=42/CN=ptme.com/UID=ptme"
|
||||
RUN openssl req -x509 -nodes -out /etc/nginx/ssl/inception.crt -keyout /etc/nginx/ssl/inception.key -subj "/C=FR/ST=IDF/L=Paris/O=42/OU=42/CN=meth.com/UID=meth"
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY static /var/www/static
|
||||
|
@ -15,7 +15,7 @@ http {
|
||||
server {
|
||||
access_log /dev/stdout;
|
||||
error_log /dev/stdout;
|
||||
server_name ptme.com;
|
||||
server_name meth.com;
|
||||
listen 8000 ssl;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
@ -3,10 +3,10 @@
|
||||
/* ::: :::::::: */
|
||||
/* Page.js :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/25 00:00:21 by edbernar #+# #+# */
|
||||
/* Updated: 2024/09/20 01:02:39 by edbernar ### ########.fr */
|
||||
/* Updated: 2024/09/22 18:58:44 by marvin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -21,12 +21,12 @@ class Page
|
||||
{
|
||||
actualPage = null;
|
||||
availablePages = [
|
||||
{url:'/', servUrl: '/homePage', class: HomePage, name: 'homePage', title: 'PTME - Home'},
|
||||
{url:'/lobby', servUrl: '/lobbyPage', class: LobbyPage, name: 'lobbyPage', title: 'PTME - Lobby'},
|
||||
{url:'/game', servUrl: '/multiLocalGamePage', class: multiLocalGamePage, name: 'multiLocalGamePage', title: 'PTME - Game'},
|
||||
{url:'/wait_game', servUrl: '/waitingGamePage', class: WaitingGamePage, name: 'waitingGamePage', title: 'PTME - Wait for a game'},
|
||||
{url:'/game', servUrl: '/multiOnlineGamePage', class: MultiOnlineGamePage, name: 'multiOnlineGamePage', title: 'PTME - Game'},
|
||||
{url:'/profil', servUrl: '/profilPage', class: ProfilPage, name: 'profilPage', title: 'PTME - Profil'},
|
||||
{url:'/', servUrl: '/homePage', class: HomePage, name: 'homePage', title: 'METH - Home'},
|
||||
{url:'/lobby', servUrl: '/lobbyPage', class: LobbyPage, name: 'lobbyPage', title: 'METH - Lobby'},
|
||||
{url:'/game', servUrl: '/multiLocalGamePage', class: multiLocalGamePage, name: 'multiLocalGamePage', title: 'METH - Game'},
|
||||
{url:'/wait_game', servUrl: '/waitingGamePage', class: WaitingGamePage, name: 'waitingGamePage', title: 'METH - Wait for a game'},
|
||||
{url:'/game', servUrl: '/multiOnlineGamePage', class: MultiOnlineGamePage, name: 'multiOnlineGamePage', title: 'METH - Game'},
|
||||
{url:'/profil', servUrl: '/profilPage', class: ProfilPage, name: 'profilPage', title: 'METH - Profil'},
|
||||
]
|
||||
|
||||
constructor()
|
||||
@ -108,7 +108,7 @@ class Page
|
||||
data.text().then(text => {
|
||||
document.body.innerHTML = text;
|
||||
this.actualPage = null;
|
||||
document.title = 'PTME - Page not found';
|
||||
document.title = 'METH - Page not found';
|
||||
history.pushState({}, this.availablePages[i].title, this.availablePages[i].url);
|
||||
})
|
||||
})
|
||||
|
@ -3,10 +3,10 @@
|
||||
/* ::: :::::::: */
|
||||
/* main.js :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/22 17:08:46 by madegryc #+# #+# */
|
||||
/* Updated: 2024/09/21 17:27:24 by edbernar ### ########.fr */
|
||||
/* Updated: 2024/09/22 18:58:55 by marvin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -34,7 +34,7 @@ class LobbyPage
|
||||
{
|
||||
static create()
|
||||
{
|
||||
const ptmeButton = document.getElementById("homeButton");
|
||||
const methButton = document.getElementById("homeButton");
|
||||
const startButton = document.getElementsByClassName('buttonStartGame')[0];
|
||||
const usernameP = document.getElementById('loginButton').getElementsByTagName('p')[0];
|
||||
const loginButton = document.getElementById('loginButton');
|
||||
@ -67,7 +67,7 @@ class LobbyPage
|
||||
barSelector = new barSelecter(document.getElementById('bar'));
|
||||
goalSelector = new goalSelecter(document.getElementById('goal'));
|
||||
startButton.addEventListener('click', startMode);
|
||||
ptmeButton.addEventListener('click', goBackHome);
|
||||
methButton.addEventListener('click', goBackHome);
|
||||
}
|
||||
|
||||
static dispose()
|
||||
|
Reference in New Issue
Block a user