Update 2 files

- /html/src/css/style.css
- /html/editpage.php
This commit is contained in:
Jan BELLON 2024-03-07 16:34:09 +00:00
parent fe14cdf525
commit a8f72da22e
2 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,7 @@ if(isset($fichier)) {
$pages = scandir($repertoire . "content/");
foreach($pages as $page) {
if($page != "." && $page != "..") {
if (is_file($repertoire . "content/")) {
if (is_file($repertoire . "content/" . $page)) {
echo "<a href='?page='" . pathinfo($page, PATHINFO_FILENAME) . "'><div>" . pathinfo($page, PATHINFO_FILENAME) . "</div></a>";
}
}

View File

@ -42,6 +42,7 @@ input, textarea {
color: var(--text);
padding: 0.4em 1em;
border: 0;
border: 1px solid var(--dark-background);
border-bottom: 1px solid var(--text);
margin: 15px 0;
font-size: 1.5em;