diff options
Diffstat (limited to 'src/doc_reform/io_out')
-rw-r--r-- | src/doc_reform/io_out/metadata.d | 32 | ||||
-rw-r--r-- | src/doc_reform/io_out/xmls.d | 19 |
2 files changed, 38 insertions, 13 deletions
diff --git a/src/doc_reform/io_out/metadata.d b/src/doc_reform/io_out/metadata.d index f9c1cc6..3fab452 100644 --- a/src/doc_reform/io_out/metadata.d +++ b/src/doc_reform/io_out/metadata.d @@ -57,6 +57,19 @@ template outputMetadata() { string _form; if (doc_matters.opt.action.html_link_search) { o = format(q"┃ + <div class="flex-menu-option"> + <!-- SiSU Spine Search --> + <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"> + <input type="hidden" name="rt" value="txt"> + <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </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="search"> @@ -65,8 +78,8 @@ template outputMetadata() { <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> + <button type="submit" form="search" name="fn" value="%s">• ፨</button> + <button type="submit" form="search">㏈ ፨</button> </font></form> <!-- SiSU Spine Search --> </div>┃", @@ -77,6 +90,13 @@ template outputMetadata() { ~ 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 = ""; @@ -173,7 +193,7 @@ string theme_light_1 = format(q"┃ <html> <head> <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" /> <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -352,7 +372,7 @@ string theme_light_1 = format(q"┃ ┃"); metadata_ ~= "<div class=\"flex-menu-bar\"><div class=\"flex-menu-option\">"; if (doc_matters.opt.action.html_link_curate) { - metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> HOME </a>] Curated metadata: + metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> ≅ HOME </a>] ⌘ Curated metadata: [<a href="../../authors.html"> Authors </a>] [<a href="../../topics.html"> Topics </a>]</p> ┃"); @@ -401,9 +421,9 @@ string theme_light_1 = format(q"┃ ~ " pod tree </a>]"; } metadata_ ~= "<p class=\"lev1\">● outputs: [<a href=\"" ~ doc_matters.src.filename_base ~ ".html\">" - ~ " ▣ html scroll </a>] " + ~ " ▤ html scroll </a>] " ~ "[<a href=\"" ~ doc_matters.src.filename_base ~ "/toc.html\">" - ~ " ▤ html seg </a>]" + ~ " ※ html seg </a>]" ~ "[<a href=\"../../" ~ pth_epub.internal_base ~ "/" ~ doc_matters.src.filename_base ~ "." ~ doc_matters.src.language ~ ".epub\">" ~ " ◆ epub </a>]"; if ((doc_matters.opt.action.html_link_pdf) || (doc_matters.opt.action.html_link_pdf_a4)) { diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d index 2b67978..2b1f55b 100644 --- a/src/doc_reform/io_out/xmls.d +++ b/src/doc_reform/io_out/xmls.d @@ -265,13 +265,13 @@ template outputXHTMLs() { <div class="flex-menu-option"> <!-- SiSU Spine Search --> <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> - <font size="2"> + <font size="2">%s <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="txt"> - <button type="submit" form="searchtxt" name="fn" value="%s"> • txt </button> + <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button> </font></form> <!-- SiSU Spine Search --> </div> @@ -284,14 +284,19 @@ template outputXHTMLs() { <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> + <button type="submit" form="searchidx" name="fn" value="%s"> • ፨ </button> + <button type="submit" form="searchidx"> ㏈ ፨</button> </font></form> <!-- SiSU Spine Search --> </div>┃", doc_matters.conf_make_meta.conf.w_srv_cgi_action, (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) ? "" + : "\n <a href=\"" + ~ doc_matters.conf_make_meta.conf.w_srv_cgi_action + ~ "\">🔎 </a>", + (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 ~ "\">", @@ -315,7 +320,7 @@ template outputXHTMLs() { ) { string o; string metadata_links = ((doc_matters.opt.action.html_link_curate) - ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </a>]</p>┃", + ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> ⌘• </a>|<a href="%s../../authors.html"> ⌘A </a>|<a href="%s../../topics.html"> ⌘T </a>]</p>┃", (doc_matters.opt.action.webserver_url_doc_root.length > 0) ? doc_matters.opt.action.webserver_url_doc_root : doc_matters.conf_make_meta.conf.w_srv_data_root_url @@ -323,7 +328,7 @@ template outputXHTMLs() { (type == "seg") ? "../" ~ doc_matters.src.filename_base ~ ".html" : "./" ~ doc_matters.src.filename_base ~ "/toc.html", - (type == "seg") ? "▣" : "▤", // ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ 〓 + (type == "seg") ? "▤" : "※", (type == "seg") ? "../../" : "../", doc_matters.src.filename_base, doc_matters.src.lng, @@ -480,7 +485,7 @@ 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) + <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 |