Skip to content

Commit f6e337c

Browse files
committed
add discord page
1 parent fbdd616 commit f6e337c

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<%page expression_filter="h"/>
2+
<%inherit file="/main.html" />
3+
<%namespace name='static' file='/static_content.html'/>
4+
<%def name="online_help_token()"><% return "progress" %>
5+
</%def>
6+
<%!
7+
from course_modes.models import CourseMode
8+
from lms.djangoapps.certificates.models import CertificateStatuses
9+
from django.utils.translation import ugettext as _
10+
from openedx.core.djangolib.markup import HTML, Text
11+
from django.core.urlresolvers import reverse
12+
from django.conf import settings
13+
from django.utils.http import urlquote_plus
14+
%>
15+
<%block name="bodyclass">view-in-course view-progress</%block>
16+
17+
<%block name="headextra">
18+
<%static:css group='style-course-vendor'/>
19+
<%static:css group='style-course'/>
20+
</%block>
21+
22+
<%include file="/courseware/course_navigation.html" args="active_page='progress'" />
23+
24+
<main id="main" aria-label="Content" tabindex="-1" class="support-page">
25+
<div class="container">
26+
27+
<div class="col-sm-12 col-md-12 col-lg-10 offset-lg-1 col-xl-8 offset-xl-2">
28+
<section class="discord-page" id="discord-page">
29+
30+
<nav class="top-navigation">
31+
<div class="container">
32+
<div class="row">
33+
<div class="col-sm-12 text-center">
34+
<h3>discord Community</h3>
35+
<a href="${reverse('support', kwargs={'program_slug': program_slug})}" class="btn-back"><i class="fa fa-caret-left" aria-hidden="true"></i> <span>Back to Support Page</span></a>
36+
</div>
37+
</div>
38+
</div>
39+
</nav>
40+
41+
<div class="subpage-main-column">
42+
43+
<header class="subpage-header">
44+
<div class="container-fluid">
45+
<div class="row">
46+
<div class="col-sm-10 offset-sm-1">
47+
<h5 class="welcome-heading">Hi <em>${user.username}</em>. Welcome to your discord community</h5>
48+
</div>
49+
</div>
50+
</div>
51+
</header>
52+
53+
<section class="subpage-content">
54+
<div class="container-fluid">
55+
<div class="row">
56+
<div class="col-sm-10 offset-sm-1 text-center">
57+
<a href="https://discord.com" target="_blank" class="btn-orange d-xs-block d-sm-inline-block btn-left"><i class="fa fa-globe" aria-hidden="true"></i>View in Browser</a>
58+
</div>
59+
</div>
60+
</div>
61+
</section>
62+
63+
</div>
64+
<!--subpage-main-column-->
65+
66+
</section>
67+
<!-- slcak page-->
68+
</div>
69+
</main>

0 commit comments

Comments
 (0)