First web gui prototype
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/******************************************************************************
|
||||
* YMS - Yacht Management Software
|
||||
* Copyright (C) 2024 Thomas Hooge
|
||||
*
|
||||
* SPDX-License-Identifier: WTFPL
|
||||
******************************************************************************/
|
||||
|
||||
require 'globals.inc';
|
||||
$pagetitle = _('Search');
|
||||
|
||||
$needle = gpc_get_string($_REQUEST, 'needle', 40);
|
||||
|
||||
require 'header.php';
|
||||
|
||||
echo "<h1>$pagetitle</h1>\n";
|
||||
?>
|
||||
|
||||
<p>Search will be implemented later.
|
||||
This page is currently just a placeholder.</p>
|
||||
|
||||
<form method="post">
|
||||
<div>
|
||||
<label for="needle">Suche nach:</label>
|
||||
<input type="text" id="needle" name="needle" value="<?=$needle?>" autofocus>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="remarks" name="ck_remarks">
|
||||
<label for="remarks">Bemerkungsfelder Berücksichtigen</label>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary" name="submit[search]"><?=_('Search')?></button>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
||||
if (isset($needle)) {
|
||||
$sqlneedle = '%'.$needle.'%';
|
||||
}
|
||||
|
||||
include 'footer.php';
|
||||
Reference in New Issue
Block a user