/** * AdminLTE Demo Menu * ------------------ * You should not use this file in production. * This file is for demo purposes only. */ (function ($) { /** * 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" ]; /** * CSS rules for the menu * * @type Object */ var menu_css = { "padding": "10px", "position": "fixed", "top": "70px", "right": "-250px", "background": "#fff", "border": "0px solid #ddd", "width": "250px", "z-index": "99999", "box-shadow": "0 1px 3px rgba(0,0,0,0.1)" }; /** * CSS rules for the demo handle button * * @type Object */ var handle_css = { "position": "fixed", "top": "70px", "right": "0", "background": "#fff", "border-radius": "5px 0px 0px 5px", "padding": "10px 15px", "font-size": "16px", "z-index": "99999", "cursor": "pointer", "color": "#3c8dbc", "box-shadow": "0 1px 3px rgba(0,0,0,0.1)" }; //Create the handle var demo = $("
") .css(handle_css) .html("") .addClass("no-print"); //Create the menu var demo_settings = $("") .css(menu_css) .addClass("no-print"); demo_settings.append( "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("