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
c7f88ae9
Commit
c7f88ae9
authored
Jul 04, 2013
by
ichuang
Committed by
Justin Riley
Jun 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add proctor_release.html
parent
e7de06e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
lms/templates/proctor_release.html
+37
-0
No files found.
lms/templates/proctor_release.html
0 → 100644
View file @
c7f88ae9
<div
id=
"proctor_${element_id}"
>
<p>
${name} not yet released
</p>
<p><a
href=
"#"
id=
"proctor_${element_id}"
>
Request Access
</a></p>
<div
id=
"proctor_stat_${element_id}"
></div>
</div>
<script
type=
"text/javascript"
>
procrel
=
(
function
(){
var
el
=
$
(
'#proctor_${element_id}'
);
var
ppurl
=
"${pp.ProctorPanelServer}/cmd/request/${pp.user_id}/${pp.procset_name}"
;
var
statel
=
$
(
'#proctor_stat_${element_id}'
);
var
setstat
=
function
(
status
){
el
.
html
(
'<font color="green">'
+
status
+
'</font>'
);
}
el
.
click
(
function
(){
$
.
ajax
({
url
:
ppurl
,
type
:
'POST'
,
data
:
""
,
success
:
function
(
result
){
setstat
(
result
.
status
);
// location.reload();
},
crossDomain
:
true
,
error
:
function
()
{
alert
(
'Error: cannot connect to server'
);
}
});
});
}()
);
</script>
\ No newline at end of file
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