├── 404.html ├── 500.html ├── README.md ├── badges_labels.html ├── basic_gallery.html ├── buttons.html ├── calendar.html ├── carousel.html ├── chat_view.html ├── code_editor.html ├── contacts.html ├── css ├── animate.css ├── bootstrap-rtl.css ├── bootstrap.min.css ├── demo │ └── webuploader-demo.css ├── patterns │ ├── header-profile-skin-1.png │ ├── header-profile-skin-2.png │ ├── header-profile-skin-3.png │ ├── header-profile.png │ └── shattered.png ├── plugins │ ├── chosen │ │ ├── chosen-sprite.png │ │ ├── chosen-sprite@2x.png │ │ └── chosen.css │ ├── codemirror │ │ ├── ambiance.css │ │ └── codemirror.css │ ├── colorpicker │ │ ├── css │ │ │ └── bootstrap-colorpicker.min.css │ │ └── img │ │ │ └── bootstrap-colorpicker │ │ │ ├── alpha-horizontal.png │ │ │ ├── alpha.png │ │ │ ├── hue-horizontal.png │ │ │ ├── hue.png │ │ │ └── saturation.png │ ├── dataTables │ │ └── dataTables.bootstrap.css │ ├── datapicker │ │ └── datepicker3.css │ ├── dropzone │ │ ├── basic.css │ │ └── dropzone.css │ ├── fullcalendar │ │ ├── fullcalendar.css │ │ └── fullcalendar.print.css │ ├── iCheck │ │ ├── custom.css │ │ ├── green.png │ │ └── green@2x.png │ ├── images │ │ ├── sort_asc.png │ │ ├── sort_desc.png │ │ ├── sprite-skin-flat.png │ │ ├── spritemap.png │ │ └── spritemap@2x.png │ ├── ionRangeSlider │ │ ├── ion.rangeSlider.css │ │ └── ion.rangeSlider.skinFlat.css │ ├── jQueryUI │ │ ├── images │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_454545_256x240.png │ │ │ └── ui-icons_888888_256x240.png │ │ └── jquery-ui-1.10.4.custom.min.css │ ├── jasny │ │ └── jasny-bootstrap.min.css │ ├── jqgrid │ │ └── ui.jqgrid.css │ ├── jsTree │ │ ├── 32px.png │ │ └── style.min.css │ ├── markdown │ │ └── bootstrap-markdown.min.css │ ├── morris │ │ └── morris-0.4.3.min.css │ ├── nouslider │ │ └── jquery.nouislider.css │ ├── simditor │ │ └── simditor.css │ ├── steps │ │ └── jquery.steps.css │ ├── summernote │ │ ├── summernote-bs3.css │ │ └── summernote.css │ ├── switchery │ │ └── switchery.css │ ├── toastr │ │ └── toastr.min.css │ ├── treeview │ │ └── bootstrap-treeview.css │ └── webuploader │ │ └── webuploader.css └── style.css ├── css_animation.html ├── draggable_panels.html ├── empty_page.html ├── faq.html ├── file_manager.html ├── font-awesome ├── css │ └── font-awesome.css └── fonts │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.eot_v=4.3.0 │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.svg_v=4.3.0 │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.ttf_v=4.3.0 │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2_v=4.3.0 │ └── fontawesome-webfont.woff_v=4.3.0 ├── fonts ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf └── glyphicons-halflings-regular.woff ├── form_advanced.html ├── form_avatar.html ├── form_basic.html ├── form_builder.html ├── form_editors.html ├── form_file_upload.html ├── form_markdown.html ├── form_simditor.html ├── form_validate.html ├── form_webuploader.html ├── form_wizard.html ├── forum_main.html ├── graph_echarts.html ├── graph_flot.html ├── graph_morris.html ├── graph_peity.html ├── graph_rickshaw.html ├── graph_sparkline.html ├── grid_options.html ├── iconfont.html ├── icons.html ├── img ├── a1.jpg ├── a2.jpg ├── a3.jpg ├── a4.jpg ├── a5.jpg ├── a6.jpg ├── a7.jpg ├── a8.jpg ├── a9.jpg ├── alipay_qr_code.png ├── bg.png ├── iconfont-logo.png ├── icons.png ├── index.jpg ├── index_4.jpg ├── loading-upload.gif ├── p1.jpg ├── p2.jpg ├── p3.jpg ├── p4.jpg ├── p5.jpg ├── p6.jpg ├── p7.jpg ├── p8.jpg ├── p_big1.jpg ├── p_big2.jpg ├── p_big3.jpg ├── profile.jpg ├── profile_big.jpg ├── profile_small.jpg ├── progress.png ├── qr_code.png ├── success.png └── wenku_logo.png ├── index.html ├── index_1.html ├── index_2.html ├── index_3.html ├── index_4.html ├── invoice.html ├── invoice_print.html ├── js ├── bootstrap.min.js ├── demo │ ├── echarts-demo.js │ ├── flot-demo.js │ ├── layer-demo.js │ ├── morris-demo.js │ ├── peity-demo.js │ ├── rickshaw-demo.js │ ├── sparkline-demo.js │ ├── treeview-demo.js │ └── webuploader-demo.js ├── hplus.js ├── jquery-2.1.1.min.js ├── jquery-ui-1.10.4.min.js ├── jquery-ui.custom.min.js └── plugins │ ├── chartJs │ └── Chart.min.js │ ├── chosen │ └── chosen.jquery.js │ ├── codemirror │ ├── codemirror.js │ └── mode │ │ └── javascript │ │ └── javascript.js │ ├── colorpicker │ └── bootstrap-colorpicker.min.js │ ├── dataTables │ ├── dataTables.bootstrap.js │ └── jquery.dataTables.js │ ├── datapicker │ └── bootstrap-datepicker.js │ ├── dropzone │ └── dropzone.js │ ├── easypiechart │ └── jquery.easypiechart.js │ ├── echarts │ └── echarts-all.js │ ├── fancybox │ ├── blank.gif │ ├── fancybox_loading.gif │ ├── fancybox_loading@2x.gif │ ├── fancybox_overlay.png │ ├── fancybox_sprite.png │ ├── fancybox_sprite@2x.png │ ├── jquery.fancybox.css │ └── jquery.fancybox.js │ ├── flot │ ├── curvedLines.js │ ├── jquery.flot.js │ ├── jquery.flot.pie.js │ ├── jquery.flot.resize.js │ ├── jquery.flot.spline.js │ ├── jquery.flot.symbol.js │ └── jquery.flot.tooltip.min.js │ ├── fullcalendar │ └── fullcalendar.min.js │ ├── gritter │ ├── images │ │ ├── gritter-light.png │ │ ├── gritter.png │ │ └── ie-spacer.gif │ ├── jquery.gritter.css │ └── jquery.gritter.min.js │ ├── iCheck │ └── icheck.min.js │ ├── ionRangeSlider │ └── ion.rangeSlider.min.js │ ├── jasny │ └── jasny-bootstrap.min.js │ ├── jeditable │ └── jquery.jeditable.js │ ├── jqgrid │ ├── i18n │ │ └── grid.locale-cn.js │ └── jquery.jqGrid.min.js │ ├── jquery-ui │ └── jquery-ui.min.js │ ├── jsKnob │ └── jquery.knob.js │ ├── jsTree │ └── jstree.min.js │ ├── jvectormap │ ├── jquery-jvectormap-1.2.2.min.js │ └── jquery-jvectormap-world-mill-en.js │ ├── layer │ ├── extend │ │ └── layer.ext.js │ ├── laydate │ │ ├── laydate.js │ │ ├── need │ │ │ └── laydate.css │ │ └── skins │ │ │ └── default │ │ │ ├── icon.png │ │ │ └── laydate.css │ ├── layer.min.js │ ├── layim │ │ ├── data │ │ │ ├── chatlog.json │ │ │ ├── friend.json │ │ │ └── group.json │ │ ├── layim.css │ │ ├── layim.js │ │ └── loading.gif │ └── skin │ │ ├── default │ │ ├── xubox_ico0.png │ │ ├── xubox_loading0.gif │ │ ├── xubox_loading1.gif │ │ ├── xubox_loading2.gif │ │ ├── xubox_loading3.gif │ │ └── xubox_title0.png │ │ ├── layer.css │ │ └── layer.ext.css │ ├── markdown │ ├── bootstrap-markdown.js │ ├── bootstrap-markdown.zh.js │ ├── markdown.js │ └── to-markdown.js │ ├── metisMenu │ └── jquery.metisMenu.js │ ├── morris │ ├── morris.js │ └── raphael-2.1.0.min.js │ ├── nestable │ └── jquery.nestable.js │ ├── nouslider │ └── jquery.nouislider.min.js │ ├── pace │ └── pace.min.js │ ├── peity │ └── jquery.peity.min.js │ ├── rickshaw │ ├── rickshaw.min.js │ └── vendor │ │ └── d3.v3.js │ ├── simditor │ ├── hotkeys.js │ ├── module.js │ ├── simditor.js │ └── uploader.js │ ├── slimscroll │ └── jquery.slimscroll.min.js │ ├── sparkline │ └── jquery.sparkline.min.js │ ├── staps │ └── jquery.steps.min.js │ ├── summernote │ ├── summernote-zh-CN.js │ └── summernote.min.js │ ├── switchery │ └── switchery.js │ ├── toastr │ └── toastr.min.js │ ├── treeview │ └── bootstrap-treeview.js │ ├── validate │ ├── jquery.validate.min.js │ └── messages_zh.min.js │ └── webuploader │ └── webuploader.min.js ├── layer.html ├── layerdate.html ├── layouts.html ├── lockscreen.html ├── login.html ├── mail_compose.html ├── mail_detail.html ├── mailbox.html ├── modal_window.html ├── nestable_list.html ├── notifications.html ├── pin_board.html ├── plugins └── fullavatareditor │ ├── fullAvatarEditor.swf │ └── scripts │ ├── fullAvatarEditor.js │ ├── jQuery.Cookie.js │ ├── swfobject.js │ └── test.js ├── profile.html ├── project_detail.html ├── projects.html ├── register.html ├── search_results.html ├── skin-config.html ├── table_basic.html ├── table_data_tables.html ├── table_jqgrid.html ├── tabs_panels.html ├── timeline.html ├── timeline_v2.html ├── toastr_notifications.html ├── tools └── form-builder │ └── beautifyhtml.js ├── tree_view.html ├── tree_view_v2.html ├── typography.html ├── validation.html ├── webim.html └── widgets.html /404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 素材火www.sucaihuo.com - 404 页面 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |

404

26 |

页面未找到!

27 | 28 |
29 | 抱歉,页面好像去火星了~ 30 |
31 |
32 | 33 |
34 | 35 |
36 |
37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /500.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 素材火www.sucaihuo.com - 500错误 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |

500

26 |

服务器内部错误

