diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-04-20 19:22:17 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-04-20 19:22:20 -0400 |
commit | cff8fea1ee232fcb751b2d6d3e7bfe4ef4060247 (patch) | |
tree | 60e09ffea451a51396e4115b96bf115f30ba9e3d /src/doc_reform/io_out/xmls.d | |
parent | nix org cleaning (diff) |
html search form action (for index & text results)
- obstinately avoiding scripting, even javascript
result far from an ideal compromise,
(two submission forms (for text & for index))
Diffstat (limited to 'src/doc_reform/io_out/xmls.d')
-rw-r--r-- | src/doc_reform/io_out/xmls.d | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d index 7a35967..2b67978 100644 --- a/src/doc_reform/io_out/xmls.d +++ b/src/doc_reform/io_out/xmls.d @@ -264,14 +264,28 @@ template outputXHTMLs() { o = format(q"┃ <div class="flex-menu-option"> <!-- SiSU Spine Search --> - <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="search"> - <font size="2"> + <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> + <font size="2"> <input type="text" name="sf" size="24" maxlength="255">%s <input type="hidden" name="sml" value="1000"> <input type="hidden" name="ec" value="on"> <input type="hidden" name="url" value="on"> - <button type="submit" form="search" name="fn" value="%s">doc</button> - <button type="submit" form="search">※ db</button> + <input type="hidden" name="rt" value="txt"> + <button type="submit" form="searchtxt" name="fn" value="%s"> • txt </button> + </font></form> + <!-- SiSU Spine Search --> + </div> + <div class="flex-menu-option"> + <!-- SiSU Spine Search --> + <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchidx"> + <font size="2"> + <input type="text" name="sf" size="24" maxlength="255">%s + <input type="hidden" name="sml" value="1000"> + <input type="hidden" name="ec" value="on"> + <input type="hidden" name="url" value="on"> + <input type="hidden" name="rt" value="idx"> + <button type="submit" form="searchidx">※ db</button> + <button type="submit" form="searchidx" name="fn" value="%s"> • idx </button> </font></form> <!-- SiSU Spine Search --> </div>┃", @@ -282,6 +296,13 @@ template outputXHTMLs() { ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename ~ "\">", doc_matters.src.filename_base, + doc_matters.conf_make_meta.conf.w_srv_cgi_action, + (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) + ? "" + : "\n <input type=\"hidden\" name=\"db\" value=\"" + ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename + ~ "\">", + doc_matters.src.filename_base, ); } else { o = ""; @@ -459,7 +480,10 @@ template outputXHTMLs() { <hr /> <div class="generator"> <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a> - <a href="https://sisudoc.org">SiSU Spine</a> (object numbering & object search) (in sisu 2002 ...) 2023 + <a href="https://sisudoc.org">≅ SiSU Spine</a> (object numbering & object search) + </p> + <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a> + (web 1993, object numbering 1997, object search 2002 ...) 2023 </p> </div> <a name="bottom" id="bottom"></a> |