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
f4b247d2
Commit
f4b247d2
authored
Apr 19, 2013
by
Valera Rozuvan
Committed by
Vasyl Nakvasiuk
May 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring, documenting, moving all HTML generation to template.
parent
97855bb4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
common/lib/xmodule/xmodule/css/word_cloud/display.scss
+14
-0
common/lib/xmodule/xmodule/js/src/word_cloud/word_cloud_main.js
+0
-0
lms/templates/word_cloud.html
+5
-2
No files found.
common/lib/xmodule/xmodule/css/word_cloud/display.scss
View file @
f4b247d2
.input-cloud
{
margin
:
5px
;
}
.result_cloud_section
{
display
:
none
;
width
:
0px
;
height
:
0px
;
}
.result_cloud_section.active
{
display
:
block
;
width
:
635px
;
height
:
auto
;
margin-left
:
auto
;
margin-right
:
auto
;
}
common/lib/xmodule/xmodule/js/src/word_cloud/word_cloud_main.js
View file @
f4b247d2
This diff is collapsed.
Click to expand it.
lms/templates/word_cloud.html
View file @
f4b247d2
...
...
@@ -4,7 +4,7 @@
data-ajax-url=
"${ajax_url}"
>
<section
id=
"input-cloud-
section"
>
<section
class=
"input_cloud_
section"
>
% for row in range(num_inputs):
<input
class=
"input-cloud"
...
...
@@ -19,7 +19,10 @@
</section>
</section>
<section
id=
"result-cloud-section"
style=
"display: none;"
>
<section
id=
"result_cloud_section_${element_id}"
class=
"result_cloud_section"
>
<h3>
Your words:
<span
class=
"your_words"
></span></h3>
<h3>
Total number of words:
<span
class=
"total_num_words"
></span></h3>
<div
class=
"word_cloud"
></div>
</section>
<!-- Hidden field to read configuration JSON from. -->
...
...
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