From 40eee5d7e2507228ff100c018ab12f13fb2d90f9 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 14 Jul 2022 15:19:33 +0200 Subject: [PATCH 1/3] add first draft of isa rfc submission form Signed-off-by: Toshaan Bharvani --- content/isarfc/_index.md | 13 +++ .../openpowerfoundation/assets/css/forms.scss | 52 ++++++++++ .../layouts/isarfc/list.html | 21 ++++ .../layouts/partials/isarfcform.html | 96 +++++++++++++++++++ 4 files changed, 182 insertions(+) create mode 100644 content/isarfc/_index.md create mode 100644 themes/openpowerfoundation/layouts/isarfc/list.html create mode 100644 themes/openpowerfoundation/layouts/partials/isarfcform.html diff --git a/content/isarfc/_index.md b/content/isarfc/_index.md new file mode 100644 index 0000000..958c2ee --- /dev/null +++ b/content/isarfc/_index.md @@ -0,0 +1,13 @@ +--- +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 bylaws for inbound contributions. +__TODO: ADD LINK TO IPR Policy with chapter or bookmark links__ + +You can find the ISA TWG Working Group Note for RFC Processing [here](https://files.openpower.foundation/s/Sj756P5B39T7XnP). +__LINKS NEEDS CORRECTION__ diff --git a/themes/openpowerfoundation/assets/css/forms.scss b/themes/openpowerfoundation/assets/css/forms.scss index f1d5dcf..d7e21f3 100644 --- a/themes/openpowerfoundation/assets/css/forms.scss +++ b/themes/openpowerfoundation/assets/css/forms.scss @@ -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 @@ cursor: pointer; } + .member-value, .member-list { width: 100%; diff --git a/themes/openpowerfoundation/layouts/isarfc/list.html b/themes/openpowerfoundation/layouts/isarfc/list.html new file mode 100644 index 0000000..9849225 --- /dev/null +++ b/themes/openpowerfoundation/layouts/isarfc/list.html @@ -0,0 +1,21 @@ +{{ partial "header.html" . }} +{{ partial "navbar.html" . }} +
+
+
+

{{ .Title }}

+
+
+
+ {{ .Content }} +
+
+
+
+ {{ partial "isarfcform.html" . }} +
+
+
+ +
+{{ partial "footer.html" . }} diff --git a/themes/openpowerfoundation/layouts/partials/isarfcform.html b/themes/openpowerfoundation/layouts/partials/isarfcform.html new file mode 100644 index 0000000..e6b9f82 --- /dev/null +++ b/themes/openpowerfoundation/layouts/partials/isarfcform.html @@ -0,0 +1,96 @@ + +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
    + {{ range sort (where .Site.RegularPages "Section" "members") "Title" }} +
  • {{ .Title }}
  • + {{ end }} +
+
+
+
+
+ Minor Correction
+ For minor changes, please send a diff or a git am patch file. +
+
+ Formal Proposal
+ Please send your proposal including a summary and some use cases. +
+
+ RFC
+ Please send the patch/diff files and the change document, including a short presentation why this is relevant. +
+
+
+
+ Confidential RFC
+ 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. +
+
+
+
+ RFC File upload :
+ Acceptable file formats : text, PDF, LaTeX, patch, diff, tar, zip, xz, bz2, gz +
+
+
+
+ +
+
+
+
+
+ By submitting this form, I acknowledge that my information and proposal are subject to the following : + +
+
+
+
+
Your request has been sent. Thank you!
+
Error
+ +
+
+
+
+
+
From 1d1ed69308bc734fc9986ae7a48c37cc476c9e2e Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Thu, 14 Jul 2022 15:36:54 +0200 Subject: [PATCH 2/3] add staging build to makefile Signed-off-by: Toshaan Bharvani --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 320810c..2c35cf2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ #!Makefile HUGO=hugo-extended +BUILDNAME:=$(shell git rev-parse --abbrev-ref HEAD) +BASEURL:=$(shell basename `pwd` | sed 's/_/./g') default all: build @@ -11,6 +13,10 @@ build: @find public/ -name '*.css' ! -name '*.gz' -type f -exec sh -c "gzip -c -9 < {} > {}.gz" \; @find public/ -name '*.js' ! -name '*.gz' -type f -exec sh -c "gzip -c -9 < {} > {}.gz" \; +.PHONY: build-staging +build-staging: + $(HUGO) --environment=production --minify --templateMetrics --baseURL https://$(BASEURL)/$(BUILDNAME)/ --destination builds/$(BUILDNAME) + .PHONY: test test: clean $(HUGO) --environment=development --minify @@ -34,4 +40,6 @@ servedraft: .PHONY: clean clean: @rm -rf public/ + @rm -rf builds/ @rm -rf resources/ + From 75c4a246b51d4422f83592df256aeec2ed53f869 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 23 Aug 2022 17:15:15 +0200 Subject: [PATCH 3/3] update to the legal document links Signed-off-by: Toshaan Bharvani --- content/isarfc/_index.md | 5 ++--- themes/openpowerfoundation/layouts/partials/isarfcform.html | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/content/isarfc/_index.md b/content/isarfc/_index.md index 958c2ee..f6a9259 100644 --- a/content/isarfc/_index.md +++ b/content/isarfc/_index.md @@ -6,8 +6,7 @@ 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 bylaws for inbound contributions. -__TODO: ADD LINK TO IPR Policy with chapter or bookmark links__ +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). -__LINKS NEEDS CORRECTION__ diff --git a/themes/openpowerfoundation/layouts/partials/isarfcform.html b/themes/openpowerfoundation/layouts/partials/isarfcform.html index e6b9f82..efec142 100644 --- a/themes/openpowerfoundation/layouts/partials/isarfcform.html +++ b/themes/openpowerfoundation/layouts/partials/isarfcform.html @@ -76,9 +76,9 @@ var goal = "{{ .Site.Params.forms.isarfc.goal }}";