feat(search.html): update to disable and show loading state w/load more button; improve fuzzy search + debounce
This commit is contained in:
parent
63db0cf32a
commit
8a6e84cb35
35 changed files with 119 additions and 395 deletions
|
@ -20,7 +20,7 @@ schema: movie
|
|||
decoding="async"
|
||||
width="256"
|
||||
height="180"
|
||||
/>
|
||||
>
|
||||
<div class="media-meta">
|
||||
<h2 class="page-title"><?= htmlspecialchars($movie["title"]) ?> (<?= htmlspecialchars($movie["year"]) ?>)</h2>
|
||||
<?php if (!empty($movie["tags"])): ?>
|
||||
|
@ -63,13 +63,3 @@ schema: movie
|
|||
<?= parseMarkdown($movie["description"]) ?>
|
||||
<?php endif; ?>
|
||||
</article>
|
||||
<?php
|
||||
$html = ob_get_clean();
|
||||
$htmlMin = new HtmlMin();
|
||||
$htmlMin->doOptimizeAttributes(true);
|
||||
$htmlMin->doRemoveComments(true);
|
||||
$htmlMin->doSumUpWhitespace(true);
|
||||
$htmlMin->doRemoveWhitespaceAroundTags(true);
|
||||
$htmlMin->doOptimizeViaHtmlDomParser(false);
|
||||
echo $htmlMin->minify($html);
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue