Browse Source

Merge branch 'isarfcform'

master
Toshaan Bharvani 3 months ago
parent
commit
142ab211da
  1. 1
      Makefile
  2. 12
      content/isarfc/_index.md
  3. 52
      themes/openpowerfoundation/assets/css/forms.scss
  4. 21
      themes/openpowerfoundation/layouts/isarfc/list.html
  5. 96
      themes/openpowerfoundation/layouts/partials/isarfcform.html

1
Makefile

@ -49,4 +49,5 @@ servedraft: @@ -49,4 +49,5 @@ servedraft:
.PHONY: clean
clean:
@rm -rf public/
@rm -rf builds/
@rm -rf resources/

12
content/isarfc/_index.md

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
---
title: OpenPOWER ISA RFC Submission
date: 2022-07-13
draft: false
---

This is a request form for submitting your OpenPOWER ISA RFC Submission process.

Please read and understand your rights and obligations as per our [IPR policy](https://files.openpower.foundation/s/eMq2rPmnbKofrDC)
for inbound contributions (_Appendix A_).

You can find the ISA TWG Working Group Note for RFC Processing [here](https://files.openpower.foundation/s/Sj756P5B39T7XnP).

52
themes/openpowerfoundation/assets/css/forms.scss

@ -26,6 +26,57 @@ @@ -26,6 +26,57 @@
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); -webkit-appearance: button; appearance: button; outline: none;
}

#isarfc .form #sendmessage {
color: #2566f4;
border: 2px solid #008800;
display: none;
text-align: center;
padding: 15px;
font-weight: 600;
margin-bottom: 15px;
}
#isarfc .form #errormessage {
color: #ff0000;
display: none;
border: 2px solid #880000;
text-align: center;
padding: 15px;
font-weight: 600;
margin-bottom: 15px;
}
#isarfc .form #sendmessage.show,
#isarfc .form #errormessage.show,
#isarfc .form .show {
display: block;
}
#isarfc .form .validation {
color: #880000;
display: none;
margin: 0 0 20px;
font-weight: 400;
font-size: 13px;
}
#isarfc .form input, #contact .form textarea {
border-radius: 0;
box-shadow: none;
font-size: 14px;
}
#isarfc .form button[type="submit"] {
background: #2566f4;
border: 0;
border-radius: 2rem;
padding: 1rem 5rem 1rem 5rem;
color: #ffffff;
}
#isarfc .form button[type="submit"]:hover {
background: #000000;
cursor: pointer;
}
#isarfc .comment {
color: #666666;
font-style: italic;
}

#passport .form #sendmessage {
color: #2566f4;
border: 2px solid #008800;
@ -73,6 +124,7 @@ @@ -73,6 +124,7 @@
cursor: pointer;
}


.member-value,
.member-list {
width: 100%;

21
themes/openpowerfoundation/layouts/isarfc/list.html

@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<main id="main" class="main governance">
<div class="container">
<div class="row no-gutters">
<div class="col-lg-12 text-center"><h1 class="h2 section-header my-3 my-md-5 pb-2">{{ .Title }}</h1></div>
</div>
<div class="row">
<div class="col-lg-12">
{{ .Content }}
</div>
</div>
<div class="row">
<div class="col-lg-12">
{{ partial "isarfcform.html" . }}
</div>
</div>
</div>
</section>
</main>
{{ partial "footer.html" . }}

96
themes/openpowerfoundation/layouts/partials/isarfcform.html

@ -0,0 +1,96 @@ @@ -0,0 +1,96 @@
<script>
var formname = "form.isarfcForm";
var submiturl = "{{ .Site.Params.forms.isarfc.URI }}";
{{ if .Site.Params.forms.isarfc.goal }}
var goal = "{{ .Site.Params.forms.isarfc.goal }}";
{{ end }}
</script>
<section id="isarfc">
<div class="container"><div class="row wow fadeInUp">
<div class="col-lg-8 offset-lg-2 col-md-12"><div class="form">
<form role="form" name="isarfcForm" class="isarfcForm" id="isarfcForm" action="" method="post">
<div class="form-row">
<div class="form-group col-lg-12">
<input type="text" class="form-control" name="uid" id="uid" placeholder="Your First and Last Name" data-rule="minlen:4" data-msg="Please enter at least 4 characters" />
<div class="validation"></div>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
<input type="text" class="form-control" name="company" id="company" placeholder="Your Company" data-rule="minlen:4" data-msg="Please enter at least 4 characters" />
<div class="validation"></div>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
<input type="email" class="form-control" name="email" id="email" placeholder="Your Email Address" data-rule="email" data-msg="Please enter a valid email address" />
<div class="validation"></div>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
<input name="member" id="member" class="member-value" placeholder="Are you an OpenPOWER Foundation Member" value="">
<ul class="member-list">
{{ range sort (where .Site.RegularPages "Section" "members") "Title" }}
<li>{{ .Title }}</li>
{{ end }}
</ul>
</div>
</div>
<div class="form-row text-center">
<div class="form-group col-lg-4">
<input type="radio" class="mr-2" id="minorcorrection" name="minnorcorrection" value="Minor Correction">Minor Correction<br>
<span class="comment">For minor changes, please send a diff or a git am patch file.</span>
</div>
<div class="form-group col-lg-4">
<input type="radio" class="mr-2" id="formalproposal" name="formalproposal" value="Formal Proposal">Formal Proposal<br>
<span class="comment">Please send your proposal including a summary and some use cases.</span>
</div>
<div class="form-group col-lg-4">
<input type="radio" class="mr-2" id="rfc" name="rfc" value="RFC">RFC<br>
<span class="comment">Please send the patch/diff files and the change document, including a short presentation why this is relevant.</span>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
<input type="checkbox" class="mr-2" id="confidential" name="confidential" value="confidential">Confidential RFC<br>
<span class="comment">A "Confidential RFC" is only available for OpenPOWER Foundation Members,
please make sure to select your member company.
This Confidential RFC will only be made available to ISA TWG members and kept confidential in accordance
with Appendix C, section C.2, of the OPF IPR Policy.</span>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
RFC File upload : <input type="file" name="rfcfile" id="rfcfile" class="file" placeholder="Add your RFC file"><br>
<span class="comment">Acceptable file formats : text, PDF, LaTeX, patch, diff, tar, zip, xz, bz2, gz</span>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
<textarea class="form-control" name="message" rows="5" data-msg="Please write any additonal message to the ISA TWG" placeholder="Message"></textarea>
<div class="validation"></div>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
By submitting this form, I acknowledge that my information and proposal are subject to the following :
<ul>
<li><a href="https://files.openpower.foundation/s/eMq2rPmnbKofrDC">OpenPOWER Foundation's IP Rights Policy</a></li>
<li><a href="https://files.openpower.foundation/s/yYcB2C2z2pnwpcm">OpenPOWER Foundation's Bylaws</a></li>
<li><a href="https://files.openpower.foundation/s/k5Hny649q3XHSqk">OpenPOWER Foundation's Anti Trust Guidelines</a></li>
<li><a href="{{ "/policy/privacy" | relURL }}">OpenPOWER Foundation's Privacy Policy</a></li>
</ul>
</div>
</div>
<div class="form-row">
<div class="form-group col-lg-12 text-center">
<div id="sendmessage">Your request has been sent. Thank you!</div>
<div id="errormessage">Error</div>
<button class="btn btn-outline-primary" type="submit" title="Send Message">Submit your RFC proposal</button>
</div>
</div>
</form></div>
</div></div>
</div>
</section>
Loading…
Cancel
Save