Improve navigation bar (#890)
* Remove Raspberry pi Docker file * Remove old show-source/solution and plan button * Remove commented out code * Improve navigation * Remove underline from navigation and remove margin of left navigation button * Make arrow a bit smaller so it aligns a bit better with the navigation bar itself
This commit is contained in:
@ -22,18 +22,7 @@ function($,_,Backbone) {
|
||||
$('#show-hints-button').hide();
|
||||
},
|
||||
|
||||
render:function(title) {
|
||||
$('#show-source-button').hide();
|
||||
$('#show-solution-button').hide();
|
||||
$('#show-plan-button').hide();
|
||||
|
||||
if (this.hasSource) {
|
||||
this.$el.find('#show-source-button').unbind().on('click',_.bind(this.showSource,this)).show();
|
||||
}
|
||||
if (this.hasSolution) {
|
||||
this.$el.find('#show-solution-button').unbind().on('click',_.bind(this.showSolution,this)).show();
|
||||
}
|
||||
|
||||
render:function() {
|
||||
this.$el.find('#restart-lesson-button').unbind().on('click',_.bind(this.restartLesson,this)).show();
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user