diff options
-rw-r--r-- | template.go | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/template.go b/template.go index b042ca3..de0e4d6 100644 --- a/template.go +++ b/template.go @@ -2,21 +2,17 @@ package main var pkgTempl = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <link rel="stylesheet" type="text/css" href="/search.css" /> +<head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>Devuan Packages Information -- {{.Name}}-{{.Version}}</title> +<link rel="stylesheet" type="text/css" href="/search.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 Packages Information -- {{.Name}}-{{.Version}}</title> -<style type="text/css"> -body { - line-height:1.6; -} + font-size: 95%; } div.pkgname{ font-size: 130%; @@ -71,40 +67,43 @@ div.provides{ </style> </head> <body> + <div class="nav"> - <div class="leftfl"> - <a href="https://pkginfo.devuan.org" title="Devuan Packages"> - <span>Home</span></a> + <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>Devuan</span></a> <span class="separator">|</span> - <a href="https://git.devuan.org" title="Devuan gitlab"> - <span>Git</span></a> + <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>Forum</span></a> <span class="separator">|</span> - <a href="https://popcon.devuan.org" title="Popularity Context"> - <span>Popcon</span></a> + <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> - + <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"> +<h1>Devuan Package information</h1> + <div class="search_form"> <form method="GET" action="/cgi-bin/d1pkgweb-query"> Search Devuan Packages for: <input type="text" name="search"/> in release |