forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelpfulness.html
108 lines (108 loc) · 2.66 KB
/
helpfulness.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
{% unless enterpriseServerReleases.isOldestReleaseDeprecated and currentVersion contains enterpriseServerReleases.oldestSupported %}
<form class="js-helpfulness f5">
<h2
data-help-start
data-help-yes
data-help-no
class="mb-1 f4"
>
{% data ui.helpfulness.able_to_find %}
</h2>
<p class="f6">
<a href="/github/site-policy/github-privacy-statement">Privacy policy</a>
</p>
<p
class="radio-group"
data-help-start
data-help-yes
data-help-no
>
<input
hidden
id="helpfulness-yes"
type="radio"
name="helpfulness-vote"
value="Yes"
aria-label="{% data ui.helpfulness.yes %}"
/>
<label class="btn x-radio-label" for="helpfulness-yes">
{% octicon "thumbsup" height="24" %}
</label>
<input
hidden
id="helpfulness-no"
type="radio"
name="helpfulness-vote"
value="No"
aria-label="{% data ui.helpfulness.no %}"
/>
<label class="btn x-radio-label" for="helpfulness-no">
{% octicon "thumbsdown" height="24" %}
</label>
</p>
<p class="color-text-secondary f6" hidden data-help-yes>
{% data ui.helpfulness.yes_feedback %}
</p>
<p class="color-text-secondary f6" hidden data-help-no>
{% data ui.helpfulness.no_feedback %}
</p>
<input
type="text"
class="d-none"
name="helpfulness-token"
aria-hidden="true"
/>
<p hidden data-help-no>
<label
class="d-block mb-1 f6"
for="helpfulness-comment"
>
<span>{% data ui.helpfulness.comment_label %}</span>
<span class="text-normal color-text-tertiary float-right ml-1">
{% data ui.helpfulness.optional %}
</span>
</label>
<textarea
class="form-control input-sm width-full"
name="helpfulness-comment"
id="helpfulness-comment"
></textarea>
</p>
<p>
<label
class="d-block mb-1 f6"
for="helpfulness-email"
hidden
data-help-no
>
{% data ui.helpfulness.email_label %}
<span class="text-normal color-text-tertiary float-right ml-1">
{% data ui.helpfulness.optional %}
</span>
</label>
<input
type="email"
class="form-control input-sm width-full"
name="helpfulness-email"
id="helpfulness-email"
placeholder="{% data ui.helpfulness.email_placeholder %}"
hidden
data-help-yes
data-help-no
/>
</p>
<p
class="text-right"
hidden
data-help-yes
data-help-no
>
<button type="submit" class="btn btn-sm">
{% data ui.helpfulness.send %}
</button>
</p>
<p class="color-text-secondary f6" hidden data-help-end>
{% data ui.helpfulness.feedback %}
</p>
</form>
{% endunless %}