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
af7167db
Commit
af7167db
authored
Jan 05, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working calculator
parent
f25219cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
7 deletions
+41
-7
credits.html
+1
-2
main.html
+40
-2
profile.html
+0
-3
No files found.
credits.html
View file @
af7167db
...
...
@@ -48,8 +48,7 @@ the few, genuinely free template web sites (although you have to
e-mail the owner to find that out), and was heavily modified by Piotr
Mitros, and later, thoughtbot.
<p>
The system is running in the Amazon cloud, which allows us to hold up
to anticipated loads.
<p>
The system is running in the Amazon cloud.
</div>
...
...
main.html
View file @
af7167db
...
...
@@ -25,18 +25,56 @@
</script>
<script
type=
"text/javascript"
src=
"/static/lib/mathjax/MathJax.js?config=TeX-AMS_HTML-full"
></script>
<script>
$
(
function
()
{
// Set up FancyBox pop-ups
$
(
"a#inline"
).
fancybox
({
'hideOnContentClick'
:
false
});
});
</script>
</head>
<body>
${self.body()}
<div
id=
"bottomWrapper"
>
<div
id=
"footer"
>
<p
style=
"padding-top:20px"
>
Copyright (c). 2011. MIT.
<a
href=
http://creativecommons.org/licenses/by-sa/3.0/
>
Some rights reserved.
</a>
<!-- Template based on a design from http://www.dotemplate.com/ -- Donated $10 (pmitros) so we don't need to include credit. -->
<p
style=
"padding-top:20px"
>
Copyright
(c). 2011. MIT.
<a
href=
http://creativecommons.org/licenses/by-sa/3.0/
>
Some
rights reserved.
</a>
Please give us
<a
id=
"inline"
href=
"#feedback_div"
>
feedback
</a>
. Try our
<a
id=
"inline"
href=
"#calculator_div"
>
calculator
</a>
.
</p>
</div>
</div>
<div
style=
"display:none"
><div
id=
"feedback_div"
>
Found a bug? Got an
idea for improving our system? Please give us your feedback.
<br>
Subject:
<br><input
size=
40
>
<br>
Feedback:
<br><textarea
cols=
"40"
rows=
"5"
>
</textarea>
<br>
<input
type=
"submit"
>
</div></div>
<div
style=
"display:none"
><div
id=
"calculator_div"
>
<input
id=
"calculator_input"
>
<input
id=
"calculator_button"
type=
button
value=
"=>"
>
<input
id=
"calculator_output"
readonly
>
<script>
$
(
function
()
{
$
(
"#calculator_button"
).
click
(
function
(){
$
.
getJSON
(
"/calculate"
,
{
"equation"
:
$
(
"#calculator_input"
).
attr
(
"value"
)},
function
(
data
){
$
(
"#calculator_output"
).
attr
(
"value"
,
data
.
result
);
});
});
});
</script>
<br>
Supported operations: ^ * / + - || ()
<br>
Supported suffixes: %kMGTcmunp
</div></div>
</body>
</html>
profile.html
View file @
af7167db
...
...
@@ -45,9 +45,6 @@ $(function() {
}
});
$
(
"a#inline"
).
fancybox
({
'hideOnContentClick'
:
false
});
$
(
'#change_password'
).
click
(
function
(){
$
(
'#inline'
).
trigger
(
'click'
);
...
...
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