change text color

change layout
This commit is contained in:
quenousimporte 2024-02-13 23:53:22 +01:00
parent 6d719619cb
commit 5308081946
1 changed files with 8 additions and 7 deletions

View File

@ -15,6 +15,7 @@
<style type="text/css">
body {
font-family: helvetica;
color: rgb(55, 53, 47);
}
textarea {
height: 500px;
@ -23,16 +24,17 @@
font-size: inherit;
outline: none;
border: none;
color: inherit;
}
input {
font-family: inherit;
font-size: inherit;
color: inherit;
}
</style>
</head>
<body>
<div><a accesskey="l" href="index.php">View list</a>&nbsp;<a accesskey="n" href="index.php?create=true">New note</a>&nbsp;|&nbsp;bbn</div>
<br>
<a accesskey="l" href="index.php">View list</a>&nbsp;<a accesskey="n" href="index.php?create=true">New note</a>
<?php
$password = '';
@ -69,11 +71,9 @@
$title = $_GET['open'];
$content = file_get_contents($dir . '/' . $title);
echo '<form action="index.php" method="POST">
<div>
<input name="title" value="' . $title . '">
</div>
<br>
echo '<input form="note" name="title" value="' . $title . '">
<br><br>
<form id="note" action="index.php" method="POST">
<div>
<textarea autofocus name="content" spellcheck="false">' . $content . '</textarea>
</div>
@ -83,6 +83,7 @@
}
else
{
echo '<br><br>';
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (str_ends_with($file, '.md'))