This repository has been archived on 2025-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
oohay/go/core/coreassets/settings/settings.html.go
2025-05-23 15:11:34 -07:00

75 lines
2.3 KiB
Go
Executable file

<!DOCTYPE html>
<html>
<head>
<title>Settings</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<LINK REL=STYLESHEET HREF="/styles.css" TYPE="text/css">
<style type="text/css">
textarea {
display: block;
width: 100%;
}
</style>
</head>
<body>
<form action="" method="post">
<div>
<label for="worksafe">Filter adult content</label>
{{ if .Worksafe }}
<input type="checkbox" id="worksafe" name="worksafe" checked="checked" >
{{else}}
<input type="checkbox" id="worksafe" name="worksafe">
{{end}}&nbsp;&nbsp;<br><br>
<label for="filterHTTPS">Filter HTTPS</label>
{{ if .FilterHTTPS }}
<input type="checkbox" id="filterHTTPS" name="filterHTTPS" checked="checked" >
{{else}}
<input type="checkbox" id="filterHTTPS" name="filterHTTPS">
{{end}}
</div><p class="pin">*for old browsers</p> <br>
<div><input type="submit" value="Submit"/></div>
<div><br><br>
<a href="/submit/">Submit a URL</a>
</div>
<div><br>
<a href="/about/">About</a>
</div>
<p class="pin"><br><br><br><b>Search Options:</b><br><br>
"This is fun" (use quotes to find an exact match)<br>
cats +tabby (finds 'cats', but 'tabby' must be found within)<br>
cats -tabby (results must not contain the word tabby)<br>
+cats +dogs (both must be found within the document)<br>
<br>
!td tornado (find within the frame of one day)<br>
!tw tornado (find within the frame of one week)<br>
!tm tornado (find within the frame of one month)<br>
!ty tornado (find within the frame of one year)<br>
<br>
site:URL Lorem ipsum (limit search within a domain or URL)<br>
<br>
<br>
<p class="pin"><b>Redirect Options:</b><br>
<br>
!g Paris (Google Text Search)<br>
!gi Paris (Google Images)<br>
!gv Paris (Google Videos)<br>
!gm Paris (Google Maps)<br>
<br>
!b Paris (Bing Text Search)<br>
!bi Paris (Bing Images)<br>
!bv Paris (Bing Videos)<br>
!bm Paris (Bing Maps)<br>
<br>
You may also use '&' in place of '!'.
</p>
</form>
</body>
</html>