summaryrefslogtreecommitdiff
path: root/d1pkgweb.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-01-10 23:23:10 +0000
committerKatolaZ <katolaz@freaknet.org>2018-01-10 23:23:10 +0000
commitae0b7ac7d3d8b10fe5862a9d7268f559c4a4e445 (patch)
tree2c2cf3eaf4d8d8fede0a960efcc161c449f57dcd /d1pkgweb.go
parentb3ca06d08f4bba7af522a085e942d523c697a684 (diff)
added Recommends
Diffstat (limited to 'd1pkgweb.go')
-rw-r--r--d1pkgweb.go23
1 files changed, 21 insertions, 2 deletions
diff --git a/d1pkgweb.go b/d1pkgweb.go
index d416e27..60c761f 100644
--- a/d1pkgweb.go
+++ b/d1pkgweb.go
@@ -48,6 +48,17 @@ li.dep_item{
margin-left: 35px;
}
+div.rec_list {
+ margin-top:20px;
+ margin-left: 20px;
+}
+
+li.rec_item{
+ margin-left: 35px;
+}
+
+
+
</style>
<div class="pkgname">{{.Name}} {{.Version}}</div>
<div class="description">
@@ -61,10 +72,18 @@ li.dep_item{
<div class="dep_list">
Depends:
<ul>
-{{range .Depends}}<li class="dep_item">{{ . }}</li>
-{{else}}<div>No depends</div>{{end}}
+{{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>