27 | 28 |
29 | 服务器好像出错了... 30 |
您可以返回主页看看 31 |
主页 32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | H+ background theme 2 | 3 | H+ 后台主题UI框架 4 | 5 | H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台。 6 | 7 | H+ 是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术。 8 | 9 | 2015-7-16 新增系统设置,修复缺少文件BUG。 10 | -------------------------------------------------------------------------------- /css/patterns/header-profile-skin-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/patterns/header-profile-skin-1.png -------------------------------------------------------------------------------- /css/patterns/header-profile-skin-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/patterns/header-profile-skin-2.png -------------------------------------------------------------------------------- /css/patterns/header-profile-skin-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/patterns/header-profile-skin-3.png -------------------------------------------------------------------------------- /css/patterns/header-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/patterns/header-profile.png -------------------------------------------------------------------------------- /css/patterns/shattered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/patterns/shattered.png -------------------------------------------------------------------------------- /css/plugins/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /css/plugins/chosen/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/chosen/chosen-sprite@2x.png -------------------------------------------------------------------------------- /css/plugins/colorpicker/css/bootstrap-colorpicker.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Colorpicker 3 | * http://mjolnic.github.io/bootstrap-colorpicker/ 4 | * 5 | * Originally written by (c) 2012 Stefan Petre 6 | * Licensed under the Apache License v2.0 7 | * http://www.apache.org/licenses/LICENSE-2.0.txt 8 | * 9 | */.colorpicker-saturation{float:left;width:100px;height:100px;cursor:crosshair;background-image:url("../img/bootstrap-colorpicker/saturation.png")}.colorpicker-saturation i{position:absolute;top:0;left:0;display:block;width:5px;height:5px;margin:-4px 0 0 -4px;border:1px solid #000;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.colorpicker-saturation i b{display:block;width:5px;height:5px;border:1px solid #fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.colorpicker-hue,.colorpicker-alpha{float:left;width:15px;height:100px;margin-bottom:4px;margin-left:4px;cursor:row-resize}.colorpicker-hue i,.colorpicker-alpha i{position:absolute;top:0;left:0;display:block;width:100%;height:1px;margin-top:-1px;background:#000;border-top:1px solid #fff}.colorpicker-hue{background-image:url("../img/bootstrap-colorpicker/hue.png")}.colorpicker-alpha{display:none;background-image:url("../img/bootstrap-colorpicker/alpha.png")}.colorpicker{top:0;left:0;z-index:25000!important;min-width:130px;padding:4px;margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*zoom:1}.colorpicker:before,.colorpicker:after{display:table;line-height:0;content:""}.colorpicker:after{clear:both}.colorpicker:before{position:absolute;top:-7px;left:6px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,0.2);content:''}.colorpicker:after{position:absolute;top:-6px;left:7px;display:inline-block;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;content:''}.colorpicker div{position:relative}.colorpicker.colorpicker-with-alpha{min-width:140px}.colorpicker.colorpicker-with-alpha .colorpicker-alpha{display:block}.colorpicker-color{height:10px;margin-top:5px;clear:both;background-image:url("../img/bootstrap-colorpicker/alpha.png");background-position:0 100%}.colorpicker-color div{height:10px}.colorpicker-element .input-group-addon i,.colorpicker-element .add-on i{display:inline-block;width:16px;height:16px;vertical-align:text-top;cursor:pointer}.colorpicker.colorpicker-inline{position:relative;z-index:auto;display:inline-block;float:none}.colorpicker.colorpicker-horizontal{width:110px;height:auto;min-width:110px}.colorpicker.colorpicker-horizontal .colorpicker-saturation{margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-color{width:100px}.colorpicker.colorpicker-horizontal .colorpicker-hue,.colorpicker.colorpicker-horizontal .colorpicker-alpha{float:left;width:100px;height:15px;margin-bottom:4px;margin-left:0;cursor:col-resize}.colorpicker.colorpicker-horizontal .colorpicker-hue i,.colorpicker.colorpicker-horizontal .colorpicker-alpha i{position:absolute;top:0;left:0;display:block;width:1px;height:15px;margin-top:0;background:#fff;border:0}.colorpicker.colorpicker-horizontal .colorpicker-hue{background-image:url("../img/bootstrap-colorpicker/hue-horizontal.png")}.colorpicker.colorpicker-horizontal .colorpicker-alpha{background-image:url("../img/bootstrap-colorpicker/alpha-horizontal.png")}.colorpicker.colorpicker-hidden{display:none}.colorpicker.colorpicker-visible{display:block}.colorpicker-inline.colorpicker-visible{display:inline-block} -------------------------------------------------------------------------------- /css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -------------------------------------------------------------------------------- /css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png -------------------------------------------------------------------------------- /css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -------------------------------------------------------------------------------- /css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png -------------------------------------------------------------------------------- /css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png -------------------------------------------------------------------------------- /css/plugins/dataTables/dataTables.bootstrap.css: -------------------------------------------------------------------------------- 1 | div.dataTables_length label { 2 | float: left; 3 | text-align: left; 4 | font-weight: normal; 5 | } 6 | 7 | div.dataTables_length select { 8 | width: 75px; 9 | } 10 | 11 | div.dataTables_filter label { 12 | float: right; 13 | font-weight: normal; 14 | } 15 | 16 | div.dataTables_filter input { 17 | width: 16em; 18 | } 19 | 20 | div.dataTables_info { 21 | padding-top: 8px; 22 | } 23 | 24 | div.dataTables_paginate { 25 | float: right; 26 | margin: 0; 27 | } 28 | 29 | div.dataTables_paginate ul.pagination { 30 | margin: 2px 0; 31 | white-space: nowrap; 32 | } 33 | 34 | table.dataTable, 35 | table.dataTable td, 36 | table.dataTable th { 37 | -webkit-box-sizing: content-box; 38 | -moz-box-sizing: content-box; 39 | box-sizing: content-box; 40 | } 41 | 42 | table.dataTable { 43 | clear: both; 44 | margin-top: 6px !important; 45 | margin-bottom: 6px !important; 46 | max-width: none !important; 47 | } 48 | 49 | table.dataTable thead .sorting, 50 | table.dataTable thead .sorting_asc, 51 | table.dataTable thead .sorting_desc, 52 | table.dataTable thead .sorting_asc_disabled, 53 | table.dataTable thead .sorting_desc_disabled { 54 | cursor: pointer; 55 | } 56 | 57 | table.dataTable thead .sorting { 58 | 59 | } 60 | 61 | table.dataTable thead .sorting_asc { 62 | background: url('../images/sort_asc.png') no-repeat center right; 63 | } 64 | 65 | table.dataTable thead .sorting_desc { 66 | background: url('../images/sort_desc.png') no-repeat center right; 67 | } 68 | 69 | table.dataTable thead .sorting_asc_disabled { 70 | } 71 | 72 | table.dataTable thead .sorting_desc_disabled { 73 | } 74 | 75 | table.dataTable th:active { 76 | outline: none; 77 | } 78 | 79 | /* Scrolling */ 80 | 81 | div.dataTables_scrollHead table { 82 | margin-bottom: 0 !important; 83 | border-bottom-left-radius: 0; 84 | border-bottom-right-radius: 0; 85 | } 86 | 87 | div.dataTables_scrollHead table thead tr:last-child th:first-child, 88 | div.dataTables_scrollHead table thead tr:last-child td:first-child { 89 | border-bottom-left-radius: 0 !important; 90 | border-bottom-right-radius: 0 !important; 91 | } 92 | 93 | div.dataTables_scrollBody table { 94 | margin-top: 0 !important; 95 | margin-bottom: 0 !important; 96 | border-top: none; 97 | } 98 | 99 | div.dataTables_scrollBody tbody tr:first-child th, 100 | div.dataTables_scrollBody tbody tr:first-child td { 101 | border-top: none; 102 | } 103 | 104 | div.dataTables_scrollFoot table { 105 | margin-top: 0 !important; 106 | border-top: none; 107 | } 108 | 109 | /* 110 | * TableTools styles 111 | */ 112 | 113 | .table tbody tr.active td, 114 | .table tbody tr.active th { 115 | color: white; 116 | background-color: #08C; 117 | } 118 | 119 | .table tbody tr.active:hover td, 120 | .table tbody tr.active:hover th { 121 | background-color: #0075b0 !important; 122 | } 123 | 124 | .table tbody tr.active a { 125 | color: white; 126 | } 127 | 128 | .table-striped tbody tr.active:nth-child(odd) td, 129 | .table-striped tbody tr.active:nth-child(odd) th { 130 | background-color: #017ebc; 131 | } 132 | 133 | table.DTTT_selectable tbody tr { 134 | cursor: pointer; 135 | } 136 | 137 | div.DTTT .btn { 138 | font-size: 12px; 139 | color: #333 !important; 140 | } 141 | 142 | div.DTTT .btn:hover { 143 | text-decoration: none !important; 144 | } 145 | 146 | ul.DTTT_dropdown.dropdown-menu { 147 | z-index: 2003; 148 | } 149 | 150 | ul.DTTT_dropdown.dropdown-menu a { 151 | color: #333 !important; /* needed only when demo_page.css is included */ 152 | } 153 | 154 | ul.DTTT_dropdown.dropdown-menu li { 155 | position: relative; 156 | } 157 | 158 | ul.DTTT_dropdown.dropdown-menu li:hover a { 159 | color: white !important; 160 | background-color: #0088cc; 161 | } 162 | 163 | div.DTTT_collection_background { 164 | z-index: 2002; 165 | } 166 | 167 | /* TableTools information display */ 168 | 169 | div.DTTT_print_info.modal { 170 | height: 150px; 171 | margin-top: -75px; 172 | text-align: center; 173 | } 174 | 175 | div.DTTT_print_info h6 { 176 | margin: 1em; 177 | font-size: 28px; 178 | font-weight: normal; 179 | line-height: 28px; 180 | } 181 | 182 | div.DTTT_print_info p { 183 | font-size: 14px; 184 | line-height: 20px; 185 | } 186 | 187 | /* 188 | * FixedColumns styles 189 | */ 190 | 191 | div.DTFC_LeftHeadWrapper table, 192 | div.DTFC_LeftFootWrapper table, 193 | div.DTFC_RightHeadWrapper table, 194 | div.DTFC_RightFootWrapper table, 195 | table.DTFC_Cloned tr.even { 196 | background-color: white; 197 | } 198 | 199 | div.DTFC_RightHeadWrapper table, 200 | div.DTFC_LeftHeadWrapper table { 201 | margin-bottom: 0 !important; 202 | border-top-right-radius: 0 !important; 203 | border-bottom-left-radius: 0 !important; 204 | border-bottom-right-radius: 0 !important; 205 | } 206 | 207 | div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child, 208 | div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child, 209 | div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child, 210 | div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child { 211 | border-bottom-left-radius: 0 !important; 212 | border-bottom-right-radius: 0 !important; 213 | } 214 | 215 | div.DTFC_RightBodyWrapper table, 216 | div.DTFC_LeftBodyWrapper table { 217 | margin-bottom: 0 !important; 218 | border-top: none; 219 | } 220 | 221 | div.DTFC_RightBodyWrapper tbody tr:first-child th, 222 | div.DTFC_RightBodyWrapper tbody tr:first-child td, 223 | div.DTFC_LeftBodyWrapper tbody tr:first-child th, 224 | div.DTFC_LeftBodyWrapper tbody tr:first-child td { 225 | border-top: none; 226 | } 227 | 228 | div.DTFC_RightFootWrapper table, 229 | div.DTFC_LeftFootWrapper table { 230 | border-top: none; 231 | } -------------------------------------------------------------------------------- /css/plugins/dropzone/basic.css: -------------------------------------------------------------------------------- 1 | /* The MIT License */ 2 | .dropzone, 3 | .dropzone *, 4 | .dropzone-previews, 5 | .dropzone-previews * { 6 | -webkit-box-sizing: border-box; 7 | -moz-box-sizing: border-box; 8 | box-sizing: border-box; 9 | } 10 | .dropzone { 11 | position: relative; 12 | border: 1px solid rgba(0,0,0,0.08); 13 | background: rgba(0,0,0,0.02); 14 | padding: 1em; 15 | } 16 | .dropzone.dz-clickable { 17 | cursor: pointer; 18 | } 19 | .dropzone.dz-clickable .dz-message, 20 | .dropzone.dz-clickable .dz-message span { 21 | cursor: pointer; 22 | } 23 | .dropzone.dz-clickable * { 24 | cursor: default; 25 | } 26 | .dropzone .dz-message { 27 | opacity: 1; 28 | -ms-filter: none; 29 | filter: none; 30 | } 31 | .dropzone.dz-drag-hover { 32 | border-color: rgba(0,0,0,0.15); 33 | background: rgba(0,0,0,0.04); 34 | } 35 | .dropzone.dz-started .dz-message { 36 | display: none; 37 | } 38 | .dropzone .dz-preview, 39 | .dropzone-previews .dz-preview { 40 | background: rgba(255,255,255,0.8); 41 | position: relative; 42 | display: inline-block; 43 | margin: 17px; 44 | vertical-align: top; 45 | border: 1px solid #acacac; 46 | padding: 6px 6px 6px 6px; 47 | } 48 | .dropzone .dz-preview.dz-file-preview [data-dz-thumbnail], 49 | .dropzone-previews .dz-preview.dz-file-preview [data-dz-thumbnail] { 50 | display: none; 51 | } 52 | .dropzone .dz-preview .dz-details, 53 | .dropzone-previews .dz-preview .dz-details { 54 | width: 100px; 55 | height: 100px; 56 | position: relative; 57 | background: #ebebeb; 58 | padding: 5px; 59 | margin-bottom: 22px; 60 | } 61 | .dropzone .dz-preview .dz-details .dz-filename, 62 | .dropzone-previews .dz-preview .dz-details .dz-filename { 63 | overflow: hidden; 64 | height: 100%; 65 | } 66 | .dropzone .dz-preview .dz-details img, 67 | .dropzone-previews .dz-preview .dz-details img { 68 | position: absolute; 69 | top: 0; 70 | left: 0; 71 | width: 100px; 72 | height: 100px; 73 | } 74 | .dropzone .dz-preview .dz-details .dz-size, 75 | .dropzone-previews .dz-preview .dz-details .dz-size { 76 | position: absolute; 77 | bottom: -28px; 78 | left: 3px; 79 | height: 28px; 80 | line-height: 28px; 81 | } 82 | .dropzone .dz-preview.dz-error .dz-error-mark, 83 | .dropzone-previews .dz-preview.dz-error .dz-error-mark { 84 | display: block; 85 | } 86 | .dropzone .dz-preview.dz-success .dz-success-mark, 87 | .dropzone-previews .dz-preview.dz-success .dz-success-mark { 88 | display: block; 89 | } 90 | .dropzone .dz-preview:hover .dz-details img, 91 | .dropzone-previews .dz-preview:hover .dz-details img { 92 | display: none; 93 | } 94 | .dropzone .dz-preview .dz-success-mark, 95 | .dropzone-previews .dz-preview .dz-success-mark, 96 | .dropzone .dz-preview .dz-error-mark, 97 | .dropzone-previews .dz-preview .dz-error-mark { 98 | display: none; 99 | position: absolute; 100 | width: 40px; 101 | height: 40px; 102 | font-size: 30px; 103 | text-align: center; 104 | right: -10px; 105 | top: -10px; 106 | } 107 | .dropzone .dz-preview .dz-success-mark, 108 | .dropzone-previews .dz-preview .dz-success-mark { 109 | color: #8cc657; 110 | } 111 | .dropzone .dz-preview .dz-error-mark, 112 | .dropzone-previews .dz-preview .dz-error-mark { 113 | color: #ee162d; 114 | } 115 | .dropzone .dz-preview .dz-progress, 116 | .dropzone-previews .dz-preview .dz-progress { 117 | position: absolute; 118 | top: 100px; 119 | left: 6px; 120 | right: 6px; 121 | height: 6px; 122 | background: #d7d7d7; 123 | display: none; 124 | } 125 | .dropzone .dz-preview .dz-progress .dz-upload, 126 | .dropzone-previews .dz-preview .dz-progress .dz-upload { 127 | display: block; 128 | position: absolute; 129 | top: 0; 130 | bottom: 0; 131 | left: 0; 132 | width: 0%; 133 | background-color: #8cc657; 134 | } 135 | .dropzone .dz-preview.dz-processing .dz-progress, 136 | .dropzone-previews .dz-preview.dz-processing .dz-progress { 137 | display: block; 138 | } 139 | .dropzone .dz-preview .dz-error-message, 140 | .dropzone-previews .dz-preview .dz-error-message { 141 | display: none; 142 | position: absolute; 143 | top: -5px; 144 | left: -20px; 145 | background: rgba(245,245,245,0.8); 146 | padding: 8px 10px; 147 | color: #800; 148 | min-width: 140px; 149 | max-width: 500px; 150 | z-index: 500; 151 | } 152 | .dropzone .dz-preview:hover.dz-error .dz-error-message, 153 | .dropzone-previews .dz-preview:hover.dz-error .dz-error-message { 154 | display: block; 155 | } 156 | -------------------------------------------------------------------------------- /css/plugins/fullcalendar/fullcalendar.print.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * FullCalendar v1.6.4 Print Stylesheet 3 | * Docs & License: http://arshaw.com/fullcalendar/ 4 | * (c) 2013 Adam Shaw 5 | */ 6 | 7 | /* 8 | * Include this stylesheet on your page to get a more printer-friendly calendar. 9 | * When including this stylesheet, use the media='print' attribute of the tag. 10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css. 11 | */ 12 | 13 | 14 | /* Events 15 | -----------------------------------------------------*/ 16 | 17 | .fc-event { 18 | background: #fff !important; 19 | color: #000 !important; 20 | } 21 | 22 | /* for vertical events */ 23 | 24 | .fc-event-bg { 25 | display: none !important; 26 | } 27 | 28 | .fc-event .ui-resizable-handle { 29 | display: none !important; 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /css/plugins/iCheck/custom.css: -------------------------------------------------------------------------------- 1 | /* iCheck plugin Square skin, green 2 | ----------------------------------- */ 3 | .icheckbox_square-green, 4 | .iradio_square-green { 5 | display: inline-block; 6 | *display: inline; 7 | vertical-align: middle; 8 | margin: 0; 9 | padding: 0; 10 | width: 22px; 11 | height: 22px; 12 | background: url(green.png) no-repeat; 13 | border: none; 14 | cursor: pointer; 15 | } 16 | 17 | .icheckbox_square-green { 18 | background-position: 0 0; 19 | } 20 | .icheckbox_square-green.hover { 21 | background-position: -24px 0; 22 | } 23 | .icheckbox_square-green.checked { 24 | background-position: -48px 0; 25 | } 26 | .icheckbox_square-green.disabled { 27 | background-position: -72px 0; 28 | cursor: default; 29 | } 30 | .icheckbox_square-green.checked.disabled { 31 | background-position: -96px 0; 32 | } 33 | 34 | .iradio_square-green { 35 | background-position: -120px 0; 36 | } 37 | .iradio_square-green.hover { 38 | background-position: -144px 0; 39 | } 40 | .iradio_square-green.checked { 41 | background-position: -168px 0; 42 | } 43 | .iradio_square-green.disabled { 44 | background-position: -192px 0; 45 | cursor: default; 46 | } 47 | .iradio_square-green.checked.disabled { 48 | background-position: -216px 0; 49 | } 50 | 51 | /* HiDPI support */ 52 | @media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { 53 | .icheckbox_square-green, 54 | .iradio_square-green { 55 | background-image: url(green@2x.png); 56 | -webkit-background-size: 240px 24px; 57 | background-size: 240px 24px; 58 | } 59 | } -------------------------------------------------------------------------------- /css/plugins/iCheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/iCheck/green.png -------------------------------------------------------------------------------- /css/plugins/iCheck/green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/iCheck/green@2x.png -------------------------------------------------------------------------------- /css/plugins/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/images/sort_asc.png -------------------------------------------------------------------------------- /css/plugins/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/images/sort_desc.png -------------------------------------------------------------------------------- /css/plugins/images/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/images/sprite-skin-flat.png -------------------------------------------------------------------------------- /css/plugins/images/spritemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/images/spritemap.png -------------------------------------------------------------------------------- /css/plugins/images/spritemap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/images/spritemap@2x.png -------------------------------------------------------------------------------- /css/plugins/ionRangeSlider/ion.rangeSlider.css: -------------------------------------------------------------------------------- 1 | /* Ion.RangeSlider 2 | // css version 1.8.5 3 | // by Denis Ineshin | ionden.com 4 | // ===================================================================================================================*/ 5 | 6 | /* ===================================================================================================================== 7 | // RangeSlider */ 8 | 9 | .irs { 10 | position: relative; display: block; 11 | } 12 | .irs-line { 13 | position: relative; display: block; 14 | overflow: hidden; 15 | } 16 | .irs-line-left, .irs-line-mid, .irs-line-right { 17 | position: absolute; display: block; 18 | top: 0; 19 | } 20 | .irs-line-left { 21 | left: 0; width: 10%; 22 | } 23 | .irs-line-mid { 24 | left: 10%; width: 80%; 25 | } 26 | .irs-line-right { 27 | right: 0; width: 10%; 28 | } 29 | 30 | .irs-diapason { 31 | position: absolute; display: block; 32 | left: 0; width: 100%; 33 | } 34 | .irs-slider { 35 | position: absolute; display: block; 36 | cursor: default; 37 | z-index: 1; 38 | } 39 | .irs-slider.single { 40 | left: 10px; 41 | } 42 | .irs-slider.single:before { 43 | position: absolute; display: block; content: ""; 44 | top: -30%; left: -30%; 45 | width: 160%; height: 160%; 46 | background: rgba(0,0,0,0.0); 47 | } 48 | .irs-slider.from { 49 | left: 100px; 50 | } 51 | .irs-slider.from:before { 52 | position: absolute; display: block; content: ""; 53 | top: -30%; left: -30%; 54 | width: 130%; height: 160%; 55 | background: rgba(0,0,0,0.0); 56 | } 57 | .irs-slider.to { 58 | left: 300px; 59 | } 60 | .irs-slider.to:before { 61 | position: absolute; display: block; content: ""; 62 | top: -30%; left: 0; 63 | width: 130%; height: 160%; 64 | background: rgba(0,0,0,0.0); 65 | } 66 | .irs-slider.last { 67 | z-index: 2; 68 | } 69 | 70 | .irs-min { 71 | position: absolute; display: block; 72 | left: 0; 73 | cursor: default; 74 | } 75 | .irs-max { 76 | position: absolute; display: block; 77 | right: 0; 78 | cursor: default; 79 | } 80 | 81 | .irs-from, .irs-to, .irs-single { 82 | position: absolute; display: block; 83 | top: 0; left: 0; 84 | cursor: default; 85 | white-space: nowrap; 86 | } 87 | 88 | 89 | .irs-grid { 90 | position: absolute; display: none; 91 | bottom: 0; left: 0; 92 | width: 100%; height: 20px; 93 | } 94 | .irs-with-grid .irs-grid { 95 | display: block; 96 | } 97 | .irs-grid-pol { 98 | position: absolute; 99 | top: 0; left: 0; 100 | width: 1px; height: 8px; 101 | background: #000; 102 | } 103 | .irs-grid-pol.small { 104 | height: 4px; 105 | } 106 | .irs-grid-text { 107 | position: absolute; 108 | bottom: 0; left: 0; 109 | width: 100px; 110 | white-space: nowrap; 111 | text-align: center; 112 | font-size: 9px; line-height: 9px; 113 | color: #000; 114 | } 115 | 116 | .irs-disable-mask { 117 | position: absolute; display: block; 118 | top: 0; left: 0; 119 | width: 100%; height: 100%; 120 | cursor: default; 121 | background: rgba(0,0,0,0.0); 122 | z-index: 2; 123 | } 124 | .irs-disabled { 125 | opacity: 0.4; 126 | } -------------------------------------------------------------------------------- /css/plugins/ionRangeSlider/ion.rangeSlider.skinFlat.css: -------------------------------------------------------------------------------- 1 | /* Ion.RangeSlider, Flat UI Skin 2 | // css version 1.8.5 3 | // by Denis Ineshin | ionden.com 4 | // ===================================================================================================================*/ 5 | 6 | /* ===================================================================================================================== 7 | // Skin details */ 8 | 9 | .irs-line-mid, 10 | .irs-line-left, 11 | .irs-line-right, 12 | .irs-diapason, 13 | .irs-slider { 14 | background: url(../images/sprite-skin-flat.png) repeat-x; 15 | } 16 | 17 | .irs { 18 | height: 40px; 19 | } 20 | .irs-with-grid { 21 | height: 60px; 22 | } 23 | .irs-line { 24 | height: 12px; top: 25px; 25 | } 26 | .irs-line-left { 27 | height: 12px; 28 | background-position: 0 -30px; 29 | } 30 | .irs-line-mid { 31 | height: 12px; 32 | background-position: 0 0; 33 | } 34 | .irs-line-right { 35 | height: 12px; 36 | background-position: 100% -30px; 37 | } 38 | 39 | .irs-diapason { 40 | height: 12px; top: 25px; 41 | background-position: 0 -60px; 42 | } 43 | 44 | .irs-slider { 45 | width: 16px; height: 18px; 46 | top: 22px; 47 | background-position: 0 -90px; 48 | } 49 | #irs-active-slider, .irs-slider:hover { 50 | background-position: 0 -120px; 51 | } 52 | 53 | .irs-min, .irs-max { 54 | color: #999; 55 | font-size: 10px; line-height: 1.333; 56 | text-shadow: none; 57 | top: 0; padding: 1px 3px; 58 | background: #e1e4e9; 59 | border-radius: 4px; 60 | } 61 | 62 | .irs-from, .irs-to, .irs-single { 63 | color: #fff; 64 | font-size: 10px; line-height: 1.333; 65 | text-shadow: none; 66 | padding: 1px 5px; 67 | background: #ed5565; 68 | border-radius: 4px; 69 | } 70 | .irs-from:after, .irs-to:after, .irs-single:after { 71 | position: absolute; display: block; content: ""; 72 | bottom: -6px; left: 50%; 73 | width: 0; height: 0; 74 | margin-left: -3px; 75 | overflow: hidden; 76 | border: 3px solid transparent; 77 | border-top-color: #ed5565; 78 | } 79 | 80 | 81 | .irs-grid-pol { 82 | background: #e1e4e9; 83 | } 84 | .irs-grid-text { 85 | color: #999; 86 | } 87 | 88 | .irs-disabled { 89 | } -------------------------------------------------------------------------------- /css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /css/plugins/jQueryUI/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /css/plugins/jQueryUI/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /css/plugins/jQueryUI/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /css/plugins/jsTree/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/css/plugins/jsTree/32px.png -------------------------------------------------------------------------------- /css/plugins/markdown/bootstrap-markdown.min.css: -------------------------------------------------------------------------------- 1 | .md-editor{display:block;border:1px solid #ddd}.md-editor .md-footer,.md-editor>.md-header{display:block;padding:6px 4px;background:#f5f5f5}.md-editor>.md-header{margin:0}.md-editor>.md-preview{background:#fff;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;min-height:10px;overflow:auto}.md-editor>textarea{font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:14px;outline:0;margin:0;display:block;padding:0;width:100%;border:0;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;border-radius:0;box-shadow:none;background:#fafafa}.md-editor>textarea:focus{box-shadow:none;background:#fff}.md-editor.active{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)}.md-editor .md-controls{float:right;padding:3px}.md-editor .md-controls .md-control{right:5px;color:#bebebe;padding:3px 3px 3px 10px}.md-editor .md-controls .md-control:hover{color:#333}.md-editor.md-fullscreen-mode{width:100%;height:100%;position:fixed;top:0;left:0;z-index:99999;padding:60px 30px 15px;background:#fff!important;border:0!important}.md-editor.md-fullscreen-mode .md-footer{display:none}.md-editor.md-fullscreen-mode .md-input,.md-editor.md-fullscreen-mode .md-preview{margin:0 auto!important;height:100%!important;font-size:20px!important;padding:20px!important;color:#999;line-height:1.6em!important;resize:none!important;box-shadow:none!important;background:#fff!important;border:0!important}.md-editor.md-fullscreen-mode .md-preview{color:#333;overflow:auto}.md-editor.md-fullscreen-mode .md-input:focus,.md-editor.md-fullscreen-mode .md-input:hover{color:#333;background:#fff!important}.md-editor.md-fullscreen-mode .md-header{background:0 0;text-align:center;position:fixed;width:100%;top:20px}.md-editor.md-fullscreen-mode .btn-group{float:none}.md-editor.md-fullscreen-mode .btn{border:0;background:0 0;color:#b3b3b3}.md-editor.md-fullscreen-mode .btn.active,.md-editor.md-fullscreen-mode .btn:active,.md-editor.md-fullscreen-mode .btn:focus,.md-editor.md-fullscreen-mode .btn:hover{box-shadow:none;color:#333}.md-editor.md-fullscreen-mode .md-fullscreen-controls{position:absolute;top:20px;right:20px;text-align:right;z-index:1002;display:block}.md-editor.md-fullscreen-mode .md-fullscreen-controls a{color:#b3b3b3;clear:right;margin:10px;width:30px;height:30px;text-align:center}.md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover{color:#333;text-decoration:none}.md-editor.md-fullscreen-mode .md-editor{height:100%!important;position:relative}.md-editor .md-fullscreen-controls{display:none}.md-nooverflow{overflow:hidden;position:fixed;width:100%} -------------------------------------------------------------------------------- /css/plugins/morris/morris-0.4.3.min.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;} -------------------------------------------------------------------------------- /css/plugins/nouslider/jquery.nouislider.css: -------------------------------------------------------------------------------- 1 | 2 | /* Functional styling; 3 | * These styles are required for noUiSlider to function. 4 | * You don't need to change these rules to apply your design. 5 | */ 6 | .noUi-target, 7 | .noUi-target * { 8 | -webkit-touch-callout: none; 9 | -webkit-user-select: none; 10 | -ms-touch-action: none; 11 | -ms-user-select: none; 12 | -moz-user-select: none; 13 | -moz-box-sizing: border-box; 14 | box-sizing: border-box; 15 | } 16 | .noUi-base { 17 | width: 100%; 18 | height: 100%; 19 | position: relative; 20 | } 21 | .noUi-origin { 22 | position: absolute; 23 | right: 0; 24 | top: 0; 25 | left: 0; 26 | bottom: 0; 27 | } 28 | .noUi-handle { 29 | position: relative; 30 | z-index: 1; 31 | } 32 | .noUi-stacking .noUi-handle { 33 | /* This class is applied to the lower origin when 34 | its values is > 50%. */ 35 | z-index: 10; 36 | } 37 | .noUi-stacking + .noUi-origin { 38 | /* Fix stacking order in IE7, which incorrectly 39 | creates a new context for the origins. */ 40 | *z-index: -1; 41 | } 42 | .noUi-state-tap .noUi-origin { 43 | -webkit-transition: left 0.3s, top 0.3s; 44 | transition: left 0.3s, top 0.3s; 45 | } 46 | .noUi-state-drag * { 47 | cursor: inherit !important; 48 | } 49 | 50 | /* Slider size and handle placement; 51 | */ 52 | .noUi-horizontal { 53 | height: 18px; 54 | } 55 | .noUi-horizontal .noUi-handle { 56 | width: 34px; 57 | height: 28px; 58 | left: -17px; 59 | top: -6px; 60 | } 61 | .noUi-horizontal.noUi-extended { 62 | padding: 0 15px; 63 | } 64 | .noUi-horizontal.noUi-extended .noUi-origin { 65 | right: -15px; 66 | } 67 | .noUi-vertical { 68 | width: 18px; 69 | } 70 | .noUi-vertical .noUi-handle { 71 | width: 28px; 72 | height: 34px; 73 | left: -6px; 74 | top: -17px; 75 | } 76 | .noUi-vertical.noUi-extended { 77 | padding: 15px 0; 78 | } 79 | .noUi-vertical.noUi-extended .noUi-origin { 80 | bottom: -15px; 81 | } 82 | 83 | /* Styling; 84 | */ 85 | .noUi-background { 86 | background: #FAFAFA; 87 | box-shadow: inset 0 1px 1px #f0f0f0; 88 | } 89 | .noUi-connect { 90 | background: #3FB8AF; 91 | box-shadow: inset 0 0 3px rgba(51,51,51,0.45); 92 | -webkit-transition: background 450ms; 93 | transition: background 450ms; 94 | } 95 | .noUi-origin { 96 | border-radius: 2px; 97 | } 98 | .noUi-target { 99 | border-radius: 4px; 100 | border: 1px solid #D3D3D3; 101 | box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; 102 | } 103 | .noUi-target.noUi-connect { 104 | box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB; 105 | } 106 | 107 | /* Handles and cursors; 108 | */ 109 | .noUi-dragable { 110 | cursor: w-resize; 111 | } 112 | .noUi-vertical .noUi-dragable { 113 | cursor: n-resize; 114 | } 115 | .noUi-handle { 116 | border: 1px solid #D9D9D9; 117 | border-radius: 3px; 118 | background: #FFF; 119 | cursor: default; 120 | box-shadow: inset 0 0 1px #FFF, 121 | inset 0 1px 7px #EBEBEB, 122 | 0 3px 6px -3px #BBB; 123 | } 124 | .noUi-active { 125 | box-shadow: inset 0 0 1px #FFF, 126 | inset 0 1px 7px #DDD, 127 | 0 3px 6px -3px #BBB; 128 | } 129 | 130 | /* Handle stripes; 131 | */ 132 | .noUi-handle:before, 133 | .noUi-handle:after { 134 | content: ""; 135 | display: block; 136 | position: absolute; 137 | height: 14px; 138 | width: 1px; 139 | background: #E8E7E6; 140 | left: 14px; 141 | top: 6px; 142 | } 143 | .noUi-handle:after { 144 | left: 17px; 145 | } 146 | .noUi-vertical .noUi-handle:before, 147 | .noUi-vertical .noUi-handle:after { 148 | width: 14px; 149 | height: 1px; 150 | left: 6px; 151 | top: 14px; 152 | } 153 | .noUi-vertical .noUi-handle:after { 154 | top: 17px; 155 | } 156 | 157 | /* Disabled state; 158 | */ 159 | [disabled].noUi-connect, 160 | [disabled] .noUi-connect { 161 | background: #B8B8B8; 162 | } 163 | [disabled] .noUi-handle { 164 | cursor: not-allowed; 165 | } 166 | -------------------------------------------------------------------------------- /css/plugins/steps/jquery.steps.css: -------------------------------------------------------------------------------- 1 | /* 2 | Common 3 | */ 4 | 5 | .wizard, 6 | .tabcontrol 7 | { 8 | display: block; 9 | width: 100%; 10 | overflow: hidden; 11 | } 12 | 13 | .wizard a, 14 | .tabcontrol a 15 | { 16 | outline: 0; 17 | } 18 | 19 | .wizard ul, 20 | .tabcontrol ul 21 | { 22 | list-style: none !important; 23 | padding: 0; 24 | margin: 0; 25 | } 26 | 27 | .wizard ul > li, 28 | .tabcontrol ul > li 29 | { 30 | display: block; 31 | padding: 0; 32 | } 33 | 34 | /* Accessibility */ 35 | .wizard > .steps .current-info, 36 | .tabcontrol > .steps .current-info 37 | { 38 | position: absolute; 39 | left: -999em; 40 | } 41 | 42 | .wizard > .content > .title, 43 | .tabcontrol > .content > .title 44 | { 45 | position: absolute; 46 | left: -999em; 47 | } 48 | 49 | 50 | 51 | /* 52 | Wizard 53 | */ 54 | 55 | .wizard > .steps 56 | { 57 | position: relative; 58 | display: block; 59 | width: 100%; 60 | } 61 | 62 | .wizard.vertical > .steps 63 | { 64 | display: inline; 65 | float: left; 66 | width: 30%; 67 | } 68 | 69 | .wizard > .steps > ul > li 70 | { 71 | width: 25%; 72 | } 73 | 74 | .wizard > .steps > ul > li, 75 | .wizard > .actions > ul > li 76 | { 77 | float: left; 78 | } 79 | 80 | .wizard.vertical > .steps > ul > li 81 | { 82 | float: none; 83 | width: 100%; 84 | } 85 | 86 | .wizard > .steps a, 87 | .wizard > .steps a:hover, 88 | .wizard > .steps a:active 89 | { 90 | display: block; 91 | width: auto; 92 | margin: 0 0.5em 0.5em; 93 | padding: 8px; 94 | text-decoration: none; 95 | 96 | -webkit-border-radius: 5px; 97 | -moz-border-radius: 5px; 98 | border-radius: 5px; 99 | } 100 | 101 | .wizard > .steps .disabled a, 102 | .wizard > .steps .disabled a:hover, 103 | .wizard > .steps .disabled a:active 104 | { 105 | background: #eee; 106 | color: #aaa; 107 | cursor: default; 108 | } 109 | 110 | .wizard > .steps .current a, 111 | .wizard > .steps .current a:hover, 112 | .wizard > .steps .current a:active 113 | { 114 | background: #1AB394; 115 | color: #fff; 116 | cursor: default; 117 | } 118 | 119 | .wizard > .steps .done a, 120 | .wizard > .steps .done a:hover, 121 | .wizard > .steps .done a:active 122 | { 123 | background: #6fd1bd; 124 | color: #fff; 125 | } 126 | 127 | .wizard > .steps .error a, 128 | .wizard > .steps .error a:hover, 129 | .wizard > .steps .error a:active 130 | { 131 | background: #ED5565 ; 132 | color: #fff; 133 | } 134 | 135 | .wizard > .content 136 | { 137 | background: #eee; 138 | display: block; 139 | margin: 5px 5px 10px 5px; 140 | min-height: 120px; 141 | overflow: hidden; 142 | position: relative; 143 | width: auto; 144 | 145 | -webkit-border-radius: 5px; 146 | -moz-border-radius: 5px; 147 | border-radius: 5px; 148 | } 149 | 150 | .wizard-big.wizard > .content { 151 | min-height: 320px; 152 | } 153 | .wizard.vertical > .content 154 | { 155 | display: inline; 156 | float: left; 157 | margin: 0 2.5% 0.5em 2.5%; 158 | width: 65%; 159 | } 160 | 161 | .wizard > .content > .body 162 | { 163 | float: left; 164 | position: absolute; 165 | width: 95%; 166 | height: 95%; 167 | padding: 2.5%; 168 | } 169 | 170 | .wizard > .content > .body ul 171 | { 172 | list-style: disc !important; 173 | } 174 | 175 | .wizard > .content > .body ul > li 176 | { 177 | display: list-item; 178 | } 179 | 180 | .wizard > .content > .body > iframe 181 | { 182 | border: 0 none; 183 | width: 100%; 184 | height: 100%; 185 | } 186 | 187 | .wizard > .content > .body input 188 | { 189 | display: block; 190 | border: 1px solid #ccc; 191 | } 192 | 193 | .wizard > .content > .body input[type="checkbox"] 194 | { 195 | display: inline-block; 196 | } 197 | 198 | .wizard > .content > .body input.error 199 | { 200 | background: rgb(251, 227, 228); 201 | border: 1px solid #fbc2c4; 202 | color: #8a1f11; 203 | } 204 | 205 | .wizard > .content > .body label 206 | { 207 | display: inline-block; 208 | margin-bottom: 0.5em; 209 | } 210 | 211 | .wizard > .content > .body label.error 212 | { 213 | color: #8a1f11; 214 | display: inline-block; 215 | margin-left: 1.5em; 216 | } 217 | 218 | .wizard > .actions 219 | { 220 | position: relative; 221 | display: block; 222 | text-align: right; 223 | width: 100%; 224 | } 225 | 226 | .wizard.vertical > .actions 227 | { 228 | display: inline; 229 | float: right; 230 | margin: 0 2.5%; 231 | width: 95%; 232 | } 233 | 234 | .wizard > .actions > ul 235 | { 236 | display: inline-block; 237 | text-align: right; 238 | } 239 | 240 | .wizard > .actions > ul > li 241 | { 242 | margin: 0 0.5em; 243 | } 244 | 245 | .wizard.vertical > .actions > ul > li 246 | { 247 | margin: 0 0 0 1em; 248 | } 249 | 250 | .wizard > .actions a, 251 | .wizard > .actions a:hover, 252 | .wizard > .actions a:active 253 | { 254 | background: #1AB394; 255 | color: #fff; 256 | display: block; 257 | padding: 0.5em 1em; 258 | text-decoration: none; 259 | 260 | -webkit-border-radius: 5px; 261 | -moz-border-radius: 5px; 262 | border-radius: 5px; 263 | } 264 | 265 | .wizard > .actions .disabled a, 266 | .wizard > .actions .disabled a:hover, 267 | .wizard > .actions .disabled a:active 268 | { 269 | background: #eee; 270 | color: #aaa; 271 | } 272 | 273 | .wizard > .loading 274 | { 275 | } 276 | 277 | .wizard > .loading .spinner 278 | { 279 | } 280 | 281 | 282 | 283 | /* 284 | Tabcontrol 285 | */ 286 | 287 | .tabcontrol > .steps 288 | { 289 | position: relative; 290 | display: block; 291 | width: 100%; 292 | } 293 | 294 | .tabcontrol > .steps > ul 295 | { 296 | position: relative; 297 | margin: 6px 0 0 0; 298 | top: 1px; 299 | z-index: 1; 300 | } 301 | 302 | .tabcontrol > .steps > ul > li 303 | { 304 | float: left; 305 | margin: 5px 2px 0 0; 306 | padding: 1px; 307 | 308 | -webkit-border-top-left-radius: 5px; 309 | -webkit-border-top-right-radius: 5px; 310 | -moz-border-radius-topleft: 5px; 311 | -moz-border-radius-topright: 5px; 312 | border-top-left-radius: 5px; 313 | border-top-right-radius: 5px; 314 | } 315 | 316 | .tabcontrol > .steps > ul > li:hover 317 | { 318 | background: #edecec; 319 | border: 1px solid #bbb; 320 | padding: 0; 321 | } 322 | 323 | .tabcontrol > .steps > ul > li.current 324 | { 325 | background: #fff; 326 | border: 1px solid #bbb; 327 | border-bottom: 0 none; 328 | padding: 0 0 1px 0; 329 | margin-top: 0; 330 | } 331 | 332 | .tabcontrol > .steps > ul > li > a 333 | { 334 | color: #5f5f5f; 335 | display: inline-block; 336 | border: 0 none; 337 | margin: 0; 338 | padding: 10px 30px; 339 | text-decoration: none; 340 | } 341 | 342 | .tabcontrol > .steps > ul > li > a:hover 343 | { 344 | text-decoration: none; 345 | } 346 | 347 | .tabcontrol > .steps > ul > li.current > a 348 | { 349 | padding: 15px 30px 10px 30px; 350 | } 351 | 352 | .tabcontrol > .content 353 | { 354 | position: relative; 355 | display: inline-block; 356 | width: 100%; 357 | height: 35em; 358 | overflow: hidden; 359 | border-top: 1px solid #bbb; 360 | padding-top: 20px; 361 | } 362 | 363 | .tabcontrol > .content > .body 364 | { 365 | float: left; 366 | position: absolute; 367 | width: 95%; 368 | height: 95%; 369 | padding: 2.5%; 370 | } 371 | 372 | .tabcontrol > .content > .body ul 373 | { 374 | list-style: disc !important; 375 | } 376 | 377 | .tabcontrol > .content > .body ul > li 378 | { 379 | display: list-item; 380 | } -------------------------------------------------------------------------------- /css/plugins/switchery/switchery.css: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Main stylesheet for Switchery. 4 | * http://abpetkov.github.io/switchery/ 5 | * 6 | */ 7 | 8 | .switchery { 9 | background-color: #fff; 10 | border: 1px solid #dfdfdf; 11 | border-radius: 20px; 12 | cursor: pointer; 13 | display: inline-block; 14 | height: 30px; 15 | position: relative; 16 | vertical-align: middle; 17 | width: 50px; 18 | 19 | -webkit-box-sizing: content-box; 20 | -moz-box-sizing: content-box; 21 | box-sizing: content-box; 22 | } 23 | 24 | .switchery > small { 25 | background: #fff; 26 | border-radius: 100%; 27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 28 | height: 30px; 29 | position: absolute; 30 | top: 0; 31 | width: 30px; 32 | } -------------------------------------------------------------------------------- /css/plugins/toastr/toastr.min.css: -------------------------------------------------------------------------------- 1 | .toast-title { 2 | font-weight: 700 3 | } 4 | 5 | .toast-message { 6 | -ms-word-wrap: break-word; 7 | word-wrap: break-word 8 | } 9 | 10 | .toast-message a, .toast-message label { 11 | color: #fff 12 | } 13 | 14 | .toast-message a:hover { 15 | color: #ccc; 16 | text-decoration: none 17 | } 18 | 19 | .toast-close-button { 20 | position: relative; 21 | right: -.3em; 22 | top: -.3em; 23 | float: right; 24 | font-size: 20px; 25 | font-weight: 700; 26 | color: #fff; 27 | -webkit-text-shadow: 0 1px 0 #fff; 28 | text-shadow: 0 1px 0 #fff; 29 | opacity: .8; 30 | -ms-filter: alpha(Opacity=80); 31 | filter: alpha(opacity=80) 32 | } 33 | 34 | .toast-close-button:focus, .toast-close-button:hover { 35 | color: #000; 36 | text-decoration: none; 37 | cursor: pointer; 38 | opacity: .4; 39 | -ms-filter: alpha(Opacity=40); 40 | filter: alpha(opacity=40) 41 | } 42 | 43 | button.toast-close-button { 44 | padding: 0; 45 | cursor: pointer; 46 | background: 0 0; 47 | border: 0; 48 | -webkit-appearance: none 49 | } 50 | 51 | .toast-top-center { 52 | top: 0; 53 | right: 0; 54 | width: 100% 55 | } 56 | 57 | .toast-bottom-center { 58 | bottom: 0; 59 | right: 0; 60 | width: 100% 61 | } 62 | 63 | .toast-top-full-width { 64 | top: 0; 65 | right: 0; 66 | width: 100% 67 | } 68 | 69 | .toast-bottom-full-width { 70 | bottom: 0; 71 | right: 0; 72 | width: 100% 73 | } 74 | 75 | .toast-top-left { 76 | top: 12px; 77 | left: 12px 78 | } 79 | 80 | .toast-top-right { 81 | top: 12px; 82 | right: 12px 83 | } 84 | 85 | .toast-bottom-right { 86 | right: 12px; 87 | bottom: 12px 88 | } 89 | 90 | .toast-bottom-left { 91 | bottom: 12px; 92 | left: 12px 93 | } 94 | 95 | #toast-container { 96 | position: fixed; 97 | z-index: 999999 98 | } 99 | 100 | #toast-container * { 101 | -moz-box-sizing: border-box; 102 | -webkit-box-sizing: border-box; 103 | box-sizing: border-box 104 | } 105 | 106 | #toast-container > div { 107 | position: relative; 108 | overflow: hidden; 109 | margin: 0 0 6px; 110 | padding: 15px 15px 15px 50px; 111 | width: 300px; 112 | -moz-border-radius: 3px; 113 | -webkit-border-radius: 3px; 114 | border-radius: 3px; 115 | background-position: 15px center; 116 | background-repeat: no-repeat; 117 | -moz-box-shadow: 0 0 12px #999; 118 | -webkit-box-shadow: 0 0 12px #999; 119 | box-shadow: 0 0 12px #999; 120 | color: #fff; 121 | opacity: .8; 122 | -ms-filter: alpha(Opacity=80); 123 | filter: alpha(opacity=80) 124 | } 125 | 126 | #toast-container > :hover { 127 | -moz-box-shadow: 0 0 12px #000; 128 | -webkit-box-shadow: 0 0 12px #000; 129 | box-shadow: 0 0 12px #000; 130 | opacity: 1; 131 | -ms-filter: alpha(Opacity=100); 132 | filter: alpha(opacity=100); 133 | cursor: pointer 134 | } 135 | 136 | #toast-container > .toast-info { 137 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important 138 | } 139 | 140 | #toast-container > .toast-error { 141 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important 142 | } 143 | 144 | #toast-container > .toast-success { 145 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important 146 | } 147 | 148 | #toast-container > .toast-warning { 149 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important 150 | } 151 | 152 | #toast-container.toast-bottom-center > div, #toast-container.toast-top-center > div { 153 | width: 300px; 154 | margin: auto 155 | } 156 | 157 | #toast-container.toast-bottom-full-width > div, #toast-container.toast-top-full-width > div { 158 | width: 96%; 159 | margin: auto 160 | } 161 | 162 | .toast { 163 | background-color: #030303 164 | } 165 | 166 | .toast-success { 167 | background-color: #51a351 168 | } 169 | 170 | .toast-error { 171 | background-color: #bd362f 172 | } 173 | 174 | .toast-info { 175 | background-color: #2f96b4 176 | } 177 | 178 | .toast-warning { 179 | background-color: #f89406 180 | } 181 | 182 | .toast-progress { 183 | position: absolute; 184 | left: 0; 185 | bottom: 0; 186 | height: 4px; 187 | background-color: #000; 188 | opacity: .4; 189 | -ms-filter: alpha(Opacity=40); 190 | filter: alpha(opacity=40) 191 | } 192 | 193 | @media all and (max-width: 240px) { 194 | #toast-container > div { 195 | padding: 8px 8px 8px 50px; 196 | width: 11em 197 | } 198 | 199 | #toast-container .toast-close-button { 200 | right: -.2em; 201 | top: -.2em 202 | } 203 | } 204 | 205 | @media all and (min-width: 241px) and (max-width: 480px) { 206 | #toast-container > div { 207 | padding: 8px 8px 8px 50px; 208 | width: 18em 209 | } 210 | 211 | #toast-container .toast-close-button { 212 | right: -.2em; 213 | top: -.2em 214 | } 215 | } 216 | 217 | @media all and (min-width: 481px) and (max-width: 768px) { 218 | #toast-container > div { 219 | padding: 15px 15px 15px 50px; 220 | width: 25em 221 | } 222 | } -------------------------------------------------------------------------------- /css/plugins/treeview/bootstrap-treeview.css: -------------------------------------------------------------------------------- 1 | /* ========================================================= 2 | * bootstrap-treeview.css v1.0.0 3 | * ========================================================= 4 | * Copyright 2013 Jonathan Miles 5 | * Project URL : http://www.jondmiles.com/bootstrap-treeview 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * ========================================================= */ 19 | 20 | .list-group-item { 21 | cursor: pointer; 22 | } 23 | 24 | /*.list-group-item:hover { 25 | background-color: #f5f5f5; 26 | }*/ 27 | 28 | span.indent { 29 | margin-left: 10px; 30 | margin-right: 10px; 31 | } 32 | 33 | span.icon { 34 | margin-right: 5px; 35 | } 36 | -------------------------------------------------------------------------------- /css/plugins/webuploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #00b7ee; 14 | padding: 10px 15px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | } 20 | .webuploader-pick-hover { 21 | background: #00a2d4; 22 | } 23 | 24 | .webuploader-pick-disable { 25 | opacity: 0.6; 26 | pointer-events:none; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.eot_v=4.3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.eot_v=4.3.0 -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.ttf_v=4.3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.ttf_v=4.3.0 -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.woff2_v=4.3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.woff2_v=4.3.0 -------------------------------------------------------------------------------- /font-awesome/fonts/fontawesome-webfont.woff_v=4.3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/font-awesome/fonts/fontawesome-webfont.woff_v=4.3.0 -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /img/a1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a1.jpg -------------------------------------------------------------------------------- /img/a2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a2.jpg -------------------------------------------------------------------------------- /img/a3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a3.jpg -------------------------------------------------------------------------------- /img/a4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a4.jpg -------------------------------------------------------------------------------- /img/a5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a5.jpg -------------------------------------------------------------------------------- /img/a6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a6.jpg -------------------------------------------------------------------------------- /img/a7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a7.jpg -------------------------------------------------------------------------------- /img/a8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a8.jpg -------------------------------------------------------------------------------- /img/a9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/a9.jpg -------------------------------------------------------------------------------- /img/alipay_qr_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/alipay_qr_code.png -------------------------------------------------------------------------------- /img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/bg.png -------------------------------------------------------------------------------- /img/iconfont-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/iconfont-logo.png -------------------------------------------------------------------------------- /img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/icons.png -------------------------------------------------------------------------------- /img/index.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/index.jpg -------------------------------------------------------------------------------- /img/index_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/index_4.jpg -------------------------------------------------------------------------------- /img/loading-upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/loading-upload.gif -------------------------------------------------------------------------------- /img/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p1.jpg -------------------------------------------------------------------------------- /img/p2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p2.jpg -------------------------------------------------------------------------------- /img/p3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p3.jpg -------------------------------------------------------------------------------- /img/p4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p4.jpg -------------------------------------------------------------------------------- /img/p5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p5.jpg -------------------------------------------------------------------------------- /img/p6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p6.jpg -------------------------------------------------------------------------------- /img/p7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p7.jpg -------------------------------------------------------------------------------- /img/p8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p8.jpg -------------------------------------------------------------------------------- /img/p_big1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p_big1.jpg -------------------------------------------------------------------------------- /img/p_big2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p_big2.jpg -------------------------------------------------------------------------------- /img/p_big3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/p_big3.jpg -------------------------------------------------------------------------------- /img/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/profile.jpg -------------------------------------------------------------------------------- /img/profile_big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/profile_big.jpg -------------------------------------------------------------------------------- /img/profile_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/profile_small.jpg -------------------------------------------------------------------------------- /img/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/progress.png -------------------------------------------------------------------------------- /img/qr_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/qr_code.png -------------------------------------------------------------------------------- /img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/success.png -------------------------------------------------------------------------------- /img/wenku_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/img/wenku_logo.png -------------------------------------------------------------------------------- /invoice_print.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 素材火www.sucaihuo.com - 单据打印 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 |
24 |
25 |
26 |
27 | 北京百度在线网络技术有限公司
28 | 北京市海淀区上地十街10号
29 | 总机: (+86 10) 5992 8888 30 |
31 |
32 | 33 |
34 |

