From c01c7b6356d2b53d7497e92fc7510ecb42e41b36 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 24 Aug 2022 22:30:51 +0200 Subject: [PATCH] redesign hub provider page * change overview page * add better resource representation * update style to be in line with other pages * have select boxes in place of checkboxes Signed-off-by: Toshaan Bharvani --- content/hub/_index.md | 13 +++- content/hub/oregonstateuniversity.md | 21 ++++-- content/hub/raptorcomputingsystems.md | 19 ++++- content/hub/universityoforegon.md | 20 +++-- content/hub/vantosh.md | 26 ++++++- .../openpowerfoundation/assets/css/pages.scss | 27 ++++--- .../openpowerfoundation/layouts/hub/list.html | 73 +++++++++++-------- .../layouts/hub/single.html | 53 +++++++++++--- .../layouts/partials/hubform.html | 72 ++++++++++++------ 9 files changed, 232 insertions(+), 92 deletions(-) diff --git a/content/hub/_index.md b/content/hub/_index.md index a4bb10a..a0fd315 100644 --- a/content/hub/_index.md +++ b/content/hub/_index.md @@ -1,9 +1,16 @@ --- -title: "Hub providers" +title: "OPF HUB Resources" date: 2020-03-10 draft: false --- +The OpenPOWER HUB Resources is part of the [HUB SIG](/groups/hub/) and provides POWER based resources for usage. + +The [HUB SIG](/groups/hub/) is a public Special Integration Group that provides information and resources on how to port to POWER. + + +OpenPOWER Foundation HUB providers are OpenPOWER Foundation members that are part of the [HUB SIG](/groups/hub/), +that give you access to POWER hardware to enable you to get acquinted with the POWER platform. +Each provider has it's specific setup and you can request access through our OPF HUB Request Form. + Here is a list of OpenPOWER Hub providers. -These providers give you access to OpenPOWER hardware to enable you to get acquinted with the OpenPOWER platform. -Each provider has it's specific setup and you can request access to the OPF Hub through our OPF Hub Request Form. diff --git a/content/hub/oregonstateuniversity.md b/content/hub/oregonstateuniversity.md index 66992f6..d828c3f 100644 --- a/content/hub/oregonstateuniversity.md +++ b/content/hub/oregonstateuniversity.md @@ -1,10 +1,21 @@ --- -title: "OSU Open Source Lab" +title: OSU Open Source Lab member: oregonstateuniversity +projects: + - Open Source provides: - - virtual - - container - - gpu -date: 2021-03-11 + - Bare Metal + - Virtual Machine + - Container + - GPU + - FPGA +systems: + - POWER9 + - POWER8 +operatingsystems: + - CentOS + - Ubuntu +weight: -9000 +date: 2022-08-24 draft: false --- diff --git a/content/hub/raptorcomputingsystems.md b/content/hub/raptorcomputingsystems.md index 2d7a4f4..c4885a2 100644 --- a/content/hub/raptorcomputingsystems.md +++ b/content/hub/raptorcomputingsystems.md @@ -1,9 +1,20 @@ --- -title: "Raptor IntegriCloud" +title: Raptor IntegriCloud member: raptorcomputingsystems +projects: + - Open Source + - Closed Source provides: - - virtual - - container -date: 2020-03-11 + - Bare Metal Machines + - Virtual Machine + - Container + - FPGA +systems: + - POWER9 +operatingsystems: + - Debian + - Fedora +weight: -5000 +date: 2022-08-24 draft: false --- diff --git a/content/hub/universityoforegon.md b/content/hub/universityoforegon.md index f7806f1..fac0aa0 100644 --- a/content/hub/universityoforegon.md +++ b/content/hub/universityoforegon.md @@ -1,10 +1,20 @@ --- -title: "University of Oregon Exascale Computing Center" +title: University of Oregon Exascale Computing Center member: universityoforegon +projects: + - Open Source provides: - - virtual - - container - - gpu -date: 2021-03-11 + - Virtual Machine + - Container + - GPU + - FPGA +systems: + - POWER9 + - POWER8 +operatingsystems: + - Fedora + - Debian +weight: -7000 +date: 2022-08-24 draft: false --- diff --git a/content/hub/vantosh.md b/content/hub/vantosh.md index bea4026..f3dc4b0 100644 --- a/content/hub/vantosh.md +++ b/content/hub/vantosh.md @@ -1,9 +1,27 @@ --- -title: "VanTosh OpenPOWER Hub" +title: VanTosh OpenPOWER HUB member: vantosh +projects: + - Open Source + - Closed Source provides: - - virtual - - container -date: 2020-03-10 + - Virtual Machines + - FPGA + - Containers + - LibreBMC +systems: + - POWER9 + - POWER8 +operatingsystems: + - PowerEL + - FreeBSD + - AlmaLinux + - Rocky Linux + - CentOS + - Ubuntu + - Debian + - OpenBSD +weight: -6000 +date: 2022-08-24 draft: false --- diff --git a/themes/openpowerfoundation/assets/css/pages.scss b/themes/openpowerfoundation/assets/css/pages.scss index b2b5cf8..c240614 100644 --- a/themes/openpowerfoundation/assets/css/pages.scss +++ b/themes/openpowerfoundation/assets/css/pages.scss @@ -178,21 +178,30 @@ section#steeringcomittee { } #hubproviders { - padding-top: 3.75rem; + padding-top: 6.25rem; + padding-bottom: 2.75rem; + font-size: 18px; #hubprovider { display: flex; - align-items: center; min-height: 100px; a { - white-space: normal; - line-height: 1.2; - font-size: 18px; - min-width: 100%; + text-decoration: underline; + font-size: 16px; + } + ul { + list-style: none; + font-size: 12px; + color: #000; } } - form { - .form-control { - font-size: 14px; + #hubprovider:hover { + color: $white; + background-color: $primary; + a { + color: $white; + } + ul { + color: $white; } } } diff --git a/themes/openpowerfoundation/layouts/hub/list.html b/themes/openpowerfoundation/layouts/hub/list.html index f472e3c..6b7a9c1 100644 --- a/themes/openpowerfoundation/layouts/hub/list.html +++ b/themes/openpowerfoundation/layouts/hub/list.html @@ -2,47 +2,58 @@ {{ partial "navbar.html" . }}
-
{{ partial "footer.html" . }} diff --git a/themes/openpowerfoundation/layouts/hub/single.html b/themes/openpowerfoundation/layouts/hub/single.html index 42b6503..e7c02de 100644 --- a/themes/openpowerfoundation/layouts/hub/single.html +++ b/themes/openpowerfoundation/layouts/hub/single.html @@ -9,41 +9,74 @@
-
+
{{ if .Param "member" }} - Provider : + Provider :  {{ $member := .Param "member" }} {{ range where .Site.RegularPages "Section" "members" }} {{ $membercompany := .File.BaseFileName }} {{ if eq $member $membercompany }} + {{ .Title }} + {{ if .Param "country" }} +  ({{ .Param "country" }}) + {{ end }} +
{{ if .Param "image" }} {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} - {{ $image := $imageresource.Fit "100x100" }} + {{ $image := $imageresource.Fit "200x200" }} {{ .Title }} {{ else }} {{ .Title }} {{ end }} - {{ if .Param "country" }} - ({{ .Param "country" }}) - {{ end }} {{ end }} {{ end }} {{ end }}
-
- {{ if .Param "provides" }} + {{ if .Param "systems" }} +
+ POWER Based systems : +
    + {{ range $s := .Param "systems" }} +
  • {{ $s }}
  • + {{ end }} +
