summaryrefslogtreecommitdiffstats
path: root/infra-dashboard/js/script.js
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-09-01 10:44:01 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-09-01 10:44:01 +0200
commit2481f29a0f558f2d1b0140b9ab34615d96a4f222 (patch)
treee46ef3f2b7b03370672c091bec86aab913142ee7 /infra-dashboard/js/script.js
parent2a634c9262e7f51a7802b69b9ba51641711f2ad4 (diff)
Remove first prototype of the Pharos Dashboard
The Dashboard implementation from Max is im progress and more advanced than the initial one. It doesn't make sense to maintain both of them. Change-Id: Iabea63a7e5b6e8d64cb72b8de2264c5c4484eae8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'infra-dashboard/js/script.js')
-rw-r--r--infra-dashboard/js/script.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/infra-dashboard/js/script.js b/infra-dashboard/js/script.js
deleted file mode 100644
index 07c832a..0000000
--- a/infra-dashboard/js/script.js
+++ /dev/null
@@ -1,27 +0,0 @@
-jQuery(document).ready(function () {
- // If svg is not supported
- if (!Modernizr.svg) {
- jQuery('img[src$=".svg"]').each(function() {
- jQuery(this).attr('src', jQuery(this).attr('src').replace('.svg', '.png'));
- });
- }
- // If media queries are not supported
- if(!Modernizr.mq('only all')) {
- jQuery('head').append('<link id="no-mq" rel="stylesheet" type="text/css">');
- jQuery("link#no-mq").attr("href", "/joomla/media/templates/highsoft_bootstrap/css/ie.css");
- }
- // Sidebar click animation
- jQuery('.nav-sidebar > li').click(function () {
- if (!jQuery(this).hasClass("active")) {
- jQuery('.nav-sidebar > li.active > div.active').removeClass('active');
- jQuery('.nav-sidebar > li.active > ul').slideUp("slow");
- jQuery('.nav-sidebar > li.active').removeClass('active');
- jQuery(this).addClass("active");
- jQuery('.nav-sidebar > li.active > ul').slideDown("slow");
- jQuery('.nav-sidebar > li.active > div').addClass('active');
- }
- });
- jQuery("#sidebar-toggle").click(function (e) {
- jQuery("#wrap").toggleClass("toggled");
- });
-}); \ No newline at end of file