diff --git a/main.html b/main.html index 704753ca77..ad1d7bd2de 100644 --- a/main.html +++ b/main.html @@ -69,20 +69,22 @@
- - - +
+ + + +
+Students won't know what parallel means at this time. +Complex numbers aren't well tested in the courseware, so we would prefer to not expose them. +If you read the comments in the source, feel free to use them. If you run into a bug, please +let us know. But we can't officially support them right now. +-->
Suffixes :  %kMGTcmunp
Operations :  ^ * / + - ()
Functions :  sin, cos, tan, sqrt, log10, log2, ln, arccos, arcsin, arctan, abs
Constants :  e
@@ -103,7 +105,8 @@ $(function() { // Calculator $(function() { - $("#calculator_button").click(function(){ + $("form#calculator").submit(function(e){ + e.preventDefault(); $.getJSON("/calculate", {"equation":$("#calculator_input").attr("value")}, function(data){ $("#calculator_output").attr("value",data.result); diff --git a/sass/_askbot-original.scss b/sass/_askbot-original.scss index 02d50862b3..c1babea4ec 100644 --- a/sass/_askbot-original.scss +++ b/sass/_askbot-original.scss @@ -1086,78 +1086,78 @@ ul { color: #707070; font-size: 13px; } -#fmanswer input.submit, .ask-page input.submit, .edit-question-page input.submit { - float: left; - background: url(../images/medium-button.png) top repeat-x; - height: 34px; - border: 0; - font-family: 'Yanone Kaffeesatz',sans-serif; - color: #4a757f; - font-weight: normal; - font-size: 21px; - margin-top: 3px; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-box-shadow: 1px 1px 2px #636363; - -moz-box-shadow: 1px 1px 2px #636363; - box-shadow: 1px 1px 2px #636363; - margin-right: 7px; } +// #fmanswer input.submit, .ask-page input.submit, .edit-question-page input.submit { +// float: left; +// background: url(../images/medium-button.png) top repeat-x; +// height: 34px; +// border: 0; +// font-family: 'Yanone Kaffeesatz',sans-serif; +// color: #4a757f; +// font-weight: normal; +// font-size: 21px; +// margin-top: 3px; +// border-radius: 4px; +// -ms-border-radius: 4px; +// -moz-border-radius: 4px; +// -webkit-border-radius: 4px; +// -khtml-border-radius: 4px; +// -webkit-box-shadow: 1px 1px 2px #636363; +// -moz-box-shadow: 1px 1px 2px #636363; +// box-shadow: 1px 1px 2px #636363; +// margin-right: 7px; } -#fmanswer input.submit:hover, .ask-page input.submit:hover, .edit-question-page input.submit:hover { - text-decoration: none; - background: url(../images/medium-button.png) bottom repeat-x; - text-shadow: 0px 1px 0px #c6d9dd; - -moz-text-shadow: 0px 1px 0px #c6d9dd; - -webkit-text-shadow: 0px 1px 0px #c6d9dd; } +// #fmanswer input.submit:hover, .ask-page input.submit:hover, .edit-question-page input.submit:hover { +// text-decoration: none; +// background: url(../images/medium-button.png) bottom repeat-x; +// text-shadow: 0px 1px 0px #c6d9dd; +// -moz-text-shadow: 0px 1px 0px #c6d9dd; +// -webkit-text-shadow: 0px 1px 0px #c6d9dd; } -#editor { - font-size: 100%; - min-height: 200px; - line-height: 18px; - margin: 0; - border-left: #cce6ec 3px solid; - border-bottom: #cce6ec 3px solid; - border-right: #cce6ec 3px solid; - border-top: 0; - padding: 10px; - margin-bottom: 10px; - width: 710px; } +// #editor { +// font-size: 100%; +// min-height: 200px; +// line-height: 18px; +// margin: 0; +// border-left: #cce6ec 3px solid; +// border-bottom: #cce6ec 3px solid; +// border-right: #cce6ec 3px solid; +// border-top: 0; +// padding: 10px; +// margin-bottom: 10px; +// width: 710px; } #id_title { width: 100%; } -.wmd-preview { - margin: 3px 0 5px 0; - padding: 6px; - background-color: #F5F5F5; - min-height: 20px; - overflow: auto; - font-size: 13px; - font-family: Arial; - p { - margin-bottom: 14px; - line-height: 1.4; - font-size: 14px; } - pre { - background-color: #E7F1F8; } - blockquote { - background-color: #eee; } - IMG { - max-width: 600px; } } +// .wmd-preview { +// margin: 3px 0 5px 0; +// padding: 6px; +// background-color: #F5F5F5; +// min-height: 20px; +// overflow: auto; +// font-size: 13px; +// font-family: Arial; +// p { +// margin-bottom: 14px; +// line-height: 1.4; +// font-size: 14px; } +// pre { +// background-color: #E7F1F8; } +// blockquote { +// background-color: #eee; } +// IMG { +// max-width: 600px; } } -.preview-toggle { - width: 100%; - color: #b6a475; - text-align: left; - span:hover { - cursor: pointer; } } +// .preview-toggle { +// width: 100%; +// color: #b6a475; +// text-align: left; +// span:hover { +// cursor: pointer; } } -.after-editor { - margin-top: 15px; - margin-bottom: 15px; } +// .after-editor { +// margin-top: 15px; +// margin-bottom: 15px; } .checkbox { margin-left: 5px; @@ -1719,32 +1719,32 @@ ul { width: 395px; font-size: 14px; } -.openid-signin input.submit, .meta input.submit, .users-page input.submit, .user-profile-edit-page input.submit, .user-profile-page input.submit { - background: url(../images/small-button-blue.png) repeat-x top; - border: 0; - color: #4a757f; - font-weight: bold; - font-size: 13px; - font-family: Arial; - height: 26px; - margin: 5px 0px; - width: 100px; - cursor: pointer; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; } +// .openid-signin input.submit, .meta input.submit, .users-page input.submit, .user-profile-edit-page input.submit, .user-profile-page input.submit { +// background: url(../images/small-button-blue.png) repeat-x top; +// border: 0; +// color: #4a757f; +// font-weight: bold; +// font-size: 13px; +// font-family: Arial; +// height: 26px; +// margin: 5px 0px; +// width: 100px; +// cursor: pointer; +// border-radius: 4px; +// -ms-border-radius: 4px; +// -moz-border-radius: 4px; +// -webkit-border-radius: 4px; +// -khtml-border-radius: 4px; +// text-shadow: 0px 1px 0px #e6f6fa; +// -moz-text-shadow: 0px 1px 0px #e6f6fa; +// -webkit-text-shadow: 0px 1px 0px #e6f6fa; +// -webkit-box-shadow: 1px 1px 2px #808080; +// -moz-box-shadow: 1px 1px 2px #808080; +// box-shadow: 1px 1px 2px #808080; } -.openid-signin input.submit:hover, .meta input.submit:hover, .users-page input.submit:hover, .user-profile-edit-page input.submit:hover, .user-profile-page input.submit:hover { - background: url(../images/small-button-blue.png) repeat-x bottom; - text-decoration: none; } +// .openid-signin input.submit:hover, .meta input.submit:hover, .users-page input.submit:hover, .user-profile-edit-page input.submit:hover, .user-profile-page input.submit:hover { +// background: url(../images/small-button-blue.png) repeat-x bottom; +// text-decoration: none; } .openid-signin .cancel, .meta .cancel, .users-page .cancel, .user-profile-edit-page .cancel, .user-profile-page .cancel { background: url(../images/small-button-cancel.png) repeat-x top !important; @@ -1905,49 +1905,49 @@ a { p { font-size: 13px; } } -.follow-toggle, .submit { - border: 0 !important; - color: #4a757f; - font-weight: bold; - font-size: 12px; - height: 26px; - line-height: 26px; - margin-top: -2px; - font-size: 15px; - cursor: pointer; - font-family: 'Yanone Kaffeesatz',sans-serif; - background: url(../images/small-button-blue.png) repeat-x top; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; } +// .follow-toggle, .submit { +// border: 0 !important; +// color: #4a757f; +// font-weight: bold; +// font-size: 12px; +// height: 26px; +// line-height: 26px; +// margin-top: -2px; +// font-size: 15px; +// cursor: pointer; +// font-family: 'Yanone Kaffeesatz',sans-serif; +// background: url(../images/small-button-blue.png) repeat-x top; +// border-radius: 4px; +// -ms-border-radius: 4px; +// -moz-border-radius: 4px; +// -webkit-border-radius: 4px; +// -khtml-border-radius: 4px; +// text-shadow: 0px 1px 0px #e6f6fa; +// -moz-text-shadow: 0px 1px 0px #e6f6fa; +// -webkit-text-shadow: 0px 1px 0px #e6f6fa; +// -webkit-box-shadow: 1px 1px 2px #808080; +// -moz-box-shadow: 1px 1px 2px #808080; +// box-shadow: 1px 1px 2px #808080; } -.follow-toggle:hover, .submit:hover { - background: url(../images/small-button-blue.png) repeat-x bottom; - text-decoration: none !important; } +// .follow-toggle:hover, .submit:hover { +// background: url(../images/small-button-blue.png) repeat-x bottom; +// text-decoration: none !important; } -.follow-toggle { - .follow { - font-color: #000; - font-style: normal; } - .unfollow { - div.unfollow-red { - display: none; } - &:hover div { - &.unfollow-red { - display: inline; - color: #fff; - font-weight: bold; - color: #A05736; } - &.unfollow-green { - display: none; } } } } +// .follow-toggle { +// .follow { +// font-color: #000; +// font-style: normal; } +// .unfollow { +// div.unfollow-red { +// display: none; } +// &:hover div { +// &.unfollow-red { +// display: inline; +// color: #fff; +// font-weight: bold; +// color: #A05736; } +// &.unfollow-green { +// display: none; } } } } .count { font-family: 'Yanone Kaffeesatz',sans-serif; @@ -2363,23 +2363,23 @@ button::-moz-focus-inner { padding: 0; border: none; } -.submit { - cursor: pointer; - background-color: #D4D0C8; - height: 30px; - border: 1px solid #777777; - font-weight: bold; - font-size: 120%; - &:hover { - text-decoration: underline; } - &.small { - margin-right: 5px; - height: 20px; - font-weight: normal; - font-size: 12px; - padding: 1px 5px; - &:hover { - text-decoration: none; } } } +// .submit { +// cursor: pointer; +// background-color: #D4D0C8; +// height: 30px; +// border: 1px solid #777777; +// font-weight: bold; +// font-size: 120%; +// &:hover { +// text-decoration: underline; } +// &.small { +// margin-right: 5px; +// height: 20px; +// font-weight: normal; +// font-size: 12px; +// padding: 1px 5px; +// &:hover { +// text-decoration: none; } } } .question-page a.submit { display: -moz-inline-stack; diff --git a/sass/_discussion-answers.scss b/sass/_discussion-answers.scss index 12d6500c48..bb57f91789 100644 --- a/sass/_discussion-answers.scss +++ b/sass/_discussion-answers.scss @@ -1,8 +1,9 @@ div.answer-controls { + @include box-sizing(border-box); @extend div.question-controls; display: inline-block; - margin-top: 20px; - margin-bottom: 0; + margin: 20px 0; + padding-left: flex-grid(1.1); div.answer-sort { @extend div.question-sort; @@ -18,7 +19,6 @@ div.answer-block { border-top: #ddd 1px solid; display: inline-block; float: left; - margin: 20px 0; padding-top: 20px; width: 100%; @@ -42,4 +42,15 @@ div.answer-block { @extend div.question-actions; } } + + div.answered-by-owner { + color: darken($mit-red, 10%); + } +} + +div.answer-own { + border-top: 1px solid #eee; + overflow:hidden; + padding-left: flex-grid(1.2); + padding-top: 10px; } diff --git a/sass/_discussion-forms.scss b/sass/_discussion-forms.scss new file mode 100644 index 0000000000..af758bde45 --- /dev/null +++ b/sass/_discussion-forms.scss @@ -0,0 +1,56 @@ +form.answer-form { + @include box-sizing(border-box); + border-top: 1px solid #ddd; + overflow: hidden; + padding-left: flex-grid(1.1); + // padding-top: 20px; + + textarea { + @include box-sizing(border-box); + margin-top: 15px; + resize: vertical; + width: 99%; + } + + span.form-error { + display: block; + font-weight: bold; + padding: 10px 0; + } + + div.preview-toggle{ + padding: 15px 0; + width: auto; + a { + @extend .light-button; + } + } + + .wmd-preview { + margin: 3px 0 15px 0; + padding: 10px; + background-color: #F5F5F5; + min-height: 20px; + overflow: auto; + font-size: 13px; + font-family: Arial; + + p { + margin-bottom: 14px; + line-height: 1.4; + font-size: 14px; + } + + pre { + background-color: #E7F1F8; + } + + blockquote { + background-color: #eee; + } + } +} +input.after-editor { + margin-bottom: 20px; + margin-right: 10px; +} diff --git a/sass/_discussion-questions.scss b/sass/_discussion-questions.scss index 4a8704c477..a776c316d4 100644 --- a/sass/_discussion-questions.scss +++ b/sass/_discussion-questions.scss @@ -10,7 +10,7 @@ div.question-controls { div.question-count { margin-right: flex-gutter(); - width: flex-grid(5,9); + width: flex-grid(4,9); h1 { margin-top: 0; @@ -19,7 +19,7 @@ div.question-controls { div.question-sort { vertical-align: bottom; - width: flex-grid(4,9); + width: flex-grid(5,9); nav { @include border-radius(35px); @@ -31,7 +31,7 @@ div.question-controls { padding:0px 20px 5px; a { - color: darken(#F6EFD4, 50%); + color: darken(#F6EFD4, 50%); &.on span{ font-weight: bold; diff --git a/sass/_discussion.scss b/sass/_discussion.scss index 4a240bdebe..844b1b307f 100644 --- a/sass/_discussion.scss +++ b/sass/_discussion.scss @@ -1,3 +1,24 @@ +// Base extends (Merge with main stylesheet later) +.light-button { + @include box-shadow(inset 0 1px 0 #fff); + @include linear-gradient(#fff, lighten(#888, 40%)); + @include border-radius(3px); + border: 1px solid #ccc; + padding: 4px 8px; + color: #666; + font: normal $body-font-size $body-font-family; + text-decoration: none; + cursor: pointer; + -webkit-font-smoothing: antialiased; + + &:hover, &:focus { + @include linear-gradient(#fff, lighten(#888, 30%)); + border: 1px solid #ccc; + text-decoration: none; + } +} + +// Layout body.askbot { .secondary-nav { margin: 0; diff --git a/sass/_form-wmd-toolbar.scss b/sass/_form-wmd-toolbar.scss new file mode 100644 index 0000000000..050f4bf354 --- /dev/null +++ b/sass/_form-wmd-toolbar.scss @@ -0,0 +1,119 @@ +.wmd-panel +{ +} + +#wmd-button-bar { + background: url(static/images/askbot/editor-toolbar-background.png) repeat-x bottom; + border: 1px solid #ddd; + height:36px; + float:left; + width:99%; +} + +#wmd-input { + height: 500px; + background-color: Gainsboro; + border: 1px solid DarkGray; + margin-top: -20px; +} + +#wmd-preview { + background-color: LightSkyBlue; +} + +#wmd-output { + background-color: Pink; +} + +#wmd-button-row { + position: relative; + margin-left: 5px; + margin-right: 5px; + margin-bottom: 0px; + margin-top: 10px; + padding: 0px; + height: 20px; +} + +.wmd-spacer { + width: 1px; + height: 20px; + margin-left: 14px; + position: absolute; + background-color: Silver; + display: inline-block; + list-style: none; +} + +.wmd-button { + width: 20px; + height: 20px; + margin-left: 5px; + margin-right: 5px; + position: absolute; + background-image: url(/static/images/askbot/wmd-buttons.png); + background-repeat: no-repeat; + background-position: 0px 0px; + display: inline-block; + list-style: none; +} + +.wmd-button > a { + width: 20px; + height: 20px; + margin-left: 5px; + margin-right: 5px; + position: absolute; + display: inline-block; +} + + +/* sprite button slicing style information */ +#wmd-bold-button {left: 0px; background-position: 0px 0;} +#wmd-italic-button {left: 25px; background-position: -20px 0;} +#wmd-spacer1 {left: 50px;} +#wmd-link-button {left: 75px; background-position: -40px 0;} +#wmd-quote-button {left: 100px; background-position: -60px 0;} +#wmd-code-button {left: 125px; background-position: -80px 0;} +#wmd-image-button {left: 150px; background-position: -100px 0;} +#wmd-attachment-button {left: 175px; background-position: -120px 0;} +#wmd-spacer2 {left: 200px;} +#wmd-olist-button {left: 225px; background-position: -140px 0;} +#wmd-ulist-button {left: 250px; background-position: -160px 0;} +#wmd-heading-button {left: 275px; background-position: -180px 0;} +#wmd-hr-button {left: 300px; background-position: -200px 0;} +#wmd-spacer3 {left: 325px;} +#wmd-undo-button {left: 350px; background-position: -220px 0;} +#wmd-redo-button {left: 375px; background-position: -240px 0;} +#wmd-help-button {right: 0px; background-position: -260px 0;} + + +.wmd-prompt-background +{ + background-color: Black; +} + +.wmd-prompt-dialog +{ + border: 1px solid #999999; + background-color: #F5F5F5; +} + +.wmd-prompt-dialog > div { + font-size: 1em; + font-family: arial, helvetica, sans-serif; +} + + +.wmd-prompt-dialog > form > input[type="text"] { + border: 1px solid #999999; + color: black; +} + +.wmd-prompt-dialog > form > input[type="button"]{ + border: 1px solid #888888; + font-family: trebuchet MS, helvetica, sans-serif; + font-size: 1em; + font-weight: bold; +} + diff --git a/sass/_question-view.scss b/sass/_question-view.scss index a9b51f516f..1334c21a58 100644 --- a/sass/_question-view.scss +++ b/sass/_question-view.scss @@ -157,31 +157,32 @@ div.question-header { div.comments-container { @include box-sizing(border-box); - background: lighten(#efefef, 3%); + // background: lighten(#efefef, 3%); padding: 3%; display: inline-block; - margin: 15px 0 0; + // margin: 15px 0 0; padding: 3%; width: 100%; div.comments-content { font-size: 13px; + background: lighten(#efefef, 4%); - .block { - border-bottom: 1px solid #ddd; - border-top: 1px solid #fff; - padding: 15px 0; + div.block { + border-top: 1px solid #ddd; + padding: 15px; display: block; - &:first-child { + &:first-child { border-top: 0; } - // &:only-of-type { - // border: 0; + // &:last-child { + // border-bottom: 1px solid #ddd; // } } form.post-comments { + padding: 15px; } div.comment { @@ -260,12 +261,6 @@ div.question-header { @extend .button; font-size: 12px; padding: 2px 10px; - // @include border-radius(2px); - // background: #eee; - // color: #555; - // cursor: pointer; - // padding: 1px 10px; - // text-decoration: none; } } } @@ -285,6 +280,17 @@ div.question-header { margin-top: 5px; text-align: right; } + + div.controls { + // padding: 15px 0; + background: lighten(#eeeeee, 4%); + text-align: right; + a { + display: inline-block; + font-size: 12px; + margin: 10px 10px 10px 0; + } + } } } } diff --git a/sass/application.scss b/sass/application.scss index 7e1bbf3ce5..a32d8b3172 100644 --- a/sass/application.scss +++ b/sass/application.scss @@ -15,7 +15,7 @@ @import "wiki-basic-html", "wiki-create", "wiki"; @import "activation"; @import "help"; -@import "askbot-original", "discussion", "discussion-questions", "discussion-tags", "question-view" , "discussion-answers"; +@import "askbot-original", "discussion", "discussion-questions", "discussion-tags", "question-view" , "discussion-answers", "discussion-forms", "form-wmd-toolbar"; // left over // @import "theme"; diff --git a/simplewiki_base.html b/simplewiki_base.html index 731f5be8d9..2770013771 100644 --- a/simplewiki_base.html +++ b/simplewiki_base.html @@ -2,8 +2,6 @@ <%inherit file="main.html"/> -<%block name="title">${"wiki_title"} - <%block name="headextra"> diff --git a/simplewiki_create.html b/simplewiki_create.html index 3d820310f6..65ecbff4aa 100644 --- a/simplewiki_create.html +++ b/simplewiki_create.html @@ -2,6 +2,8 @@ <%inherit file="simplewiki_base.html"/> +<%block name="title">Create Article - MITX 6.002 Wiki + <%block name="wiki_page_title"> Create article diff --git a/simplewiki_edit.html b/simplewiki_edit.html index 7ead7f4abc..30e2c6ecc0 100644 --- a/simplewiki_edit.html +++ b/simplewiki_edit.html @@ -2,6 +2,8 @@ <%inherit file="simplewiki_base.html"/> +<%block name="title">${"Edit " + wiki_title + " - " if wiki_title is not UNDEFINED else ""}MITX 6.002 Wiki + <%block name="wiki_page_title"> ${ wiki_article.title } diff --git a/simplewiki_error.html b/simplewiki_error.html index 5f9bb0be5c..f4269f1043 100644 --- a/simplewiki_error.html +++ b/simplewiki_error.html @@ -6,6 +6,9 @@ from django.core.urlresolvers import reverse %> +<%block name="title">Oops... - MITX 6.002 Wiki + + <%block name="wiki_page_title"> Oops... diff --git a/simplewiki_history.html b/simplewiki_history.html index 0cdeaf4b30..bea5a02284 100644 --- a/simplewiki_history.html +++ b/simplewiki_history.html @@ -2,6 +2,8 @@ <%inherit file="simplewiki_base.html"/> +<%block name="title">${"Revision history of " + wiki_title + " - " if wiki_title is not UNDEFINED else ""}MITX 6.002 Wiki + <%! from django.core.urlresolvers import reverse %> diff --git a/simplewiki_instructions.html b/simplewiki_instructions.html index d28919d5fb..8b579feda2 100644 --- a/simplewiki_instructions.html +++ b/simplewiki_instructions.html @@ -5,7 +5,7 @@

circuit:basic

$LaTeX Math Expression$

To create a new wiki article, create a link to it. Clicking the link gives you the creation page. -

[Article](/wiki/view/Article/)

+

[Article Name](wiki:ArticleName)

Other useful examples:

[Link](http://google.com)

Huge Header diff --git a/simplewiki_searchresults.html b/simplewiki_searchresults.html index 88b70c3b7e..267a1f921b 100644 --- a/simplewiki_searchresults.html +++ b/simplewiki_searchresults.html @@ -2,6 +2,8 @@ <%inherit file="simplewiki_base.html"/> +<%block name="title">Search Results - MITX 6.002 Wiki + <%! from django.core.urlresolvers import reverse %> diff --git a/simplewiki_view.html b/simplewiki_view.html index 6492174670..05243b0bc1 100644 --- a/simplewiki_view.html +++ b/simplewiki_view.html @@ -2,6 +2,8 @@ <%inherit file="simplewiki_base.html"/> +<%block name="title">${wiki_title + " - " if wiki_title is not UNDEFINED else ""}MITX 6.002 Wiki + <%block name="wiki_page_title"> ${ wiki_article.title } ${'- Deleted Revision!' if wiki_current_revision_deleted else ''} diff --git a/video.html b/video.html index f6106fd671..fdfc9c27a3 100644 --- a/video.html +++ b/video.html @@ -1,4 +1,4 @@ -% if name != None: +% if name is not UNDEFINED and name != None:

${name}

% endif
@@ -15,8 +15,7 @@
0:00/0:00
diff --git a/video_init.js b/video_init.js index bf1b4bf5b7..42dddad573 100644 --- a/video_init.js +++ b/video_init.js @@ -34,7 +34,7 @@ loadNewVideo(streams["1.0"], ${ position }); function add_speed(key, stream) { var id = 'speed_' + stream; - $("#video_speeds").append(' '+key+'X'); + $("#video_speeds").append(' '+key+'x'); $("#"+id).click(function(){ change_video_speed(key, stream); }); @@ -57,3 +57,16 @@ l.sort(sort_by_value); for(var i=0; i