单据编号:

35 |

H+-000567F7-00

36 |
37 | 阿里巴巴集团
38 | 中国杭州市华星路99号东部软件园创业大厦6层(310099)
39 | 总机: (86) 571-8502-2088 40 |
41 |

42 | 日期: 2014-11-11 43 |

44 |
45 |
46 | 47 |
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 |
清单数量单价税率总价
61 |
尚都比拉2013冬装新款女装 韩版修身呢子大衣 秋冬气质羊毛呢外套 62 |
63 |
1¥26.00¥1.20¥31,98
71 |
11*11夏娜 新款斗篷毛呢外套 女秋冬呢子大衣 韩版大码宽松呢大衣 72 |
73 | 双十一特价 74 | 75 |
2¥80.00¥1.20¥196.80
83 |
2013秋装 新款女装韩版学生秋冬加厚加绒保暖开衫卫衣 百搭女外套 84 |
85 |
3¥420.00¥1.20¥1033.20
94 |
95 | 96 | 97 | 98 | 99 | 100 | 102 | 103 | 104 | 105 | 107 | 108 | 109 | 110 | 112 | 113 | 114 | 115 |
总价: 101 | ¥1026.00
税: 106 | ¥235.98
总计 111 | ¥1261.98
116 | 117 |
注意: 118 | 请在30日内完成付款,否则订单会自动取消。 119 |
120 |
121 | 122 |
123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 136 | 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /js/demo/morris-demo.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | Morris.Line({ 4 | element: 'morris-one-line-chart', 5 | data: [ 6 | { year: '2008', value: 5 }, 7 | { year: '2009', value: 10 }, 8 | { year: '2010', value: 8 }, 9 | { year: '2011', value: 22 }, 10 | { year: '2012', value: 8 }, 11 | { year: '2014', value: 10 }, 12 | { year: '2015', value: 5 } 13 | ], 14 | xkey: 'year', 15 | ykeys: ['value'], 16 | resize: true, 17 | lineWidth:4, 18 | labels: ['Value'], 19 | lineColors: ['#1ab394'], 20 | pointSize:5, 21 | }); 22 | 23 | Morris.Area({ 24 | element: 'morris-area-chart', 25 | data: [{ 26 | period: '2010 Q1', 27 | iphone: 2666, 28 | ipad: null, 29 | itouch: 2647 30 | }, { 31 | period: '2010 Q2', 32 | iphone: 2778, 33 | ipad: 2294, 34 | itouch: 2441 35 | }, { 36 | period: '2010 Q3', 37 | iphone: 4912, 38 | ipad: 1969, 39 | itouch: 2501 40 | }, { 41 | period: '2010 Q4', 42 | iphone: 3767, 43 | ipad: 3597, 44 | itouch: 5689 45 | }, { 46 | period: '2011 Q1', 47 | iphone: 6810, 48 | ipad: 1914, 49 | itouch: 2293 50 | }, { 51 | period: '2011 Q2', 52 | iphone: 5670, 53 | ipad: 4293, 54 | itouch: 1881 55 | }, { 56 | period: '2011 Q3', 57 | iphone: 4820, 58 | ipad: 3795, 59 | itouch: 1588 60 | }, { 61 | period: '2011 Q4', 62 | iphone: 15073, 63 | ipad: 5967, 64 | itouch: 5175 65 | }, { 66 | period: '2012 Q1', 67 | iphone: 10687, 68 | ipad: 4460, 69 | itouch: 2028 70 | }, { 71 | period: '2012 Q2', 72 | iphone: 8432, 73 | ipad: 5713, 74 | itouch: 1791 75 | }], 76 | xkey: 'period', 77 | ykeys: ['iphone', 'ipad', 'itouch'], 78 | labels: ['iPhone', 'iPad', 'iPod Touch'], 79 | pointSize: 2, 80 | hideHover: 'auto', 81 | resize: true, 82 | lineColors: ['#87d6c6', '#54cdb4','#1ab394'], 83 | lineWidth:2, 84 | pointSize:1, 85 | }); 86 | 87 | Morris.Donut({ 88 | element: 'morris-donut-chart', 89 | data: [{ 90 | label: "A系列", 91 | value: 12 92 | }, { 93 | label: "B系列", 94 | value: 30 95 | }, { 96 | label: "C系列", 97 | value: 20 98 | }], 99 | resize: true, 100 | colors: ['#87d6c6', '#54cdb4','#1ab394'], 101 | }); 102 | 103 | Morris.Bar({ 104 | element: 'morris-bar-chart', 105 | data: [{ 106 | y: '2006', 107 | a: 60, 108 | b: 50 109 | }, { 110 | y: '2007', 111 | a: 75, 112 | b: 65 113 | }, { 114 | y: '2008', 115 | a: 50, 116 | b: 40 117 | }, { 118 | y: '2009', 119 | a: 75, 120 | b: 65 121 | }, { 122 | y: '2010', 123 | a: 50, 124 | b: 40 125 | }, { 126 | y: '2011', 127 | a: 75, 128 | b: 65 129 | }, { 130 | y: '2012', 131 | a: 100, 132 | b: 90 133 | }], 134 | xkey: 'y', 135 | ykeys: ['a', 'b'], 136 | labels: ['A系列', 'B系列'], 137 | hideHover: 'auto', 138 | resize: true, 139 | barColors: ['#1ab394', '#cacaca'], 140 | }); 141 | 142 | Morris.Line({ 143 | element: 'morris-line-chart', 144 | data: [{ 145 | y: '2006', 146 | a: 100, 147 | b: 90 148 | }, { 149 | y: '2007', 150 | a: 75, 151 | b: 65 152 | }, { 153 | y: '2008', 154 | a: 50, 155 | b: 40 156 | }, { 157 | y: '2009', 158 | a: 75, 159 | b: 65 160 | }, { 161 | y: '2010', 162 | a: 50, 163 | b: 40 164 | }, { 165 | y: '2011', 166 | a: 75, 167 | b: 65 168 | }, { 169 | y: '2012', 170 | a: 100, 171 | b: 90 172 | }], 173 | xkey: 'y', 174 | ykeys: ['a', 'b'], 175 | labels: ['A系列', 'B系列'], 176 | hideHover: 'auto', 177 | resize: true, 178 | lineColors: ['#54cdb4','#1ab394'], 179 | }); 180 | 181 | }); 182 | -------------------------------------------------------------------------------- /js/demo/peity-demo.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $("span.pie").peity("pie", { 3 | fill: ['#1ab394', '#d7d7d7', '#ffffff'] 4 | }) 5 | 6 | $(".line").peity("line",{ 7 | fill: '#1ab394', 8 | stroke:'#169c81', 9 | }) 10 | 11 | $(".bar").peity("bar", { 12 | fill: ["#1ab394", "#d7d7d7"] 13 | }) 14 | 15 | $(".bar_dashboard").peity("bar", { 16 | fill: ["#1ab394", "#d7d7d7"], 17 | width:100 18 | }) 19 | 20 | var updatingChart = $(".updating-chart").peity("line", { fill: '#1ab394',stroke:'#169c81', width: 64 }) 21 | 22 | setInterval(function() { 23 | var random = Math.round(Math.random() * 10) 24 | var values = updatingChart.text().split(",") 25 | values.shift() 26 | values.push(random) 27 | 28 | updatingChart 29 | .text(values.join(",")) 30 | .change() 31 | }, 1000); 32 | 33 | }); 34 | -------------------------------------------------------------------------------- /js/demo/rickshaw-demo.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | var graph = new Rickshaw.Graph( { 3 | element: document.querySelector("#chart"), 4 | series: [{ 5 | color: '#1ab394', 6 | data: [ 7 | { x: 0, y: 40 }, 8 | { x: 1, y: 49 }, 9 | { x: 2, y: 38 }, 10 | { x: 3, y: 30 }, 11 | { x: 4, y: 32 } ] 12 | }] 13 | }); 14 | graph.render(); 15 | 16 | var graph2 = new Rickshaw.Graph( { 17 | element: document.querySelector("#rickshaw_multi"), 18 | renderer: 'area', 19 | stroke: true, 20 | series: [ { 21 | data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 20 }, { x: 4, y: 16 } ], 22 | color: '#1ab394', 23 | stroke: '#17997f' 24 | }, { 25 | data: [ { x: 0, y: 22 }, { x: 1, y: 25 }, { x: 2, y: 38 }, { x: 3, y: 44 }, { x: 4, y: 46 } ], 26 | color: '#eeeeee', 27 | stroke: '#d7d7d7' 28 | } ] 29 | } ); 30 | graph2.renderer.unstack = true; 31 | graph2.render(); 32 | 33 | var graph3 = new Rickshaw.Graph({ 34 | element: document.querySelector("#rickshaw_line"), 35 | renderer: 'line', 36 | series: [ { 37 | data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ], 38 | color: '#1ab394' 39 | } ] 40 | } ); 41 | graph3.render(); 42 | 43 | var graph4 = new Rickshaw.Graph({ 44 | element: document.querySelector("#rickshaw_multi_line"), 45 | renderer: 'line', 46 | series: [{ 47 | data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ], 48 | color: '#1ab394' 49 | }, { 50 | data: [ { x: 0, y: 20 }, { x: 1, y: 24 }, { x: 2, y: 19 }, { x: 3, y: 15 }, { x: 4, y: 16 } ], 51 | color: '#d7d7d7' 52 | }] 53 | }); 54 | graph4.render(); 55 | 56 | var graph5 = new Rickshaw.Graph( { 57 | element: document.querySelector("#rickshaw_bars"), 58 | renderer: 'bar', 59 | series: [ { 60 | data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ], 61 | color: '#1ab394' 62 | } ] 63 | } ); 64 | graph5.render(); 65 | 66 | var graph6 = new Rickshaw.Graph( { 67 | element: document.querySelector("#rickshaw_bars_stacked"), 68 | renderer: 'bar', 69 | series: [ 70 | { 71 | data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ], 72 | color: '#1ab394' 73 | }, { 74 | data: [ { x: 0, y: 20 }, { x: 1, y: 24 }, { x: 2, y: 19 }, { x: 3, y: 15 }, { x: 4, y: 16 } ], 75 | color: '#d7d7d7' 76 | } ] 77 | } ); 78 | graph6.render(); 79 | 80 | var graph7 = new Rickshaw.Graph( { 81 | element: document.querySelector("#rickshaw_scatterplot"), 82 | renderer: 'scatterplot', 83 | stroke: true, 84 | padding: { top: 0.05, left: 0.05, right: 0.05 }, 85 | series: [ { 86 | data: [ { x: 0, y: 15 }, 87 | { x: 1, y: 18 }, 88 | { x: 2, y: 10 }, 89 | { x: 3, y: 12 }, 90 | { x: 4, y: 15 }, 91 | { x: 5, y: 24 }, 92 | { x: 6, y: 28 }, 93 | { x: 7, y: 31 }, 94 | { x: 8, y: 22 }, 95 | { x: 9, y: 18 }, 96 | { x: 10, y: 16 } 97 | ], 98 | color: '#1ab394' 99 | } ] 100 | } ); 101 | graph7.render(); 102 | 103 | }); -------------------------------------------------------------------------------- /js/demo/sparkline-demo.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | $("#sparkline1").sparkline([34, 43, 43, 35, 44, 32, 44, 52, 25], { 3 | type: 'line', 4 | lineColor: '#17997f', 5 | fillColor: '#1ab394', 6 | }); 7 | $("#sparkline2").sparkline([5, 6, 7, 2, 0, -4, -2, 4], { 8 | type: 'bar', 9 | barColor: '#1ab394', 10 | negBarColor: '#c6c6c6'}); 11 | 12 | $("#sparkline3").sparkline([1, 1, 2], { 13 | type: 'pie', 14 | sliceColors: ['#1ab394', '#b3b3b3', '#e4f0fb']}); 15 | 16 | $("#sparkline4").sparkline([34, 43, 43, 35, 44, 32, 15, 22, 46, 33, 86, 54, 73, 53, 12, 53, 23, 65, 23, 63, 53, 42, 34, 56, 76, 15, 54, 23, 44], { 17 | type: 'line', 18 | lineColor: '#17997f', 19 | fillColor: '#ffffff', 20 | }); 21 | 22 | $("#sparkline5").sparkline([1, 1, 0, 1, -1, -1, 1, -1, 0, 0, 1, 1], { 23 | type: 'tristate', 24 | posBarColor: '#1ab394', 25 | negBarColor: '#bfbfbf'}); 26 | 27 | 28 | $("#sparkline6").sparkline([4, 6, 7, 7, 4, 3, 2, 1, 4, 4, 5, 6, 3, 4, 5, 8, 7, 6, 9, 3, 2, 4, 1, 5, 6, 4, 3, 7, ], { 29 | type: 'discrete', 30 | lineColor: '#1ab394'}); 31 | 32 | $("#sparkline7").sparkline([52, 12, 44], { 33 | type: 'pie', 34 | height: '150px', 35 | sliceColors: ['#1ab394', '#b3b3b3', '#e4f0fb']}); 36 | 37 | $("#sparkline8").sparkline([5, 6, 7, 2, 0, 4, 2, 4, 5, 7, 2, 4, 12, 14, 4, 2, 14, 12, 7], { 38 | type: 'bar', 39 | barWidth: 8, 40 | height: '150px', 41 | barColor: '#1ab394', 42 | negBarColor: '#c6c6c6'}); 43 | 44 | $("#sparkline9").sparkline([34, 43, 43, 35, 44, 32, 15, 22, 46, 33, 86, 54, 73, 53, 12, 53, 23, 65, 23, 63, 53, 42, 34, 56, 76, 15, 54, 23, 44], { 45 | type: 'line', 46 | lineWidth: 1, 47 | height: '150px', 48 | lineColor: '#17997f', 49 | fillColor: '#ffffff', 50 | }); 51 | }); 52 | -------------------------------------------------------------------------------- /js/demo/treeview-demo.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | var defaultData = [ 4 | { 5 | text: '父节点 1', 6 | href: '#parent1', 7 | tags: ['4'], 8 | nodes: [ 9 | { 10 | text: '子节点 1', 11 | href: '#child1', 12 | tags: ['2'], 13 | nodes: [ 14 | { 15 | text: '孙子节点 1', 16 | href: '#grandchild1', 17 | tags: ['0'] 18 | }, 19 | { 20 | text: '孙子节点 2', 21 | href: '#grandchild2', 22 | tags: ['0'] 23 | } 24 | ] 25 | }, 26 | { 27 | text: '子节点 2', 28 | href: '#child2', 29 | tags: ['0'] 30 | } 31 | ] 32 | }, 33 | { 34 | text: '父节点 2', 35 | href: '#parent2', 36 | tags: ['0'] 37 | }, 38 | { 39 | text: '父节点 3', 40 | href: '#parent3', 41 | tags: ['0'] 42 | }, 43 | { 44 | text: '父节点 4', 45 | href: '#parent4', 46 | tags: ['0'] 47 | }, 48 | { 49 | text: '父节点 5', 50 | href: '#parent5', 51 | tags: ['0'] 52 | } 53 | ]; 54 | 55 | var alternateData = [ 56 | { 57 | text: '父节点 1', 58 | tags: ['2'], 59 | nodes: [ 60 | { 61 | text: '子节点 1', 62 | tags: ['3'], 63 | nodes: [ 64 | { 65 | text: '孙子节点 1', 66 | tags: ['6'] 67 | }, 68 | { 69 | text: '孙子节点 2', 70 | tags: ['3'] 71 | } 72 | ] 73 | }, 74 | { 75 | text: '子节点 2', 76 | tags: ['3'] 77 | } 78 | ] 79 | }, 80 | { 81 | text: '父节点 2', 82 | tags: ['7'] 83 | }, 84 | { 85 | text: '父节点 3', 86 | icon: 'glyphicon glyphicon-earphone', 87 | href: '#demo', 88 | tags: ['11'] 89 | }, 90 | { 91 | text: '父节点 4', 92 | icon: 'glyphicon glyphicon-cloud-download', 93 | href: '/demo.html', 94 | tags: ['19'], 95 | selected: true 96 | }, 97 | { 98 | text: '父节点 5', 99 | icon: 'glyphicon glyphicon-certificate', 100 | color: 'pink', 101 | backColor: 'red', 102 | href: 'http://www.tesco.com', 103 | tags: ['available', '0'] 104 | } 105 | ]; 106 | 107 | var json = '[' + 108 | '{' + 109 | '"text": "父节点 1",' + 110 | '"nodes": [' + 111 | '{' + 112 | '"text": "子节点 1",' + 113 | '"nodes": [' + 114 | '{' + 115 | '"text": "孙子节点 1"' + 116 | '},' + 117 | '{' + 118 | '"text": "孙子节点 2"' + 119 | '}' + 120 | ']' + 121 | '},' + 122 | '{' + 123 | '"text": "子节点 2"' + 124 | '}' + 125 | ']' + 126 | '},' + 127 | '{' + 128 | '"text": "父节点 2"' + 129 | '},' + 130 | '{' + 131 | '"text": "父节点 3"' + 132 | '},' + 133 | '{' + 134 | '"text": "父节点 4"' + 135 | '},' + 136 | '{' + 137 | '"text": "父节点 5"' + 138 | '}' + 139 | ']'; 140 | 141 | 142 | $('#treeview1').treeview({ 143 | data: defaultData 144 | }); 145 | 146 | $('#treeview2').treeview({ 147 | levels: 1, 148 | data: defaultData 149 | }); 150 | 151 | $('#treeview3').treeview({ 152 | levels: 99, 153 | data: defaultData 154 | }); 155 | 156 | $('#treeview4').treeview({ 157 | 158 | color: "#428bca", 159 | data: defaultData 160 | }); 161 | 162 | $('#treeview5').treeview({ 163 | color: "#428bca", 164 | expandIcon: 'glyphicon glyphicon-chevron-right', 165 | collapseIcon: 'glyphicon glyphicon-chevron-down', 166 | nodeIcon: 'glyphicon glyphicon-bookmark', 167 | data: defaultData 168 | }); 169 | 170 | $('#treeview6').treeview({ 171 | color: "#428bca", 172 | expandIcon: "glyphicon glyphicon-stop", 173 | collapseIcon: "glyphicon glyphicon-unchecked", 174 | nodeIcon: "glyphicon glyphicon-user", 175 | showTags: true, 176 | data: defaultData 177 | }); 178 | 179 | $('#treeview7').treeview({ 180 | color: "#428bca", 181 | showBorder: false, 182 | data: defaultData 183 | }); 184 | 185 | $('#treeview8').treeview({ 186 | expandIcon: "glyphicon glyphicon-stop", 187 | collapseIcon: "glyphicon glyphicon-unchecked", 188 | nodeIcon: "glyphicon glyphicon-user", 189 | color: "yellow", 190 | backColor: "purple", 191 | onhoverColor: "orange", 192 | borderColor: "red", 193 | showBorder: false, 194 | showTags: true, 195 | highlightSelected: true, 196 | selectedColor: "yellow", 197 | selectedBackColor: "darkorange", 198 | data: defaultData 199 | }); 200 | 201 | $('#treeview9').treeview({ 202 | expandIcon: "glyphicon glyphicon-stop", 203 | collapseIcon: "glyphicon glyphicon-unchecked", 204 | nodeIcon: "glyphicon glyphicon-user", 205 | color: "yellow", 206 | backColor: "purple", 207 | onhoverColor: "orange", 208 | borderColor: "red", 209 | showBorder: false, 210 | showTags: true, 211 | highlightSelected: true, 212 | selectedColor: "yellow", 213 | selectedBackColor: "darkorange", 214 | data: alternateData 215 | }); 216 | 217 | $('#treeview10').treeview({ 218 | color: "#428bca", 219 | enableLinks: true, 220 | data: defaultData 221 | }); 222 | 223 | $('#treeview11').treeview({ 224 | color: "#428bca", 225 | data: defaultData, 226 | onNodeSelected: function (event, node) { 227 | $('#event_output').prepend('

您单击了 ' + node.text + '

'); 228 | } 229 | }); 230 | 231 | // $('#treeview11').on('nodeSelected', function (event, node) { 232 | // $('#event_output').prepend('

您单击了 ' + node.text + '

'); 233 | // }); 234 | 235 | 236 | $('#treeview12').treeview({ 237 | data: json 238 | }); 239 | 240 | }); -------------------------------------------------------------------------------- /js/hplus.js: -------------------------------------------------------------------------------- 1 | // Custom scripts 2 | $(document).ready(function () { 3 | 4 | // MetsiMenu 5 | $('#side-menu').metisMenu(); 6 | 7 | // Collapse ibox function 8 | $('.collapse-link').click( function() { 9 | var ibox = $(this).closest('div.ibox'); 10 | var button = $(this).find('i'); 11 | var content = ibox.find('div.ibox-content'); 12 | content.slideToggle(200); 13 | button.toggleClass('fa-chevron-up').toggleClass('fa-chevron-down'); 14 | ibox.toggleClass('').toggleClass('border-bottom'); 15 | setTimeout(function () { 16 | ibox.resize(); 17 | ibox.find('[id^=map-]').resize(); 18 | }, 50); 19 | }); 20 | 21 | // Close ibox function 22 | $('.close-link').click( function() { 23 | var content = $(this).closest('div.ibox'); 24 | content.remove(); 25 | }); 26 | 27 | // Small todo handler 28 | $('.check-link').click( function(){ 29 | var button = $(this).find('i'); 30 | var label = $(this).next('span'); 31 | button.toggleClass('fa-check-square').toggleClass('fa-square-o'); 32 | label.toggleClass('todo-completed'); 33 | return false; 34 | }); 35 | 36 | // Append config box / Only for demo purpose 37 | $.get("skin-config.html", function (data) { 38 | $('body').append(data); 39 | }); 40 | 41 | // minimalize menu 42 | $('.navbar-minimalize').click(function () { 43 | $("body").toggleClass("mini-navbar"); 44 | SmoothlyMenu(); 45 | }) 46 | 47 | // tooltips 48 | $('.tooltip-demo').tooltip({ 49 | selector: "[data-toggle=tooltip]", 50 | container: "body" 51 | }) 52 | 53 | // Move modal to body 54 | // Fix Bootstrap backdrop issu with animation.css 55 | $('.modal').appendTo("body") 56 | 57 | // Full height of sidebar 58 | function fix_height() { 59 | var heightWithoutNavbar = $("body > #wrapper").height() - 61; 60 | $(".sidebard-panel").css("min-height", heightWithoutNavbar + "px"); 61 | } 62 | fix_height(); 63 | 64 | // Fixed Sidebar 65 | // unComment this only whe you have a fixed-sidebar 66 | // $(window).bind("load", function() { 67 | // if($("body").hasClass('fixed-sidebar')) { 68 | // $('.sidebar-collapse').slimScroll({ 69 | // height: '100%', 70 | // railOpacity: 0.9, 71 | // }); 72 | // } 73 | // }) 74 | 75 | $(window).bind("load resize click scroll", function() { 76 | if(!$("body").hasClass('body-small')) { 77 | fix_height(); 78 | } 79 | }) 80 | 81 | $("[data-toggle=popover]") 82 | .popover(); 83 | }); 84 | 85 | 86 | // For demo purpose - animation css script 87 | function animationHover(element, animation){ 88 | element = $(element); 89 | element.hover( 90 | function() { 91 | element.addClass('animated ' + animation); 92 | }, 93 | function(){ 94 | //wait for animation to finish before removing classes 95 | window.setTimeout( function(){ 96 | element.removeClass('animated ' + animation); 97 | }, 2000); 98 | }); 99 | } 100 | 101 | // Minimalize menu when screen is less than 768px 102 | $(function() { 103 | $(window).bind("load resize", function() { 104 | if ($(this).width() < 769) { 105 | $('body').addClass('body-small') 106 | } else { 107 | $('body').removeClass('body-small') 108 | } 109 | }) 110 | }) 111 | 112 | function SmoothlyMenu() { 113 | if (!$('body').hasClass('mini-navbar') || $('body').hasClass('body-small')) { 114 | // Hide menu in order to smoothly turn on when maximize menu 115 | $('#side-menu').hide(); 116 | // For smoothly turn on menu 117 | setTimeout( 118 | function () { 119 | $('#side-menu').fadeIn(500); 120 | }, 100); 121 | } else if ($('body').hasClass('fixed-sidebar')){ 122 | $('#side-menu').hide(); 123 | setTimeout( 124 | function () { 125 | $('#side-menu').fadeIn(500); 126 | }, 300); 127 | } else { 128 | // Remove all inline style from jquery fadeIn function to reset menu state 129 | $('#side-menu').removeAttr('style'); 130 | } 131 | } 132 | 133 | // Dragable panels 134 | function WinMove() { 135 | var element = "[class*=col]"; 136 | var handle = ".ibox-title"; 137 | var connect = "[class*=col]"; 138 | $(element).sortable( 139 | { 140 | handle: handle, 141 | connectWith: connect, 142 | tolerance: 'pointer', 143 | forcePlaceholderSize: true, 144 | opacity: 0.8, 145 | }) 146 | .disableSelection(); 147 | }; 148 | 149 | -------------------------------------------------------------------------------- /js/plugins/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/fancybox/blank.gif -------------------------------------------------------------------------------- /js/plugins/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /js/plugins/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /js/plugins/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /js/plugins/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /js/plugins/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /js/plugins/fancybox/jquery.fancybox.css: -------------------------------------------------------------------------------- 1 | /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ 2 | .fancybox-wrap, 3 | .fancybox-skin, 4 | .fancybox-outer, 5 | .fancybox-inner, 6 | .fancybox-image, 7 | .fancybox-wrap iframe, 8 | .fancybox-wrap object, 9 | .fancybox-nav, 10 | .fancybox-nav span, 11 | .fancybox-tmp 12 | { 13 | padding: 0; 14 | margin: 0; 15 | border: 0; 16 | outline: none; 17 | vertical-align: top; 18 | } 19 | 20 | .fancybox-wrap { 21 | position: absolute; 22 | top: 0; 23 | left: 0; 24 | z-index: 8020; 25 | } 26 | 27 | .fancybox-skin { 28 | position: relative; 29 | background: #f9f9f9; 30 | color: #444; 31 | text-shadow: none; 32 | -webkit-border-radius: 4px; 33 | -moz-border-radius: 4px; 34 | border-radius: 4px; 35 | } 36 | 37 | .fancybox-opened { 38 | z-index: 8030; 39 | } 40 | 41 | .fancybox-opened .fancybox-skin { 42 | -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 43 | -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 44 | box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 45 | } 46 | 47 | .fancybox-outer, .fancybox-inner { 48 | position: relative; 49 | } 50 | 51 | .fancybox-inner { 52 | overflow: hidden; 53 | } 54 | 55 | .fancybox-type-iframe .fancybox-inner { 56 | -webkit-overflow-scrolling: touch; 57 | } 58 | 59 | .fancybox-error { 60 | color: #444; 61 | font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; 62 | margin: 0; 63 | padding: 15px; 64 | white-space: nowrap; 65 | } 66 | 67 | .fancybox-image, .fancybox-iframe { 68 | display: block; 69 | width: 100%; 70 | height: 100%; 71 | } 72 | 73 | .fancybox-image { 74 | max-width: 100%; 75 | max-height: 100%; 76 | } 77 | 78 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { 79 | background-image: url('fancybox_sprite.png'); 80 | } 81 | 82 | #fancybox-loading { 83 | position: fixed; 84 | top: 50%; 85 | left: 50%; 86 | margin-top: -22px; 87 | margin-left: -22px; 88 | background-position: 0 -108px; 89 | opacity: 0.8; 90 | cursor: pointer; 91 | z-index: 8060; 92 | } 93 | 94 | #fancybox-loading div { 95 | width: 44px; 96 | height: 44px; 97 | background: url('fancybox_loading.gif') center center no-repeat; 98 | } 99 | 100 | .fancybox-close { 101 | position: absolute; 102 | top: -18px; 103 | right: -18px; 104 | width: 36px; 105 | height: 36px; 106 | cursor: pointer; 107 | z-index: 8040; 108 | } 109 | 110 | .fancybox-nav { 111 | position: absolute; 112 | top: 0; 113 | width: 40%; 114 | height: 100%; 115 | cursor: pointer; 116 | text-decoration: none; 117 | background: transparent url('blank.gif'); /* helps IE */ 118 | -webkit-tap-highlight-color: rgba(0,0,0,0); 119 | z-index: 8040; 120 | } 121 | 122 | .fancybox-prev { 123 | left: 0; 124 | } 125 | 126 | .fancybox-next { 127 | right: 0; 128 | } 129 | 130 | .fancybox-nav span { 131 | position: absolute; 132 | top: 50%; 133 | width: 36px; 134 | height: 34px; 135 | margin-top: -18px; 136 | cursor: pointer; 137 | z-index: 8040; 138 | visibility: hidden; 139 | } 140 | 141 | .fancybox-prev span { 142 | left: 10px; 143 | background-position: 0 -36px; 144 | } 145 | 146 | .fancybox-next span { 147 | right: 10px; 148 | background-position: 0 -72px; 149 | } 150 | 151 | .fancybox-nav:hover span { 152 | visibility: visible; 153 | } 154 | 155 | .fancybox-tmp { 156 | position: absolute; 157 | top: -99999px; 158 | left: -99999px; 159 | visibility: hidden; 160 | max-width: 99999px; 161 | max-height: 99999px; 162 | overflow: visible !important; 163 | } 164 | 165 | /* Overlay helper */ 166 | 167 | .fancybox-lock { 168 | overflow: hidden !important; 169 | width: auto; 170 | } 171 | 172 | .fancybox-lock body { 173 | overflow: hidden !important; 174 | } 175 | 176 | .fancybox-lock-test { 177 | overflow-y: hidden !important; 178 | } 179 | 180 | .fancybox-overlay { 181 | position: absolute; 182 | top: 0; 183 | left: 0; 184 | overflow: hidden; 185 | display: none; 186 | z-index: 8010; 187 | background: url('fancybox_overlay.png'); 188 | } 189 | 190 | .fancybox-overlay-fixed { 191 | position: fixed; 192 | bottom: 0; 193 | right: 0; 194 | } 195 | 196 | .fancybox-lock .fancybox-overlay { 197 | overflow: auto; 198 | overflow-y: scroll; 199 | } 200 | 201 | /* Title helper */ 202 | 203 | .fancybox-title { 204 | visibility: hidden; 205 | font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; 206 | position: relative; 207 | text-shadow: none; 208 | z-index: 8050; 209 | } 210 | 211 | .fancybox-opened .fancybox-title { 212 | visibility: visible; 213 | } 214 | 215 | .fancybox-title-float-wrap { 216 | position: absolute; 217 | bottom: 0; 218 | right: 50%; 219 | margin-bottom: -35px; 220 | z-index: 8050; 221 | text-align: center; 222 | } 223 | 224 | .fancybox-title-float-wrap .child { 225 | display: inline-block; 226 | margin-right: -100%; 227 | padding: 2px 20px; 228 | background: transparent; /* Fallback for web browsers that doesn't support RGBa */ 229 | background: rgba(0, 0, 0, 0.8); 230 | -webkit-border-radius: 15px; 231 | -moz-border-radius: 15px; 232 | border-radius: 15px; 233 | text-shadow: 0 1px 2px #222; 234 | color: #FFF; 235 | font-weight: bold; 236 | line-height: 24px; 237 | white-space: nowrap; 238 | } 239 | 240 | .fancybox-title-outside-wrap { 241 | position: relative; 242 | margin-top: 10px; 243 | color: #fff; 244 | } 245 | 246 | .fancybox-title-inside-wrap { 247 | padding-top: 10px; 248 | } 249 | 250 | .fancybox-title-over-wrap { 251 | position: absolute; 252 | bottom: 0; 253 | left: 0; 254 | color: #fff; 255 | padding: 10px; 256 | background: #000; 257 | background: rgba(0, 0, 0, .8); 258 | } 259 | 260 | /*Retina graphics!*/ 261 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5), 262 | only screen and (min--moz-device-pixel-ratio: 1.5), 263 | only screen and (min-device-pixel-ratio: 1.5){ 264 | 265 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { 266 | background-image: url('fancybox_sprite@2x.png'); 267 | background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ 268 | } 269 | 270 | #fancybox-loading div { 271 | background-image: url('fancybox_loading@2x.gif'); 272 | background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ 273 | } 274 | } -------------------------------------------------------------------------------- /js/plugins/flot/jquery.flot.resize.js: -------------------------------------------------------------------------------- 1 | /* Flot plugin for automatically redrawing plots as the placeholder resizes. 2 | 3 | Copyright (c) 2007-2013 IOLA and Ole Laursen. 4 | Licensed under the MIT license. 5 | 6 | It works by listening for changes on the placeholder div (through the jQuery 7 | resize event plugin) - if the size changes, it will redraw the plot. 8 | 9 | There are no options. If you need to disable the plugin for some plots, you 10 | can just fix the size of their placeholders. 11 | 12 | */ 13 | 14 | /* Inline dependency: 15 | * jQuery resize event - v1.1 - 3/14/2010 16 | * http://benalman.com/projects/jquery-resize-plugin/ 17 | * 18 | * Copyright (c) 2010 "Cowboy" Ben Alman 19 | * Dual licensed under the MIT and GPL licenses. 20 | * http://benalman.com/about/license/ 21 | */ 22 | 23 | (function($,h,c){var a=$([]),e=$.resize=$.extend($.resize,{}),i,k="setTimeout",j="resize",d=j+"-special-event",b="delay",f="throttleWindow";e[b]=250;e[f]=true;$.event.special[j]={setup:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.add(l);$.data(this,d,{w:l.width(),h:l.height()});if(a.length===1){g()}},teardown:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.not(l);l.removeData(d);if(!a.length){clearTimeout(i)}},add:function(l){if(!e[f]&&this[k]){return false}var n;function m(s,o,p){var q=$(this),r=$.data(this,d);r.w=o!==c?o:q.width();r.h=p!==c?p:q.height();n.apply(this,arguments)}if($.isFunction(l)){n=l;return m}else{n=l.handler;l.handler=m}}};function g(){i=h[k](function(){a.each(function(){var n=$(this),m=n.width(),l=n.height(),o=$.data(this,d);if(m!==o.w||l!==o.h){n.trigger(j,[o.w=m,o.h=l])}});g()},e[b])}})(jQuery,this); 24 | 25 | (function ($) { 26 | var options = { }; // no options 27 | 28 | function init(plot) { 29 | function onResize() { 30 | var placeholder = plot.getPlaceholder(); 31 | 32 | // somebody might have hidden us and we can't plot 33 | // when we don't have the dimensions 34 | if (placeholder.width() == 0 || placeholder.height() == 0) 35 | return; 36 | 37 | plot.resize(); 38 | plot.setupGrid(); 39 | plot.draw(); 40 | } 41 | 42 | function bindEvents(plot, eventHolder) { 43 | plot.getPlaceholder().resize(onResize); 44 | } 45 | 46 | function shutdown(plot, eventHolder) { 47 | plot.getPlaceholder().unbind("resize", onResize); 48 | } 49 | 50 | plot.hooks.bindEvents.push(bindEvents); 51 | plot.hooks.shutdown.push(shutdown); 52 | } 53 | 54 | $.plot.plugins.push({ 55 | init: init, 56 | options: options, 57 | name: 'resize', 58 | version: '1.0' 59 | }); 60 | })(jQuery); -------------------------------------------------------------------------------- /js/plugins/flot/jquery.flot.spline.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Flot plugin that provides spline interpolation for line graphs 3 | * author: Alex Bardas < alex.bardas@gmail.com > 4 | * modified by: Avi Kohn https://github.com/AMKohn 5 | * based on the spline interpolation described at: 6 | * http://scaledinnovation.com/analytics/splines/aboutSplines.html 7 | * 8 | * Example usage: (add in plot options series object) 9 | * for linespline: 10 | * series: { 11 | * ... 12 | * lines: { 13 | * show: false 14 | * }, 15 | * splines: { 16 | * show: true, 17 | * tension: x, (float between 0 and 1, defaults to 0.5), 18 | * lineWidth: y (number, defaults to 2), 19 | * fill: z (float between 0 .. 1 or false, as in flot documentation) 20 | * }, 21 | * ... 22 | * } 23 | * areaspline: 24 | * series: { 25 | * ... 26 | * lines: { 27 | * show: true, 28 | * lineWidth: 0, (line drawing will not execute) 29 | * fill: x, (float between 0 .. 1, as in flot documentation) 30 | * ... 31 | * }, 32 | * splines: { 33 | * show: true, 34 | * tension: 0.5 (float between 0 and 1) 35 | * }, 36 | * ... 37 | * } 38 | * 39 | */ 40 | 41 | (function($) { 42 | 'use strict' 43 | 44 | /** 45 | * @param {Number} x0, y0, x1, y1: coordinates of the end (knot) points of the segment 46 | * @param {Number} x2, y2: the next knot (not connected, but needed to calculate p2) 47 | * @param {Number} tension: control how far the control points spread 48 | * @return {Array}: p1 -> control point, from x1 back toward x0 49 | * p2 -> the next control point, returned to become the next segment's p1 50 | * 51 | * @api private 52 | */ 53 | function getControlPoints(x0, y0, x1, y1, x2, y2, tension) { 54 | 55 | var pow = Math.pow, 56 | sqrt = Math.sqrt, 57 | d01, d12, fa, fb, p1x, p1y, p2x, p2y; 58 | 59 | // Scaling factors: distances from this knot to the previous and following knots. 60 | d01 = sqrt(pow(x1 - x0, 2) + pow(y1 - y0, 2)); 61 | d12 = sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2)); 62 | 63 | fa = tension * d01 / (d01 + d12); 64 | fb = tension - fa; 65 | 66 | p1x = x1 + fa * (x0 - x2); 67 | p1y = y1 + fa * (y0 - y2); 68 | 69 | p2x = x1 - fb * (x0 - x2); 70 | p2y = y1 - fb * (y0 - y2); 71 | 72 | return [p1x, p1y, p2x, p2y]; 73 | } 74 | 75 | var line = []; 76 | 77 | function drawLine(points, ctx, height, fill, seriesColor) { 78 | var c = $.color.parse(seriesColor); 79 | 80 | c.a = typeof fill == "number" ? fill : .3; 81 | c.normalize(); 82 | c = c.toString(); 83 | 84 | ctx.beginPath(); 85 | ctx.moveTo(points[0][0], points[0][1]); 86 | 87 | var plength = points.length; 88 | 89 | for (var i = 0; i < plength; i++) { 90 | ctx[points[i][3]].apply(ctx, points[i][2]); 91 | } 92 | 93 | ctx.stroke(); 94 | 95 | ctx.lineWidth = 0; 96 | ctx.lineTo(points[plength - 1][0], height); 97 | ctx.lineTo(points[0][0], height); 98 | 99 | ctx.closePath(); 100 | 101 | if (fill !== false) { 102 | ctx.fillStyle = c; 103 | ctx.fill(); 104 | } 105 | } 106 | 107 | /** 108 | * @param {Object} ctx: canvas context 109 | * @param {String} type: accepted strings: 'bezier' or 'quadratic' (defaults to quadratic) 110 | * @param {Array} points: 2 points for which to draw the interpolation 111 | * @param {Array} cpoints: control points for those segment points 112 | * 113 | * @api private 114 | */ 115 | function queue(ctx, type, points, cpoints) { 116 | if (type === void 0 || (type !== 'bezier' && type !== 'quadratic')) { 117 | type = 'quadratic'; 118 | } 119 | type = type + 'CurveTo'; 120 | 121 | if (line.length == 0) line.push([points[0], points[1], cpoints.concat(points.slice(2)), type]); 122 | else if (type == "quadraticCurveTo" && points.length == 2) { 123 | cpoints = cpoints.slice(0, 2).concat(points); 124 | 125 | line.push([points[0], points[1], cpoints, type]); 126 | } 127 | else line.push([points[2], points[3], cpoints.concat(points.slice(2)), type]); 128 | } 129 | 130 | /** 131 | * @param {Object} plot 132 | * @param {Object} ctx: canvas context 133 | * @param {Object} series 134 | * 135 | * @api private 136 | */ 137 | 138 | function drawSpline(plot, ctx, series) { 139 | // Not interested if spline is not requested 140 | if (series.splines.show !== true) { 141 | return; 142 | } 143 | 144 | var cp = [], 145 | // array of control points 146 | tension = series.splines.tension || 0.5, 147 | idx, x, y, points = series.datapoints.points, 148 | ps = series.datapoints.pointsize, 149 | plotOffset = plot.getPlotOffset(), 150 | len = points.length, 151 | pts = []; 152 | 153 | line = []; 154 | 155 | // Cannot display a linespline/areaspline if there are less than 3 points 156 | if (len / ps < 4) { 157 | $.extend(series.lines, series.splines); 158 | return; 159 | } 160 | 161 | for (idx = 0; idx < len; idx += ps) { 162 | x = points[idx]; 163 | y = points[idx + 1]; 164 | if (x == null || x < series.xaxis.min || x > series.xaxis.max || y < series.yaxis.min || y > series.yaxis.max) { 165 | continue; 166 | } 167 | 168 | pts.push(series.xaxis.p2c(x) + plotOffset.left, series.yaxis.p2c(y) + plotOffset.top); 169 | } 170 | 171 | len = pts.length; 172 | 173 | // Draw an open curve, not connected at the ends 174 | for (idx = 0; idx < len - 2; idx += 2) { 175 | cp = cp.concat(getControlPoints.apply(this, pts.slice(idx, idx + 6).concat([tension]))); 176 | } 177 | 178 | ctx.save(); 179 | ctx.strokeStyle = series.color; 180 | ctx.lineWidth = series.splines.lineWidth; 181 | 182 | queue(ctx, 'quadratic', pts.slice(0, 4), cp.slice(0, 2)); 183 | 184 | for (idx = 2; idx < len - 3; idx += 2) { 185 | queue(ctx, 'bezier', pts.slice(idx, idx + 4), cp.slice(2 * idx - 2, 2 * idx + 2)); 186 | } 187 | 188 | queue(ctx, 'quadratic', pts.slice(len - 2, len), [cp[2 * len - 10], cp[2 * len - 9], pts[len - 4], pts[len - 3]]); 189 | 190 | drawLine(line, ctx, plot.height() + 10, series.splines.fill, series.color); 191 | 192 | ctx.restore(); 193 | } 194 | 195 | $.plot.plugins.push({ 196 | init: function(plot) { 197 | plot.hooks.drawSeries.push(drawSpline); 198 | }, 199 | options: { 200 | series: { 201 | splines: { 202 | show: false, 203 | lineWidth: 2, 204 | tension: 0.5, 205 | fill: false 206 | } 207 | } 208 | }, 209 | name: 'spline', 210 | version: '0.8.2' 211 | }); 212 | })(jQuery); 213 | -------------------------------------------------------------------------------- /js/plugins/flot/jquery.flot.symbol.js: -------------------------------------------------------------------------------- 1 | /* Flot plugin that adds some extra symbols for plotting points. 2 | 3 | Copyright (c) 2007-2014 IOLA and Ole Laursen. 4 | Licensed under the MIT license. 5 | 6 | The symbols are accessed as strings through the standard symbol options: 7 | 8 | series: { 9 | points: { 10 | symbol: "square" // or "diamond", "triangle", "cross" 11 | } 12 | } 13 | 14 | */ 15 | 16 | (function ($) { 17 | function processRawData(plot, series, datapoints) { 18 | // we normalize the area of each symbol so it is approximately the 19 | // same as a circle of the given radius 20 | 21 | var handlers = { 22 | square: function (ctx, x, y, radius, shadow) { 23 | // pi * r^2 = (2s)^2 => s = r * sqrt(pi)/2 24 | var size = radius * Math.sqrt(Math.PI) / 2; 25 | ctx.rect(x - size, y - size, size + size, size + size); 26 | }, 27 | diamond: function (ctx, x, y, radius, shadow) { 28 | // pi * r^2 = 2s^2 => s = r * sqrt(pi/2) 29 | var size = radius * Math.sqrt(Math.PI / 2); 30 | ctx.moveTo(x - size, y); 31 | ctx.lineTo(x, y - size); 32 | ctx.lineTo(x + size, y); 33 | ctx.lineTo(x, y + size); 34 | ctx.lineTo(x - size, y); 35 | }, 36 | triangle: function (ctx, x, y, radius, shadow) { 37 | // pi * r^2 = 1/2 * s^2 * sin (pi / 3) => s = r * sqrt(2 * pi / sin(pi / 3)) 38 | var size = radius * Math.sqrt(2 * Math.PI / Math.sin(Math.PI / 3)); 39 | var height = size * Math.sin(Math.PI / 3); 40 | ctx.moveTo(x - size/2, y + height/2); 41 | ctx.lineTo(x + size/2, y + height/2); 42 | if (!shadow) { 43 | ctx.lineTo(x, y - height/2); 44 | ctx.lineTo(x - size/2, y + height/2); 45 | } 46 | }, 47 | cross: function (ctx, x, y, radius, shadow) { 48 | // pi * r^2 = (2s)^2 => s = r * sqrt(pi)/2 49 | var size = radius * Math.sqrt(Math.PI) / 2; 50 | ctx.moveTo(x - size, y - size); 51 | ctx.lineTo(x + size, y + size); 52 | ctx.moveTo(x - size, y + size); 53 | ctx.lineTo(x + size, y - size); 54 | } 55 | }; 56 | 57 | var s = series.points.symbol; 58 | if (handlers[s]) 59 | series.points.symbol = handlers[s]; 60 | } 61 | 62 | function init(plot) { 63 | plot.hooks.processDatapoints.push(processRawData); 64 | } 65 | 66 | $.plot.plugins.push({ 67 | init: init, 68 | name: 'symbols', 69 | version: '1.0' 70 | }); 71 | })(jQuery); 72 | -------------------------------------------------------------------------------- /js/plugins/flot/jquery.flot.tooltip.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jquery.flot.tooltip 3 | * 4 | * description: easy-to-use tooltips for Flot charts 5 | * version: 0.6.2 6 | * author: Krzysztof Urbas @krzysu [myviews.pl] 7 | * website: https://github.com/krzysu/flot.tooltip 8 | * 9 | * build on 2013-09-30 10 | * released under MIT License, 2012 11 | */ 12 | (function(t){var o={tooltip:!1,tooltipOpts:{content:"%s | X: %x | Y: %y",xDateFormat:null,yDateFormat:null,shifts:{x:10,y:20},defaultTheme:!0,onHover:function(){}}},i=function(t){this.tipPosition={x:0,y:0},this.init(t)};i.prototype.init=function(o){function i(t){var o={};o.x=t.pageX,o.y=t.pageY,s.updateTooltipPosition(o)}function e(t,o,i){var e=s.getDomElement();if(i){var n;n=s.stringFormat(s.tooltipOptions.content,i),e.html(n),s.updateTooltipPosition({x:o.pageX,y:o.pageY}),e.css({left:s.tipPosition.x+s.tooltipOptions.shifts.x,top:s.tipPosition.y+s.tooltipOptions.shifts.y}).show(),"function"==typeof s.tooltipOptions.onHover&&s.tooltipOptions.onHover(i,e)}else e.hide().html("")}var s=this;o.hooks.bindEvents.push(function(o,n){s.plotOptions=o.getOptions(),s.plotOptions.tooltip!==!1&&void 0!==s.plotOptions.tooltip&&(s.tooltipOptions=s.plotOptions.tooltipOpts,s.getDomElement(),t(o.getPlaceholder()).bind("plothover",e),t(n).bind("mousemove",i))}),o.hooks.shutdown.push(function(o,s){t(o.getPlaceholder()).unbind("plothover",e),t(s).unbind("mousemove",i)})},i.prototype.getDomElement=function(){var o;return t("#flotTip").length>0?o=t("#flotTip"):(o=t("
").attr("id","flotTip"),o.appendTo("body").hide().css({position:"absolute"}),this.tooltipOptions.defaultTheme&&o.css({background:"#fff","z-index":"100",padding:"0.4em 0.6em","border-radius":"0.5em","font-size":"0.8em",border:"1px solid #111",display:"none","white-space":"nowrap"})),o},i.prototype.updateTooltipPosition=function(o){var i=t("#flotTip").outerWidth()+this.tooltipOptions.shifts.x,e=t("#flotTip").outerHeight()+this.tooltipOptions.shifts.y;o.x-t(window).scrollLeft()>t(window).innerWidth()-i&&(o.x-=i),o.y-t(window).scrollTop()>t(window).innerHeight()-e&&(o.y-=e),this.tipPosition.x=o.x,this.tipPosition.y=o.y},i.prototype.stringFormat=function(t,o){var i=/%p\.{0,1}(\d{0,})/,e=/%s/,s=/%x\.{0,1}(?:\d{0,})/,n=/%y\.{0,1}(?:\d{0,})/;return"function"==typeof t&&(t=t(o.series.label,o.series.data[o.dataIndex][0],o.series.data[o.dataIndex][1],o)),o.series.percent!==void 0&&(t=this.adjustValPrecision(i,t,o.series.percent)),o.series.label!==void 0&&(t=t.replace(e,o.series.label)),this.isTimeMode("xaxis",o)&&this.isXDateFormat(o)&&(t=t.replace(s,this.timestampToDate(o.series.data[o.dataIndex][0],this.tooltipOptions.xDateFormat))),this.isTimeMode("yaxis",o)&&this.isYDateFormat(o)&&(t=t.replace(n,this.timestampToDate(o.series.data[o.dataIndex][1],this.tooltipOptions.yDateFormat))),"number"==typeof o.series.data[o.dataIndex][0]&&(t=this.adjustValPrecision(s,t,o.series.data[o.dataIndex][0])),"number"==typeof o.series.data[o.dataIndex][1]&&(t=this.adjustValPrecision(n,t,o.series.data[o.dataIndex][1])),o.series.xaxis.tickFormatter!==void 0&&(t=t.replace(s,o.series.xaxis.tickFormatter(o.series.data[o.dataIndex][0],o.series.xaxis))),o.series.yaxis.tickFormatter!==void 0&&(t=t.replace(n,o.series.yaxis.tickFormatter(o.series.data[o.dataIndex][1],o.series.yaxis))),t},i.prototype.isTimeMode=function(t,o){return o.series[t].options.mode!==void 0&&"time"===o.series[t].options.mode},i.prototype.isXDateFormat=function(){return this.tooltipOptions.xDateFormat!==void 0&&null!==this.tooltipOptions.xDateFormat},i.prototype.isYDateFormat=function(){return this.tooltipOptions.yDateFormat!==void 0&&null!==this.tooltipOptions.yDateFormat},i.prototype.timestampToDate=function(o,i){var e=new Date(o);return t.plot.formatDate(e,i)},i.prototype.adjustValPrecision=function(t,o,i){var e,s=o.match(t);return null!==s&&""!==RegExp.$1&&(e=RegExp.$1,i=i.toFixed(e),o=o.replace(t,i)),o};var e=function(t){new i(t)};t.plot.plugins.push({init:e,options:o,name:"tooltip",version:"0.6.1"})})(jQuery); -------------------------------------------------------------------------------- /js/plugins/gritter/images/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/gritter/images/gritter-light.png -------------------------------------------------------------------------------- /js/plugins/gritter/images/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/gritter/images/gritter.png -------------------------------------------------------------------------------- /js/plugins/gritter/images/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/js/plugins/gritter/images/ie-spacer.gif -------------------------------------------------------------------------------- /js/plugins/gritter/jquery.gritter.css: -------------------------------------------------------------------------------- 1 | /* the norm */ 2 | #gritter-notice-wrapper { 3 | position:fixed; 4 | top:40px; 5 | right:20px; 6 | width:301px; 7 | z-index:9999; 8 | 9 | -webkit-animation-duration: 1s; 10 | animation-duration: 1s; 11 | -webkit-animation-fill-mode: both; 12 | animation-fill-mode: both; 13 | 14 | -webkit-animation-name: bounceIn; 15 | animation-name: bounceIn; 16 | } 17 | @keyframes bounceIn { 18 | 0% { 19 | opacity: 0; 20 | -webkit-transform: scale(.3); 21 | -ms-transform: scale(.3); 22 | transform: scale(.3); 23 | } 24 | 25 | 50% { 26 | opacity: 1; 27 | -webkit-transform: scale(1.05); 28 | -ms-transform: scale(1.05); 29 | transform: scale(1.05); 30 | } 31 | 32 | 70% { 33 | -webkit-transform: scale(.9); 34 | -ms-transform: scale(.9); 35 | transform: scale(.9); 36 | } 37 | 38 | 100% { 39 | opacity: 1; 40 | -webkit-transform: scale(1); 41 | -ms-transform: scale(1); 42 | transform: scale(1); 43 | } 44 | } 45 | #gritter-notice-wrapper.top-left { 46 | left: 20px; 47 | right: auto; 48 | } 49 | #gritter-notice-wrapper.bottom-right { 50 | top: auto; 51 | left: auto; 52 | bottom: 20px; 53 | right: 20px; 54 | } 55 | #gritter-notice-wrapper.bottom-left { 56 | top: auto; 57 | right: auto; 58 | bottom: 20px; 59 | left: 20px; 60 | } 61 | .gritter-item-wrapper { 62 | position:relative; 63 | margin:0 0 10px 0; 64 | background:url('images/ie-spacer.gif'); /* ie7/8 fix */ 65 | } 66 | 67 | .hover .gritter-top { 68 | /*background-position:right -30px;*/ 69 | } 70 | .gritter-bottom { 71 | height:8px; 72 | margin:0; 73 | } 74 | 75 | .gritter-item { 76 | display:block; 77 | background-color: rgba(39,58,75,0.8); 78 | border-radius: 4px; 79 | color:#eee; 80 | padding:10px 11px 10px 11px; 81 | font-size: 11px; 82 | font-family:verdana; 83 | } 84 | .hover .gritter-item { 85 | background-position:right -40px; 86 | } 87 | .gritter-item p { 88 | padding:0; 89 | margin:0; 90 | word-wrap:break-word; 91 | } 92 | 93 | .gritter-item a:hover { 94 | color: #f8ac59; 95 | text-decoration: underline; 96 | } 97 | .gritter-close { 98 | display:none; 99 | position:absolute; 100 | top:5px; 101 | right:3px; 102 | background:url(images/gritter.png) no-repeat left top; 103 | cursor:pointer; 104 | width:30px; 105 | height:30px; 106 | text-indent:-9999em; 107 | } 108 | .gritter-title { 109 | font-size:12px; 110 | font-weight:bold; 111 | padding:0 0 7px 0; 112 | display:block; 113 | text-transform: uppercase; 114 | } 115 | .gritter-image { 116 | width:48px; 117 | height:48px; 118 | float:left; 119 | } 120 | .gritter-with-image, 121 | .gritter-without-image { 122 | padding:0; 123 | } 124 | .gritter-with-image { 125 | width:220px; 126 | float:right; 127 | } 128 | /* for the light (white) version of the gritter notice */ 129 | .gritter-light .gritter-item, 130 | .gritter-light .gritter-bottom, 131 | .gritter-light .gritter-top, 132 | .gritter-light .gritter-close { 133 | background-image: url(images/gritter-light.png); 134 | color: #222; 135 | } 136 | .gritter-light .gritter-title { 137 | text-shadow: none; 138 | } 139 | -------------------------------------------------------------------------------- /js/plugins/gritter/jquery.gritter.min.js: -------------------------------------------------------------------------------- 1 | (function(b){b.gritter={};b.gritter.options={position:"",class_name:"",fade_in_speed:"medium",fade_out_speed:1000,time:6000};b.gritter.add=function(f){try{return a.add(f||{})}catch(d){var c="Gritter Error: "+d;(typeof(console)!="undefined"&&console.error)?console.error(c,f):alert(c)}};b.gritter.remove=function(d,c){a.removeSpecific(d,c||{})};b.gritter.removeAll=function(c){a.stop(c||{})};var a={position:"",fade_in_speed:"",fade_out_speed:"",time:"",_custom_timer:0,_item_count:0,_is_setup:0,_tpl_close:'Close Notification',_tpl_title:'[[title]]',_tpl_item:'',_tpl_wrap:'
',add:function(g){if(typeof(g)=="string"){g={text:g}}if(g.text===null){throw'You must supply "text" parameter.'}if(!this._is_setup){this._runSetup()}var k=g.title,n=g.text,e=g.image||"",l=g.sticky||false,m=g.class_name||b.gritter.options.class_name,j=b.gritter.options.position,d=g.time||"";this._verifyWrapper();this._item_count++;var f=this._item_count,i=this._tpl_item;b(["before_open","after_open","before_close","after_close"]).each(function(p,q){a["_"+q+"_"+f]=(b.isFunction(g[q]))?g[q]:function(){}});this._custom_timer=0;if(d){this._custom_timer=d}var c=(e!="")?'image':"",h=(e!="")?"gritter-with-image":"gritter-without-image";if(k){k=this._str_replace("[[title]]",k,this._tpl_title)}else{k=""}i=this._str_replace(["[[title]]","[[text]]","[[close]]","[[image]]","[[number]]","[[class_name]]","[[item_class]]"],[k,n,this._tpl_close,c,this._item_count,h,m],i);if(this["_before_open_"+f]()===false){return false}b("#gritter-notice-wrapper").addClass(j).append(i);var o=b("#gritter-item-"+this._item_count);o.fadeIn(this.fade_in_speed,function(){a["_after_open_"+f](b(this))});if(!l){this._setFadeTimer(o,f)}b(o).bind("mouseenter mouseleave",function(p){if(p.type=="mouseenter"){if(!l){a._restoreItemIfFading(b(this),f)}}else{if(!l){a._setFadeTimer(b(this),f)}}a._hoverState(b(this),p.type)});b(o).find(".gritter-close").click(function(){a.removeSpecific(f,{},null,true);return false;});return f},_countRemoveWrapper:function(c,d,f){d.remove();this["_after_close_"+c](d,f);if(b(".gritter-item-wrapper").length==0){b("#gritter-notice-wrapper").remove()}},_fade:function(g,d,j,f){var j=j||{},i=(typeof(j.fade)!="undefined")?j.fade:true,c=j.speed||this.fade_out_speed,h=f;this["_before_close_"+d](g,h);if(f){g.unbind("mouseenter mouseleave")}if(i){g.animate({opacity:0},c,function(){g.animate({height:0},300,function(){a._countRemoveWrapper(d,g,h)})})}else{this._countRemoveWrapper(d,g)}},_hoverState:function(d,c){if(c=="mouseenter"){d.addClass("hover");d.find(".gritter-close").show()}else{d.removeClass("hover");d.find(".gritter-close").hide()}},removeSpecific:function(c,g,f,d){if(!f){var f=b("#gritter-item-"+c)}this._fade(f,c,g||{},d)},_restoreItemIfFading:function(d,c){clearTimeout(this["_int_id_"+c]);d.stop().css({opacity:"",height:""})},_runSetup:function(){for(opt in b.gritter.options){this[opt]=b.gritter.options[opt]}this._is_setup=1},_setFadeTimer:function(f,d){var c=(this._custom_timer)?this._custom_timer:this.time;this["_int_id_"+d]=setTimeout(function(){a._fade(f,d)},c)},stop:function(e){var c=(b.isFunction(e.before_close))?e.before_close:function(){};var f=(b.isFunction(e.after_close))?e.after_close:function(){};var d=b("#gritter-notice-wrapper");c(d);d.fadeOut(function(){b(this).remove();f()})},_str_replace:function(v,e,o,n){var k=0,h=0,t="",m="",g=0,q=0,l=[].concat(v),c=[].concat(e),u=o,d=c instanceof Array,p=u instanceof Array;u=[].concat(u);if(n){this.window[n]=0}for(k=0,g=u.length;kp&&(p=-50);g(this);return c.each(function(){var a=f(this);E(a);var c=this, 8 | b=c.id,g=-p+"%",d=100+2*p+"%",d={position:"absolute",top:g,left:g,display:"block",width:d,height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},g=_mobile?{position:"absolute",visibility:"hidden"}:p?d:{position:"absolute",opacity:0},l="checkbox"==c[_type]?e.checkboxClass||"icheckbox":e.radioClass||"i"+r,z=f(_label+'[for="'+b+'"]').add(a.closest(_label)),u=!!e.aria,y=m+"-"+Math.random().toString(36).substr(2,6),h='
")[_callback]("ifCreated").parent().append(e.insert);d=f('').css(d).appendTo(h);a.data(m,{o:e,s:a.attr("style")}).css(g);e.inheritClass&&h[_add](c.className||"");e.inheritID&&b&&h.attr("id",m+"-"+b);"static"==h.css("position")&&h.css("position","relative");A(a,!0,_update);if(z.length)z.on(_click+".i mouseover.i mouseout.i "+_touch,function(b){var d=b[_type],e=f(this);if(!c[n]){if(d==_click){if(f(b.target).is("a"))return; 10 | A(a,!1,!0)}else B&&(/ut|nd/.test(d)?(h[_remove](v),e[_remove](w)):(h[_add](v),e[_add](w)));if(_mobile)b.stopPropagation();else return!1}});a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",function(b){var d=b[_type];b=b.keyCode;if(d==_click)return!1;if("keydown"==d&&32==b)return c[_type]==r&&c[k]||(c[k]?q(a,k):x(a,k)),!1;if("keyup"==d&&c[_type]==r)!c[k]&&x(a,k);else if(/us|ur/.test(d))h["blur"==d?_remove:_add](s)});d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,function(b){var d= 11 | b[_type],e=/wn|up/.test(d)?t:v;if(!c[n]){if(d==_click)A(a,!1,!0);else{if(/wn|er|in/.test(d))h[_add](e);else h[_remove](e+" "+t);if(z.length&&B&&e==v)z[/ut|nd/.test(d)?_remove:_add](w)}if(_mobile)b.stopPropagation();else return!1}})})}})(window.jQuery||window.Zepto); 12 | -------------------------------------------------------------------------------- /js/plugins/layer/extend/layer.ext.js: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | @Name: layer拓展类,依赖于layer 4 | @Date: 2014.08.13 5 | @Author: 贤心 6 | @Versions:1.8.5-ext 7 | @Api:http://sentsin.com/jquery/layer 8 | @Desc: 本拓展会持续更新 9 | 10 | */ 11 | 12 | layer.use("skin/layer.ext.css",function(){layer.ext&&layer.ext()}),layer.prompt=function(a,b,c){var d={},a=a||{},e={area:["auto","auto"],offset:[a.top||"",""],title:a.title||"信息",dialog:{btns:2,type:-1,msg:'',yes:function(c){var e=d.prompt.val();""===e?d.prompt.focus():e.replace(/\s/g,"").length>(a.length||1e3)?layer.tips("最多输入"+(a.length||1e3)+"个字数","#xubox_prompt",2):b&&b(e,c,d.prompt)},no:c},success:function(){d.prompt=$("#xubox_prompt"),d.prompt.focus()}};return 3===a.type&&(e.dialog.msg='"),$.layer(e)},layer.tab=function(a){var a=a||{},c=a.data||[],d={type:1,border:[0],area:["auto","auto"],bgcolor:"",title:!1,shade:a.shade,offset:a.offset,move:".xubox_tabmove",closeBtn:!1,page:{html:'
'}()+''+'
'+function(){var a=c.length,b=1,d="";if(a>0)for(d=''+c[0].title+"";a>b;b++)d+=""+c[b].title+"";return d}()+"
"+'
    '+function(){var a=c.length,b=1,d="";if(a>0)for(d='
  • '+(c[0].content||"content未传入")+"
  • ";a>b;b++)d+='
  • '+(c[b].content||"content未传入")+"
  • ";return d}()+"
