summaryrefslogtreecommitdiffstats
path: root/src/hp.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-04-16 19:50:39 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-04-16 19:50:39 +0200
commitf80e4bda5263e3428537ecb7d49b18ffd3c0e4ce (patch)
tree7efe9596fa165b80841f6cebe75cb04e17c53f5a /src/hp.php
parentv tretje gre rado (diff)
downloadsear.c-0.0.21.tar
sear.c-0.0.21.tar.gz
sear.c-0.0.21.tar.bz2
sear.c-0.0.21.tar.lz
sear.c-0.0.21.tar.xz
sear.c-0.0.21.tar.zst
sear.c-0.0.21.zip
Diffstat (limited to 'src/hp.php')
-rw-r--r--src/hp.php91
1 files changed, 0 insertions, 91 deletions
diff --git a/src/hp.php b/src/hp.php
deleted file mode 100644
index cffa469..0000000
--- a/src/hp.php
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html lang=sl>
- <!-- this file is a printf format. be sure to escape percent signs with percent percent. -->
- <!-- this format requires the following types (in order): html title (query string), search box contents (query string), additional form elements, textual title (result info string), textual body (results html string) -->
- <head>
- <meta charset=UTF-8 />
- <title>
- %s :: sear.c
- </title>
- <meta name=viewport content="width=device-width, initial-scale=1.0">
- <style>
- <?php
- echo file_get_contents("tmp/hp.css");
- ?>
- </style>
- <link rel="shortcut icon" href=data:image/x-icon;, type=image/x-icon> <!-- prevents favicon lookups -->
- <link rel=icon href="data:;base64,iVBORw0KGgo=">
- <link title=sear.c rel=search type=application/opensearchdescription+xml href=/osdd.xml>
- <style>
- input[type=password], input[type=text], input[type=submit], input[type=button] {
- height: 1cm;
- font-size: large;
- }
- .result:hover {
- background: var(--bgc2);
- }
- .container {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: center;
- align-items: stretch;
- }
- input[name=q] {
- flex-grow: 4;
- }
- input[type=submit] {
- flex-basis: 12.5%%;
- }
- .SC_LOG_ERROR {
- color: red;
- }
- .SC_LOG_WARNING {
- color: orange;
- }
- .SC_LOG_INFO {
- color: lightgreen;
- }
- .SC_LOG_DEBUG {
- color: magenta;
- }
- .breadcrumb {
- color: var(--fgc2);
- font-size: small; /* small is relative to parent (h4) size */
- }
- .result h4 {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-bottom: 0.314159265358em;
- }
- .result p {
- margin-top: 0.314159265358em;
- }
- .result img {
- height: 10em;
- }
- </style>
- </head>
- <body>
- <form class=container action=.>
- <input accesskey=s type=text name=q value="%s" placeholder="sear.c ..." />
- <input type=submit value=🔍 /> <!-- magnifying glass emoji -->
- <input accesskey=f type=submit name=f value=Ʊ /> <!-- horseshoe unicode character -->
- <input accesskey=i type=submit name=i value=🖼 /> <!-- framed picture emoji - img search -->
- <!-- <input type=submit name=v value=🎬/> --> <!-- that thing they use in movies - vid search N/I -->
- %s
- </form>
- <h3>
- %s
- </h3>
- %s
- <hr>
- <h4 align=center>
- <a href=//git.sijanec.eu/sijanec/sear.c >sear.c</a>
- <?php
- echo `git describe --always`;
- ?>
- </h4>
- </body>
-</html>