Skip to content

Commit 2cbd5ae

Browse files
committed
Add form to report CoC violations
1 parent ed1e948 commit 2cbd5ae

File tree

2 files changed

+103
-0
lines changed

2 files changed

+103
-0
lines changed

coc.md

+2
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ permalink: /coc/
2929
<p>This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by the Admin and Moderators. This Code of Conduct applies to the Admins, Moderators, speakers, sponsors, and all other participants during their involvement with codeIndore()</p>
3030
<h2>Enforcement</h2>
3131
<p>Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting any of the Moderators or the Admin either through any of our communication channels or in person. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Admin or Moderators who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by the members of the Community.</p>
32+
<h2>Reporting</h2>
33+
<p>All code of conduct violations can be reported through <a href="/report/">this form</a>. The responses to the form will be kept confidential and the form can be filled anonymously. For situations that require immediate intervention from the admins, contact them directly through any of our <a href="/connect/">communication channels</a>.</p>

report.md

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
layout: default
3+
permalink: /report/
4+
title: Report
5+
---
6+
<h1 class="has-text-centered">{{ page.title }}</h1>
7+
<p class="has-text-centered">Please use this form to report any violations of the <a href="/coc/" target="_blank">Code of Conduct</a>. <br />Reports can be submitted anonymously. Please include all relevant details in your response. <br />The responses will be kept confidential.</p>
8+
<br />
9+
<form action="https://docs.google.com/forms/d/e/1FAIpQLScmT7k9J209Fd0729n6iiDzy34A8Hx_dreIicC7_HWOCoSmYg/formResponse"
10+
target="_self"
11+
id="bootstrapForm"
12+
method="POST">
13+
14+
<!-- Field type: "short" id: "826355120" -->
15+
<div class="field is-horizontal">
16+
<div class="field-label">
17+
<legend class="label" for="826355120">Name</legend>
18+
</div>
19+
<div class="field-body">
20+
<input id="2092238618" type="text" name="entry.2092238618" class="input" placeholder="Name">
21+
</div>
22+
</div>
23+
24+
25+
<!-- Field type: "short" id: "2071572813" -->
26+
<div class="field is-horizontal">
27+
<div class="field-label">
28+
<legend class="label" for="2071572813">Email</legend>
29+
</div>
30+
<div class="field-body">
31+
<input id="297764783" type="text" name="entry.297764783" class="input" placeholder="[email protected]">
32+
</div>
33+
</div>
34+
35+
36+
<!-- Field type: "short" id: "569514487" -->
37+
<div class="field is-horizontal">
38+
<div class="field-label">
39+
<legend class="label" for="569514487">Phone Number</legend>
40+
</div>
41+
<div class="field-body">
42+
<input id="1966605262" type="text" name="entry.1966605262" class="input" placeholder="+91 99999 12345">
43+
</div>
44+
</div>
45+
46+
47+
<!-- Field type: "short" id: "1517600930" -->
48+
<div class="field is-horizontal">
49+
<div class="field-label">
50+
<legend class="label" for="1517600930">Violator details</legend>
51+
</div>
52+
<div class="field-body">
53+
<input id="1340835164" type="text" name="entry.1340835164" class="input" placeholder="Violator's name or other description">
54+
</div>
55+
</div>
56+
57+
58+
<!-- Field type: "short" id: "245385898" -->
59+
<div class="field is-horizontal">
60+
<div class="field-label">
61+
<legend class="label" for="245385898">Date of incident</legend>
62+
</div>
63+
<div class="field-body">
64+
<input id="479301265" type="text" name="entry.479301265" class="input" placeholder="DD/MM/YYYY" required>
65+
</div>
66+
</div>
67+
68+
69+
<!-- Field type: "short" id: "1312689492" -->
70+
<div class="field is-horizontal">
71+
<div class="field-label">
72+
<legend class="label" for="1312689492">Incident Details</legend>
73+
</div>
74+
<div class="field-body">
75+
<textarea id="1857009907" type="text" name="entry.1857009907" class="textarea" placeholder="Please include all details of the incident." required></textarea>
76+
</div>
77+
</div>
78+
79+
<input type="hidden" name="fvv" value="1">
80+
<input type="hidden" name="fbzx" value="4765250700995431190">
81+
<input type="hidden" name="pageHistory" value="0">
82+
<br />
83+
<div class="has-text-centered">
84+
<input class="button is-link" type="submit" value="Submit">
85+
</div>
86+
</form>
87+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
88+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.2.2/jquery.form.min.js" integrity="sha256-2Pjr1OlpZMY6qesJM68t2v39t+lMLvxwpa8QlRjJroA=" crossorigin="anonymous"></script>
89+
<script type="text/javascript">
90+
$('#bootstrapForm').submit(function (event) {
91+
event.preventDefault()
92+
var extraData = {}
93+
$('#bootstrapForm').ajaxSubmit({
94+
data: extraData,
95+
dataType: 'jsonp', // This won't really work. It's just to use a GET instead of a POST to allow cookies from different domain.
96+
error: function () {
97+
alert('Report Received. Appropriate actions will be taken as defined in the Code of Conduct.')
98+
}
99+
})
100+
})
101+
</script>

0 commit comments

Comments
 (0)