Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
135 lines
3.5 KiB
HTML
135 lines
3.5 KiB
HTML
<form class="js-helpfulness mt-4 f5" id="helpfulness-{{ helpId }}">
|
|
<h4
|
|
data-help-start
|
|
data-help-yes
|
|
data-help-no
|
|
>
|
|
{{ site.data.ui.helpfulness.able_to_find }}
|
|
</h4>
|
|
<p
|
|
class="radio-group"
|
|
data-help-start
|
|
data-help-yes
|
|
data-help-no
|
|
>
|
|
<input
|
|
hidden
|
|
id="helpfulness-yes-{{ helpId }}"
|
|
type="radio"
|
|
name="helpfulness-vote"
|
|
value="Yes"
|
|
aria-label="{{ site.data.ui.helpfulness.yes }}"
|
|
/>
|
|
<label class="btn x-radio-label" for="helpfulness-yes-{{ helpId }}">
|
|
{% octicon "thumbsup" height="24" %}
|
|
</label>
|
|
<input
|
|
hidden
|
|
id="helpfulness-no-{{ helpId }}"
|
|
type="radio"
|
|
name="helpfulness-vote"
|
|
value="No"
|
|
aria-label="{{ site.data.ui.helpfulness.no }}"
|
|
/>
|
|
<label class="btn x-radio-label" for="helpfulness-no-{{ helpId }}">
|
|
{% octicon "thumbsdown" height="24" %}
|
|
</label>
|
|
</p>
|
|
<p class="text-gray f6" hidden data-help-yes>
|
|
{{ site.data.ui.helpfulness.yes_feedback }}
|
|
</p>
|
|
<p class="text-gray f6" hidden data-help-no>
|
|
{{ site.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-category-{{ helpId }}"
|
|
>
|
|
{{ site.data.ui.helpfulness.category_label }}
|
|
<span class="text-normal text-gray-light float-right ml-1">
|
|
{{ site.data.ui.helpfulness.required }}
|
|
</span>
|
|
</label>
|
|
<select
|
|
class="form-control select-sm width-full"
|
|
name="helpfulness-category"
|
|
id="helpfulness-category-{{ helpId }}"
|
|
>
|
|
<option value="">
|
|
{{ site.data.ui.helpfulness.category_default }}
|
|
</option>
|
|
<option value="Unclear">
|
|
{{ site.data.ui.helpfulness.category_unclear }}
|
|
</option>
|
|
<option value="Confusing">
|
|
{{ site.data.ui.helpfulness.category_confusing }}
|
|
</option>
|
|
<option value="Unhelpful">
|
|
{{ site.data.ui.helpfulness.category_unhelpful }}
|
|
</option>
|
|
<option value="Other">
|
|
{{ site.data.ui.helpfulness.category_other }}
|
|
</option>
|
|
</select>
|
|
</p>
|
|
<p hidden data-help-no>
|
|
<label
|
|
class="d-block mb-1 f6"
|
|
for="helpfulness-comment-{{ helpId }}"
|
|
>
|
|
<span>{{ site.data.ui.helpfulness.comment_label }}</span>
|
|
<span class="text-normal text-gray-light float-right ml-1">
|
|
{{ site.data.ui.helpfulness.optional }}
|
|
</span>
|
|
</label>
|
|
<textarea
|
|
class="form-control input-sm width-full"
|
|
name="helpfulness-comment"
|
|
id="helpfulness-comment-{{ helpId }}"
|
|
></textarea>
|
|
</p>
|
|
<p>
|
|
<label
|
|
class="d-block mb-1 f6"
|
|
for="helpfulness-email-{{ helpId }}"
|
|
hidden
|
|
data-help-no
|
|
>
|
|
{{ site.data.ui.helpfulness.email_label }}
|
|
<span class="text-normal text-gray-light float-right ml-1">
|
|
{{ site.data.ui.helpfulness.optional }}
|
|
</span>
|
|
</label>
|
|
<input
|
|
type="email"
|
|
class="form-control input-sm width-full"
|
|
name="helpfulness-email"
|
|
id="helpfulness-email-{{ helpId }}"
|
|
placeholder="{{ site.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-blue btn-sm">
|
|
{{ site.data.ui.helpfulness.send }}
|
|
</button>
|
|
</p>
|
|
<p class="text-gray f6" hidden data-help-end>
|
|
{{ site.data.ui.helpfulness.feedback }}
|
|
</p>
|
|
</form>
|