diff options
author | lolcat <will@lolcat.ca> | 2023-07-22 14:41:14 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-07-22 14:41:14 -0400 |
commit | bca265aea67ec62499aaa113a6490ce9ec7fe730 (patch) | |
tree | 3f05ec5ea542e41b474947e180034f42e99648e9 /template |
still missing things on google scraper
Diffstat (limited to 'template')
-rw-r--r-- | template/header.html | 28 | ||||
-rw-r--r-- | template/home.html | 36 | ||||
-rw-r--r-- | template/images.html | 7 | ||||
-rw-r--r-- | template/search.html | 16 |
4 files changed, 87 insertions, 0 deletions
diff --git a/template/header.html b/template/header.html new file mode 100644 index 0000000..bd6fc8a --- /dev/null +++ b/template/header.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> + <title>{%title%}</title> + <link rel="stylesheet" href="/static/style.css"> + <meta name="viewport" content="width=device-width,initial-scale=1"> + <meta name="robots" content="{%index%}index,{%index%}follow"> + <link rel="icon" type="image/x-icon" href="/favicon.ico"> + <meta name="description" content="4get.ca: {%description%}"> + <link rel="search" type="application/opensearchdescription+xml" title="4get" href="/opensearch.xml"> + </head> + <body{%body_class%}> + <form method="GET" autocomplete="off"> + <div class="searchbox"> + <input type="submit" value="Search" tabindex="-1"> + <div class="wrapper"> + <input type="text" value="{%search%}" maxlength="500" name="s" placeholder="Proxy search..." required> + </div> + <div class="autocomplete"></div> + </div> + <div class="tabs"> + {%tabs%} + </div> + <div class="filters"> + {%filters%} + </div> + </form> diff --git a/template/home.html b/template/home.html new file mode 100644 index 0000000..7f00dae --- /dev/null +++ b/template/home.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> + <title>4get</title> + <meta name="viewport" content="width=device-width,initial-scale=1"> + <link rel="stylesheet" href="/static/style.css"> + <meta name="robots" content="index,follow"> + <link rel="icon" type="image/x-icon" href="/favicon.ico"> + <meta name="description" content="4get.ca: They live in our walls!"> + <link rel="search" type="application/opensearchdescription+xml" title="4get" href="/opensearch.xml"> + </head> + <body class="home {%body_class%}"> + <div id="center"> + <form method="GET" autocomplete="off" action="web"> + <div class="logo"> + <img src="{%banner%}" alt="4get"> + </div> + <div class="searchbox"> + <input type="submit" value="Search" tabindex="-1"> + <div class="wrapper"> + <input type="text" maxlength="500" name="s" placeholder="Proxy search..." required autofocus> + </div> + <div class="autocomplete"></div> + </div> + </form> + <a href="settings">Settings</a> • <a href="api.txt">API</a> • <a href="about">About</a> • <a href="https://git.lolcat.ca/lolcat/4get">Source</a> + <div class="subtext"> + Clearnet: <a href="https://4get.ca">4get.ca</a><br> + Tor: <a href="http://4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion">4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion</a><br> + Report a problem: <a href="https://lolcat.ca/contact">lolcat.ca/contact</a> + </div> + </div> + <script src="/static/client.js"></script> + </body> +</html> diff --git a/template/images.html b/template/images.html new file mode 100644 index 0000000..a09c121 --- /dev/null +++ b/template/images.html @@ -0,0 +1,7 @@ + <div id="images"> + {%images%} + </div> + {%nextpage%} + <script src="/static/client.js"></script> + </body> +</html> diff --git a/template/search.html b/template/search.html new file mode 100644 index 0000000..bbfbb54 --- /dev/null +++ b/template/search.html @@ -0,0 +1,16 @@ + <div id="overflow" class="web{%class%}"> + <div class="right-wrapper"> + <div class="right-right"> + {%right-right%} + </div> + <div class="right-left"> + {%right-left%} + </div> + </div> + <div class="left"> + {%left%} + </div> + </div> + <script src="/static/client.js"></script> + </body> +</html> |