summaryrefslogtreecommitdiff
path: root/template.go
blob: de0e4d600fdb1342ae1dae38bacb7769ddd20241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
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" />    
<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%; } 

div.pkgname{
      font-size: 130%;
      margin-top: 40px;
      margin-left: 40px;
}

div.pkg_suite{
      font-size: 110%;
      margin-top: 15px;
      margin-left: 40px;
      margin-bottom: 60px;
}

div.description{
      font-size: 100%;
      margin-left: 20px;
      margin-top: 20px;
      margin-bottom: 20px;
}

div.long_description{
     font-size: 100%;
     width: 600px;
     margin-left: 40px;
}

div.dep_list{
     margin-top:20px;
     margin-left: 20px;

}

li.dep_item{
     margin-left: 35px;
}

div.rec_list {
     margin-top:20px;
     margin-left: 20px;
}

li.rec_item{
     margin-left: 35px;
}

div.provides{
     margin-bottom: 35px;
     margin-left: 20px;
}

</style>
</head>
<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">

<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 
<select name="release">
<option value="jessie">Jessie 1.0.0 (oldstable)</option>
<option value="ascii" selected>Ascii 2.0.0 (stable)</option>
<option value="beowulf" >Beowulf (testing)</option>
<option value="ceres" >Ceres (unstable)</option>
<option value="experimental" >Experimental</option>
<option value="any" >Any</option>
</select>
<input type="submit" value="Go!"/>
</form>
</div>

<hr>

<div class="pkgname">{{.Name}} {{.Version}} [{{.Section}} - {{.Priority}}]</div>
<div class="pkg_suite">[Origin: {{.Origin}} - {{.Suite}} - {{.Component}}]</div>
<div class="description">
{{.Description}}
</div>
<div class="long_description">
{{.LongDescription}}
</div>

<hr>

<div class="provides">
{{range .Provides}}<div class="prov_item">Provides: {{.}}</div>{{end}}
</div>

<div class="dep_list">
Depends:
<ul>
{{range .Depends}}<li class="dep_item">{{ . }}</li>{{end}}
</ul>
</div>

<div class="rec_list">
Recommends:
<ul>
{{range .Recommends}}<li class="rec_item">{{ . }}</li>{{end}}
</ul>
</div>


<div class="maintainer">
Maintainer: {{.Maintainer}}
</div>

</div>


        <p style="margin-top:0px; margin-bottom:20px ; text-align: center;"> This site is a cookie-free zone</p>
        <div class="foot">                   
        <p id="copyright"  style="white-space: nowrap;">
                           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></p>

                                                  <p class="trademarks">
                                                  Devuan is a registered trademark of the Dyne.org foundation.</p>
                                                  <p class="trademarks" style="margin-top: -15px;">
                                                  Debian is a registered trademark of  Software in the Public Interest, Inc. Linux is a registered trademark of Linus Torvalds.</p>
            </div>                     

</body>
</html>
`