Compare commits

...

2 Commits

Author SHA1 Message Date
Toshaan Bharvani 1d1ed69308 add staging build to makefile
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
2 years ago
Toshaan Bharvani 40eee5d7e2 add first draft of isa rfc submission form
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
2 years ago

@ -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/


@ -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__

@ -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%;

@ -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" . }}

@ -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="{{ "/policy/privacy" | relURL }}">OpenPOWER Foundation's IP Rights Policy</a></li>
<li><a href="{{ "/policy/privacy" | relURL }}">OpenPOWER Foundation's Bylaws</a></li>
<li><a href="{{ "/policy/privacy" | relURL }}">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