Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
75701b48
Commit
75701b48
authored
Dec 13, 2017
by
AlasdairSwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP
parent
d5ec0924
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
lms/static/js/learner_analytics_dashboard/index.jsx
+31
-0
webpack.common.config.js
+1
-0
No files found.
lms/static/js/learner_analytics_dashboard/index.jsx
0 → 100644
View file @
75701b48
/* global gettext */
/* eslint one-var: ["error", "always"] */
/* eslint no-alert: "error" */
import
PropTypes
from
'prop-types'
;
import
React
from
'react'
;
import
ReactDOM
from
'react-dom'
;
class
RenderPage
extends
React
.
Component
{
constructor
(
props
)
{
super
(
props
);
}
render
()
{
return
(
<
div
className=
"my-test-div"
>
<
h2
>
A React App!!!
</
h2
>
</
div
>
);
}
}
export
class
LearnerAnalyticsDashboard
{
constructor
(
context
)
{
ReactDOM
.
render
(
<
RenderPage
context=
{
context
}
/>,
document
.
getElementById
(
'root'
),
);
}
}
webpack.common.config.js
View file @
75701b48
...
...
@@ -25,6 +25,7 @@ module.exports = {
// LMS
SingleSupportForm
:
'./lms/static/support/jsx/single_support_form.jsx'
,
AlertStatusBar
:
'./lms/static/js/accessible_components/StatusBarAlert.jsx'
,
LearnerAnalyticsDashboard
:
'./lms/static/js/learner_analytics_dashboard/index.jsx'
,
// Features
CourseGoals
:
'./openedx/features/course_experience/static/course_experience/js/CourseGoals.js'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment