diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-06-04 00:16:00 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-06-04 00:16:00 +0100 |
commit | 8f33b1e7824a133271efa4091d2b4236dcd4adfb (patch) | |
tree | 1e171ef7a0cbb7a606e92f6f827b0962c026dbe8 | |
parent | e1751ab0a8d8ef7fbc5c69bfd1a14573e6aa080a (diff) |
added Devuan template to package pages
-rw-r--r-- | template.go | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/template.go b/template.go index 5e30f06..833dc5c 100644 --- a/template.go +++ b/template.go @@ -1,8 +1,21 @@ package main var pkgTempl = `<html> +<!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="/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 Packages Information -- {{.Name}}-{{.Version}}</title> + +<!-- <style type="text/css"> body { margin-top: 10px; @@ -61,10 +74,45 @@ div.provides{ margin-left: 20px; } - </style> +--> + <body> + <div class="nav"> + <div class="leftfl"> + <a href="https://pkginfo.devuan.org" title="Devuan Packages"> + <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://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"> + <div class="search_form"> <form method="GET" action="/cgi-bin/d1pkgweb-query"> Search Devuan Packages for: <input type="text" name="search"/> in release @@ -112,6 +160,9 @@ Recommends: <div class="maintainer"> Maintainer: {{.Maintainer}} </div> + +</div> + </body> </html> ` |