word/edit: search input form in hierarchy navigation
[sheet.git] / word / edit.plp
index 9af73cdb3737e3cfbb6bed374f447f0ddf4809d0..0f212b86702d05e211cbc2edea6fa52c414e8e31 100644 (file)
@@ -10,6 +10,8 @@ Html({
        raw => <<'EOT',
 <link rel="stylesheet" type="text/css" media="all" href="/word/editor.css" />
 <script src="/word/editor.js"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.5/croppie.min.js"></script>
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.5/croppie.min.css" />
 EOT
 });
 
@@ -326,6 +328,10 @@ while (my $ref = $children->hash) {
        <input type="submit" value="Add" />
 </form></li>
 </ul>
+
+<form id="search">
+       <input type="search" name="q" value="" placeholder="search" /><button type="submit">🔍</button>
+</form>
 </section>
 <:
 }