"+'X'+"
"},success:function(a){var b=$(".xubox_tabtit").children(),c=$(".xubox_tab_main").children(),d=$(".xubox_tabclose");b.on("click",function(){var a=$(this),b=a.index();a.addClass("xubox_tabnow").siblings().removeClass("xubox_tabnow"),c.eq(b).show().siblings().hide()}),d.on("click",function(){layer.close(a.attr("times"))})}};return $.layer(d)},layer.photos=function(a){var b,c,d,e,f,g,h,i;if(a=a||{},b={imgIndex:1,end:null,html:$("html")},c=$(window),d=a.json,e=a.page,d){if(f=d.data,1!==d.status)return layer.msg("未请求到数据",2,8),void 0;if(b.imgLen=f.length,!(f.length>0))return layer.msg("没有任何图片",2,8),void 0;b.thissrc=f[d.start].src,b.pid=f[d.start].pid,b.imgsname=d.title||"",b.name=f[d.start].name,b.imgIndex=d.start+1}else g=$(e.parent).find("img"),h=g.eq(e.start),b.thissrc=h.attr("layer-img")||h.attr("src"),b.pid=h.attr("pid"),b.imgLen=g.length,b.imgsname=e.title||"",b.name=h.attr("alt"),b.imgIndex=e.start+1;return i={type:1,border:[0],area:[(a.html?915:600)+"px","auto"],title:!1,shade:[.9,"#000",!0],shadeClose:!0,offset:["25px",""],bgcolor:"",page:{html:'
'+(b.name||
'+function(){return b.imgLen>1?'':""}()+'
'+b.imgsname+" "+b.imgIndex+"/"+b.imgLen+"
"+function(){return a.html?'
'+a.html+"
":""}()},success:function(a){b.bigimg=a.find(".xubox_bigimg"),b.imgsee=b.bigimg.find(".xubox_imgsee"),b.imgbar=b.imgsee.find(".xubox_imgbar"),b.imgtit=b.imgbar.find(".xubox_imgtit"),b.layero=a;var c=b.imgs=b.bigimg.find("img");clearTimeout(b.timerr),b.timerr=setTimeout(function(){$("html").css("overflow","hidden").attr("layer-full",b.index)},10),c.load(function(){b.imgarea=[c.outerWidth(),c.outerHeight()],b.resize(a)}),b.event()},end:function(){layer.closeAll(),b.end=!0}},b.event=function(){b.bigimg.hover(function(){b.imgsee.show()},function(){b.imgsee.hide()}),i.imgprev=function(){b.imgIndex--,b.imgIndex<1&&(b.imgIndex=b.imgLen),b.tabimg()},b.bigimg.find(".xubox_prev").on("click",function(a){a.preventDefault(),i.imgprev()}),i.imgnext=function(){b.imgIndex++,b.imgIndex>b.imgLen&&(b.imgIndex=1),b.tabimg()},b.bigimg.find(".xubox_next").on("click",function(a){a.preventDefault(),i.imgnext()}),$(document).keyup(function(a){if(!b.end){var c=a.keyCode;a.preventDefault(),37===c?i.imgprev():39===c?i.imgnext():27===c&&layer.close(b.index)}}),b.tabimg=function(){var e,h,i,j,k;b.imgs.removeAttr("style"),d?(j=f[b.imgIndex-1],e=j.src,h=j.pid,i=j.name):(k=g.eq(b.imgIndex-1),e=k.attr("layer-img")||k.attr("src"),h=k.attr("layer-pid")||"",i=k.attr("alt")||""),b.imgs.attr({src:e,"layer-pid":h,alt:i}),b.imgtit.find("em").text(b.imgIndex+"/"+b.imgLen),b.imgsee.show(),a.tab&&a.tab({pid:h,name:i})}},b.resize=function(d){var g,e={},f=[c.width(),c.height()];e.limit=f[0]-f[0]/f[1]*(60*f[0]/f[1]),e.limit<600&&(e.limit=600),g=[e.limit,f[1]>400?f[1]-50:400],g[0]=a.html?g[0]:g[0]-300,layer.area(b.index,{width:g[0]+(a.html?15:0),height:g[1]}),e.flwidth=g[0]-(a.html?300:0),b.imgarea[0]>e.flwidth?b.imgs.css({width:e.flwidth}):b.imgs.css({width:b.imgarea[0]}),b.imgs.outerHeight() 4 | */ 5 | (function ($) { 6 | $.fn.markdown.messages.zh = { 7 | 'Bold': "粗体", 8 | 'Italic': "斜体", 9 | 'Heading': "标题", 10 | 'URL/Link': "链接", 11 | 'Image': "图片", 12 | 'List': "列表", 13 | 'Unordered List': "无序列表", 14 | 'Ordered List': "有序列表", 15 | 'Code': "代码", 16 | 'Quote': "引用", 17 | 'Preview': "预览", 18 | 'strong text': "粗体", 19 | 'emphasized text': "强调", 20 | 'heading text': "标题", 21 | 'enter link description here': "输入链接说明", 22 | 'Insert Hyperlink': "URL地址", 23 | 'enter image description here': "输入图片说明", 24 | 'Insert Image Hyperlink': "图片URL地址", 25 | 'enter image title here': "在这里输入图片标题", 26 | 'list text here': "这里是列表文本", 27 | 'code text here': "这里输入代码", 28 | 'quote here': "这里输入引用文本" 29 | 30 | 31 | }; 32 | }(jQuery)); 33 | -------------------------------------------------------------------------------- /js/plugins/markdown/to-markdown.js: -------------------------------------------------------------------------------- 1 | /* 2 | * to-markdown - an HTML to Markdown converter 3 | * 4 | * Copyright 2011, Dom Christie 5 | * Licenced under the MIT licence 6 | * 7 | */ 8 | 9 | var toMarkdown = function(string) { 10 | 11 | var ELEMENTS = [ 12 | { 13 | patterns: 'p', 14 | replacement: function(str, attrs, innerHTML) { 15 | return innerHTML ? '\n\n' + innerHTML + '\n' : ''; 16 | } 17 | }, 18 | { 19 | patterns: 'br', 20 | type: 'void', 21 | replacement: '\n' 22 | }, 23 | { 24 | patterns: 'h([1-6])', 25 | replacement: function(str, hLevel, attrs, innerHTML) { 26 | var hPrefix = ''; 27 | for(var i = 0; i < hLevel; i++) { 28 | hPrefix += '#'; 29 | } 30 | return '\n\n' + hPrefix + ' ' + innerHTML + '\n'; 31 | } 32 | }, 33 | { 34 | patterns: 'hr', 35 | type: 'void', 36 | replacement: '\n\n* * *\n' 37 | }, 38 | { 39 | patterns: 'a', 40 | replacement: function(str, attrs, innerHTML) { 41 | var href = attrs.match(attrRegExp('href')), 42 | title = attrs.match(attrRegExp('title')); 43 | return href ? '[' + innerHTML + ']' + '(' + href[1] + (title && title[1] ? ' "' + title[1] + '"' : '') + ')' : str; 44 | } 45 | }, 46 | { 47 | patterns: ['b', 'strong'], 48 | replacement: function(str, attrs, innerHTML) { 49 | return innerHTML ? '**' + innerHTML + '**' : ''; 50 | } 51 | }, 52 | { 53 | patterns: ['i', 'em'], 54 | replacement: function(str, attrs, innerHTML) { 55 | return innerHTML ? '_' + innerHTML + '_' : ''; 56 | } 57 | }, 58 | { 59 | patterns: 'code', 60 | replacement: function(str, attrs, innerHTML) { 61 | return innerHTML ? '`' + innerHTML + '`' : ''; 62 | } 63 | }, 64 | { 65 | patterns: 'img', 66 | type: 'void', 67 | replacement: function(str, attrs, innerHTML) { 68 | var src = attrs.match(attrRegExp('src')), 69 | alt = attrs.match(attrRegExp('alt')), 70 | title = attrs.match(attrRegExp('title')); 71 | return '![' + (alt && alt[1] ? alt[1] : '') + ']' + '(' + src[1] + (title && title[1] ? ' "' + title[1] + '"' : '') + ')'; 72 | } 73 | } 74 | ]; 75 | 76 | for(var i = 0, len = ELEMENTS.length; i < len; i++) { 77 | if(typeof ELEMENTS[i].patterns === 'string') { 78 | string = replaceEls(string, { tag: ELEMENTS[i].patterns, replacement: ELEMENTS[i].replacement, type: ELEMENTS[i].type }); 79 | } 80 | else { 81 | for(var j = 0, pLen = ELEMENTS[i].patterns.length; j < pLen; j++) { 82 | string = replaceEls(string, { tag: ELEMENTS[i].patterns[j], replacement: ELEMENTS[i].replacement, type: ELEMENTS[i].type }); 83 | } 84 | } 85 | } 86 | 87 | function replaceEls(html, elProperties) { 88 | var pattern = elProperties.type === 'void' ? '<' + elProperties.tag + '\\b([^>]*)\\/?>' : '<' + elProperties.tag + '\\b([^>]*)>([\\s\\S]*?)<\\/' + elProperties.tag + '>', 89 | regex = new RegExp(pattern, 'gi'), 90 | markdown = ''; 91 | if(typeof elProperties.replacement === 'string') { 92 | markdown = html.replace(regex, elProperties.replacement); 93 | } 94 | else { 95 | markdown = html.replace(regex, function(str, p1, p2, p3) { 96 | return elProperties.replacement.call(this, str, p1, p2, p3); 97 | }); 98 | } 99 | return markdown; 100 | } 101 | 102 | function attrRegExp(attr) { 103 | return new RegExp(attr + '\\s*=\\s*["\']?([^"\']*)["\']?', 'i'); 104 | } 105 | 106 | // Pre code blocks 107 | 108 | string = string.replace(/]*>`([\s\S]*)`<\/pre>/gi, function(str, innerHTML) { 109 | innerHTML = innerHTML.replace(/^\t+/g, ' '); // convert tabs to spaces (you know it makes sense) 110 | innerHTML = innerHTML.replace(/\n/g, '\n '); 111 | return '\n\n ' + innerHTML + '\n'; 112 | }); 113 | 114 | // Lists 115 | 116 | // Escape numbers that could trigger an ol 117 | // If there are more than three spaces before the code, it would be in a pre tag 118 | // Make sure we are escaping the period not matching any character 119 | string = string.replace(/^(\s{0,3}\d+)\. /g, '$1\\. '); 120 | 121 | // Converts lists that have no child lists (of same type) first, then works it's way up 122 | var noChildrenRegex = /<(ul|ol)\b[^>]*>(?:(?!/gi; 123 | while(string.match(noChildrenRegex)) { 124 | string = string.replace(noChildrenRegex, function(str) { 125 | return replaceLists(str); 126 | }); 127 | } 128 | 129 | function replaceLists(html) { 130 | 131 | html = html.replace(/<(ul|ol)\b[^>]*>([\s\S]*?)<\/\1>/gi, function(str, listType, innerHTML) { 132 | var lis = innerHTML.split(''); 133 | lis.splice(lis.length - 1, 1); 134 | 135 | for(i = 0, len = lis.length; i < len; i++) { 136 | if(lis[i]) { 137 | var prefix = (listType === 'ol') ? (i + 1) + ". " : "* "; 138 | lis[i] = lis[i].replace(/\s*]*>([\s\S]*)/i, function(str, innerHTML) { 139 | 140 | innerHTML = innerHTML.replace(/^\s+/, ''); 141 | innerHTML = innerHTML.replace(/\n\n/g, '\n\n '); 142 | // indent nested lists 143 | innerHTML = innerHTML.replace(/\n([ ]*)+(\*|\d+\.) /g, '\n$1 $2 '); 144 | return prefix + innerHTML; 145 | }); 146 | } 147 | } 148 | return lis.join('\n'); 149 | }); 150 | return '\n\n' + html.replace(/[ \t]+\n|\s+$/g, ''); 151 | } 152 | 153 | // Blockquotes 154 | var deepest = /]*>((?:(?!/gi; 155 | while(string.match(deepest)) { 156 | string = string.replace(deepest, function(str) { 157 | return replaceBlockquotes(str); 158 | }); 159 | } 160 | 161 | function replaceBlockquotes(html) { 162 | html = html.replace(/]*>([\s\S]*?)<\/blockquote>/gi, function(str, inner) { 163 | inner = inner.replace(/^\s+|\s+$/g, ''); 164 | inner = cleanUp(inner); 165 | inner = inner.replace(/^/gm, '> '); 166 | inner = inner.replace(/^(>([ \t]{2,}>)+)/gm, '> >'); 167 | return inner; 168 | }); 169 | return html; 170 | } 171 | 172 | function cleanUp(string) { 173 | string = string.replace(/^[\t\r\n]+|[\t\r\n]+$/g, ''); // trim leading/trailing whitespace 174 | string = string.replace(/\n\s+\n/g, '\n\n'); 175 | string = string.replace(/\n{3,}/g, '\n\n'); // limit consecutive linebreaks to 2 176 | return string; 177 | } 178 | 179 | return cleanUp(string); 180 | }; 181 | 182 | if (typeof exports === 'object') { 183 | exports.toMarkdown = toMarkdown; 184 | } -------------------------------------------------------------------------------- /js/plugins/metisMenu/jquery.metisMenu.js: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v1.1.3 3 | * Easy menu jQuery plugin for Twitter Bootstrap 3 4 | * https://github.com/onokumus/metisMenu 5 | * 6 | * Made by Osman Nuri Okumus 7 | * Under MIT License 8 | */ 9 | ;(function($, window, document, undefined) { 10 | 11 | var pluginName = "metisMenu", 12 | defaults = { 13 | toggle: true, 14 | doubleTapToGo: false 15 | }; 16 | 17 | function Plugin(element, options) { 18 | this.element = $(element); 19 | this.settings = $.extend({}, defaults, options); 20 | this._defaults = defaults; 21 | this._name = pluginName; 22 | this.init(); 23 | } 24 | 25 | Plugin.prototype = { 26 | init: function() { 27 | 28 | var $this = this.element, 29 | $toggle = this.settings.toggle, 30 | obj = this; 31 | 32 | if (this.isIE() <= 9) { 33 | $this.find("li.active").has("ul").children("ul").collapse("show"); 34 | $this.find("li").not(".active").has("ul").children("ul").collapse("hide"); 35 | } else { 36 | $this.find("li.active").has("ul").children("ul").addClass("collapse in"); 37 | $this.find("li").not(".active").has("ul").children("ul").addClass("collapse"); 38 | } 39 | 40 | //add the "doubleTapToGo" class to active items if needed 41 | if (obj.settings.doubleTapToGo) { 42 | $this.find("li.active").has("ul").children("a").addClass("doubleTapToGo"); 43 | } 44 | 45 | $this.find("li").has("ul").children("a").on("click" + "." + pluginName, function(e) { 46 | e.preventDefault(); 47 | 48 | //Do we need to enable the double tap 49 | if (obj.settings.doubleTapToGo) { 50 | 51 | //if we hit a second time on the link and the href is valid, navigate to that url 52 | if (obj.doubleTapToGo($(this)) && $(this).attr("href") !== "#" && $(this).attr("href") !== "") { 53 | e.stopPropagation(); 54 | document.location = $(this).attr("href"); 55 | return; 56 | } 57 | } 58 | 59 | $(this).parent("li").toggleClass("active").children("ul").collapse("toggle"); 60 | 61 | if ($toggle) { 62 | $(this).parent("li").siblings().removeClass("active").children("ul.in").collapse("hide"); 63 | } 64 | 65 | }); 66 | }, 67 | 68 | isIE: function() { //https://gist.github.com/padolsey/527683 69 | var undef, 70 | v = 3, 71 | div = document.createElement("div"), 72 | all = div.getElementsByTagName("i"); 73 | 74 | while ( 75 | div.innerHTML = "", 76 | all[0] 77 | ) { 78 | return v > 4 ? v : undef; 79 | } 80 | }, 81 | 82 | //Enable the link on the second click. 83 | doubleTapToGo: function(elem) { 84 | var $this = this.element; 85 | 86 | //if the class "doubleTapToGo" exists, remove it and return 87 | if (elem.hasClass("doubleTapToGo")) { 88 | elem.removeClass("doubleTapToGo"); 89 | return true; 90 | } 91 | 92 | //does not exists, add a new class and return false 93 | if (elem.parent().children("ul").length) { 94 | //first remove all other class 95 | $this.find(".doubleTapToGo").removeClass("doubleTapToGo"); 96 | //add the class on the current element 97 | elem.addClass("doubleTapToGo"); 98 | return false; 99 | } 100 | }, 101 | 102 | remove: function() { 103 | this.element.off("." + pluginName); 104 | this.element.removeData(pluginName); 105 | } 106 | 107 | }; 108 | 109 | $.fn[pluginName] = function(options) { 110 | this.each(function () { 111 | var el = $(this); 112 | if (el.data(pluginName)) { 113 | el.data(pluginName).remove(); 114 | } 115 | el.data(pluginName, new Plugin(this, options)); 116 | }); 117 | return this; 118 | }; 119 | 120 | })(jQuery, window, document); -------------------------------------------------------------------------------- /js/plugins/peity/jquery.peity.min.js: -------------------------------------------------------------------------------- 1 | // Peity jQuery plugin version 2.0.3 2 | // (c) 2014 Ben Pickles 3 | // 4 | // http://benpickles.github.io/peity 5 | // 6 | // Released under MIT license. 7 | (function(e,q,h){var o=function(a,b){var c=q.createElementNS("http://www.w3.org/2000/svg",a);e.each(b,function(a,b){c.setAttribute(a,b)});return c},t="createElementNS"in q&&o("svg",{}).createSVGRect,r=1/(window.devicePixelRatio||1),j=e.fn.peity=function(a,b){t&&this.each(function(){var c=e(this),d=c.data("peity");if(d)a&&(d.type=a),e.extend(d.opts,b);else{var f=j.defaults[a],g={};e.each(c.data(),function(a,b){a in f&&(g[a]=b)});var h=e.extend({},f,g,b),d=new s(c,a,h);c.change(function(){d.draw()}).data("peity", 8 | d)}d.draw()});return this},s=function(a,b,c){this.$el=a;this.type=b;this.opts=c},m=s.prototype;m.draw=function(){j.graphers[this.type].call(this,this.opts)};m.fill=function(){var a=this.opts.fill,b=a;e.isFunction(b)||(b=function(b,d){return a[d%a.length]});return b};m.prepare=function(a,b){var c;this.svg?c=e(this.svg).empty():(this.svg=o("svg",{"class":"peity"}),this.$el.hide().after(this.svg),c=e(this.svg).data("peity",this));this.svg.setAttribute("height",b);this.svg.setAttribute("width",a);return c}; 9 | m.values=function(){return e.map(this.$el.text().split(this.opts.delimiter),function(a){return parseFloat(a)})};j.defaults={};j.graphers={};j.register=function(a,b,c){this.defaults[a]=b;this.graphers[a]=c};j.register("pie",{delimiter:null,diameter:16,fill:["#ff9900","#fff4dd","#ffc66e"]},function(a){if(!a.delimiter){var b=this.$el.text().match(/[^0-9\.]/);a.delimiter=b?b[0]:","}b=this.values();if("/"==a.delimiter)var c=b[0],b=[c,h.max(0,b[1]-c)];for(var d=0,c=b.length,f=0;de?1:0,1,q,r,"Z"].join(" ")});i=l}k.setAttribute("fill",j.call(this,n,d,b));this.svg.appendChild(k)}}});j.register("line",{delimiter:",",fill:"#c6d9fd",height:16,max:null, 11 | min:0,stroke:"#4d89f9",strokeWidth:1,width:32},function(a){var b=this.values();1==b.length&&b.push(b[0]);for(var c=h.max.apply(h,b.concat([a.max])),d=h.min.apply(h,b.concat([a.min])),f=this.prepare(a.width,a.height),g=f.width(),f=f.height()-a.strokeWidth,e=g/(b.length-1),c=c-d,j=0==c?f:f/c,m=f+d*j,c=[0,m],i=0;i=d&&0k&&(l+=k,k=-k);n=o("rect",{fill:m.call(this,n,i,b),x:i*g,y:l,width:g-a,height:k});this.svg.appendChild(n)}})})(jQuery,document,Math); 14 | -------------------------------------------------------------------------------- /js/plugins/simditor/hotkeys.js: -------------------------------------------------------------------------------- 1 | (function (root, factory) { 2 | if (typeof define === 'function' && define.amd) { 3 | // AMD. Register as an anonymous module. 4 | define('simple-hotkeys', ["jquery", 5 | "simple-module"], function ($, SimpleModule) { 6 | return (root.returnExportsGlobal = factory($, SimpleModule)); 7 | }); 8 | } else if (typeof exports === 'object') { 9 | // Node. Does not work with strict CommonJS, but 10 | // only CommonJS-like enviroments that support module.exports, 11 | // like Node. 12 | module.exports = factory(require("jquery"), 13 | require("simple-module")); 14 | } else { 15 | root.simple = root.simple || {}; 16 | root.simple['hotkeys'] = factory(jQuery, 17 | SimpleModule); 18 | } 19 | }(this, function ($, SimpleModule) { 20 | 21 | var Hotkeys, hotkeys, 22 | __hasProp = {}.hasOwnProperty, 23 | __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; 24 | 25 | Hotkeys = (function(_super) { 26 | __extends(Hotkeys, _super); 27 | 28 | function Hotkeys() { 29 | return Hotkeys.__super__.constructor.apply(this, arguments); 30 | } 31 | 32 | Hotkeys.count = 0; 33 | 34 | Hotkeys.keyNameMap = { 35 | 8: "Backspace", 36 | 9: "Tab", 37 | 13: "Enter", 38 | 16: "Shift", 39 | 17: "Control", 40 | 18: "Alt", 41 | 19: "Pause", 42 | 20: "CapsLock", 43 | 27: "Esc", 44 | 32: "Spacebar", 45 | 33: "PageUp", 46 | 34: "PageDown", 47 | 35: "End", 48 | 36: "Home", 49 | 37: "Left", 50 | 38: "Up", 51 | 39: "Right", 52 | 40: "Down", 53 | 45: "Insert", 54 | 46: "Del", 55 | 91: "Meta", 56 | 93: "Meta", 57 | 48: "0", 58 | 49: "1", 59 | 50: "2", 60 | 51: "3", 61 | 52: "4", 62 | 53: "5", 63 | 54: "6", 64 | 55: "7", 65 | 56: "8", 66 | 57: "9", 67 | 65: "A", 68 | 66: "B", 69 | 67: "C", 70 | 68: "D", 71 | 69: "E", 72 | 70: "F", 73 | 71: "G", 74 | 72: "H", 75 | 73: "I", 76 | 74: "J", 77 | 75: "K", 78 | 76: "L", 79 | 77: "M", 80 | 78: "N", 81 | 79: "O", 82 | 80: "P", 83 | 81: "Q", 84 | 82: "R", 85 | 83: "S", 86 | 84: "T", 87 | 85: "U", 88 | 86: "V", 89 | 87: "W", 90 | 88: "X", 91 | 89: "Y", 92 | 90: "Z", 93 | 96: "0", 94 | 97: "1", 95 | 98: "2", 96 | 99: "3", 97 | 100: "4", 98 | 101: "5", 99 | 102: "6", 100 | 103: "7", 101 | 104: "8", 102 | 105: "9", 103 | 106: "Multiply", 104 | 107: "Add", 105 | 109: "Subtract", 106 | 110: "Decimal", 107 | 111: "Divide", 108 | 112: "F1", 109 | 113: "F2", 110 | 114: "F3", 111 | 115: "F4", 112 | 116: "F5", 113 | 117: "F6", 114 | 118: "F7", 115 | 119: "F8", 116 | 120: "F9", 117 | 121: "F10", 118 | 122: "F11", 119 | 123: "F12", 120 | 124: "F13", 121 | 125: "F14", 122 | 126: "F15", 123 | 127: "F16", 124 | 128: "F17", 125 | 129: "F18", 126 | 130: "F19", 127 | 131: "F20", 128 | 132: "F21", 129 | 133: "F22", 130 | 134: "F23", 131 | 135: "F24", 132 | 59: ";", 133 | 61: "=", 134 | 186: ";", 135 | 187: "=", 136 | 188: ",", 137 | 190: ".", 138 | 191: "/", 139 | 192: "`", 140 | 219: "[", 141 | 220: "\\", 142 | 221: "]", 143 | 222: "'" 144 | }; 145 | 146 | Hotkeys.aliases = { 147 | "escape": "esc", 148 | "delete": "del", 149 | "return": "enter", 150 | "ctrl": "control", 151 | "space": "spacebar", 152 | "ins": "insert", 153 | "cmd": "meta", 154 | "command": "meta", 155 | "wins": "meta", 156 | "windows": "meta" 157 | }; 158 | 159 | Hotkeys.normalize = function(shortcut) { 160 | var i, key, keyname, keys, _i, _len; 161 | keys = shortcut.toLowerCase().replace(/\s+/gi, "").split("+"); 162 | for (i = _i = 0, _len = keys.length; _i < _len; i = ++_i) { 163 | key = keys[i]; 164 | keys[i] = this.aliases[key] || key; 165 | } 166 | keyname = keys.pop(); 167 | keys.sort().push(keyname); 168 | return keys.join("_"); 169 | }; 170 | 171 | Hotkeys.prototype.opts = { 172 | el: document 173 | }; 174 | 175 | Hotkeys.prototype._init = function() { 176 | this.id = ++this.constructor.count; 177 | this._map = {}; 178 | this._delegate = typeof this.opts.el === "string" ? document : this.opts.el; 179 | return $(this._delegate).on("keydown.simple-hotkeys-" + this.id, this.opts.el, (function(_this) { 180 | return function(e) { 181 | var _ref; 182 | return (_ref = _this._getHander(e)) != null ? _ref.call(_this, e) : void 0; 183 | }; 184 | })(this)); 185 | }; 186 | 187 | Hotkeys.prototype._getHander = function(e) { 188 | var keyname, shortcut; 189 | if (!(keyname = this.constructor.keyNameMap[e.which])) { 190 | return; 191 | } 192 | shortcut = ""; 193 | if (e.altKey) { 194 | shortcut += "alt_"; 195 | } 196 | if (e.ctrlKey) { 197 | shortcut += "control_"; 198 | } 199 | if (e.metaKey) { 200 | shortcut += "meta_"; 201 | } 202 | if (e.shiftKey) { 203 | shortcut += "shift_"; 204 | } 205 | shortcut += keyname.toLowerCase(); 206 | return this._map[shortcut]; 207 | }; 208 | 209 | Hotkeys.prototype.respondTo = function(subject) { 210 | if (typeof subject === 'string') { 211 | return this._map[this.constructor.normalize(subject)] != null; 212 | } else { 213 | return this._getHander(subject) != null; 214 | } 215 | }; 216 | 217 | Hotkeys.prototype.add = function(shortcut, handler) { 218 | this._map[this.constructor.normalize(shortcut)] = handler; 219 | return this; 220 | }; 221 | 222 | Hotkeys.prototype.remove = function(shortcut) { 223 | delete this._map[this.constructor.normalize(shortcut)]; 224 | return this; 225 | }; 226 | 227 | Hotkeys.prototype.destroy = function() { 228 | $(this._delegate).off(".simple-hotkeys-" + this.id); 229 | this._map = {}; 230 | return this; 231 | }; 232 | 233 | return Hotkeys; 234 | 235 | })(SimpleModule); 236 | 237 | hotkeys = function(opts) { 238 | return new Hotkeys(opts); 239 | }; 240 | 241 | 242 | return hotkeys; 243 | 244 | 245 | })); 246 | 247 | -------------------------------------------------------------------------------- /js/plugins/simditor/module.js: -------------------------------------------------------------------------------- 1 | (function (root, factory) { 2 | if (typeof define === 'function' && define.amd) { 3 | // AMD. Register as an anonymous module. 4 | define('simple-module', ["jquery"], function ($) { 5 | return (root.returnExportsGlobal = factory($)); 6 | }); 7 | } else if (typeof exports === 'object') { 8 | // Node. Does not work with strict CommonJS, but 9 | // only CommonJS-like enviroments that support module.exports, 10 | // like Node. 11 | module.exports = factory(require("jquery")); 12 | } else { 13 | root['SimpleModule'] = factory(jQuery); 14 | } 15 | }(this, function ($) { 16 | 17 | var Module, 18 | __slice = [].slice; 19 | 20 | Module = (function() { 21 | Module.extend = function(obj) { 22 | var key, val, _ref; 23 | if (!((obj != null) && typeof obj === 'object')) { 24 | return; 25 | } 26 | for (key in obj) { 27 | val = obj[key]; 28 | if (key !== 'included' && key !== 'extended') { 29 | this[key] = val; 30 | } 31 | } 32 | return (_ref = obj.extended) != null ? _ref.call(this) : void 0; 33 | }; 34 | 35 | Module.include = function(obj) { 36 | var key, val, _ref; 37 | if (!((obj != null) && typeof obj === 'object')) { 38 | return; 39 | } 40 | for (key in obj) { 41 | val = obj[key]; 42 | if (key !== 'included' && key !== 'extended') { 43 | this.prototype[key] = val; 44 | } 45 | } 46 | return (_ref = obj.included) != null ? _ref.call(this) : void 0; 47 | }; 48 | 49 | Module.connect = function(cls) { 50 | if (typeof cls !== 'function') { 51 | return; 52 | } 53 | if (!cls.pluginName) { 54 | throw new Error('Module.connect: cannot connect plugin without pluginName'); 55 | return; 56 | } 57 | cls.prototype._connected = true; 58 | if (!this._connectedClasses) { 59 | this._connectedClasses = []; 60 | } 61 | this._connectedClasses.push(cls); 62 | if (cls.pluginName) { 63 | return this[cls.pluginName] = cls; 64 | } 65 | }; 66 | 67 | Module.prototype.opts = {}; 68 | 69 | function Module(opts) { 70 | var cls, instance, instances, name, _base, _i, _len; 71 | this.opts = $.extend({}, this.opts, opts); 72 | (_base = this.constructor)._connectedClasses || (_base._connectedClasses = []); 73 | instances = (function() { 74 | var _i, _len, _ref, _results; 75 | _ref = this.constructor._connectedClasses; 76 | _results = []; 77 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { 78 | cls = _ref[_i]; 79 | name = cls.pluginName.charAt(0).toLowerCase() + cls.pluginName.slice(1); 80 | if (cls.prototype._connected) { 81 | cls.prototype._module = this; 82 | } 83 | _results.push(this[name] = new cls()); 84 | } 85 | return _results; 86 | }).call(this); 87 | if (this._connected) { 88 | this.opts = $.extend({}, this.opts, this._module.opts); 89 | } else { 90 | this._init(); 91 | for (_i = 0, _len = instances.length; _i < _len; _i++) { 92 | instance = instances[_i]; 93 | if (typeof instance._init === "function") { 94 | instance._init(); 95 | } 96 | } 97 | } 98 | this.trigger('initialized'); 99 | } 100 | 101 | Module.prototype._init = function() {}; 102 | 103 | Module.prototype.on = function() { 104 | var args, _ref; 105 | args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; 106 | (_ref = $(this)).on.apply(_ref, args); 107 | return this; 108 | }; 109 | 110 | Module.prototype.one = function() { 111 | var args, _ref; 112 | args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; 113 | (_ref = $(this)).one.apply(_ref, args); 114 | return this; 115 | }; 116 | 117 | Module.prototype.off = function() { 118 | var args, _ref; 119 | args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; 120 | (_ref = $(this)).off.apply(_ref, args); 121 | return this; 122 | }; 123 | 124 | Module.prototype.trigger = function() { 125 | var args, _ref; 126 | args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; 127 | (_ref = $(this)).trigger.apply(_ref, args); 128 | return this; 129 | }; 130 | 131 | Module.prototype.triggerHandler = function() { 132 | var args, _ref; 133 | args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; 134 | return (_ref = $(this)).triggerHandler.apply(_ref, args); 135 | }; 136 | 137 | Module.prototype._t = function() { 138 | var args, _ref; 139 | args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; 140 | return (_ref = this.constructor)._t.apply(_ref, args); 141 | }; 142 | 143 | Module._t = function() { 144 | var args, key, result, _ref; 145 | key = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : []; 146 | result = ((_ref = this.i18n[this.locale]) != null ? _ref[key] : void 0) || ''; 147 | if (!(args.length > 0)) { 148 | return result; 149 | } 150 | result = result.replace(/([^%]|^)%(?:(\d+)\$)?s/g, function(p0, p, position) { 151 | if (position) { 152 | return p + args[parseInt(position) - 1]; 153 | } else { 154 | return p + args.shift(); 155 | } 156 | }); 157 | return result.replace(/%%s/g, '%s'); 158 | }; 159 | 160 | Module.i18n = { 161 | 'zh-CN': {} 162 | }; 163 | 164 | Module.locale = 'zh-CN'; 165 | 166 | return Module; 167 | 168 | })(); 169 | 170 | 171 | return Module; 172 | 173 | 174 | })); 175 | -------------------------------------------------------------------------------- /js/plugins/slimscroll/jquery.slimscroll.min.js: -------------------------------------------------------------------------------- 1 | /*! Copyright (c) 2011 Piotr Rochala (http://rocha.la) 2 | * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 3 | * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. 4 | * 5 | * Version: 1.3.0 6 | * 7 | */ 8 | (function(f){jQuery.fn.extend({slimScroll:function(h){var a=f.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:0.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:0.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},h);this.each(function(){function r(d){if(s){d=d|| 9 | window.event;var c=0;d.wheelDelta&&(c=-d.wheelDelta/120);d.detail&&(c=d.detail/3);f(d.target||d.srcTarget||d.srcElement).closest("."+a.wrapperClass).is(b.parent())&&m(c,!0);d.preventDefault&&!k&&d.preventDefault();k||(d.returnValue=!1)}}function m(d,f,h){k=!1;var e=d,g=b.outerHeight()-c.outerHeight();f&&(e=parseInt(c.css("top"))+d*parseInt(a.wheelStep)/100*c.outerHeight(),e=Math.min(Math.max(e,0),g),e=0=b.outerHeight()?k=!0:(c.stop(!0,!0).fadeIn("fast"),a.railVisible&&g.stop(!0,!0).fadeIn("fast"))}function p(){a.alwaysVisible||(A=setTimeout(function(){a.disableFadeOut&&s||(x||y)||(c.fadeOut("slow"),g.fadeOut("slow"))},1E3))}var s,x,y,A,z,u,l,B,D=30,k=!1,b=f(this);if(b.parent().hasClass(a.wrapperClass)){var n=b.scrollTop(), 12 | c=b.parent().find("."+a.barClass),g=b.parent().find("."+a.railClass);w();if(f.isPlainObject(h)){if("height"in h&&"auto"==h.height){b.parent().css("height","auto");b.css("height","auto");var q=b.parent().parent().height();b.parent().css("height",q);b.css("height",q)}if("scrollTo"in h)n=parseInt(a.scrollTo);else if("scrollBy"in h)n+=parseInt(a.scrollBy);else if("destroy"in h){c.remove();g.remove();b.unwrap();return}m(n,!1,!0)}}else{a.height="auto"==a.height?b.parent().height():a.height;n=f("
").addClass(a.wrapperClass).css({position:"relative", 13 | overflow:"hidden",width:a.width,height:a.height});b.css({overflow:"hidden",width:a.width,height:a.height});var g=f("
").addClass(a.railClass).css({width:a.size,height:"100%",position:"absolute",top:0,display:a.alwaysVisible&&a.railVisible?"block":"none","border-radius":a.railBorderRadius,background:a.railColor,opacity:a.railOpacity,zIndex:90}),c=f("
").addClass(a.barClass).css({background:a.color,width:a.size,position:"absolute",top:0,opacity:a.opacity,display:a.alwaysVisible? 14 | "block":"none","border-radius":a.borderRadius,BorderRadius:a.borderRadius,MozBorderRadius:a.borderRadius,WebkitBorderRadius:a.borderRadius,zIndex:99}),q="right"==a.position?{right:a.distance}:{left:a.distance};g.css(q);c.css(q);b.wrap(n);b.parent().append(c);b.parent().append(g);a.railDraggable&&c.bind("mousedown",function(a){var b=f(document);y=!0;t=parseFloat(c.css("top"));pageY=a.pageY;b.bind("mousemove.slimscroll",function(a){currTop=t+a.pageY-pageY;c.css("top",currTop);m(0,c.position().top,!1)}); 15 | b.bind("mouseup.slimscroll",function(a){y=!1;p();b.unbind(".slimscroll")});return!1}).bind("selectstart.slimscroll",function(a){a.stopPropagation();a.preventDefault();return!1});g.hover(function(){v()},function(){p()});c.hover(function(){x=!0},function(){x=!1});b.hover(function(){s=!0;v();p()},function(){s=!1;p()});b.bind("touchstart",function(a,b){a.originalEvent.touches.length&&(z=a.originalEvent.touches[0].pageY)});b.bind("touchmove",function(b){k||b.originalEvent.preventDefault();b.originalEvent.touches.length&& 16 | (m((z-b.originalEvent.touches[0].pageY)/a.touchScrollStep,!0),z=b.originalEvent.touches[0].pageY)});w();"bottom"===a.start?(c.css({top:b.outerHeight()-c.outerHeight()}),m(0,!0)):"top"!==a.start&&(m(f(a.start).position().top,null,!0),a.alwaysVisible||c.hide());C()}});return this}});jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})})(jQuery); -------------------------------------------------------------------------------- /js/plugins/summernote/summernote-zh-CN.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | $.extend($.summernote.lang, { 3 | 'zh-CN': { 4 | font: { 5 | bold: '粗体', 6 | italic: '斜体', 7 | underline: '下划线', 8 | strikethrough: '删除线', 9 | clear: '清除格式', 10 | height: '行高', 11 | name: '字体', 12 | size: '字号' 13 | }, 14 | image: { 15 | image: '图片', 16 | insert: '插入图片', 17 | resizeFull: '调整至 100%', 18 | resizeHalf: '调整至 50%', 19 | resizeQuarter: '调整至 25%', 20 | floatLeft: '左浮动', 21 | floatRight: '右浮动', 22 | floatNone: '不浮动', 23 | dragImageHere: '将图片拖至此处', 24 | selectFromFiles: '从本地上传', 25 | url: '图片地址' 26 | }, 27 | link: { 28 | link: '链接', 29 | insert: '插入链接', 30 | unlink: '去除链接', 31 | edit: '编辑链接', 32 | textToDisplay: '显示文本', 33 | url: '链接地址', 34 | openInNewWindow: '在新窗口打开' 35 | }, 36 | video: { 37 | video: '视频', 38 | videoLink: '视频链接', 39 | insert: '插入视频', 40 | url: '视频地址', 41 | providers: '(优酷, Instagram, DailyMotion, Youtube等)' 42 | }, 43 | table: { 44 | table: '表格' 45 | }, 46 | hr: { 47 | insert: '水平线' 48 | }, 49 | style: { 50 | style: '样式', 51 | normal: '普通', 52 | blockquote: '引用', 53 | pre: '代码', 54 | h1: '标题 1', 55 | h2: '标题 2', 56 | h3: '标题 3', 57 | h4: '标题 4', 58 | h5: '标题 5', 59 | h6: '标题 6' 60 | }, 61 | lists: { 62 | unordered: '无序列表', 63 | ordered: '有序列表' 64 | }, 65 | options: { 66 | help: '帮助', 67 | fullscreen: '全屏', 68 | codeview: '源代码' 69 | }, 70 | paragraph: { 71 | paragraph: '段落', 72 | outdent: '减少缩进', 73 | indent: '增加缩进', 74 | left: '左对齐', 75 | center: '居中对齐', 76 | right: '右对齐', 77 | justify: '两端对齐' 78 | }, 79 | color: { 80 | recent: '最近使用', 81 | more: '更多', 82 | background: '背景', 83 | foreground: '前景', 84 | transparent: '透明', 85 | setTransparent: '透明', 86 | reset: '重置', 87 | resetToDefault: '默认' 88 | }, 89 | shortcut: { 90 | shortcuts: '快捷键', 91 | close: '关闭', 92 | textFormatting: '文本格式', 93 | action: '动作', 94 | paragraphFormatting: '段落格式', 95 | documentStyle: '文档样式' 96 | }, 97 | history: { 98 | undo: '撤销', 99 | redo: '重做' 100 | } 101 | } 102 | }); 103 | })(jQuery); 104 | -------------------------------------------------------------------------------- /js/plugins/toastr/toastr.min.js: -------------------------------------------------------------------------------- 1 | !function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return f({type:O.error,iconClass:g().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=g()),v=e("#"+t.containerId),v.length?v:(n&&(v=c(t)),v)}function i(e,t,n){return f({type:O.info,iconClass:g().iconClasses.info,message:e,optionsOverride:n,title:t})}function o(e){w=e}function s(e,t,n){return f({type:O.success,iconClass:g().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return f({type:O.warning,iconClass:g().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e){var t=g();v||n(t),l(e,t)||u(t)}function d(t){var i=g();return v||n(i),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function u(t){for(var n=v.children(),i=n.length-1;i>=0;i--)l(e(n[i]),t)}function l(t,n){return t&&0===e(":focus",t).length?(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0):!1}function c(t){return v=e("
").attr("id",t.containerId).addClass(t.positionClass).attr("aria-live","polite").attr("role","alert"),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function m(e){w&&w(e)}function f(t){function i(t){return!e(":focus",l).length||t?(clearTimeout(O.intervalId),l[r.hideMethod]({duration:r.hideDuration,easing:r.hideEasing,complete:function(){h(l),r.onHidden&&"hidden"!==b.state&&r.onHidden(),b.state="hidden",b.endTime=new Date,m(b)}})):void 0}function o(){(r.timeOut>0||r.extendedTimeOut>0)&&(u=setTimeout(i,r.extendedTimeOut),O.maxHideTime=parseFloat(r.extendedTimeOut),O.hideEta=(new Date).getTime()+O.maxHideTime)}function s(){clearTimeout(u),O.hideEta=0,l.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function a(){var e=(O.hideEta-(new Date).getTime())/O.maxHideTime*100;f.width(e+"%")}var r=g(),d=t.iconClass||r.iconClass;if("undefined"!=typeof t.optionsOverride&&(r=e.extend(r,t.optionsOverride),d=t.optionsOverride.iconClass||d),r.preventDuplicates){if(t.message===C)return;C=t.message}T++,v=n(r,!0);var u=null,l=e("
"),c=e("
"),p=e("
"),f=e("
"),w=e(r.closeHtml),O={intervalId:null,hideEta:null,maxHideTime:null},b={toastId:T,state:"visible",startTime:new Date,options:r,map:t};return t.iconClass&&l.addClass(r.toastClass).addClass(d),t.title&&(c.append(t.title).addClass(r.titleClass),l.append(c)),t.message&&(p.append(t.message).addClass(r.messageClass),l.append(p)),r.closeButton&&(w.addClass("toast-close-button").attr("role","button"),l.prepend(w)),r.progressBar&&(f.addClass("toast-progress"),l.prepend(f)),l.hide(),r.newestOnTop?v.prepend(l):v.append(l),l[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(u=setTimeout(i,r.timeOut),O.maxHideTime=parseFloat(r.timeOut),O.hideEta=(new Date).getTime()+O.maxHideTime,r.progressBar&&(O.intervalId=setInterval(a,10))),l.hover(s,o),!r.onclick&&r.tapToDismiss&&l.click(i),r.closeButton&&w&&w.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),i(!0)}),r.onclick&&l.click(function(){r.onclick(),i()}),m(b),r.debug&&console&&console.log(b),l}function g(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),C=void 0))}var v,w,C,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:d,error:t,getContainer:n,info:i,options:{},subscribe:o,success:s,version:"2.1.0",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}); 2 | //# sourceMappingURL=/toastr.js.map -------------------------------------------------------------------------------- /js/plugins/validate/messages_zh.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery Validation Plugin - v1.13.1 - 10/14/2014 2 | * http://jqueryvalidation.org/ 3 | * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */ 4 | ! function (a) { 5 | "function" == typeof define && define.amd ? define(["jquery", "jquery.validate.min"], a) : a(jQuery) 6 | }(function (a) { 7 | a.extend(a.validator.messages, { 8 | required: "必填", 9 | remote: "请修正此栏位", 10 | email: "请输入有效的电子邮件", 11 | url: "请输入有效的网址", 12 | date: "请输入有效的日期", 13 | dateISO: "请输入有效的日期 (YYYY-MM-DD)", 14 | number: "请输入正确的数字", 15 | digits: "只能输入数字", 16 | creditcard: "请输入有效的信用卡号码", 17 | equalTo: "你的输入不相同", 18 | extension: "请输入有效的后缀", 19 | maxlength: a.validator.format("最多 {0} 个字"), 20 | minlength: a.validator.format("最少 {0} 个字"), 21 | rangelength: a.validator.format("请输入长度为 {0} 至 {1} 之间的字串"), 22 | range: a.validator.format("请输入 {0} 至 {1} 之间的数值"), 23 | max: a.validator.format("请输入不大于 {0} 的数值"), 24 | min: a.validator.format("请输入不小于 {0} 的数值") 25 | }) 26 | }); -------------------------------------------------------------------------------- /lockscreen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 素材火www.sucaihuo.com - 登录超时 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 |
27 |
28 | image 29 |
30 |

