summaryrefslogtreecommitdiff
path: root/d1pkgweb-query.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-06-04 23:21:44 +0100
committerKatolaZ <katolaz@freaknet.org>2018-06-04 23:21:44 +0100
commitc16c23aa558608d98dabe524361f09c8011d6ca5 (patch)
tree7281f5b786486fbfd4ce528f63ea8a7074ac8e14 /d1pkgweb-query.go
parent41a5e148421ec6de2983af17a262ac3fb3afe32a (diff)
updated template to add footer
Diffstat (limited to 'd1pkgweb-query.go')
-rw-r--r--d1pkgweb-query.go66
1 files changed, 64 insertions, 2 deletions
diff --git a/d1pkgweb-query.go b/d1pkgweb-query.go
index 8e04a08..c5ca19f 100644
--- a/d1pkgweb-query.go
+++ b/d1pkgweb-query.go
@@ -28,10 +28,56 @@ type ResultPage struct {
}
var resTempl = `
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
-<title>Results</title>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<link rel="stylesheet" type="text/css" href="/buggers.css" />
+<style type="text/css">
+code {font-weight: normal;
+ margin: 0 0px;
+ padding: 0px 0px;
+ border: 1px solid #ffffff;
+ font-size: 95%; } </style>
+
+
+<title>Devuan Package Information</title>
<body>
+ <div class="nav">
+ <div class="leftfl">
+ <a href="https://pkginfo.devuan.org" title="Devuan Package Information">
+ <span>Home</span></a>
+ <span class="separator">|</span>
+ <a href="https://devuan.org" title="Devuan website">
+ <span>Devuan</span></a>
+ <span class="separator">|</span>
+ <a href="https://git.devuan.org" title="Devuan gitlab">
+ <span>Git</span></a>
+ <span class="separator">|</span>
+ <a href="https://devuan.org" title="Devuan BTS">
+ <span>BTS</span></a>
+ <span class="separator">|</span>
+ <a href="https://dev1galaxy.org" title="dev1galaxy forum">
+ <span>Forum</span></a>
+ <span class="separator">|</span>
+ <a href="https://popcon.devuan.org" title="Popularity Context">
+ <span>Popcon</span></a>
+ </div>
+
+ <div class="rightfl-do">
+ <a title="Please support Devuan development" class="button-do" href="https://devuan.org/os/donate">donate now!</a>
+ </div>
+
+ <div class="rightfl-dl">
+ <a title="Download Devuan" class="button-dl" href="https://files.devuan.org/">download</a>
+ </div>
+
+ </div>
+
+
+<div class="wrap">
+
<form method="GET" action="/cgi-bin/d1pkgweb-query">
Search Devuan Packages for: <input type="text" name="search"/> in release
<select name="release">
@@ -45,7 +91,7 @@ Search Devuan Packages for: <input type="text" name="search"/> in release
</form>
-<div class="title">{{.NumResults}} results for <b>"{{.Query}}"</b> in {{.Release}} (in {{.Time}}) </div>
+<h1>{{.NumResults}} results for <b>"{{.Query}}"</b> in {{.Release}} (in {{.Time}}) </h1>
<ul class="res_list">
{{range .Results}}
@@ -55,6 +101,22 @@ Search Devuan Packages for: <input type="text" name="search"/> in release
{{end}}
</div>
+</div>
+<p style="margin-top:-30px; margin-bottom:30px ; text-align: center;"> This site is a cookie-free zone</p>
+
+ <div class="foot">
+ <p class="row" id="copyright">
+ Copyright (c) 2014-2018 <a href="https://www.dyne.org" data-rel="fiscal sponsor"
+ title="Learn about our fiscal sponsor">Dyne.org foundation</a>
+ <span></span>
+ <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"
+ title="This work is licensed under a Creative Commons Attribution-ShareAlike
+ 4.0 International License.">CC-BY-SA 4.0 international</a>
+ <span></span>
+ <p id="copyright" style="font-size: .8em; line-height: 100%; margin-top: -1.5em; margin-bottom: 2em">
+ Devuan is a registered trademark of the Dyne.org foundation. Debian is a registered trademark of
+ Software in the Public Interest, Inc. Linux is a registered trademark of Linus Torvalds.</p>
+ </div>
</body>
</html>