You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>creationListe</title>
|
|
<link rel="stylesheet" href="<?=$styles['commun']?>"/>
|
|
<link rel="stylesheet" href="styles/creationStyles.css"/>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<form method="POST" name="goBackHome" id="GoHome">
|
|
<input type="image" src="assets/logo.png"/>
|
|
<input type="hidden" name="action" value="goHome"/>
|
|
</form>
|
|
<h1>Create a new list</h1>
|
|
</header>
|
|
<div class="body">
|
|
<form method="post" name="creationForm" id="creationForm">
|
|
<h4>Name of the list</h4>
|
|
<input type="text" name="name" id="name" required/>
|
|
<?php
|
|
if(isset($_SESSION['login'])){
|
|
echo '<p>
|
|
<input type="checkbox" id="private" name="private">
|
|
<label for="private">Private List?</label>
|
|
</p>
|
|
';
|
|
}
|
|
?>
|
|
<input class="button" type="submit" value="Create List"/>
|
|
<input type="hidden" name="action" value="creerListe"/>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|