diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-10-13 13:27:21 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-10-13 13:27:21 +0200 |
commit | 7d63b9a45f4d5e8ce62828c22a877c9045ddb836 (patch) | |
tree | 147f4b01052ac54580930ab29df569c58be052cb | |
parent | bbf24a5858d2d3549c9c85b6f25e926e070a7e1d (diff) |
Remove unused statusbar stuff
-rw-r--r-- | css/codeq.css | 4 | ||||
-rw-r--r-- | index.html | 7 | ||||
-rw-r--r-- | js/codeq/statusbar.js | 26 |
3 files changed, 0 insertions, 37 deletions
diff --git a/css/codeq.css b/css/codeq.css index c4ab380..a404f11 100644 --- a/css/codeq.css +++ b/css/codeq.css @@ -383,10 +383,6 @@ ul.dropdown-menu a { cursor: pointer; } -.lang-selection ul.dropdown-menu { - min-width: 4em; -} - /* main screen */ #screen_language a { cursor: pointer; @@ -44,12 +44,6 @@ </ul> <ul class="nav navbar-nav navbar-right"> <p class="navbar-text" id="signed-in-title"></p> - <!--<li class="dropdown lang-selection"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"> - <span class="lang-choice"></span> - </a> - <ul class="dropdown-menu"></ul> - </li>--> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true"> <span class="glyphicon glyphicon glyphicon-user"></span> @@ -457,7 +451,6 @@ <!-- codeq app cont. --> <script src="js/codeq/init.js"></script> <script src="js/codeq/translation.js"></script> - <script src="js/codeq/statusbar.js"></script> <script src="js/codeq/navigation.js"></script> <script src="js/codeq/comms.js"></script> <script src="js/codeq/console.js"></script> diff --git a/js/codeq/statusbar.js b/js/codeq/statusbar.js deleted file mode 100644 index 56070bd..0000000 --- a/js/codeq/statusbar.js +++ /dev/null @@ -1,26 +0,0 @@ -(function () { - - var jqBar = $('#topbar'), - jqLang = jqBar.find('.lang-selection'), - jqLangChoice = jqLang.find('.lang-choice'); - - (function () { - var langs = codeq.supportedLangs, - jqMenu = jqLang.find('.dropdown-menu'), - lang, cssClass; - for (lang in langs) { - if (!langs.hasOwnProperty(lang)) continue; - cssClass = 'lang-' + lang; - jqMenu.append('<li><a class="' + cssClass + '">' + lang + '</a></li>'); - jqMenu.find('.' + cssClass).on('click', (function (l) {return function () {codeq.setLang(l)};})(lang)); - } - })(); - - codeq.on('langchange', function (params) { - jqLangChoice.text(params.lang); - }); - - codeq.statusbar = { - - }; -})();
\ No newline at end of file |