-
Notifications
You must be signed in to change notification settings - Fork 2
/
feedback.html
119 lines (108 loc) · 6.22 KB
/
feedback.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Propr - Fill PR Feedback</title>
<style>
/*
Consider adding styles to the css folder
All existing styles havebeen moved to a separate CSS file for clarity
*/
body {
background: url(img/cream_dust.png) repeat 0 0;
}
</style>
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.png" />
<!-- Form JS -->
<script src="js/feedback.js"></script>
<!-- Pure CSS -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css">
<!-- Elements CSS -->
<link rel="stylesheet" href="css/rating.css">
<link rel="stylesheet" href="css/rating-blue.css">
<link rel="stylesheet" href="css/layouts/feedback.css">
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Fonts CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" type="text/css">
</head>
<body>
<h1>Propr - Pull Request Feedback</h1>
<h3>
<div id="pr-url"></div>
</h3>
<fieldset>
<span class="star-cb-group-blue">
<input type="radio" id="rating3-5" name="rating3" value="5" /><label for="rating3-5">5</label>
<input type="radio" id="rating3-4" name="rating3" value="4" /><label for="rating3-4">4</label>
<input type="radio" id="rating3-3" name="rating3" value="3" /><label for="rating3-3">3</label>
<input type="radio" id="rating3-2" name="rating3" value="2" /><label for="rating3-2">2</label>
<input type="radio" id="rating3-1" name="rating3" value="1" /><label for="rating3-1">1</label>
<input type="radio" id="rating3-0" name="rating3" value="0" class="star-cb-clear" /><label for="rating3-0">0</label>
</span>
</fieldset>
<span style="text-align: center;display: block;"><i>How would you rate the <b>necessity</b> of this patch?</i></span>
<br>
<form class="pure-form">
<fieldset class="pure-group">
<h4 style="width: 400px">How long did you take to review this patch?</h4>
<input id="review-time" type="number" placeholder="Number of minutes" min="0" onkeypress="return event.keyCode != 13;">
</fieldset>
</form>
<hr>
<fieldset>
<span class="star-cb-group">
<input type="radio" id="rating1-5" name="rating1" value="5" /><label for="rating1-5">5</label>
<input type="radio" id="rating1-4" name="rating1" value="4" /><label for="rating1-4">4</label>
<input type="radio" id="rating1-3" name="rating1" value="3" /><label for="rating1-3">3</label>
<input type="radio" id="rating1-2" name="rating1" value="2" /><label for="rating1-2">2</label>
<input type="radio" id="rating1-1" name="rating1" value="1" /><label for="rating1-1">1</label>
<input type="radio" id="rating1-0" name="rating1" value="0" class="star-cb-clear" /><label for="rating1-0">0</label>
</span>
</fieldset>
<span style="text-align: center;display: block;"><i>How would you rate the <b>reviewability</b> of the submitted patch?</i></span>
<br>
<form class="pure-form">
<fieldset class="pure-group">
<h4>What aspects of this patch, if any, contribute to its reviewability?</h4>
<textarea id="positive-text" rows="6" cols="80" placeholder="Enter here..."></textarea>
</fieldset>
<br style="line-height: 600%;">
<fieldset class="pure-group">
<h4>What aspects of this patch, if any, should be improved to enhance its reviewability?</h4>
<textarea id="negative-text" rows="6" cols="80" placeholder="Enter here..."></textarea>
</fieldset>
</form>
<br style="line-height: 575%;">
<hr>
<fieldset>
<span class="star-cb-group">
<input type="radio" id="rating2-5" name="rating2" value="5" /><label for="rating2-5">5</label>
<input type="radio" id="rating2-4" name="rating2" value="4" /><label for="rating2-4">4</label>
<input type="radio" id="rating2-3" name="rating2" value="3" /><label for="rating2-3">3</label>
<input type="radio" id="rating2-2" name="rating2" value="2" /><label for="rating2-2">2</label>
<input type="radio" id="rating2-1" name="rating2" value="1" /><label for="rating2-1">1</label>
<input type="radio" id="rating2-0" name="rating2" value="0" class="star-cb-clear" /><label for="rating2-0">0</label>
</span>
</fieldset>
<span style="text-align: center;display: block;"><i>How would you have rated the <b>reviewability</b> of this patch before any discussion with the author?</i></span>
<br style="line-height: 100%;">
<hr>
<p style="font-size: 90%; color: #aaa;"><b>Privacy statement:</b> We don't store any personal information such as your email address or name.
We ask for GitHub authentication as an anonymous identifier to account for duplicate feedback entries and to see people specific preferences.</p>
<label id="file-option-label" for="file-option" class="pure-checkbox" style="display: none; color: #696969; font-size: 0.85em; font-weight: bold">
<input id="file-option" type="checkbox" value="fileoption" style="vertical-align:middle;" checked>
Send information on code modified in this pull request
</label>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item">
<a class="pure-button" id="submit-button">
<i class="fa fa-paper-plane" aria-hidden="true" id="submit-icon"></i> Submit</a>
</li>
</ul>
</nav>
<br>
</body>
</html>