forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew.html.erb
More file actions
59 lines (55 loc) · 2.3 KB
/
Copy pathnew.html.erb
File metadata and controls
59 lines (55 loc) · 2.3 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
<%
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
%>
<%
js_bundle :registration
css_bundle :registration
content_for :page_title, t('create_a_canvas_account', "Create a Canvas Account")
content_for :head, include_common_stylesheets
%>
<div id="registration_header">
<div class="registration-content">
<h1><a href="http://www.instructure.com">Instructure</a></h1>
<a id="registration_login" href="/login">Login</a>
</div>
</div>
<div id="registration_content">
<div class="registration-content">
<h2 id="registration_video"><a href="http://vimeo.com/35336470" title="Play the Canvas introduction video">Watch a Video</a></h2>
<div id="registration_options">
<h2>Sign up now, it's free!</h2>
<% if (url = @domain_root_account.settings[:fft_registration_url]) %>
<a id="signup_teacher" href=<%= url %> title="Teacher Signup">I'm a Teacher</a>
<% else %>
<a href="#" id="signup_teacher" class="signup_link" data-template="teacherDialog" title="Teacher Signup">I'm a Teacher</a>
<% end %>
<a href="#" id="signup_student" class="signup_link" data-template="studentDialog" title="Student Signup">I'm a Student</a>
<%= link_to_parent_signup(@domain_root_account.parent_auth_type) %>
</div>
</div>
</div>
<div id="registration_footer">
<div class="registration-content">
<div class="left">© <%= Time.now.year %> <a href="http://www.instructure.com">Instructure</a></div>
<div class="right">
<%= link_to t(:terms_of_use, 'Terms of Use'), terms_of_use_url %>
<%= link_to t(:privacy_policy, 'Privacy Policy'), privacy_policy_url %>
</div>
</div>
</div>
<%= # for plugin use
render "shared/login_trailer" %>