+
+ {{ end }} + {{ if .Param "provides" }} +
Provides following OPF HUB resources :
    {{ range $p := .Param "provides" }}
  • {{ $p }}
  • {{ end }}
- {{ end }} -
+
+ {{ end }} +
 
+ {{ if .Param "operatingsystems" }} +
+ Operating Systems : +
    + {{ range $s := .Param "operatingsystems" }} +
  • {{ $s }}
  • + {{ end }} +
+
+ {{ end }} + {{ if .Param "projects" }} +
+ Project Types : +
    + {{ range $o := .Param "projects" }} +
  • {{ $o }}
  • + {{ end }} +
+
+ {{ end }}
{{ if .Content }} diff --git a/themes/openpowerfoundation/layouts/partials/hubform.html b/themes/openpowerfoundation/layouts/partials/hubform.html index 88f5648..1f113e5 100644 --- a/themes/openpowerfoundation/layouts/partials/hubform.html +++ b/themes/openpowerfoundation/layouts/partials/hubform.html @@ -9,6 +9,7 @@ var goal = "{{ .Site.Params.forms.hub.goal }}";
+

HUB Access Request Form

@@ -42,20 +43,58 @@ var goal = "{{ .Site.Params.forms.hub.goal }}";
-

What OpenPOWER resources do you require?

-
-
- {{ range $hubdata.accesstype }} - {{ .name }}
- {{ end }} + {{ $projects := .Param "projects" }} + {{ if $projects }} +

What is your project?

+
+
+ +
-
- {{ range $hubdata.additions }} - {{ .name }}
- {{ end }} + {{ end }} + {{ $systems := .Param "systems" }} + {{ if $systems }} +

What POWER system would you like?

+
+
+ +
- -
+ {{ end }} + {{ $provides := .Param "provides" }} + {{ if $provides }} +

What POWER resources do you require?

+
+
+ +
+
+ {{ end }} + {{ $operatingsystems := .Param "operatingsystems" }} + {{ if $operatingsystems }} +

What Operating System would you like on your POWER resource?

+
+
+ +
+
+ {{ end }}
@@ -65,12 +104,3 @@ var goal = "{{ .Site.Params.forms.hub.goal }}";
-