Commit b5aff1b5 authored by Paul-Elliot's avatar Paul-Elliot
Browse files

création du fichier account.ejs

parent 6fdbcf07
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<link rel="stylesheet" href="/stylesheets/style_main.css">
<div id="main_wrapper">
<h1>Class Panic</h1>
<li><a href="<%= config.PATH %>/room">Rejoindre une salle</a></li>
<%- user.isAdmin ? '<li><a href="'+ config.PATH +'/manage/room">Administrer</a></li>' : "" %>
<!-- <li><a href="<%= config.PATH %>/user">Mon compte</a></li>-->
<li><a id="leave" href="<%= config.PATH %>/logout">Se d&eacute;connecter</a></li>
<div class="wrapper" id="connect_wrapper">
<h2>Se connecter à une salle</h2>
<ul class="room">
<% roomList.forEach(function(room) { %>
<a class="room" href="<%= config.PATH %>/room/<%= %>">
<li class="room">
<span class="froom"><%= %></span>
<li>Nombre de participants : <%= room.number %></li>
<li>Administrateur: <%=room.owner %></li>
<% });%>
<div id="footer"> <a id="leave" href="<%= config.PATH %>/logout">Se deconnecter (<%= user.pseudo %>)</a></div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment