forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelpDialog.handlebars
More file actions
62 lines (62 loc) · 4.32 KB
/
Copy pathhelpDialog.handlebars
File metadata and controls
62 lines (62 loc) · 4.32 KB
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
<div id="help-dialog">
<ul id="help-dialog-options" class="help-dialog-pane">
{{#each helpLinks}}
<li>
<a href="{{#if url}}{{url}}{{else}}#{{/if}}" target="_blank">
<span class="text">{{text}}</span>
<span class="subtext">{{subtext}}</span>
</a>
</li>
{{/each}}
</ul>
<form class="help-dialog-pane" id="teacher_feedback" style="display:none" action="/api/v1/conversations" method="POST">
<label for="teacher-feedback-recipients">
{{#t "which_course_is_this_question_about"}}Which course is this question about?{{/t}}
<small>{{#t "message_will_be_sent_to_all_the_teachers_tas_in_the_course"}}Message will be sent to all the Teachers / TA's in the course.{{/t}}</small>
</label>
<select class="input-block-level" name="recipients[]" id="teacher-feedback-recipients"></select>
<label for="teacher-feedback-body">{{#t "message"}}Message{{/t}}</label>
<textarea id="teacher-feedback-body" name="body"></textarea>
<div class="button-container">
<button type="submit" class="btn" data-text-while-loading="{{#t "sending"}}Sending...{{/t}}">{{#t "send_message"}}Send Message{{/t}}</button>
</div>
<input class="input-block-level" type="hidden" name="group_conversation" value="true">
</form>
<form class="help-dialog-pane bootstrap-form" id="create_ticket" style="display:none" action="/error_reports" method="POST">
<h4>{{#t "file_a_ticket_for_a_personal_response_from_our_support_team"}}File a ticket for a personal response from our support team{{/t}}</h4>
<div role="alert" class="alert">
<strong>{{#t "for_an_instant_answer"}}For an instant answer:{{/t}}</strong>
<div>{{#t "see_if_your_issue_is_addressed_in_the_canvas_guides"}}See if your issue is addressed in the <a target="_blank" href="http://guides.canvaslms.com/">Canvas Guides</a>.{{/t}}</div>
</div>
<div>
<label for="error_subject">{{#t "subject"}}Subject{{/t}}</label>
<input type="text" class="input-block-level" id="error_subject" name="error[subject]" />
</div>
<div>
<label for="error-comments">
{{#t "description"}}Description{{/t}}
<small>{{#t "include_a_link_to_a_screencast_or_screenshot_using_something_like_jing"}}Include a link to a screencast/screenshot using something like <a target="_blank" href="http://www.techsmith.com/download/jing">Jing</a>.{{/t}}</small>
</label>
<textarea class="input-block-level" id="error-comments" name="error[comments]"></textarea>
</div>
<label for="severity">{{#t "how_is_this_affecting_you"}}How is this affecting you?{{/t}}</label>
<select class="input-block-level" name="error[user_perceived_severity]" id="severity">
<option value="">{{#t "please_select_one"}}Please select one...{{/t}}</option>
<option value="just_a_comment">{{#t "just_a_casual_question_comment_idea_suggestion"}}Just a casual question, comment, idea, suggestion{{/t}}</option>
<option value="not_urgent">{{#t "i_need_some_help_but_its_not_urgent"}}I need some help but it's not urgent{{/t}}</option>
<option value="workaround_possible">{{#t "somethings_broken_but_i_can_work_around_it_for_now"}}Something's broken but I can work around it for now{{/t}}</option>
<option value="blocks_what_i_need_to_do">{{#t "i_cant_get_things_done_until_i_hear_back_from_you"}}I can't get things done until I hear back from you{{/t}}</option>
<option value="extreme_critical_emergency">{{#t "extreme_critical_emergency"}}EXTREME CRITICAL EMERGENCY!!{{/t}}</option>
</select>
<div style="{{hiddenUnless showEmail}}">
<label for="error-email">{{#t "your_email_address"}}Your email address{{/t}}</label>
<input class="input-block-level" type="email" name="error[email]" id="error-email">
</div>
<input class="input-block-level" type="hidden" name="error[url]" value="{{url}}">
<input class="input-block-level" type="hidden" name="error[context_asset_string]" value="{{contextAssetString}}">
<input class="input-block-level" type="hidden" name="error[user_roles]" value="{{userRoles}}">
<div class="button-container">
<button type="submit" data-text-while-loading="{{#t "Submitting_Ticket"}}Submitting Ticket...{{/t}}" class="btn submit_button"><img src="/images/email.png" alt=""/>{{#t "submit_this_support_request"}}Submit Ticket{{/t}}</button>
</div>
</form>
</div>