update hubs to have addons to systems

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1691128968110617338/master
Toshaan Bharvani 2 years ago
parent 13c6c4234e
commit 91d3b04b8e

@ -7,8 +7,10 @@ provides:
- Bare Metal - Bare Metal
- Virtual Machine - Virtual Machine
- Container - Container
- GPU addons:
- FPGA - none
- GPU (vm)
- FPGA (container)
systems: systems:
- POWER9 - POWER9
- POWER8 - POWER8

@ -9,6 +9,9 @@ provides:
- Virtual Machine - Virtual Machine
- Container - Container
- FPGA - FPGA
addons:
- none
- FPGA
systems: systems:
- POWER9 - POWER9
operatingsystems: operatingsystems:

@ -4,8 +4,12 @@ member: universityoforegon
projects: projects:
- Open Source - Open Source
provides: provides:
- Bare Metal Machine
- Virtual Machine - Virtual Machine
- Container - Container
- FPGA
addons:
- none
- GPU - GPU
- FPGA - FPGA
systems: systems:

@ -8,7 +8,11 @@ provides:
- Virtual Machines - Virtual Machines
- FPGA - FPGA
- Containers - Containers
- LibreBMC addons:
- none
- GPU (vm)
- FPGA (vm)
- LibreBMC (POWER9)
systems: systems:
- POWER9 - POWER9
- POWER8 - POWER8

@ -223,6 +223,14 @@ section#steeringcomittee {
font-size: 14px; font-size: 14px;
} }
} }
.operatingsystsms ul {
list-style-type: disc;
}
.operatingsystems ul li {
display: inline;
padding-left: 1rem;
padding-right: 1rem;
}
} }





@ -57,12 +57,12 @@
</div> </div>
{{ end }} {{ end }}
<div class="col-lg-4">&nbsp;</div> <div class="col-lg-4">&nbsp;</div>
{{ if .Param "operatingsystems" }} {{ if .Param "addons" }}
<div class="col-lg-4"> <div class="col-lg-4">
Operating Systems : Resource Addons :
<ul> <ul>
{{ range $s := .Param "operatingsystems" }} {{ range $a := .Param "addons" }}
<li>{{ $s }}</li> <li>{{ $a }}</li>
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
@ -77,6 +77,17 @@
</ul> </ul>
</div> </div>
{{ end }} {{ end }}
<div class="col-lg-4">&nbsp;</div>
{{ if .Param "operatingsystems" }}
<div class="col-lg-8 operatingsystems">
Operating Systems :
<ul class="operatingsystems">
{{ range $s := .Param "operatingsystems" }}
<li class="operatingsystems">{{ $s }}</li>
{{ end }}
</ul>
</div>
{{ end }}
</div> </div>
</div> </div>
{{ if .Content }} {{ if .Content }}

@ -7,8 +7,8 @@ var goal = "{{ .Site.Params.forms.hub.goal }}";
{{ end }} {{ end }}
</script> </script>
<section id="hub"> <section id="hub">
<div class="container"> <div class="row wow fadeInUp"> <div class="container"><div class="row wow fadeInUp">
<div class="col-lg-8 offset-lg-2 col-md-12 mt-5 mb-5"><div class="form"> <div class="col-lg-12 col-md-12 mt-5 mb-5"><div class="form">
<div class="col-lg-12 text-center"><h2>HUB Access Request Form</h2></div> <div class="col-lg-12 text-center"><h2>HUB Access Request Form</h2></div>
<div id="sendmessage" style="display:none">Your request has been sent. Thank you!</div> <div id="sendmessage" style="display:none">Your request has been sent. Thank you!</div>
<div id="errormessage" style="display:none">Error</div> <div id="errormessage" style="display:none">Error</div>
@ -43,58 +43,63 @@ var goal = "{{ .Site.Params.forms.hub.goal }}";
<div class="validation"></div> <div class="validation"></div>
</div> </div>
</div> </div>
<div class="form-row">
{{ $projects := .Param "projects" }} {{ $projects := .Param "projects" }}
{{ if $projects }} {{ if $projects }}
<div><h3>What is your project?</h3></div> <div class="form-group col-lg-6">
<div class="form-row"> What is your project?
<div class="form-group col-lg-12"> <select id="project" name="project">
<select id="project" name="project"> {{ range $projects }}
{{ range $projects }} <option value="{{ . }}">{{ . }}</option>
<option value="{{ . }}">{{ . }}</option> {{ end }}
{{ end }} </select>
</select>
</div>
</div> </div>
{{ end }} {{ end }}
{{ $systems := .Param "systems" }} {{ $systems := .Param "systems" }}
{{ if $systems }} {{ if $systems }}
<div><h3>What POWER system would you like?</h3></div> <div class="form-group col-lg-6">
<div class="form-row"> What POWER system would you like?
<div class="form-group col-lg-6"> <select id="system" name="system">
<select id="system" name="system"> {{ range $systems }}
{{ range $systems }} <option value="{{ . }}">{{ . }}</option>
<option value="{{ . }}">{{ . }}</option> {{ end }}
{{ end }} </select>
</select>
</div>
</div> </div>
{{ end }} {{ end }}
{{ $provides := .Param "provides" }} {{ $provides := .Param "provides" }}
{{ if $provides }} {{ if $provides }}
<div><h3>What POWER resources do you require?</h3></div> <div class="form-group col-lg-6">
<div class="form-row"> What POWER resources do you require?
<div class="form-group col-lg-6"> <select id="provides" name="provides">
<select id="provides" name="provides"> {{ range $provides }}
{{ range $provides }} <option value="{{ . }}">{{ . }}</option>
<option value="{{ . }}">{{ . }}</option> {{ end }}
{{ end }} </select>
</select> </div>
</div> {{ end }}
{{ $addons := .Param "addons" }}
{{ if $addons }}
<div class="form-group col-lg-6">
What POWER addons do you require?
<select id="addons" name="addons">
{{ range $addons }}
<option value="{{ . }}">{{ . }}</option>
{{ end }}
</select>
</div> </div>
{{ end }} {{ end }}
{{ $operatingsystems := .Param "operatingsystems" }} {{ $operatingsystems := .Param "operatingsystems" }}
{{ if $operatingsystems }} {{ if $operatingsystems }}
<div><h3>What Operating System would you like on your POWER resource?</h3></div> <div class="form-group col-lg-12">
<div class="form-row"> What Operating System would you like on your POWER resource?
<div class="form-group col-lg-6"> <select id="operatingsystem" name="operatingsystem">
<select id="operatingsystem" name="operatingsystem"> {{ range $operatingsystems }}
{{ range $operatingsystems }} <option value="{{ . }}">{{ . }}</option>
<option value="{{ . }}">{{ . }}</option> {{ end }}
{{ end }} </select>
</select>
</div>
</div> </div>
{{ end }} {{ end }}
</div>
<div class="form-group"> <div class="form-group">
<textarea class="form-control" name="message" rows="5" data-rule="required" data-msg="Please write a short explanation about getting access. (Why, How, Whatfor, how long)" placeholder="Please write a short explanation about getting access. (Why, How, Whatfor, how long)"></textarea> <textarea class="form-control" name="message" rows="5" data-rule="required" data-msg="Please write a short explanation about getting access. (Why, How, Whatfor, how long)" placeholder="Please write a short explanation about getting access. (Why, How, Whatfor, how long)"></textarea>
<div class="validation"></div> <div class="validation"></div>

Loading…
Cancel
Save