Beaut-zihan

31 |

您需要再次输入密码

32 |
33 |
34 | 35 |
36 | 37 |
38 |
39 |
40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 素材火www.sucaihuo.com - 登录 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 | 27 |

H+

28 | 29 |
30 |

欢迎使用 H+

31 | 32 |
33 |
34 | 35 |
36 |
37 | 38 |
39 | 40 | 41 | 42 |

忘记密码了? | 注册一个新账号 43 |

44 | 45 |
46 |
47 |
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /plugins/fullavatareditor/fullAvatarEditor.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XinLiangCoder/H-background-theme/ac8950fa694a03b52d308300f152790123a2d4d7/plugins/fullavatareditor/fullAvatarEditor.swf -------------------------------------------------------------------------------- /plugins/fullavatareditor/scripts/fullAvatarEditor.js: -------------------------------------------------------------------------------- 1 | function fullAvatarEditor() { 2 | var id = 'fullAvatarEditor' //flash文件的ID 3 | var file = 'plugins/fullavatareditor/fullAvatarEditor.swf'; //flash文件的路径 4 | var version = "10.1.0"; //播放该flash所需的最低版本 5 | var expressInstall = 'expressInstall.swf'; //expressInstall.swf的路径 6 | var width = 600; //flash文件的宽度 7 | var height = 430; //flash文件的高度 8 | var container = id; //装载flash文件的容器(如div)的id 9 | var flashvars = {}; 10 | var callback = function(){}; 11 | var heightChanged = false; 12 | //智能获取参数,字符类型为装载flash文件的容器(如div)的id,第一个数字类型的为高度,第二个为宽度,第一个object类型的为参数对象,如此4个参数的顺序可随意。 13 | for(var i = 0; i < arguments.length; i++) 14 | { 15 | if(typeof arguments[i] == 'string') 16 | { 17 | container = arguments[i]; 18 | } 19 | else if(typeof arguments[i] == 'number') 20 | { 21 | if(heightChanged) 22 | { 23 | width = arguments[i]; 24 | } 25 | else 26 | { 27 | height = arguments[i]; 28 | heightChanged = true; 29 | } 30 | } 31 | else if(typeof arguments[i] == 'function') 32 | { 33 | callback = arguments[i]; 34 | } 35 | else 36 | { 37 | flashvars = arguments[i]; 38 | } 39 | } 40 | var vars = { 41 | id : id 42 | }; 43 | //合并参数 44 | for (var name in flashvars) 45 | { 46 | if(flashvars[name] != null) 47 | { 48 | if(name == 'upload_url' || name == 'src_url') 49 | { 50 | vars[name] = encodeURIComponent(flashvars[name]); 51 | } 52 | else 53 | { 54 | vars[name] = flashvars[name]; 55 | } 56 | } 57 | } 58 | var params = { 59 | menu : 'true', 60 | scale : 'noScale', 61 | allowFullscreen : 'true', 62 | allowScriptAccess : 'always', 63 | wmode : 'transparent' 64 | }; 65 | var attributes = { 66 | id : vars.id, 67 | name: vars.id 68 | }; 69 | var swf = null; 70 | var callbackFn = function (e) { 71 | swf = e.ref; 72 | swf.eventHandler = function(json){ 73 | callback.call(swf, json); 74 | }; 75 | }; 76 | swfobject.embedSWF( 77 | file, 78 | container, 79 | width, 80 | height, 81 | version, 82 | expressInstall, 83 | vars, 84 | params, 85 | attributes, 86 | callbackFn 87 | ); 88 | return swf; 89 | } -------------------------------------------------------------------------------- /plugins/fullavatareditor/scripts/jQuery.Cookie.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Cookie plugin 3 | * 4 | * Copyright (c) 2006 Klaus Hartl (stilbuero.de) 5 | * Dual licensed under the MIT and GPL licenses: 6 | * http://www.opensource.org/licenses/mit-license.php 7 | * http://www.gnu.org/licenses/gpl.html 8 | * 9 | */ 10 | 11 | /** 12 | * Create a Cookie with the given name and value and other optional parameters. 13 | * 14 | * @example $.Cookie('the_cookie', 'the_value'); 15 | * @desc Set the value of a Cookie. 16 | * @example $.Cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); 17 | * @desc Create a Cookie with all available options. 18 | * @example $.Cookie('the_cookie', 'the_value'); 19 | * @desc Create a session Cookie. 20 | * @example $.Cookie('the_cookie', null); 21 | * @desc Delete a Cookie by passing null as value. Keep in mind that you have to use the same path and domain 22 | * used when the Cookie was set. 23 | * 24 | * @param String name The name of the Cookie. 25 | * @param String value The value of the Cookie. 26 | * @param Object options An object literal containing key/value pairs to provide optional Cookie attributes. 27 | * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. 28 | * If a negative value is specified (e.g. a date in the past), the Cookie will be deleted. 29 | * If set to null or omitted, the Cookie will be a session Cookie and will not be retained 30 | * when the the browser exits. 31 | * @option String path The value of the path atribute of the Cookie (default: path of page that created the Cookie). 32 | * @option String domain The value of the domain attribute of the Cookie (default: domain of page that created the Cookie). 33 | * @option Boolean secure If true, the secure attribute of the Cookie will be set and the Cookie transmission will 34 | * require a secure protocol (like HTTPS). 35 | * @type undefined 36 | * 37 | * @name $.Cookie 38 | * @cat Plugins/Cookie 39 | * @author Klaus Hartl/klaus.hartl@stilbuero.de 40 | */ 41 | 42 | /** 43 | * Get the value of a Cookie with the given name. 44 | * 45 | * @example $.Cookie('the_cookie'); 46 | * @desc Get the value of a Cookie. 47 | * 48 | * @param String name The name of the Cookie. 49 | * @return The value of the Cookie. 50 | * @type String 51 | * 52 | * @name $.Cookie 53 | * @cat Plugins/Cookie 54 | * @author Klaus Hartl/klaus.hartl@stilbuero.de 55 | */ 56 | $.Cookie = function(name, value, options) { 57 | if (typeof value != 'undefined') { // name and value given, set Cookie 58 | options = options || {}; 59 | if (value === null) { 60 | value = ''; 61 | options.expires = -1; 62 | } 63 | var expires = ''; 64 | if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { 65 | var date; 66 | if (typeof options.expires == 'number') { 67 | date = new Date(); 68 | date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); 69 | } else { 70 | date = options.expires; 71 | } 72 | expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE 73 | } 74 | // CAUTION: Needed to parenthesize options.path and options.domain 75 | // in the following expressions, otherwise they evaluate to undefined 76 | // in the packed version for some reason... 77 | var path = options.path ? '; path=' + (options.path) : ''; 78 | var domain = options.domain ? '; domain=' + (options.domain) : ''; 79 | var secure = options.secure ? '; secure' : ''; 80 | document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 81 | } else { // only name given, get Cookie 82 | var cookieValue = null; 83 | if (document.cookie && document.cookie != '') { 84 | var cookies = document.cookie.split(';'); 85 | for (var i = 0; i < cookies.length; i++) { 86 | var cookie = jQuery.trim(cookies[i]); 87 | // Does this cookie string begin with the name we want? 88 | if (cookie.substring(0, name.length + 1) == (name + '=')) { 89 | cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); 90 | break; 91 | } 92 | } 93 | } 94 | return cookieValue; 95 | } 96 | }; -------------------------------------------------------------------------------- /register.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 素材火www.sucaihuo.com - 注册 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |
26 | 27 |

H+

28 | 29 |
30 |

欢迎注册 H+

31 |

创建一个H+新账户

32 |
33 |
34 | 35 |
36 |
37 | 38 |
39 |
40 | 41 |
42 |
43 |
44 | 46 |
47 |
48 | 49 | 50 |

已经有账户了?点此登录 51 |

52 | 53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 70 | 71 | 72 | 73 | 74 | 75 | --------------------------------------------------------------------------------