From d2eb990aced924902ff09774f81efef4be443a07 Mon Sep 17 00:00:00 2001 From: cnachtigall1991 <40701475+cnachtigall1991@users.noreply.github.com> Date: Mon, 20 Sep 2021 16:55:47 +0200 Subject: [PATCH 1/4] Search feature update --- tpl/packages.html | 244 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 170 insertions(+), 74 deletions(-) diff --git a/tpl/packages.html b/tpl/packages.html index cfb2eaf..79a45fc 100644 --- a/tpl/packages.html +++ b/tpl/packages.html @@ -1,91 +1,187 @@ - + - - - + + + - + - + ALHP Status - - + + + -
- {{range $march := .March}}

{{$march.Name}}

-
+
+ + + + + + + + + +
Testbull
franksinatra
+ + + + + + + + + +
Test1bull1
frank1sinatra1
+ + {{range $march := .March}} +

{{$march.Name}}

+
{{range $repo := $march.Repos}}
-

- -

-
-
- - - - - - - - - - - - - {{range $pkg := $repo.Packages}} - - - - - - - - - {{end}} - -
PkgbaseStatusReasonSVN2GIT Version{{$repo.Name}}-{{$march.Name}} VersionInfo
{{$pkg.Pkgbase}}{{$pkg.Status}}{{$pkg.Skip}}{{$pkg.Svn2GitVersion}}{{$pkg.Version}} - {{with $pkg.Log}}{{end}} - -
-
+

+ +

+
+
+ + + + + + + + + + + + + {{range $pkg := $repo.Packages}} + + + + + + + + + {{end}} + +
PkgbaseStatusReasonSVN2GIT Version{{$repo.Name}}-{{$march.Name}} VersionInfo
{{$pkg.Pkgbase}}{{$pkg.Status}}{{$pkg.Skip}}{{$pkg.Svn2GitVersion}}{{$pkg.Version}} + {{with $pkg.Log}}{{end}} + + +
+
{{end}} +
+ {{end}}
- {{end}} -
-
-
+
+
Generated: {{.Generated}} -
-
+
+
- - - - \ No newline at end of file + + + + -- 2.52.0 From 5606125c2ae3172659d3f7d4d7cb90e483d41ab3 Mon Sep 17 00:00:00 2001 From: cnachtigall1991 <40701475+cnachtigall1991@users.noreply.github.com> Date: Mon, 20 Sep 2021 17:06:19 +0200 Subject: [PATCH 2/4] removed test-tables --- tpl/packages.html | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tpl/packages.html b/tpl/packages.html index 79a45fc..f02265a 100644 --- a/tpl/packages.html +++ b/tpl/packages.html @@ -48,27 +48,6 @@
- - - - - - - - - -
Testbull
franksinatra
- - - - - - - - - -
Test1bull1
frank1sinatra1
- {{range $march := .March}}

{{$march.Name}}

-- 2.52.0 From 4ca9bea7119ac2b683d8b884b69e682574e22721 Mon Sep 17 00:00:00 2001 From: cnachtigall1991 <40701475+cnachtigall1991@users.noreply.github.com> Date: Mon, 20 Sep 2021 18:31:08 +0200 Subject: [PATCH 3/4] change function name --- tpl/packages.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/packages.html b/tpl/packages.html index f02265a..0417cbc 100644 --- a/tpl/packages.html +++ b/tpl/packages.html @@ -39,7 +39,7 @@ placeholder="Search for packages.." class="form-control" id="table-sort-input" - onkeyup="myFunction()" + onkeyup="searchFilter()" placeholder="Search for names.." title="Type in a name" /> @@ -140,7 +140,7 @@ src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" > - + - + } + + -- 2.52.0