Update file compte.php
This commit is contained in:
parent
4b0d5cf659
commit
c475ee24ca
@ -53,6 +53,19 @@ if(isset($_POST['delete_account'])) {
|
||||
}
|
||||
?>
|
||||
}
|
||||
|
||||
.userinfo {
|
||||
margin: 5em auto;
|
||||
}
|
||||
|
||||
.palettes {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.delaccount {
|
||||
margin-top: 15em;
|
||||
}
|
||||
|
||||
</style>
|
||||
<link rel="icon" href="src/img/favicon.ico">
|
||||
<title><?=$title?></title>
|
||||
@ -83,7 +96,7 @@ if(isset($_POST['delete_account'])) {
|
||||
<main>
|
||||
<div class="content">
|
||||
<div>
|
||||
<div>
|
||||
<div class="userinfo">
|
||||
<form>
|
||||
<?php
|
||||
echo "<div><input type='text' name='display_name' value='" . $_SESSION['display_name'] . "' required></div>";
|
||||
@ -91,14 +104,14 @@ if(isset($_POST['delete_account'])) {
|
||||
?>
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
<div class="palettes">
|
||||
<?php
|
||||
|
||||
$height = 4;
|
||||
$width = 6;
|
||||
|
||||
for ($i = 0; $i < count($themes_dark); $i++) {
|
||||
echo "<a href='?theme=" . $i . "'><div id='palette" . $i . "'style='display: flex'>";
|
||||
echo "<a href='?theme=" . $i . "'><div id='palette" . $i . "'style='display: flex; margin: 0 1em;'>";
|
||||
echo "<div style='display: inline; background-color: var(--text); padding: " . $height/2 . "em ". $width/8 ."em'></div>";
|
||||
echo "<div style='display: inline; background-color: var(--background); padding: " . $height/2 . "em ". $width/8 ."em'></div>";
|
||||
echo "<div style='display: inline; background-color: var(--banner-background); padding: " . $height/2 . "em ". $width/8 ."em'></div>";
|
||||
@ -107,7 +120,7 @@ if(isset($_POST['delete_account'])) {
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div>
|
||||
<div class="delaccount">
|
||||
<form action="" method="post">
|
||||
<input type="submit" name="delete_account" value="Supprimer le compte (irréversible)" style="font-size: 1em;">
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user