Commit ae882214 by Calen Pennington

Merge pull request #85 from MITx/kf-stable

Remove finals <p> dropdown and add thing Dave told me to
parents ca4c73a9 94869ef6
...@@ -69,6 +69,7 @@ MAKO_TEMPLATES['sections'] = [DATA_DIR / 'sections'] ...@@ -69,6 +69,7 @@ MAKO_TEMPLATES['sections'] = [DATA_DIR / 'sections']
MAKO_TEMPLATES['custom_tags'] = [DATA_DIR / 'custom_tags'] MAKO_TEMPLATES['custom_tags'] = [DATA_DIR / 'custom_tags']
MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates', MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates',
DATA_DIR / 'info', DATA_DIR / 'info',
DATA_DIR / 'html',
DATA_DIR / 'problems'] DATA_DIR / 'problems']
# This is where Django Template lookup is defined. There are a few of these # This is where Django Template lookup is defined. There are a few of these
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -10,8 +10,11 @@ ...@@ -10,8 +10,11 @@
$(".sequence-nav li a").hover(function(){ $(".sequence-nav li a").hover(function(){
$(this).siblings().toggleClass("shown"); $(this).siblings().toggleClass("shown");
});
}); $(".Strain-Logic-Circuit-Switched-Capacitor-BJT-OpAmpRL-OpAmpFET-Trapping-Noise-Increasing-Q-Scope-Probe-Triode-Amplifier > p").remove(); });
});
</script> </script>
</%block> </%block>
......
...@@ -76,10 +76,10 @@ function ${ id }goto(i) { ...@@ -76,10 +76,10 @@ function ${ id }goto(i) {
function ${ id }setup_click(i) { function ${ id }setup_click(i) {
$('#tt_'+i).click(function(eo) { ${ id }goto(i);}); $('#tt_'+i).click(function(eo) { ${ id }goto(i);});
$('#tt_'+i).addClass("seq_"+${ id }types[i]+"_inactive"); $('#tt_'+i).addClass("seq_"+${ id }types[i]+"_inactive");
$('#tt_'+i).parent().append("<p>" + ${ id }titles[i-1] + "</p>"); var title_class = ${ id }titles[i-1].replace(/\s/g, '-');
$('#tt_'+i).parent().append("<p>" + ${ id }titles[i-1] + "</p>").addClass(title_class);
} }
function ${ id }next() { function ${ id }next() {
var i=${ id }loc+1; var i=${ id }loc+1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment