diff --git a/css/stylesheet.css b/css/stylesheet.css index dc7f76279536b8305c92e19c411d015833caa1f8..49529ebf4f4d93f255eef91050179c4abbce7810 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -220,6 +220,18 @@ section { height: 30px; } +.files_bar_right_button { + height: 30px; + float: right; + position: relative; +} + +.files_bar_left_button { + height: 30px; + float: left; + position: relative; +} + .files_bar { height: 30px; } diff --git a/js/script.js b/js/script.js index 3193b271b3c52beab3b8b478c684af42157426ab..5b97fe32397903174b40d5bd3fdf05fc70f5ec77 100644 --- a/js/script.js +++ b/js/script.js @@ -151,22 +151,58 @@ var showAlgorithm = function(category, algorithm) { codeEditor.setValue(''); }; var showFiles = function(category, algorithm, files) { - $('.files_bar').empty(); - var init = false; - for (var file in files) { - (function(file, explanation) { - var $file = $('