diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-02-16 13:01:16 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-02-20 09:08:42 +0200 |
commit | f35b4f56a95b4755f95b01ddae7d09b6cdb8d290 (patch) | |
tree | bb7b71c68cff7be0188984b500e7dc02fc8fadf5 /web | |
parent | migrate useflags pages (diff) | |
download | soko-f35b4f56a95b4755f95b01ddae7d09b6cdb8d290.tar.gz soko-f35b4f56a95b4755f95b01ddae7d09b6cdb8d290.tar.bz2 soko-f35b4f56a95b4755f95b01ddae7d09b6cdb8d290.zip |
migrate categories pages
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r-- | web/templates/categories/browsecategoriesheader.tmpl | 36 | ||||
-rw-r--r-- | web/templates/categories/categoryheader.tmpl | 33 | ||||
-rw-r--r-- | web/templates/categories/components/outdated.tmpl | 51 | ||||
-rw-r--r-- | web/templates/categories/components/packages.tmpl | 49 | ||||
-rw-r--r-- | web/templates/categories/components/pullrequests.tmpl | 64 | ||||
-rw-r--r-- | web/templates/categories/components/stabilization.tmpl | 54 | ||||
-rw-r--r-- | web/templates/categories/index.tmpl | 51 | ||||
-rw-r--r-- | web/templates/categories/show.tmpl | 28 | ||||
-rw-r--r-- | web/templates/packages/browsepackagesheader.tmpl | 34 | ||||
-rw-r--r-- | web/templates/packages/changedVersionRow.tmpl | 76 | ||||
-rw-r--r-- | web/templates/packages/changedVersions.tmpl | 37 | ||||
-rw-r--r-- | web/templates/packages/changelogwrapper.tmpl | 17 |
12 files changed, 0 insertions, 530 deletions
diff --git a/web/templates/categories/browsecategoriesheader.tmpl b/web/templates/categories/browsecategoriesheader.tmpl deleted file mode 100644 index cf2e616..0000000 --- a/web/templates/categories/browsecategoriesheader.tmpl +++ /dev/null @@ -1,36 +0,0 @@ -{{define "browsecategoriesheader"}} - <div class="kk-header-container"> - <div class="container"> - <div class="row"> - <div class="col-12"> - - <div class="row mt-3"> - <div class="col-md-5 pt-2"> - <h1 class="stick-top kk-package-title" id="package-title"> - <div> - <div class="kk-package-name" style="margin-left: 0px!important;"><span class="fa fa-fw fa-cubes"></span><span class="ml-2">Packages</span></div> - </div> - </h1> - </div> - <div class="col-md-7"> - - </div> - - <div class="col-md-12 pt-4 mt-1"> - <nav class="nav kk-package-nav"> - <a class="nav-link active" href="/categories"><i class="fa fa-list-ul mr-1" aria-hidden="true"></i>Categories</a> - <a class="nav-link" href="/packages/added"><i class="fa fa-history mr-1" aria-hidden="true"></i> Added</a> - <a class="nav-link" href="/packages/updated"><i class="fa fa-asterisk mr-1" aria-hidden="true"></i> Updated</a> - <a class="nav-link" href="/packages/stable"><i class="fa fa-check-circle-o mr-1" aria-hidden="true"></i> Newly Stable</a> - <a class="nav-link" href="/packages/keyworded"><i class="fa fa-circle-o mr-1" aria-hidden="true"></i> Keyworded</a> - - <a class="nav-link d-none" href="/categories/insights"><i class="fa fa-bar-chart mr-1" aria-hidden="true"></i> Insights</a> - - </nav> - </div> - </div> - </div> - </div> - </div> - </div> -{{end}} diff --git a/web/templates/categories/categoryheader.tmpl b/web/templates/categories/categoryheader.tmpl deleted file mode 100644 index e6cad19..0000000 --- a/web/templates/categories/categoryheader.tmpl +++ /dev/null @@ -1,33 +0,0 @@ -{{define "categoryheader"}} - - <div class="kk-header-container"> - <div class="container"> - <div class="row"> - <div class="col-12"> - - <div class="row mt-3 pt-2"> - <div class="col-md-5"> - <h1 class="stick-top kk-package-title" id="package-title"> - <div> - <div class="kk-package-name" style="margin-left: 0px!important;"><span class="fa fa-fw fa-cubes"></span><span class="ml-2">{{.Category.Name}}</span></div> - </div> - </h1> - </div> - <div class="col-md-7"> - {{.Category.Description}} - </div> - - <div class="col-md-12 pt-4 mt-1"> - <nav class="nav kk-package-nav"> - <a class="nav-link {{if eq .PageName "packages"}}active{{end}}" href="/categories/{{.Category.Name}}"><i class="fa fa-list-ul mr-1" aria-hidden="true"></i> Packages <span class="ml-1 badge badge-pill kk-misc-badge">{{len .Category.Packages}}</span></a> - <a class="nav-link {{if eq .PageName "stabilization"}}active{{end}}" href="/categories/{{.Category.Name}}/stabilization"><i class="fa fa-check-circle-o mr-1" aria-hidden="true"></i> Stabilization <span class="ml-1 badge badge-pill kk-misc-badge">{{.Category.PackagesInformation.StableRequests}}</span></a> - <a class="nav-link {{if eq .PageName "outdated"}}active{{end}}" href="/categories/{{.Category.Name}}/outdated"><i class="fa fa-tag mr-1" aria-hidden="true"></i> Outdated <span class="ml-1 badge badge-pill kk-misc-badge">{{.Category.PackagesInformation.Outdated}}</span></a> - <a class="nav-link {{if eq .PageName "pull-requests"}}active{{end}}" href="/categories/{{.Category.Name}}/pull-requests"><span class="octicon octicon-git-pull-request opticon-resource-icon ml-1"></span> Pull requests <span class="ml-1 badge badge-pill kk-misc-badge">{{.Category.PackagesInformation.PullRequests}}</span></a> - </nav> - </div> - </div> - </div> - </div> - </div> - </div> -{{end}} diff --git a/web/templates/categories/components/outdated.tmpl b/web/templates/categories/components/outdated.tmpl deleted file mode 100644 index ce7b927..0000000 --- a/web/templates/categories/components/outdated.tmpl +++ /dev/null @@ -1,51 +0,0 @@ -{{- define "outdated" -}} - <div class="row"> - <div class="col-md-9"> - {{- if gt .Category.PackagesInformation.Outdated 0}} - <h3 class="mb-4">Outdated Packages</h3> - <ul class="list-group"> - {{- range .Category.Packages -}} - {{- if .Outdated }} - <li class="list-group-item"> - <div class="row"> - <div class="col-md-4"> - <a href="/packages/{{.Atom}}" class="text-dark"><b>{{.Atom}}</b></a> - </div> - <div class="col-md-8 text-muted"> - {{.Description}} - </div> - </div> - </li> - {{- end -}} - {{- end }} - </ul> - {{- else -}} - <div class="row pt-5"> - <div class="col-md-4"> - <img style="width: 100%;" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Larry-the-cow-full.svg/1200px-Larry-the-cow-full.svg.png"/> - </div> - <div class="col-md-8 pt-3"> - <h2>Good job!</h2> - <span>According to repology.org there are no outdated packages here. <br/> - Please use this information with care though. The repology data might not be accurate. - </span> - </div> - </div> - {{- end }} - </div> - <div class="col-md-3 pt-4"> - <h4 class=""> - <a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseDescription" role="button" aria-expanded="false" aria-controls="collapseDescription"> - Description - </a> - </h4> - <div class="collapse show" id="collapseDescription"> - <span class="text-muted"> - Based on the data of <a href="https://repology.org/">repology.org</a>, there might be a new version available for these packages. <br/> - Please don't solely rely on this information, as the repology data might not be accurate. - </span> - </div> - </div> - </div> -{{end}} - diff --git a/web/templates/categories/components/packages.tmpl b/web/templates/categories/components/packages.tmpl deleted file mode 100644 index f142ec8..0000000 --- a/web/templates/categories/components/packages.tmpl +++ /dev/null @@ -1,49 +0,0 @@ -{{- define "packages" -}} - <div class="row"> - <div class="col-12"> - <div class="row"> - <div class="col-md-9"> - <!--<p> - <input type="text" class="form-control form-control-xl" placeholder="Search packages in <%= @category.name %>"> - </p>--> - - <div class="card border-top-0 rounded"> - <table class="table mb-0 rounded"> - {{$prevCatLetter := "" }} - {{- range .Category.Packages -}} - {{- if ne (packageLetter .Name) $prevCatLetter -}} - {{- $prevCatLetter = (packageLetter .Name) -}} - <tr id="{{$prevCatLetter}}"> - {{- else -}} - <tr> - {{- end -}} - <th class="kk-nobreak-cell"><a href="/packages/{{.Atom}}">{{.Name}}</a></th> - <td>{{ (index .Versions 0).Description }}</td> - </tr> - {{- end -}} - </table> - </div> - </div> - <div class="col-md-3"> - <h4>Statistics</h4> - <dd class="ml-3"> - <dl>Packages: {{ len .Category.Packages }}</dl> - </dd> - <h4 class="mt-4">Filter by Category</h4> - <div class="row pl-4 pr-5 mr-5"> - {{- $prevLetter := "" -}} - {{- range .Category.Packages -}} - {{- if ne (packageLetter .Name) $prevLetter -}} - {{- $prevLetter = (packageLetter .Name) -}} - <div class="col-md-2 px-2"><a href="#{{$prevLetter}}" class="text-muted text-capitalize">{{$prevLetter}}</a></div> - {{- end -}} - {{- end -}} - </div> - </div> - </div> - - - </div> - </div> -{{- end -}} - diff --git a/web/templates/categories/components/pullrequests.tmpl b/web/templates/categories/components/pullrequests.tmpl deleted file mode 100644 index 90785ef..0000000 --- a/web/templates/categories/components/pullrequests.tmpl +++ /dev/null @@ -1,64 +0,0 @@ -{{define "pull-requests"}} - <div class="row"> - <div class="col-md-9"> - {{- if gt .Category.PackagesInformation.PullRequests 0}} - <h3 class="mb-4">Pull Requests</h3> - <ul class="list-group"> - {{- range .PullRequests }} - <li class="list-group-item"> - <div class="row"> - <div class="col-md-11"> - <span class="octicon octicon-git-pull-request opticon-resource-icon ml-1" style="color:SeaGreen;"></span> - <a href="https://github.com/gentoo/gentoo/pull/{{.Id}}" class="text-dark"><b>{{.Title}}</b></a> - {{- if eq .CiState "SUCCESS" -}} - <a href="{{.CiStateLink}}"><i class="fa fa-check mx-1" aria-hidden="true" style="color: SeaGreen;"></i></a> - {{- else -}} - <a href="{{.CiStateLink}}"><i class="fa fa-times mx-1" aria-hidden="true" style="color: #b60205;"></i></a> - {{- end -}} - {{- range .Labels }} - <span class="badge badge-pill badge-light p-1" style="font-weight: normal; {{if eq .Color "5319e7" "0052cc" "b60205"}}color:#FFF;{{end}} background-color: #{{.Color}}!important;">{{.Name}}</span> - {{- end -}} - </div> - <div class="col-md-1 text-right"> - <a href="https://github.com/gentoo/gentoo/pull/{{.Id}}" class="text-muted"> - <i class="fa fa-comment-o" aria-hidden="true"></i> - {{.Comments}} - </a> - </div> - <div class="col-md-12 text-muted"> - <span style="font-size: 90%;"> - #{{.Id}} opened {{.CreatedAt}} by {{.Author}} - </span> - </div> - </div> - </li> - {{- end }} - </ul> - {{- else -}} - <div class="row pt-5"> - <div class="col-md-4"> - <img style="width: 100%;" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Larry-the-cow-full.svg/1200px-Larry-the-cow-full.svg.png"/> - </div> - <div class="col-md-8 pt-3"> - <h2>There are no pull requests</h2> - <span>You think something is missing here? <br/> Start with filling a <a href="https://wiki.gentoo.org/wiki/Gentoo_GitHub">new pull requests</a>.</span> - </div> - </div> - {{- end }} - </div> - <div class="col-md-3 pt-4"> - <h4 class=""> - <a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseDescription" role="button" aria-expanded="false" aria-controls="collapseDescription"> - Description - </a> - </h4> - <div class="collapse show" id="collapseDescription"> - <span class="text-muted"> - If you also like to help the Gentoo project, you can consider sending a Pull Request via GitHub.<br/> - Before doing so, you might want to take a look at <a href="https://wiki.gentoo.org/wiki/Gentoo_GitHub">the wiki page</a>. - </span> - </div> - </div> - </div> - -{{end}} diff --git a/web/templates/categories/components/stabilization.tmpl b/web/templates/categories/components/stabilization.tmpl deleted file mode 100644 index 4dcb790..0000000 --- a/web/templates/categories/components/stabilization.tmpl +++ /dev/null @@ -1,54 +0,0 @@ -{{- define "stabilization" -}} - <div class="row"> - <div class="col-md-9"> - <span class="d-flex justify-content-between"> - <h3>Stable Requests</h3> - <span> - <button type="button" class="kk-btn-xs btn btn-outline-secondary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> - <span class="fa fa-fw fa-download"></span> - </button> - <span class="dropdown-menu dropdown-menu-right"> - <a class="dropdown-item" href="./stabilization.list" target="_blank">Plain Text</a> - <a class="dropdown-item" href="./stabilization.json" target="_blank">JSON file</a> - <a class="dropdown-item" href="./stabilization.xml" target="_blank">XML file</a> - </span> - </span> - </span> - {{- if gt .Category.PackagesInformation.StableRequests 0}} - <ul class="timeline"> - {{- range .Category.Packages -}} - {{- range .Versions -}} - {{- range .PkgCheckResults -}} - <li> - <ul class="list-group"> - <li class="list-group-item"> - <a href="/packages/{{.Category}}/{{.Package}}" class="text-dark"><strong>{{.Category}}/{{.Package}}-{{.Version}}</strong></a><br/> - <span class="kk-version kk-cell-sep-right text-muted"> - {{- .Message -}} - </span> - </li> - </ul> - </li> - {{- end -}} - {{- end -}} - {{- end -}} - </ul> - {{- else -}} - <div class="text-center w-100"><i>- No Stable Requests found -</i></div> - {{- end }} - </div> - <div class="col-md-3 pt-4"> - <h4> - <a class="collapseLink" style="color:#000000;" data-toggle="collapse" href="#collapseDescription" role="button" aria-expanded="false" aria-controls="collapseDescription"> - Description - </a> - </h4> - <div class="collapse show" id="collapseDescription"> - <span class="text-muted"> - This page lists potential stabilization candidates. Please have a look at the <a href="https://wiki.gentoo.org/wiki/Stable_request">wiki page</a> for more information. - </span> - </div> - </div> - </div> -{{end}} - diff --git a/web/templates/categories/index.tmpl b/web/templates/categories/index.tmpl deleted file mode 100644 index f56624e..0000000 --- a/web/templates/categories/index.tmpl +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -{{template "head" .Header}} -<body> -{{template "header" .Header}} - - -{{template "browsecategoriesheader" .}} - - -<div class="tab-content" id="myTabContent"> - -<div class="container mb-5"> - <div class="row"> - <div class="col-12"> - - <div class="row"> - <div class="col-md-12"> - <h3 class="d-none mb-2">Browse all Categories</h3> - <div class="card rounded" style="background: none;border: none;"> - <div class="card-body"> - <ul class="kk-col-list kk-6col-list kk-category-listing"> - {{ $prevletter := "z"}} - {{range .Categories}} - {{ if (ne (printf "%.1s" .Name) $prevletter)}} - <li class="kk-col-list-header"><span class="kk-group-header">{{ printf "%.1s" .Name }}</span></li> - {{end}} - {{ $prevletter = (printf "%.1s" .Name) }} - - <li> - <a title="{{.Description}}" data-toggle="tooltip" data-placement="right" href="/categories/{{.Name}}">{{.Name}}</a> - </li> - {{end}} - </ul> - </div> - </div> - </div> - </div> - - - </div> - </div> -</div> - -</div> - - -{{template "footer" .Application }} - -</body> -</html> diff --git a/web/templates/categories/show.tmpl b/web/templates/categories/show.tmpl deleted file mode 100644 index b3026a8..0000000 --- a/web/templates/categories/show.tmpl +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -{{template "head" .Header}} -<body> -{{template "header" .Header}} - - -{{template "categoryheader" . }} - - -<div class="tab-content" id="myTabContent"> - <div class="container mb-5 tab-pane fade show active" id="overview" role="tabpanel" aria-labelledby="overview-tab"> - {{if eq .PageName "packages"}} - {{template "packages" .}} - {{else if eq .PageName "stabilization"}} - {{template "stabilization" .}} - {{else if eq .PageName "outdated"}} - {{template "outdated" .}} - {{else if eq .PageName "pull-requests"}} - {{template "pull-requests" .}} - {{end}} - </div> -</div> - -{{template "footer" .Application }} - -</body> -</html> diff --git a/web/templates/packages/browsepackagesheader.tmpl b/web/templates/packages/browsepackagesheader.tmpl deleted file mode 100644 index 75317a2..0000000 --- a/web/templates/packages/browsepackagesheader.tmpl +++ /dev/null @@ -1,34 +0,0 @@ -{{define "browsepackagesheader"}} - <div class="kk-header-container"> - <div class="container"> - <div class="row"> - <div class="col-12"> - - <div class="row mt-3 pt-2"> - <div class="col-md-5"> - <h1 class="stick-top kk-package-title" id="package-title"> - <div> - <div class="kk-package-name" style="margin-left: 0px!important;"><span class="fa fa-fw fa-cubes"></span><span class="ml-2">Packages</span></div> - </div> - </h1> - </div> - <div class="col-md-7"> - - </div> - - <div class="col-md-12 pt-4 mt-1"> - <nav class="nav kk-package-nav"> - <a class="nav-link {{if eq .Name "Categories"}}active{{end}}" href="/categories"><i class="fa fa-list-ul mr-1" aria-hidden="true"></i>Categories</a> - <a class="nav-link {{if eq .Name "Added"}}active{{end}}" href="/packages/added"><i class="fa fa-history mr-1" aria-hidden="true"></i> Added</a> - <a class="nav-link {{if eq .Name "Updated"}}active{{end}}" href="/packages/updated"><i class="fa fa-asterisk mr-1" aria-hidden="true"></i> Updated</a> - <a class="nav-link {{if eq .Name "Stabilized"}}active{{end}}" href="/packages/stable"><i class="fa fa-check-circle-o mr-1" aria-hidden="true"></i> Newly Stable</a> - <a class="nav-link {{if eq .Name "Keyworded"}}active{{end}}" href="/packages/keyworded"><i class="fa fa-circle-o mr-1" aria-hidden="true"></i> Keyworded</a> - - </nav> - </div> - </div> - </div> - </div> - </div> - </div> -{{end}} diff --git a/web/templates/packages/changedVersionRow.tmpl b/web/templates/packages/changedVersionRow.tmpl deleted file mode 100644 index 23c702d..0000000 --- a/web/templates/packages/changedVersionRow.tmpl +++ /dev/null @@ -1,76 +0,0 @@ -{{define "changedversion"}} - <li class="list-group-item kk-package-detailed"> - <div class="row"> - <div class="col-xs-12 col-md-6"> - <h4 class="stick-top"><a href="/packages/{{.Atom}}">{{.Atom}}</a></h4> - <div class="kk-package-detailed-toolbox"> - - <button type="button" class="kk-btn-xs btn btn-outline-secondary" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> - <span class="fa fa-fw fa-navicon"></span> - </button> - <div class="dropdown-menu dropdown-menu-right"> - <a class="dropdown-item" href="https://bugs.gentoo.org/buglist.cgi?quicksearch={{.Category}}%2F{{.Package}}" target="_blank"> - <span class="fa fa-fw fa-bug"></span> - Related bugs - </a> - <a class="dropdown-item" href="https://wiki.gentoo.org/index.php?title=Special%3ASearch&fulltext=Search&search={{.Package}}" target="_blank"> - <span class="fa fa-fw fa-book"></span> - Documentation - </a> - <a class="dropdown-item" href="https://forums.gentoo.org/search.php?search_terms=all&show_results=topics&search_keywords={{.Package}}&mode=results" target="_blank"> - <span class="fa fa-fw fa-comments-o"></span> - Forums posts - </a> - <div class="dropdown-divider"></div> - <a class="dropdown-item" href="https://gitweb.gentoo.org/repo/gentoo.git/tree/{{.Atom}}" target="_blank"> - <span class="fa fa-fw fa-code-fork"></span> - Git repository browser - </a> - <a class="dropdown-item" href="https://gitweb.gentoo.org/repo/gentoo.git/log/{{.Atom}}?showmsg=1" target="_blank"> - <span class="fa fa-fw fa-history"></span> - Git log - </a> - <a class="dropdown-item" href="https://gitweb.gentoo.org/repo/gentoo.git/atom/{{.Atom}}?h=master" target="_blank"> - <span class="fa fa-fw fa-rss"></span> - Changes feed - </a> - </div> - - </div> - {{.Description}} - <br> - <small class="text-muted"> - </small> - {{if ge (len .Commits) 1 }} - <div class="kk-inline-changelog-entry"> - <a href="https://gitweb.gentoo.org/repo/gentoo.git/commit/?id={{ (index .Commits 0).Id }}" title="Git commit"> - <span class="octicon octicon-git-pull-request"></span> - <span class="kk-commit-message">{{ (index .Commits 0).Message }}</span> - </a> - </div> - {{end}} - </div> - <div class="col-xs-12 col-md-6"> - <small class="text-muted pull-right"> - <span title="{{if ge (len .Commits) 1 }}{{(index .Commits 0).CommitterDate.Format "2006-01-02 15:04:05" }} UTC{{else}}unknown{{end}}">{{if ge (len .Commits) 1 }}{{(index .Commits 0).CommitterDate.Format "2006-01-02 15:04:05"}} UTC{{else}}unknown{{end}}</span> - </small> - <div class="kk-version-card"> - <p class="mb-2"><strong>{{.Version}}</strong><span class="kk-slot"> : {{.Slot}}</span> {{if .Restricts}}<span class="badge badge-danger kk-restrict-label" title="The following features are restricted: {{range .Restricts}}{{.}} {{end}}">{{formatRestricts .Restricts}}</span>{{end}}</p> - <p> - {{ $arches := mkSlice "amd64" "x86" "alpha" "arm" "arm64" "hppa" "ia64" "ppc" "ppc64" "riscv" "sparc" }} - {{ range $arches }} - {{if contains (print " " $.Keywords " ") (print " " . " ")}} - <span class="label kk-keyword-stable" title="{{$.Version}} is stable on {{.}}">{{.}}</span> - {{else if contains (print " " $.Keywords " ") (print "~" . " ")}} - <span class="label kk-keyword-testing" title="{{$.Version}} is testing on {{.}}">~{{.}}</span> - {{else}} - <span class="label kk-keyword-unknown" title="{{$.Version}} is unknown on {{.}}">?{{.}}</span> - {{end}} - {{end}} - </p> - </div> - - </div> - </div> - </li> -{{end}} diff --git a/web/templates/packages/changedVersions.tmpl b/web/templates/packages/changedVersions.tmpl deleted file mode 100644 index 3c60338..0000000 --- a/web/templates/packages/changedVersions.tmpl +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -{{template "head" .Header}} -<body> -{{template "header" .Header}} - -{{template "browsepackagesheader" .}} - - -<div class="tab-content" id="myTabContent"> - - -<div class="container mb-5"> - <div class="row"> - <div class="col-12"> - <h3 class="mb-2">{{.Name}} Packages <a title="Atom feed" href="/packages/{{tolower .Name}}.atom" class="kk-feed-icon"><span class="fa fa-fw fa-rss-square"></span></a></h3> - - <li class="list-group rounded"> - {{range .Versions}} - {{template "changedversion" .}} - {{end}} - - </li> - - - </div> - </div> -</div> - - -</div> - - -{{template "footer" .Application }} - -</body> -</html> diff --git a/web/templates/packages/changelogwrapper.tmpl b/web/templates/packages/changelogwrapper.tmpl deleted file mode 100644 index 98de287..0000000 --- a/web/templates/packages/changelogwrapper.tmpl +++ /dev/null @@ -1,17 +0,0 @@ -{{define "changelogwrapper"}} - - <div id="changelog-container"> - <li class="list-group-item kk-panel-content-sorry"> - <span class="fa fa-refresh fa-spin fa-3x"></span> - <noscript> - <br><br> - Inline Changelog cannot be displayed. - <br><br> - <a href="https://gitweb.gentoo.org/repo/gentoo.git/log/{{ .Package.Atom }}?showmsg=1" class="btn btn-default"> - <span class="fa fa-fw fa-history"></span> - View Git Changelog - </a> - </noscript> - </li> - </div> -{{end}} |