X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Fstatic%2FAdminLTE-2.3.7%2Fdist%2Fjs%2Fdemo.js;fp=src%2Fceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Fstatic%2FAdminLTE-2.3.7%2Fdist%2Fjs%2Fdemo.js;h=b18b9bb3f9da6697773bc36d4cf860605eec2aa1;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/dist/js/demo.js b/src/ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/dist/js/demo.js new file mode 100644 index 0000000..b18b9bb --- /dev/null +++ b/src/ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/dist/js/demo.js @@ -0,0 +1,340 @@ +/** + * AdminLTE Demo Menu + * ------------------ + * You should not use this file in production. + * This file is for demo purposes only. + */ +(function ($, AdminLTE) { + + "use strict"; + + /** + * List of all the available skins + * + * @type Array + */ + var my_skins = [ + "skin-blue", + "skin-black", + "skin-red", + "skin-yellow", + "skin-purple", + "skin-green", + "skin-blue-light", + "skin-black-light", + "skin-red-light", + "skin-yellow-light", + "skin-purple-light", + "skin-green-light" + ]; + + //Create the new tab + var tab_pane = $("
", { + "id": "control-sidebar-theme-demo-options-tab", + "class": "tab-pane active" + }); + + //Create the tab button + var tab_button = $("", {"class": "active"}) + .html("" + + "" + + ""); + + //Add the tab button to the right sidebar tabs + $("[href='#control-sidebar-home-tab']") + .parent() + .before(tab_button); + + //Create the menu + var demo_settings = $(""); + + //Layout options + demo_settings.append( + "Activate the fixed layout. You can't use fixed and boxed layouts together
" + + "Activate the boxed layout
" + + "Toggle the left sidebar's state (open or collapse)
" + + "Let the sidebar mini expand on hover
" + + "Toggle between slide over content and push content effects
" + + "Toggle between dark and light skins for the right sidebar
" + + "Blue
"); + skins_list.append(skin_blue); + var skin_black = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Black
"); + skins_list.append(skin_black); + var skin_purple = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Purple
"); + skins_list.append(skin_purple); + var skin_green = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Green
"); + skins_list.append(skin_green); + var skin_red = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Red
"); + skins_list.append(skin_red); + var skin_yellow = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Yellow
"); + skins_list.append(skin_yellow); + + //Light sidebar skins + var skin_blue_light = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Blue Light
"); + skins_list.append(skin_blue_light); + var skin_black_light = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Black Light
"); + skins_list.append(skin_black_light); + var skin_purple_light = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Purple Light
"); + skins_list.append(skin_purple_light); + var skin_green_light = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Green Light
"); + skins_list.append(skin_green_light); + var skin_red_light = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Red Light
"); + skins_list.append(skin_red_light); + var skin_yellow_light = + $("", {style: "float:left; width: 33.33333%; padding: 5px;"}) + .append("" + + "Yellow Light
"); + skins_list.append(skin_yellow_light); + + demo_settings.append("