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
d07a9203
Commit
d07a9203
authored
Jan 17, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in progress
parent
bc80779f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
41 deletions
+1
-41
cms/templates/export.html
+0
-40
cms/templates/widgets/problem-edit.html
+1
-1
No files found.
cms/templates/export.html
View file @
d07a9203
...
...
@@ -52,42 +52,3 @@
</div>
</div>
</
%
block>
<
%
block
name=
"jsextra"
>
<script>
(
function
()
{
var
bar
=
$
(
'.progress-bar'
);
var
fill
=
$
(
'.progress-fill'
);
var
percent
=
$
(
'.percent'
);
var
status
=
$
(
'#status'
);
var
submitBtn
=
$
(
'.submit-button'
);
$
(
'form'
).
ajaxForm
({
beforeSend
:
function
()
{
status
.
empty
();
var
percentVal
=
'0%'
;
bar
.
show
();
fill
.
width
(
percentVal
);
percent
.
html
(
percentVal
);
submitBtn
.
hide
();
},
uploadProgress
:
function
(
event
,
position
,
total
,
percentComplete
)
{
var
percentVal
=
percentComplete
+
'%'
;
fill
.
width
(
percentVal
);
percent
.
html
(
percentVal
);
},
complete
:
function
(
xhr
)
{
if
(
xhr
.
status
==
200
)
{
alert
(
'Your import was successful.'
);
window
.
location
=
'${successful_import_redirect_url}'
;
}
else
alert
(
'Your import has failed.
\
n
\
n'
+
xhr
.
responseText
);
submitBtn
.
show
();
bar
.
hide
();
}
});
})();
</script>
</
%
block>
\ No newline at end of file
cms/templates/widgets/problem-edit.html
View file @
d07a9203
...
...
@@ -24,7 +24,7 @@
<li><a
href=
"#"
class=
"cheatsheet-toggle"
data-tooltip=
"Toggle Cheatsheet"
>
?
</a></li>
</ul>
</div>
<textarea
class=
"markdown-box"
>
${markdown}
</textarea>
<textarea
class=
"markdown-box"
>
${markdown
| h
}
</textarea>
%endif
<textarea
class=
"xml-box"
rows=
"8"
cols=
"40"
>
${data | h}
</textarea>
</div>
...
...
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