summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--flake.lock6
-rw-r--r--org/cgi_spine_search.org22
-rw-r--r--org/config_d_cfte.org12
-rw-r--r--src/spine_search.d20
-rwxr-xr-xsrc/spine_search.d_20
-rw-r--r--views/configuration.txt2
6 files changed, 45 insertions, 37 deletions
diff --git a/flake.lock b/flake.lock
index 426214d..11433d2 100644
--- a/flake.lock
+++ b/flake.lock
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1686277352,
- "narHash": "sha256-quryYLnntwZZrwJ4Vsx24hiCkwiYZAEttiOu983akGg=",
+ "lastModified": 1687103638,
+ "narHash": "sha256-dwy/TK6Db5W7ivcgmcxUykhFwodIg0jrRzOFt7H5NUc=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "a9fa8f8450a2ae296f152a9b3d52df68d24b7cfc",
+ "rev": "91430887645a0953568da2f3e9a3a3bb0a0378ac",
"type": "github"
},
"original": {
diff --git a/org/cgi_spine_search.org b/org/cgi_spine_search.org
index ea52c59..6b7d29d 100644
--- a/org/cgi_spine_search.org
+++ b/org/cgi_spine_search.org
@@ -672,7 +672,7 @@ _matched_objects_text =
~ "<a href=\""
~ _url_new
~ "\">"
- ~ "※"
+ ~ "፠"
~ "</a></font>";
return _matched_objects_text;
#+END_SRC
@@ -713,7 +713,7 @@ if (_url_previous.empty) {
~ "<a href=\""
~ _url_previous
~ "\">"
- ~ "&lt;&lt prev"
+ ~ "❮❮ prev"
~ "</a> || </font>";
}
arrow_next =
@@ -721,7 +721,7 @@ arrow_next =
~ "<a href=\""
~ _url_next
~ "\">"
- ~ "next &gt;&gt"
+ ~ "next ❯❯"
~ "</a></font>";
_previous_next = "<hr>" ~ arrow_previous ~ arrow_next;
return _previous_next;
@@ -888,6 +888,8 @@ return tip;
**** form
+⁜ ☀ ፨ ፠ ※ ⚏
+
#+NAME: spine_search_form
#+HEADER: :noweb yes
#+BEGIN_SRC d
@@ -926,12 +928,14 @@ return tip;
<td valign=\"top\"><tr><td>
<font-size="1rem" color="#222222">
<input type="hidden" name="db" value="%s">
- <input type="submit" value="※ SiSU search">
- <input type="radio" name="rt" id="results_type_index" value="idx" %s> index
- <input type="radio" name="rt" id="results_type_text" value="txt" %s> text / grep;
- match limit:
+ <input type="submit" value="፨ SiSU search ❭❭">
+ match [ results:
+ <input type="radio" name="rt" id="results_type_index" value="idx" %s> ፨ (index)
+ <input type="radio" name="rt" id="results_type_text" value="txt" %s> ⚏ (text / grep)
+ ]&nbsp;&nbsp;[ limit:
<input type="radio" name="sml" id="sql_match_limit_1000" value="1000" %s> 1,000
<input type="radio" name="sml" id="sql_match_limit_2500" value="2500" %s> 2,500
+ ]
<br>
<input type="checkbox" name="ec" %s> echo query
<input type="checkbox" name="url" %s> search url
@@ -1297,12 +1301,12 @@ if (!select_query_results.empty) {
#+BEGIN_SRC d
cgi.write("<br><p class=\"center\">
<label for=\"find\">
-<a href=\"https://sisudoc.org/\" target=\"_top\"><b>≅ SiSU Spine</b></a>
+<a href=\"https://sisudoc.org/\" target=\"_top\"><b>≅ SiSU Spine ፨</b></a>
</label>
<label for=\"find\">(object numbering &amp; object search)</label>
<label for=\"find\"><<year>></label>
<br><label for=\"find\">(web 1993, object numbering 1997, object search 2002 ...)</label>
-<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">git</a>
+<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">Δ git</a>
</p>
");
#+END_SRC
diff --git a/org/config_d_cfte.org b/org/config_d_cfte.org
index 1aa2a4c..6b2c96c 100644
--- a/org/config_d_cfte.org
+++ b/org/config_d_cfte.org
@@ -132,7 +132,7 @@ struct Cfg {
string http_host = "sisudoc.org";
string www_url_doc_subroot = "/spine";
string cgi_filename = "spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
}
@@ -153,7 +153,7 @@ struct Cfg {
string cgi_port = "";
string cgi_user = "";
string cgi_url_action = "https://sisudoc.org/spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
string default_language = "en";
@@ -174,7 +174,7 @@ struct Cfg {
string http_host = "localhost";
string www_url_doc_subroot = "/spine";
string cgi_filename = "spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
}
@@ -195,7 +195,7 @@ struct Cfg {
string cgi_port = "";
string cgi_user = "";
string cgi_url_action = "http://localhost/cgi-bin/spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
string default_language = "en";
@@ -230,7 +230,7 @@ struct Cfg {
string http_host = "sisudoc.org";
string www_url_doc_subroot = "/spine";
string cgi_filename = "spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
}
@@ -291,7 +291,7 @@ spine_search
#+NAME: cgi_search_form_title
#+BEGIN_SRC sh
-≅ SiSU Spine search
+≅ SiSU Spine search ፨
#+END_SRC
#+NAME: db_sqlite_filename
diff --git a/src/spine_search.d b/src/spine_search.d
index 73a3934..57b817b 100644
--- a/src/spine_search.d
+++ b/src/spine_search.d
@@ -491,7 +491,7 @@ void cgi_function_intro(Cgi cgi) {
~ "<a href=\""
~ _url_new
~ "\">"
- ~ "※"
+ ~ "፠"
~ "</a></font>";
return _matched_objects_text;
}
@@ -532,7 +532,7 @@ void cgi_function_intro(Cgi cgi) {
~ "<a href=\""
~ _url_previous
~ "\">"
- ~ "&lt;&lt prev"
+ ~ "❮❮ prev"
~ "</a> || </font>";
}
arrow_next =
@@ -540,7 +540,7 @@ void cgi_function_intro(Cgi cgi) {
~ "<a href=\""
~ _url_next
~ "\">"
- ~ "next &gt;&gt"
+ ~ "next ❯❯"
~ "</a></font>";
_previous_next = "<hr>" ~ arrow_previous ~ arrow_next;
return _previous_next;
@@ -1516,12 +1516,14 @@ void cgi_function_intro(Cgi cgi) {
<td valign=\"top\"><tr><td>
<font-size="1rem" color="#222222">
<input type="hidden" name="db" value="%s">
- <input type="submit" value="※ SiSU search">
- <input type="radio" name="rt" id="results_type_index" value="idx" %s> index
- <input type="radio" name="rt" id="results_type_text" value="txt" %s> text / grep;
- match limit:
+ <input type="submit" value="፨ SiSU search ❭❭">
+ match [ results:
+ <input type="radio" name="rt" id="results_type_index" value="idx" %s> ፨ (index)
+ <input type="radio" name="rt" id="results_type_text" value="txt" %s> ⚏ (text / grep)
+ ]&nbsp;&nbsp;[ limit:
<input type="radio" name="sml" id="sql_match_limit_1000" value="1000" %s> 1,000
<input type="radio" name="sml" id="sql_match_limit_2500" value="2500" %s> 2,500
+ ]
<br>
<input type="checkbox" name="ec" %s> echo query
<input type="checkbox" name="url" %s> search url
@@ -1894,12 +1896,12 @@ LIMIT %s OFFSET %s
}
cgi.write("<br><p class=\"center\">
<label for=\"find\">
-<a href=\"https://sisudoc.org/\" target=\"_top\"><b>≅ SiSU Spine</b></a>
+<a href=\"https://sisudoc.org/\" target=\"_top\"><b>≅ SiSU Spine ፨</b></a>
</label>
<label for=\"find\">(object numbering &amp; object search)</label>
<label for=\"find\">2023</label>
<br><label for=\"find\">(web 1993, object numbering 1997, object search 2002 ...)</label>
-<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">git</a>
+<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">Δ git</a>
</p>
");
}
diff --git a/src/spine_search.d_ b/src/spine_search.d_
index 4258940..d2c5e1f 100755
--- a/src/spine_search.d_
+++ b/src/spine_search.d_
@@ -493,7 +493,7 @@ void cgi_function_intro(Cgi cgi) {
~ "<a href=\""
~ _url_new
~ "\">"
- ~ "※"
+ ~ "፠"
~ "</a></font>";
return _matched_objects_text;
}
@@ -534,7 +534,7 @@ void cgi_function_intro(Cgi cgi) {
~ "<a href=\""
~ _url_previous
~ "\">"
- ~ "&lt;&lt prev"
+ ~ "❮❮ prev"
~ "</a> || </font>";
}
arrow_next =
@@ -542,7 +542,7 @@ void cgi_function_intro(Cgi cgi) {
~ "<a href=\""
~ _url_next
~ "\">"
- ~ "next &gt;&gt"
+ ~ "next ❯❯"
~ "</a></font>";
_previous_next = "<hr>" ~ arrow_previous ~ arrow_next;
return _previous_next;
@@ -1518,12 +1518,14 @@ void cgi_function_intro(Cgi cgi) {
<td valign=\"top\"><tr><td>
<font-size="1rem" color="#222222">
<input type="hidden" name="db" value="%s">
- <input type="submit" value="※ SiSU search">
- <input type="radio" name="rt" id="results_type_index" value="idx" %s> index
- <input type="radio" name="rt" id="results_type_text" value="txt" %s> text / grep;
- match limit:
+ <input type="submit" value="፨ SiSU search ❭❭">
+ match [ results:
+ <input type="radio" name="rt" id="results_type_index" value="idx" %s> ፨ (index)
+ <input type="radio" name="rt" id="results_type_text" value="txt" %s> ⚏ (text / grep)
+ ]&nbsp;&nbsp;[ limit:
<input type="radio" name="sml" id="sql_match_limit_1000" value="1000" %s> 1,000
<input type="radio" name="sml" id="sql_match_limit_2500" value="2500" %s> 2,500
+ ]
<br>
<input type="checkbox" name="ec" %s> echo query
<input type="checkbox" name="url" %s> search url
@@ -1896,12 +1898,12 @@ LIMIT %s OFFSET %s
}
cgi.write("<br><p class=\"center\">
<label for=\"find\">
-<a href=\"https://sisudoc.org/\" target=\"_top\"><b>≅ SiSU Spine</b></a>
+<a href=\"https://sisudoc.org/\" target=\"_top\"><b>≅ SiSU Spine ፨</b></a>
</label>
<label for=\"find\">(object numbering &amp; object search)</label>
<label for=\"find\">2023</label>
<br><label for=\"find\">(web 1993, object numbering 1997, object search 2002 ...)</label>
-<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">git</a>
+<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">Δ git</a>
</p>
");
}
diff --git a/views/configuration.txt b/views/configuration.txt
index 8e9540d..f3944b7 100644
--- a/views/configuration.txt
+++ b/views/configuration.txt
@@ -3,7 +3,7 @@ struct Cfg {
string http_host = "localhost";
string www_url_doc_subroot = "/spine";
string cgi_filename = "spine_search";
- string cgi_search_form_title = "≅ SiSU Spine search";
+ string cgi_search_form_title = "≅ SiSU Spine search ፨";
string db_sqlite_path = "/var/www/sqlite";
string db_sqlite_filename = "spine.search.db";
}