init
Too many changes to show.
To preserve performance only 1000 of 1000+ files are displayed.
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link href="lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" /> | ||
| 14 | <link href="static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" /> | ||
| 15 | <link href="static/h-ui.admin/css/H-ui.admin.css" rel="stylesheet" type="text/css" /> | ||
| 16 | <!--[if IE 6]> | ||
| 17 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 18 | <script>DD_belatedPNG.fix('*');</script> | ||
| 19 | <![endif]--> | ||
| 20 | <title>404页面</title> | ||
| 21 | </head> | ||
| 22 | <body> | ||
| 23 | <section class="container-fluid page-404 minWP text-c"> | ||
| 24 | <p class="error-title"><i class="Hui-iconfont va-m" style="font-size:80px"></i> | ||
| 25 | <span class="va-m"> 404</span> | ||
| 26 | </p> | ||
| 27 | <p class="error-description">不好意思,您访问的页面不存在~</p> | ||
| 28 | <p class="error-info">您可以: | ||
| 29 | <a href="javascript:;" onclick="history.go(-1)" class="c-primary">< 返回上一页</a> | ||
| 30 | <span class="ml-20">|</span> | ||
| 31 | <a href="/" class="c-primary ml-20">去首页 ></a> | ||
| 32 | </p> | ||
| 33 | </section> | ||
| 34 | </body> | ||
| 35 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | # The MIT License (MIT) | ||
| 2 | |||
| 3 | Copyright (c) 2013-2017 H-ui.admin Inc. | ||
| 4 | |||
| 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| 6 | this software and associated documentation files (the "Software"), to deal in | ||
| 7 | the Software without restriction, including without limitation the rights to | ||
| 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
| 9 | the Software, and to permit persons to whom the Software is furnished to do so, | ||
| 10 | subject to the following conditions: | ||
| 11 | |||
| 12 | The above copyright notice and this permission notice shall be included in all | ||
| 13 | copies or substantial portions of the Software. | ||
| 14 | |||
| 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
| 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
| 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
| 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
| 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <link rel="Bookmark" href="/favicon.ico" > | ||
| 10 | <link rel="Shortcut Icon" href="/favicon.ico" /> | ||
| 11 | <!--[if lt IE 9]> | ||
| 12 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 13 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 14 | |||
| 15 | <![endif]--> | ||
| 16 | <link href="static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" /> | ||
| 17 | <link href="static/h-ui.admin/css/H-ui.admin.css" rel="stylesheet" type="text/css" /> | ||
| 18 | <link href="lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" /> | ||
| 19 | |||
| 20 | <!--[if IE 6]> | ||
| 21 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 22 | <script>DD_belatedPNG.fix('*');</script> | ||
| 23 | <![endif]--> | ||
| 24 | <title>空白页</title> | ||
| 25 | </head> | ||
| 26 | <body> | ||
| 27 | <div class="pd-20"> | ||
| 28 | 这是一个空白页 | ||
| 29 | </div> | ||
| 30 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 31 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.js"></script> | ||
| 33 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/validate-methods.js"></script> | ||
| 34 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/messages_zh.js"></script> | ||
| 35 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 36 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> | ||
| 37 | </body> | ||
| 38 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 2 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 3 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 4 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <header class="navbar-wrapper"> | ||
| 2 | <div class="navbar navbar-fixed-top"> | ||
| 3 | <div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="/aboutHui.shtml">H-ui.admin</a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml">H-ui</a> <span class="logo navbar-slogan f-l mr-10 hidden-xs">v3.1</span> <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;"></a> | ||
| 4 | <nav class="nav navbar-nav"> | ||
| 5 | <ul class="cl"> | ||
| 6 | <li class="dropDown dropDown_hover"><a href="javascript:;" class="dropDown_A"><i class="Hui-iconfont"></i> 新增 <i class="Hui-iconfont"></i></a> | ||
| 7 | <ul class="dropDown-menu menu radius box-shadow"> | ||
| 8 | <li><a href="javascript:;" onclick="article_add('添加资讯','article-add.html')"><i class="Hui-iconfont"></i> 资讯</a></li> | ||
| 9 | <li><a href="javascript:;" onclick="picture_add('添加资讯','picture-add.html')"><i class="Hui-iconfont"></i> 图片</a></li> | ||
| 10 | <li><a href="javascript:;" onclick="product_add('添加资讯','product-add.html')"><i class="Hui-iconfont"></i> 产品</a></li> | ||
| 11 | <li><a href="javascript:;" onclick="member_add('添加用户','member-add.html','','510')"><i class="Hui-iconfont"></i> 用户</a></li> | ||
| 12 | </ul> | ||
| 13 | </li> | ||
| 14 | </ul> | ||
| 15 | </nav> | ||
| 16 | <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs"> | ||
| 17 | <ul class="cl"> | ||
| 18 | <li>超级管理员</li> | ||
| 19 | <li class="dropDown dropDown_hover"> <a href="#" class="dropDown_A">admin <i class="Hui-iconfont"></i></a> | ||
| 20 | <ul class="dropDown-menu menu radius box-shadow"> | ||
| 21 | <li><a href="#">个人信息</a></li> | ||
| 22 | <li><a href="#">切换账户</a></li> | ||
| 23 | <li><a href="#">退出</a></li> | ||
| 24 | </ul> | ||
| 25 | </li> | ||
| 26 | <li id="Hui-msg"> <a href="#" title="消息"><span class="badge badge-danger">1</span><i class="Hui-iconfont" style="font-size:18px"></i></a> </li> | ||
| 27 | <li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px"></i></a> | ||
| 28 | <ul class="dropDown-menu menu radius box-shadow"> | ||
| 29 | <li><a href="javascript:;" data-val="default" title="默认(黑色)">默认(黑色)</a></li> | ||
| 30 | <li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li> | ||
| 31 | <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li> | ||
| 32 | <li><a href="javascript:;" data-val="red" title="红色">红色</a></li> | ||
| 33 | <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li> | ||
| 34 | <li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li> | ||
| 35 | </ul> | ||
| 36 | </li> | ||
| 37 | </ul> | ||
| 38 | </nav> | ||
| 39 | </div> | ||
| 40 | </div> | ||
| 41 | </header> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <aside class="Hui-aside"> | ||
| 2 | <div class="menu_dropdown bk_2"> | ||
| 3 | <dl id="menu-article"> | ||
| 4 | <dt><i class="Hui-iconfont"></i> 资讯管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 5 | <dd> | ||
| 6 | <ul> | ||
| 7 | <li><a data-href="article-list.html" data-title="资讯管理" href="javascript:void(0)">资讯管理</a></li> | ||
| 8 | </ul> | ||
| 9 | </dd> | ||
| 10 | </dl> | ||
| 11 | <dl id="menu-picture"> | ||
| 12 | <dt><i class="Hui-iconfont"></i> 图片管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 13 | <dd> | ||
| 14 | <ul> | ||
| 15 | <li><a data-href="picture-list.html" data-title="图片管理" href="javascript:void(0)">图片管理</a></li> | ||
| 16 | </ul> | ||
| 17 | </dd> | ||
| 18 | </dl> | ||
| 19 | <dl id="menu-product"> | ||
| 20 | <dt><i class="Hui-iconfont"></i> 产品管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 21 | <dd> | ||
| 22 | <ul> | ||
| 23 | <li><a data-href="product-brand.html" data-title="品牌管理" href="javascript:void(0)">品牌管理</a></li> | ||
| 24 | <li><a data-href="product-category.html" data-title="分类管理" href="javascript:void(0)">分类管理</a></li> | ||
| 25 | <li><a data-href="product-list.html" data-title="产品管理" href="javascript:void(0)">产品管理</a></li> | ||
| 26 | </ul> | ||
| 27 | </dd> | ||
| 28 | </dl> | ||
| 29 | <dl id="menu-comments"> | ||
| 30 | <dt><i class="Hui-iconfont"></i> 评论管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 31 | <dd> | ||
| 32 | <ul> | ||
| 33 | <li><a data-href="http://h-ui.duoshuo.com/admin/" data-title="评论列表" href="javascript:;">评论列表</a></li> | ||
| 34 | <li><a data-href="feedback-list.html" data-title="意见反馈" href="javascript:void(0)">意见反馈</a></li> | ||
| 35 | </ul> | ||
| 36 | </dd> | ||
| 37 | </dl> | ||
| 38 | <dl id="menu-member"> | ||
| 39 | <dt><i class="Hui-iconfont"></i> 会员管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 40 | <dd> | ||
| 41 | <ul> | ||
| 42 | <li><a data-href="member-list.html" data-title="会员列表" href="javascript:;">会员列表</a></li> | ||
| 43 | <li><a data-href="member-del.html" data-title="删除的会员" href="javascript:;">删除的会员</a></li> | ||
| 44 | <li><a data-href="member-level.html" data-title="等级管理" href="javascript:;">等级管理</a></li> | ||
| 45 | <li><a data-href="member-scoreoperation.html" data-title="积分管理" href="javascript:;">积分管理</a></li> | ||
| 46 | <li><a data-href="member-record-browse.html" data-title="浏览记录" href="javascript:void(0)">浏览记录</a></li> | ||
| 47 | <li><a data-href="member-record-download.html" data-title="下载记录" href="javascript:void(0)">下载记录</a></li> | ||
| 48 | <li><a data-href="member-record-share.html" data-title="分享记录" href="javascript:void(0)">分享记录</a></li> | ||
| 49 | </ul> | ||
| 50 | </dd> | ||
| 51 | </dl> | ||
| 52 | <dl id="menu-admin"> | ||
| 53 | <dt><i class="Hui-iconfont"></i> 管理员管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 54 | <dd> | ||
| 55 | <ul> | ||
| 56 | <li><a data-href="admin-role.html" data-title="角色管理" href="javascript:void(0)">角色管理</a></li> | ||
| 57 | <li><a data-href="admin-permission.html" data-title="权限管理" href="javascript:void(0)">权限管理</a></li> | ||
| 58 | <li><a data-href="admin-list.html" data-title="管理员列表" href="javascript:void(0)">管理员列表</a></li> | ||
| 59 | </ul> | ||
| 60 | </dd> | ||
| 61 | </dl> | ||
| 62 | <dl id="menu-tongji"> | ||
| 63 | <dt><i class="Hui-iconfont"></i> 系统统计<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 64 | <dd> | ||
| 65 | <ul> | ||
| 66 | <li><a data-href="charts-1.html" data-title="折线图" href="javascript:void(0)">折线图</a></li> | ||
| 67 | <li><a data-href="charts-2.html" data-title="时间轴折线图" href="javascript:void(0)">时间轴折线图</a></li> | ||
| 68 | <li><a data-href="charts-3.html" data-title="区域图" href="javascript:void(0)">区域图</a></li> | ||
| 69 | <li><a data-href="charts-4.html" data-title="柱状图" href="javascript:void(0)">柱状图</a></li> | ||
| 70 | <li><a data-href="charts-5.html" data-title="饼状图" href="javascript:void(0)">饼状图</a></li> | ||
| 71 | <li><a data-href="charts-6.html" data-title="3D柱状图" href="javascript:void(0)">3D柱状图</a></li> | ||
| 72 | <li><a data-href="charts-7.html" data-title="3D饼状图" href="javascript:void(0)">3D饼状图</a></li> | ||
| 73 | </ul> | ||
| 74 | </dd> | ||
| 75 | </dl> | ||
| 76 | <dl id="menu-system"> | ||
| 77 | <dt><i class="Hui-iconfont"></i> 系统管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt> | ||
| 78 | <dd> | ||
| 79 | <ul> | ||
| 80 | <li><a data-href="system-base.html" data-title="系统设置" href="javascript:void(0)">系统设置</a></li> | ||
| 81 | <li><a data-href="system-category.html" data-title="栏目管理" href="javascript:void(0)">栏目管理</a></li> | ||
| 82 | <li><a data-href="system-data.html" data-title="数据字典" href="javascript:void(0)">数据字典</a></li> | ||
| 83 | <li><a data-href="system-shielding.html" data-title="屏蔽词" href="javascript:void(0)">屏蔽词</a></li> | ||
| 84 | <li><a data-href="system-log.html" data-title="系统日志" href="javascript:void(0)">系统日志</a></li> | ||
| 85 | </ul> | ||
| 86 | </dd> | ||
| 87 | </dl> | ||
| 88 | </div> | ||
| 89 | </aside> | ||
| 90 | <div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <link rel="Bookmark" href="/favicon.ico" > | ||
| 10 | <link rel="Shortcut Icon" href="/favicon.ico" /> | ||
| 11 | <!--[if lt IE 9]> | ||
| 12 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 13 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 14 | <![endif]--> | ||
| 15 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 18 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 19 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 20 | <!--[if IE 6]> | ||
| 21 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 22 | <script>DD_belatedPNG.fix('*');</script> | ||
| 23 | <![endif]--> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>添加管理员 - 管理员管理 - H-ui.admin v3.1</title> | ||
| 23 | <meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载"> | ||
| 24 | <meta name="description" content="H-ui.admin v3.1,是一款由国人开发的轻量级扁平化网站后台模板,完全免费开源的网站后台管理系统模版,适合中小型CMS后台系统。"> | ||
| 25 | </head> | ||
| 26 | <body> | ||
| 27 | <article class="page-container"> | ||
| 28 | <form class="form form-horizontal" id="form-admin-add"> | ||
| 29 | <div class="row cl"> | ||
| 30 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>管理员:</label> | ||
| 31 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 32 | <input type="text" class="input-text" value="" placeholder="" id="adminName" name="adminName"> | ||
| 33 | </div> | ||
| 34 | </div> | ||
| 35 | <div class="row cl"> | ||
| 36 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>初始密码:</label> | ||
| 37 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 38 | <input type="password" class="input-text" autocomplete="off" value="" placeholder="密码" id="password" name="password"> | ||
| 39 | </div> | ||
| 40 | </div> | ||
| 41 | <div class="row cl"> | ||
| 42 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>确认密码:</label> | ||
| 43 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 44 | <input type="password" class="input-text" autocomplete="off" placeholder="确认新密码" id="password2" name="password2"> | ||
| 45 | </div> | ||
| 46 | </div> | ||
| 47 | <div class="row cl"> | ||
| 48 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>性别:</label> | ||
| 49 | <div class="formControls col-xs-8 col-sm-9 skin-minimal"> | ||
| 50 | <div class="radio-box"> | ||
| 51 | <input name="sex" type="radio" id="sex-1" checked> | ||
| 52 | <label for="sex-1">男</label> | ||
| 53 | </div> | ||
| 54 | <div class="radio-box"> | ||
| 55 | <input type="radio" id="sex-2" name="sex"> | ||
| 56 | <label for="sex-2">女</label> | ||
| 57 | </div> | ||
| 58 | </div> | ||
| 59 | </div> | ||
| 60 | <div class="row cl"> | ||
| 61 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>手机:</label> | ||
| 62 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 63 | <input type="text" class="input-text" value="" placeholder="" id="phone" name="phone"> | ||
| 64 | </div> | ||
| 65 | </div> | ||
| 66 | <div class="row cl"> | ||
| 67 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>邮箱:</label> | ||
| 68 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 69 | <input type="text" class="input-text" placeholder="@" name="email" id="email"> | ||
| 70 | </div> | ||
| 71 | </div> | ||
| 72 | <div class="row cl"> | ||
| 73 | <label class="form-label col-xs-4 col-sm-3">角色:</label> | ||
| 74 | <div class="formControls col-xs-8 col-sm-9"> <span class="select-box" style="width:150px;"> | ||
| 75 | <select class="select" name="adminRole" size="1"> | ||
| 76 | <option value="0">超级管理员</option> | ||
| 77 | <option value="1">总编</option> | ||
| 78 | <option value="2">栏目主辑</option> | ||
| 79 | <option value="3">栏目编辑</option> | ||
| 80 | </select> | ||
| 81 | </span> </div> | ||
| 82 | </div> | ||
| 83 | <div class="row cl"> | ||
| 84 | <label class="form-label col-xs-4 col-sm-3">备注:</label> | ||
| 85 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 86 | <textarea name="" cols="" rows="" class="textarea" placeholder="说点什么...100个字符以内" dragonfly="true" onKeyUp="$.Huitextarealength(this,100)"></textarea> | ||
| 87 | <p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p> | ||
| 88 | </div> | ||
| 89 | </div> | ||
| 90 | <div class="row cl"> | ||
| 91 | <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3"> | ||
| 92 | <input class="btn btn-primary radius" type="submit" value=" 提交 "> | ||
| 93 | </div> | ||
| 94 | </div> | ||
| 95 | </form> | ||
| 96 | </article> | ||
| 97 | |||
| 98 | <!--_footer 作为公共模版分离出去--> | ||
| 99 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 100 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 101 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 102 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 103 | |||
| 104 | <!--请在下方写此页面业务相关的脚本--> | ||
| 105 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.js"></script> | ||
| 106 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/validate-methods.js"></script> | ||
| 107 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/messages_zh.js"></script> | ||
| 108 | <script type="text/javascript"> | ||
| 109 | $(function(){ | ||
| 110 | $('.skin-minimal input').iCheck({ | ||
| 111 | checkboxClass: 'icheckbox-blue', | ||
| 112 | radioClass: 'iradio-blue', | ||
| 113 | increaseArea: '20%' | ||
| 114 | }); | ||
| 115 | |||
| 116 | $("#form-admin-add").validate({ | ||
| 117 | rules:{ | ||
| 118 | adminName:{ | ||
| 119 | required:true, | ||
| 120 | minlength:4, | ||
| 121 | maxlength:16 | ||
| 122 | }, | ||
| 123 | password:{ | ||
| 124 | required:true, | ||
| 125 | }, | ||
| 126 | password2:{ | ||
| 127 | required:true, | ||
| 128 | equalTo: "#password" | ||
| 129 | }, | ||
| 130 | sex:{ | ||
| 131 | required:true, | ||
| 132 | }, | ||
| 133 | phone:{ | ||
| 134 | required:true, | ||
| 135 | isPhone:true, | ||
| 136 | }, | ||
| 137 | email:{ | ||
| 138 | required:true, | ||
| 139 | email:true, | ||
| 140 | }, | ||
| 141 | adminRole:{ | ||
| 142 | required:true, | ||
| 143 | }, | ||
| 144 | }, | ||
| 145 | onkeyup:false, | ||
| 146 | focusCleanup:true, | ||
| 147 | success:"valid", | ||
| 148 | submitHandler:function(form){ | ||
| 149 | $(form).ajaxSubmit({ | ||
| 150 | type: 'post', | ||
| 151 | url: "xxxxxxx" , | ||
| 152 | success: function(data){ | ||
| 153 | layer.msg('添加成功!',{icon:1,time:1000}); | ||
| 154 | }, | ||
| 155 | error: function(XmlHttpRequest, textStatus, errorThrown){ | ||
| 156 | layer.msg('error!',{icon:1,time:1000}); | ||
| 157 | } | ||
| 158 | }); | ||
| 159 | var index = parent.layer.getFrameIndex(window.name); | ||
| 160 | parent.$('.btn-refresh').click(); | ||
| 161 | parent.layer.close(index); | ||
| 162 | } | ||
| 163 | }); | ||
| 164 | }); | ||
| 165 | </script> | ||
| 166 | <!--/请在上方写此页面业务相关的脚本--> | ||
| 167 | </body> | ||
| 168 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <link rel="Bookmark" href="/favicon.ico" > | ||
| 10 | <link rel="Shortcut Icon" href="/favicon.ico" /> | ||
| 11 | <!--[if lt IE 9]> | ||
| 12 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 13 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 14 | <![endif]--> | ||
| 15 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 18 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 19 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 20 | <!--[if IE 6]> | ||
| 21 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 22 | <script>DD_belatedPNG.fix('*');</script> | ||
| 23 | <![endif]--> | ||
| 24 | <title>管理员列表</title> | ||
| 25 | </head> | ||
| 26 | <body> | ||
| 27 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 管理员管理 <span class="c-gray en">></span> 管理员列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 28 | <div class="page-container"> | ||
| 29 | <div class="text-c"> 日期范围: | ||
| 30 | <input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}' })" id="datemin" class="input-text Wdate" style="width:120px;"> | ||
| 31 | - | ||
| 32 | <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'datemin\')}',maxDate:'%y-%M-%d' })" id="datemax" class="input-text Wdate" style="width:120px;"> | ||
| 33 | <input type="text" class="input-text" style="width:250px" placeholder="输入管理员名称" id="" name=""> | ||
| 34 | <button type="submit" class="btn btn-success" id="" name=""><i class="Hui-iconfont"></i> 搜用户</button> | ||
| 35 | </div> | ||
| 36 | <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont"></i> 批量删除</a> <a href="javascript:;" onclick="admin_add('添加管理员','admin-add.html','800','500')" class="btn btn-primary radius"><i class="Hui-iconfont"></i> 添加管理员</a></span> <span class="r">共有数据:<strong>54</strong> 条</span> </div> | ||
| 37 | <table class="table table-border table-bordered table-bg"> | ||
| 38 | <thead> | ||
| 39 | <tr> | ||
| 40 | <th scope="col" colspan="9">员工列表</th> | ||
| 41 | </tr> | ||
| 42 | <tr class="text-c"> | ||
| 43 | <th width="25"><input type="checkbox" name="" value=""></th> | ||
| 44 | <th width="40">ID</th> | ||
| 45 | <th width="150">登录名</th> | ||
| 46 | <th width="90">手机</th> | ||
| 47 | <th width="150">邮箱</th> | ||
| 48 | <th>角色</th> | ||
| 49 | <th width="130">加入时间</th> | ||
| 50 | <th width="100">是否已启用</th> | ||
| 51 | <th width="100">操作</th> | ||
| 52 | </tr> | ||
| 53 | </thead> | ||
| 54 | <tbody> | ||
| 55 | <tr class="text-c"> | ||
| 56 | <td><input type="checkbox" value="1" name=""></td> | ||
| 57 | <td>1</td> | ||
| 58 | <td>admin</td> | ||
| 59 | <td>13000000000</td> | ||
| 60 | <td>admin@mail.com</td> | ||
| 61 | <td>超级管理员</td> | ||
| 62 | <td>2014-6-11 11:11:42</td> | ||
| 63 | <td class="td-status"><span class="label label-success radius">已启用</span></td> | ||
| 64 | <td class="td-manage"><a style="text-decoration:none" onClick="admin_stop(this,'10001')" href="javascript:;" title="停用"><i class="Hui-iconfont"></i></a> <a title="编辑" href="javascript:;" onclick="admin_edit('管理员编辑','admin-add.html','1','800','500')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 65 | </tr> | ||
| 66 | <tr class="text-c"> | ||
| 67 | <td><input type="checkbox" value="2" name=""></td> | ||
| 68 | <td>2</td> | ||
| 69 | <td>zhangsan</td> | ||
| 70 | <td>13000000000</td> | ||
| 71 | <td>admin@mail.com</td> | ||
| 72 | <td>栏目编辑</td> | ||
| 73 | <td>2014-6-11 11:11:42</td> | ||
| 74 | <td class="td-status"><span class="label radius">已停用</span></td> | ||
| 75 | <td class="td-manage"><a style="text-decoration:none" onClick="admin_start(this,'10001')" href="javascript:;" title="启用"><i class="Hui-iconfont"></i></a> <a title="编辑" href="javascript:;" onclick="admin_edit('管理员编辑','admin-add.html','2','800','500')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 76 | </tr> | ||
| 77 | </tbody> | ||
| 78 | </table> | ||
| 79 | </div> | ||
| 80 | <!--_footer 作为公共模版分离出去--> | ||
| 81 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 82 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 83 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 84 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 85 | |||
| 86 | <!--请在下方写此页面业务相关的脚本--> | ||
| 87 | <script type="text/javascript" src="lib/My97DatePicker/4.8/WdatePicker.js"></script> | ||
| 88 | <script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script> | ||
| 89 | <script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script> | ||
| 90 | <script type="text/javascript"> | ||
| 91 | /* | ||
| 92 | 参数解释: | ||
| 93 | title 标题 | ||
| 94 | url 请求的url | ||
| 95 | id 需要操作的数据id | ||
| 96 | w 弹出层宽度(缺省调默认值) | ||
| 97 | h 弹出层高度(缺省调默认值) | ||
| 98 | */ | ||
| 99 | /*管理员-增加*/ | ||
| 100 | function admin_add(title,url,w,h){ | ||
| 101 | layer_show(title,url,w,h); | ||
| 102 | } | ||
| 103 | /*管理员-删除*/ | ||
| 104 | function admin_del(obj,id){ | ||
| 105 | layer.confirm('确认要删除吗?',function(index){ | ||
| 106 | $.ajax({ | ||
| 107 | type: 'POST', | ||
| 108 | url: '', | ||
| 109 | dataType: 'json', | ||
| 110 | success: function(data){ | ||
| 111 | $(obj).parents("tr").remove(); | ||
| 112 | layer.msg('已删除!',{icon:1,time:1000}); | ||
| 113 | }, | ||
| 114 | error:function(data) { | ||
| 115 | console.log(data.msg); | ||
| 116 | }, | ||
| 117 | }); | ||
| 118 | }); | ||
| 119 | } | ||
| 120 | |||
| 121 | /*管理员-编辑*/ | ||
| 122 | function admin_edit(title,url,id,w,h){ | ||
| 123 | layer_show(title,url,w,h); | ||
| 124 | } | ||
| 125 | /*管理员-停用*/ | ||
| 126 | function admin_stop(obj,id){ | ||
| 127 | layer.confirm('确认要停用吗?',function(index){ | ||
| 128 | //此处请求后台程序,下方是成功后的前台处理…… | ||
| 129 | |||
| 130 | $(obj).parents("tr").find(".td-manage").prepend('<a onClick="admin_start(this,id)" href="javascript:;" title="启用" style="text-decoration:none"><i class="Hui-iconfont"></i></a>'); | ||
| 131 | $(obj).parents("tr").find(".td-status").html('<span class="label label-default radius">已禁用</span>'); | ||
| 132 | $(obj).remove(); | ||
| 133 | layer.msg('已停用!',{icon: 5,time:1000}); | ||
| 134 | }); | ||
| 135 | } | ||
| 136 | |||
| 137 | /*管理员-启用*/ | ||
| 138 | function admin_start(obj,id){ | ||
| 139 | layer.confirm('确认要启用吗?',function(index){ | ||
| 140 | //此处请求后台程序,下方是成功后的前台处理…… | ||
| 141 | |||
| 142 | |||
| 143 | $(obj).parents("tr").find(".td-manage").prepend('<a onClick="admin_stop(this,id)" href="javascript:;" title="停用" style="text-decoration:none"><i class="Hui-iconfont"></i></a>'); | ||
| 144 | $(obj).parents("tr").find(".td-status").html('<span class="label label-success radius">已启用</span>'); | ||
| 145 | $(obj).remove(); | ||
| 146 | layer.msg('已启用!', {icon: 6,time:1000}); | ||
| 147 | }); | ||
| 148 | } | ||
| 149 | </script> | ||
| 150 | </body> | ||
| 151 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script> | ||
| 11 | <script type="text/javascript" src="http://libs.useso.com/js/respond.js/1.4.2/respond.min.js"></script> | ||
| 12 | <script type="text/javascript" src="http://cdn.bootcss.com/css3pie/2.0beta1/PIE_IE678.js"></script> | ||
| 13 | <![endif]--> | ||
| 14 | <link type="text/css" rel="stylesheet" href="css/H-ui.css"/> | ||
| 15 | <link type="text/css" rel="stylesheet" href="css/H-ui.admin.css"/> | ||
| 16 | <link type="text/css" rel="stylesheet" href="font/font-awesome.min.css"/> | ||
| 17 | <!--[if IE 7]> | ||
| 18 | <link href="http://www.bootcss.com/p/font-awesome/assets/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" /> | ||
| 19 | <![endif]--> | ||
| 20 | <title>修改密码</title> | ||
| 21 | </head> | ||
| 22 | <body> | ||
| 23 | <div class="pd-20"> | ||
| 24 | <form class="Huiform" id="loginform" action="" method="post"> | ||
| 25 | <table class="table table-border table-bordered table-bg"> | ||
| 26 | <thead> | ||
| 27 | <tr> | ||
| 28 | <th colspan="2">修改密码</th> | ||
| 29 | </tr> | ||
| 30 | </thead> | ||
| 31 | <tbody> | ||
| 32 | <tr> | ||
| 33 | <th class="text-r" width="30%">旧密码:</th> | ||
| 34 | <td><input name="oldpassword" id="oldpassword" class="input-text" type="password" autocomplete="off" placeholder="密码" tabindex="1" datatype="*6-16" nullmsg="请输入旧密码!" errormsg="4~16个字符,区分大小写!"> | ||
| 35 | </td> | ||
| 36 | </tr> | ||
| 37 | <tr> | ||
| 38 | <th class="text-r">新密码:</th> | ||
| 39 | <td><input name="newpassword" id="newpassword" class="input-text" type="password" autocomplete="off" placeholder="设置密码" tabindex="2" datatype="*6-16" nullmsg="请输入您的新密码!" errormsg="4~16个字符,区分大小写!" > | ||
| 40 | </td> | ||
| 41 | </tr> | ||
| 42 | <tr> | ||
| 43 | <th class="text-r">再次输入新密码:</th> | ||
| 44 | <td><input name="newpassword2" id="newpassword2" class="input-text" type="password" autocomplete="off" placeholder="确认新密码" tabindex="3" datatype="*" recheck="newpassword" nullmsg="请再输入一次新密码!" errormsg="您两次输入的新密码不一致!"> | ||
| 45 | </td> | ||
| 46 | </tr> | ||
| 47 | <tr> | ||
| 48 | <th></th> | ||
| 49 | <td> | ||
| 50 | <button type="submit" class="btn btn-success radius" id="admin-password-save" name="admin-password-save"><i class="icon-ok"></i> 确定</button> | ||
| 51 | </td> | ||
| 52 | </tr> | ||
| 53 | </tbody> | ||
| 54 | </table> | ||
| 55 | </form> | ||
| 56 | </div> | ||
| 57 | <script type="text/javascript" src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js"></script> | ||
| 58 | <script type="text/javascript" src="js/Validform_v5.3.2_min.js"></script> | ||
| 59 | <script type="text/javascript" src="layer/layer.min.js"></script> | ||
| 60 | <script type="text/javascript" src="js/H-ui.js"></script> | ||
| 61 | <script type="text/javascript" src="js/H-ui.admin.js"></script> | ||
| 62 | <script type="text/javascript"> | ||
| 63 | $(".Huiform").Validform(); | ||
| 64 | </script> | ||
| 65 | <script> | ||
| 66 | var _hmt = _hmt || []; | ||
| 67 | (function() { | ||
| 68 | var hm = document.createElement("script"); | ||
| 69 | hm.src = "//hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911"; | ||
| 70 | var s = document.getElementsByTagName("script")[0]; | ||
| 71 | s.parentNode.insertBefore(hm, s); | ||
| 72 | })(); | ||
| 73 | var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); | ||
| 74 | document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F080836300300be57b7f34f4b3e97d911' type='text/javascript'%3E%3C/script%3E")); | ||
| 75 | </script> | ||
| 76 | </body> | ||
| 77 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>权限管理</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 管理员管理 <span class="c-gray en">></span> 权限管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="text-c"> | ||
| 28 | <form class="Huiform" method="post" action="" target="_self"> | ||
| 29 | <input type="text" class="input-text" style="width:250px" placeholder="权限名称" id="" name=""> | ||
| 30 | <button type="submit" class="btn btn-success" id="" name=""><i class="Hui-iconfont"></i> 搜权限节点</button> | ||
| 31 | </form> | ||
| 32 | </div> | ||
| 33 | <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont"></i> 批量删除</a> <a href="javascript:;" onclick="admin_permission_add('添加权限节点','admin-permission-add.html','','310')" class="btn btn-primary radius"><i class="Hui-iconfont"></i> 添加权限节点</a></span> <span class="r">共有数据:<strong>54</strong> 条</span> </div> | ||
| 34 | <table class="table table-border table-bordered table-bg"> | ||
| 35 | <thead> | ||
| 36 | <tr> | ||
| 37 | <th scope="col" colspan="7">权限节点</th> | ||
| 38 | </tr> | ||
| 39 | <tr class="text-c"> | ||
| 40 | <th width="25"><input type="checkbox" name="" value=""></th> | ||
| 41 | <th width="40">ID</th> | ||
| 42 | <th width="200">权限名称</th> | ||
| 43 | <th>字段名</th> | ||
| 44 | <th width="100">操作</th> | ||
| 45 | </tr> | ||
| 46 | </thead> | ||
| 47 | <tbody> | ||
| 48 | <tr class="text-c"> | ||
| 49 | <td><input type="checkbox" value="1" name=""></td> | ||
| 50 | <td>1</td> | ||
| 51 | <td>栏目添加</td> | ||
| 52 | <td></td> | ||
| 53 | <td><a title="编辑" href="javascript:;" onclick="admin_permission_edit('角色编辑','admin-permission-add.html','1','','310')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_permission_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 54 | </tr> | ||
| 55 | </tbody> | ||
| 56 | </table> | ||
| 57 | </div> | ||
| 58 | <!--_footer 作为公共模版分离出去--> | ||
| 59 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 60 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 61 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 62 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 63 | |||
| 64 | <!--请在下方写此页面业务相关的脚本--> | ||
| 65 | <script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script> | ||
| 66 | <script type="text/javascript"> | ||
| 67 | /* | ||
| 68 | 参数解释: | ||
| 69 | title 标题 | ||
| 70 | url 请求的url | ||
| 71 | id 需要操作的数据id | ||
| 72 | w 弹出层宽度(缺省调默认值) | ||
| 73 | h 弹出层高度(缺省调默认值) | ||
| 74 | */ | ||
| 75 | /*管理员-权限-添加*/ | ||
| 76 | function admin_permission_add(title,url,w,h){ | ||
| 77 | layer_show(title,url,w,h); | ||
| 78 | } | ||
| 79 | /*管理员-权限-编辑*/ | ||
| 80 | function admin_permission_edit(title,url,id,w,h){ | ||
| 81 | layer_show(title,url,w,h); | ||
| 82 | } | ||
| 83 | |||
| 84 | /*管理员-权限-删除*/ | ||
| 85 | function admin_permission_del(obj,id){ | ||
| 86 | layer.confirm('确认要删除吗?',function(index){ | ||
| 87 | $.ajax({ | ||
| 88 | type: 'POST', | ||
| 89 | url: '', | ||
| 90 | dataType: 'json', | ||
| 91 | success: function(data){ | ||
| 92 | $(obj).parents("tr").remove(); | ||
| 93 | layer.msg('已删除!',{icon:1,time:1000}); | ||
| 94 | }, | ||
| 95 | error:function(data) { | ||
| 96 | console.log(data.msg); | ||
| 97 | }, | ||
| 98 | }); | ||
| 99 | }); | ||
| 100 | } | ||
| 101 | </script> | ||
| 102 | </body> | ||
| 103 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!--_meta 作为公共模版分离出去--> | ||
| 2 | <!DOCTYPE HTML> | ||
| 3 | <html> | ||
| 4 | <head> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 8 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 9 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 10 | <link rel="Bookmark" href="/favicon.ico" > | ||
| 11 | <link rel="Shortcut Icon" href="/favicon.ico" /> | ||
| 12 | <!--[if lt IE 9]> | ||
| 13 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 14 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 15 | <![endif]--> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 18 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 19 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 20 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 21 | <!--[if IE 6]> | ||
| 22 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 23 | <script>DD_belatedPNG.fix('*');</script> | ||
| 24 | <![endif]--> | ||
| 25 | <!--/meta 作为公共模版分离出去--> | ||
| 26 | |||
| 27 | <title>新建网站角色 - 管理员管理 - H-ui.admin v3.1</title> | ||
| 28 | <meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载"> | ||
| 29 | <meta name="description" content="H-ui.admin v3.1,是一款由国人开发的轻量级扁平化网站后台模板,完全免费开源的网站后台管理系统模版,适合中小型CMS后台系统。"> | ||
| 30 | </head> | ||
| 31 | <body> | ||
| 32 | <article class="page-container"> | ||
| 33 | <form action="" method="post" class="form form-horizontal" id="form-admin-role-add"> | ||
| 34 | <div class="row cl"> | ||
| 35 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>角色名称:</label> | ||
| 36 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 37 | <input type="text" class="input-text" value="" placeholder="" id="roleName" name="roleName"> | ||
| 38 | </div> | ||
| 39 | </div> | ||
| 40 | <div class="row cl"> | ||
| 41 | <label class="form-label col-xs-4 col-sm-3">备注:</label> | ||
| 42 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 43 | <input type="text" class="input-text" value="" placeholder="" id="" name=""> | ||
| 44 | </div> | ||
| 45 | </div> | ||
| 46 | <div class="row cl"> | ||
| 47 | <label class="form-label col-xs-4 col-sm-3">网站角色:</label> | ||
| 48 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 49 | <dl class="permission-list"> | ||
| 50 | <dt> | ||
| 51 | <label> | ||
| 52 | <input type="checkbox" value="" name="user-Character-0" id="user-Character-0"> | ||
| 53 | 资讯管理</label> | ||
| 54 | </dt> | ||
| 55 | <dd> | ||
| 56 | <dl class="cl permission-list2"> | ||
| 57 | <dt> | ||
| 58 | <label class=""> | ||
| 59 | <input type="checkbox" value="" name="user-Character-0-0" id="user-Character-0-0"> | ||
| 60 | 栏目管理</label> | ||
| 61 | </dt> | ||
| 62 | <dd> | ||
| 63 | <label class=""> | ||
| 64 | <input type="checkbox" value="" name="user-Character-0-0-0" id="user-Character-0-0-0"> | ||
| 65 | 添加</label> | ||
| 66 | <label class=""> | ||
| 67 | <input type="checkbox" value="" name="user-Character-0-0-0" id="user-Character-0-0-1"> | ||
| 68 | 修改</label> | ||
| 69 | <label class=""> | ||
| 70 | <input type="checkbox" value="" name="user-Character-0-0-0" id="user-Character-0-0-2"> | ||
| 71 | 删除</label> | ||
| 72 | <label class=""> | ||
| 73 | <input type="checkbox" value="" name="user-Character-0-0-0" id="user-Character-0-0-3"> | ||
| 74 | 查看</label> | ||
| 75 | <label class=""> | ||
| 76 | <input type="checkbox" value="" name="user-Character-0-0-0" id="user-Character-0-0-4"> | ||
| 77 | 审核</label> | ||
| 78 | <label class="c-orange"><input type="checkbox" value="" name="user-Character-0-0-0" id="user-Character-0-0-5"> 只能操作自己发布的</label> | ||
| 79 | </dd> | ||
| 80 | </dl> | ||
| 81 | <dl class="cl permission-list2"> | ||
| 82 | <dt> | ||
| 83 | <label class=""> | ||
| 84 | <input type="checkbox" value="" name="user-Character-0-1" id="user-Character-0-1"> | ||
| 85 | 文章管理</label> | ||
| 86 | </dt> | ||
| 87 | <dd> | ||
| 88 | <label class=""> | ||
| 89 | <input type="checkbox" value="" name="user-Character-0-1-0" id="user-Character-0-1-0"> | ||
| 90 | 添加</label> | ||
| 91 | <label class=""> | ||
| 92 | <input type="checkbox" value="" name="user-Character-0-1-0" id="user-Character-0-1-1"> | ||
| 93 | 修改</label> | ||
| 94 | <label class=""> | ||
| 95 | <input type="checkbox" value="" name="user-Character-0-1-0" id="user-Character-0-1-2"> | ||
| 96 | 删除</label> | ||
| 97 | <label class=""> | ||
| 98 | <input type="checkbox" value="" name="user-Character-0-1-0" id="user-Character-0-1-3"> | ||
| 99 | 查看</label> | ||
| 100 | <label class=""> | ||
| 101 | <input type="checkbox" value="" name="user-Character-0-1-0" id="user-Character-0-1-4"> | ||
| 102 | 审核</label> | ||
| 103 | <label class="c-orange"><input type="checkbox" value="" name="user-Character-0-2-0" id="user-Character-0-2-5"> 只能操作自己发布的</label> | ||
| 104 | </dd> | ||
| 105 | </dl> | ||
| 106 | </dd> | ||
| 107 | </dl> | ||
| 108 | <dl class="permission-list"> | ||
| 109 | <dt> | ||
| 110 | <label> | ||
| 111 | <input type="checkbox" value="" name="user-Character-0" id="user-Character-1"> | ||
| 112 | 用户中心</label> | ||
| 113 | </dt> | ||
| 114 | <dd> | ||
| 115 | <dl class="cl permission-list2"> | ||
| 116 | <dt> | ||
| 117 | <label class=""> | ||
| 118 | <input type="checkbox" value="" name="user-Character-1-0" id="user-Character-1-0"> | ||
| 119 | 用户管理</label> | ||
| 120 | </dt> | ||
| 121 | <dd> | ||
| 122 | <label class=""> | ||
| 123 | <input type="checkbox" value="" name="user-Character-1-0-0" id="user-Character-1-0-0"> | ||
| 124 | 添加</label> | ||
| 125 | <label class=""> | ||
| 126 | <input type="checkbox" value="" name="user-Character-1-0-0" id="user-Character-1-0-1"> | ||
| 127 | 修改</label> | ||
| 128 | <label class=""> | ||
| 129 | <input type="checkbox" value="" name="user-Character-1-0-0" id="user-Character-1-0-2"> | ||
| 130 | 删除</label> | ||
| 131 | <label class=""> | ||
| 132 | <input type="checkbox" value="" name="user-Character-1-0-0" id="user-Character-1-0-3"> | ||
| 133 | 查看</label> | ||
| 134 | <label class=""> | ||
| 135 | <input type="checkbox" value="" name="user-Character-1-0-0" id="user-Character-1-0-4"> | ||
| 136 | 审核</label> | ||
| 137 | </dd> | ||
| 138 | </dl> | ||
| 139 | </dd> | ||
| 140 | </dl> | ||
| 141 | </div> | ||
| 142 | </div> | ||
| 143 | <div class="row cl"> | ||
| 144 | <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3"> | ||
| 145 | <button type="submit" class="btn btn-success radius" id="admin-role-save" name="admin-role-save"><i class="icon-ok"></i> 确定</button> | ||
| 146 | </div> | ||
| 147 | </div> | ||
| 148 | </form> | ||
| 149 | </article> | ||
| 150 | |||
| 151 | <!--_footer 作为公共模版分离出去--> | ||
| 152 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 153 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 154 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 155 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 156 | |||
| 157 | <!--请在下方写此页面业务相关的脚本--> | ||
| 158 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.js"></script> | ||
| 159 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/validate-methods.js"></script> | ||
| 160 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/messages_zh.js"></script> | ||
| 161 | <script type="text/javascript"> | ||
| 162 | $(function(){ | ||
| 163 | $(".permission-list dt input:checkbox").click(function(){ | ||
| 164 | $(this).closest("dl").find("dd input:checkbox").prop("checked",$(this).prop("checked")); | ||
| 165 | }); | ||
| 166 | $(".permission-list2 dd input:checkbox").click(function(){ | ||
| 167 | var l =$(this).parent().parent().find("input:checked").length; | ||
| 168 | var l2=$(this).parents(".permission-list").find(".permission-list2 dd").find("input:checked").length; | ||
| 169 | if($(this).prop("checked")){ | ||
| 170 | $(this).closest("dl").find("dt input:checkbox").prop("checked",true); | ||
| 171 | $(this).parents(".permission-list").find("dt").first().find("input:checkbox").prop("checked",true); | ||
| 172 | } | ||
| 173 | else{ | ||
| 174 | if(l==0){ | ||
| 175 | $(this).closest("dl").find("dt input:checkbox").prop("checked",false); | ||
| 176 | } | ||
| 177 | if(l2==0){ | ||
| 178 | $(this).parents(".permission-list").find("dt").first().find("input:checkbox").prop("checked",false); | ||
| 179 | } | ||
| 180 | } | ||
| 181 | }); | ||
| 182 | |||
| 183 | $("#form-admin-role-add").validate({ | ||
| 184 | rules:{ | ||
| 185 | roleName:{ | ||
| 186 | required:true, | ||
| 187 | }, | ||
| 188 | }, | ||
| 189 | onkeyup:false, | ||
| 190 | focusCleanup:true, | ||
| 191 | success:"valid", | ||
| 192 | submitHandler:function(form){ | ||
| 193 | $(form).ajaxSubmit(); | ||
| 194 | var index = parent.layer.getFrameIndex(window.name); | ||
| 195 | parent.layer.close(index); | ||
| 196 | } | ||
| 197 | }); | ||
| 198 | }); | ||
| 199 | </script> | ||
| 200 | <!--/请在上方写此页面业务相关的脚本--> | ||
| 201 | </body> | ||
| 202 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>角色管理</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 管理员管理 <span class="c-gray en">></span> 角色管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="cl pd-5 bg-1 bk-gray"> <span class="l"> <a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont"></i> 批量删除</a> <a class="btn btn-primary radius" href="javascript:;" onclick="admin_role_add('添加角色','admin-role-add.html','800')"><i class="Hui-iconfont"></i> 添加角色</a> </span> <span class="r">共有数据:<strong>54</strong> 条</span> </div> | ||
| 28 | <table class="table table-border table-bordered table-hover table-bg"> | ||
| 29 | <thead> | ||
| 30 | <tr> | ||
| 31 | <th scope="col" colspan="6">角色管理</th> | ||
| 32 | </tr> | ||
| 33 | <tr class="text-c"> | ||
| 34 | <th width="25"><input type="checkbox" value="" name=""></th> | ||
| 35 | <th width="40">ID</th> | ||
| 36 | <th width="200">角色名</th> | ||
| 37 | <th>用户列表</th> | ||
| 38 | <th width="300">描述</th> | ||
| 39 | <th width="70">操作</th> | ||
| 40 | </tr> | ||
| 41 | </thead> | ||
| 42 | <tbody> | ||
| 43 | <tr class="text-c"> | ||
| 44 | <td><input type="checkbox" value="" name=""></td> | ||
| 45 | <td>1</td> | ||
| 46 | <td>超级管理员</td> | ||
| 47 | <td><a href="#">admin</a></td> | ||
| 48 | <td>拥有至高无上的权利</td> | ||
| 49 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="admin_role_edit('角色编辑','admin-role-add.html','1')" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_role_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 50 | </tr> | ||
| 51 | <tr class="text-c"> | ||
| 52 | <td><input type="checkbox" value="" name=""></td> | ||
| 53 | <td>2</td> | ||
| 54 | <td>总编</td> | ||
| 55 | <td><a href="#">张三</a></td> | ||
| 56 | <td>具有添加、审核、发布、删除内容的权限</td> | ||
| 57 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="admin_role_edit('角色编辑','admin-role-add.html','2')" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_role_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 58 | </tr> | ||
| 59 | <tr class="text-c"> | ||
| 60 | <td><input type="checkbox" value="" name=""></td> | ||
| 61 | <td>3</td> | ||
| 62 | <td>栏目主辑</td> | ||
| 63 | <td><a href="#">李四</a>,<a href="#">王五</a></td> | ||
| 64 | <td>只对所在栏目具有添加、审核、发布、删除内容的权限</td> | ||
| 65 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="admin_role_edit('角色编辑','admin-role-add.html','3')" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_role_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 66 | </tr> | ||
| 67 | <tr class="text-c"> | ||
| 68 | <td><input type="checkbox" value="" name=""></td> | ||
| 69 | <td>4</td> | ||
| 70 | <td>栏目编辑</td> | ||
| 71 | <td><a href="#">赵六</a>,<a href="#">钱七</a></td> | ||
| 72 | <td>只对所在栏目具有添加、删除草稿等权利。</td> | ||
| 73 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="admin_role_edit('角色编辑','admin-role-add.html','4')" style="text-decoration:none"><i class="Hui-iconfont"></i></a> <a title="删除" href="javascript:;" onclick="admin_role_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a></td> | ||
| 74 | </tr> | ||
| 75 | </tbody> | ||
| 76 | </table> | ||
| 77 | </div> | ||
| 78 | <!--_footer 作为公共模版分离出去--> | ||
| 79 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 80 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 81 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 82 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 83 | |||
| 84 | <!--请在下方写此页面业务相关的脚本--> | ||
| 85 | <script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script> | ||
| 86 | <script type="text/javascript"> | ||
| 87 | /*管理员-角色-添加*/ | ||
| 88 | function admin_role_add(title,url,w,h){ | ||
| 89 | layer_show(title,url,w,h); | ||
| 90 | } | ||
| 91 | /*管理员-角色-编辑*/ | ||
| 92 | function admin_role_edit(title,url,id,w,h){ | ||
| 93 | layer_show(title,url,w,h); | ||
| 94 | } | ||
| 95 | /*管理员-角色-删除*/ | ||
| 96 | function admin_role_del(obj,id){ | ||
| 97 | layer.confirm('角色删除须谨慎,确认要删除吗?',function(index){ | ||
| 98 | $.ajax({ | ||
| 99 | type: 'POST', | ||
| 100 | url: '', | ||
| 101 | dataType: 'json', | ||
| 102 | success: function(data){ | ||
| 103 | $(obj).parents("tr").remove(); | ||
| 104 | layer.msg('已删除!',{icon:1,time:1000}); | ||
| 105 | }, | ||
| 106 | error:function(data) { | ||
| 107 | console.log(data.msg); | ||
| 108 | }, | ||
| 109 | }); | ||
| 110 | }); | ||
| 111 | } | ||
| 112 | </script> | ||
| 113 | </body> | ||
| 114 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script> | ||
| 11 | <script type="text/javascript" src="http://libs.useso.com/js/respond.js/1.4.2/respond.min.js"></script> | ||
| 12 | <script type="text/javascript" src="http://cdn.bootcss.com/css3pie/2.0beta1/PIE_IE678.js"></script> | ||
| 13 | <![endif]--> | ||
| 14 | <link type="text/css" rel="stylesheet" href="css/H-ui.css"/> | ||
| 15 | <link type="text/css" rel="stylesheet" href="css/H-ui.admin.css"/> | ||
| 16 | <link type="text/css" rel="stylesheet" href="font/font-awesome.min.css"/> | ||
| 17 | <!--[if IE 7]> | ||
| 18 | <link href="http://www.bootcss.com/p/font-awesome/assets/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" /> | ||
| 19 | <![endif]--> | ||
| 20 | <title>分类编辑</title> | ||
| 21 | </head> | ||
| 22 | <body> | ||
| 23 | <div class="pd-20"> | ||
| 24 | <form class="Huiform" action="/" method="post"> | ||
| 25 | 上级栏目: | ||
| 26 | <select class="select" id="sel_Sub" name="sel_Sub" onchange="SetSubID(this);"> | ||
| 27 | <option value="0">顶级分类</option> | ||
| 28 | <option value="100">分类一级</option> | ||
| 29 | <option value="101"> ├ 分类二级</option> | ||
| 30 | <option value="102"> ├ 分类二级</option> | ||
| 31 | <option value="201">分类一级</option> | ||
| 32 | <option value="101"> ├ 分类二级</option> | ||
| 33 | </select> | ||
| 34 | <input type="hidden" id="hid_ccid" value="">排序:<input class="input-text text-c" style="width:50px" type="text" value="3" placeholder="排序" name="class-rank" id="class-rank"> | ||
| 35 | 分类名:<input class="input-text" style="width:170px" type="text" value="二级分类" placeholder="输入分类" name="class-val" id="class-val"> | ||
| 36 | <div class="text-c mt-20"><button type="button" class="btn btn-success" id="" name="" onClick="class_save(this,'2');"><i class="icon-save"></i> 保存</button></div> | ||
| 37 | </form> | ||
| 38 | </div> | ||
| 39 | <script type="text/javascript" src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js"></script> | ||
| 40 | <script type="text/javascript" src="js/H-ui.js"></script> | ||
| 41 | <script type="text/javascript" src="js/H-ui.admin.js"></script> | ||
| 42 | <script> | ||
| 43 | var _hmt = _hmt || []; | ||
| 44 | (function() { | ||
| 45 | var hm = document.createElement("script"); | ||
| 46 | hm.src = "//hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911"; | ||
| 47 | var s = document.getElementsByTagName("script")[0]; | ||
| 48 | s.parentNode.insertBefore(hm, s); | ||
| 49 | })(); | ||
| 50 | var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); | ||
| 51 | document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F080836300300be57b7f34f4b3e97d911' type='text/javascript'%3E%3C/script%3E")); | ||
| 52 | </script> | ||
| 53 | </body> | ||
| 54 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script> | ||
| 11 | <script type="text/javascript" src="http://libs.useso.com/js/respond.js/1.4.2/respond.min.js"></script> | ||
| 12 | <script type="text/javascript" src="http://cdn.bootcss.com/css3pie/2.0beta1/PIE_IE678.js"></script> | ||
| 13 | <![endif]--> | ||
| 14 | <link type="text/css" rel="stylesheet" href="css/H-ui.css"/> | ||
| 15 | <link type="text/css" rel="stylesheet" href="css/H-ui.admin.css"/> | ||
| 16 | <link type="text/css" rel="stylesheet" href="font/font-awesome.min.css"/> | ||
| 17 | <!--[if IE 7]> | ||
| 18 | <link href="http://www.bootcss.com/p/font-awesome/assets/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" /> | ||
| 19 | <![endif]--> | ||
| 20 | <title>分类管理</title> | ||
| 21 | </head> | ||
| 22 | <body> | ||
| 23 | <nav class="Hui-breadcrumb"><i class="icon-home"></i> 首页 <span class="c-gray en">></span> 资讯管理 <span class="c-gray en">></span> 分类管理 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="icon-refresh"></i></a></nav> | ||
| 24 | <div class="pd-20 text-c"> | ||
| 25 | <form class="Huiform" action="/" method="post"> | ||
| 26 | 上级栏目: | ||
| 27 | <select class="select" id="sel_Sub" name="sel_Sub" onchange="SetSubID(this);"> | ||
| 28 | <option value="0">顶级分类</option> | ||
| 29 | <option value="100">分类一级</option> | ||
| 30 | <option value="101"> ├ 分类二级</option> | ||
| 31 | <option value="102"> ├ 分类二级</option> | ||
| 32 | <option value="201">分类一级</option> | ||
| 33 | <option value="101"> ├ 分类二级</option> | ||
| 34 | </select> | ||
| 35 | <input type="hidden" id="hid_ccid" value=""> | ||
| 36 | <input class="input-text" style="width:250px" type="text" value="" placeholder="输入分类" id="article-class-val"><button type="button" class="btn btn-success" id="" name="" onClick="article_class_add(this);"><i class="icon-plus"></i> 添加</button> | ||
| 37 | </form> | ||
| 38 | <div class="article-class-list cl mt-20"> | ||
| 39 | <table class="table table-border table-bordered table-hover table-bg"> | ||
| 40 | <thead> | ||
| 41 | <tr class="text-c"> | ||
| 42 | <th width="25"><input type="checkbox" name="" value=""></th> | ||
| 43 | <th width="80">ID</th> | ||
| 44 | <th width="80">排序</th> | ||
| 45 | <th>分类名称</th> | ||
| 46 | <th width="70">操作</th> | ||
| 47 | </tr> | ||
| 48 | </thead> | ||
| 49 | <tbody> | ||
| 50 | <tr class="text-c"> | ||
| 51 | <td><input type="checkbox" name="" value=""></td> | ||
| 52 | <td>1</td> | ||
| 53 | <td>1</td> | ||
| 54 | <td class="text-l">一级分类</td> | ||
| 55 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="article_class_edit('1','620','160','分类编辑','article-class-edit.html')" style="text-decoration:none"><i class="icon-edit"></i></a> <a title="删除" href="javascript:;" onclick="article_class_del(this,'1')" class="ml-5" style="text-decoration:none"><i class="icon-trash"></i></a></td> | ||
| 56 | </tr> | ||
| 57 | <tr class="text-c"> | ||
| 58 | <td><input type="checkbox" name="" value=""></td> | ||
| 59 | <td>2</td> | ||
| 60 | <td>2</td> | ||
| 61 | <td class="text-l"> ├ 二级分类</td> | ||
| 62 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="article_class_edit('2','620','160','分类编辑','article-class-edit.html')" style="text-decoration:none"><i class="icon-edit"></i></a> <a title="删除" href="javascript:;" onclick="article_class_del(this,'2')" class="ml-5" style="text-decoration:none"><i class="icon-trash"></i></a></td> | ||
| 63 | </tr> | ||
| 64 | <tr class="text-c"> | ||
| 65 | <td><input type="checkbox" name="" value=""></td> | ||
| 66 | <td>3</td> | ||
| 67 | <td>3</td> | ||
| 68 | <td class="text-l"> ├ 二级分类</td> | ||
| 69 | <td class="f-14"><a title="编辑" href="javascript:;" onclick="article_class_edit('3','620','160','分类编辑','article-class-edit.html')" style="text-decoration:none"><i class="icon-edit"></i></a> <a title="删除" href="javascript:;" onclick="article_class_del(this,'3')" class="ml-5" style="text-decoration:none"><i class="icon-trash"></i></a></td> | ||
| 70 | </tr> | ||
| 71 | </tbody> | ||
| 72 | </table> | ||
| 73 | </div> | ||
| 74 | </div> | ||
| 75 | <script type="text/javascript" src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js"></script> | ||
| 76 | <script type="text/javascript" src="js/H-ui.js"></script> | ||
| 77 | <script type="text/javascript" src="js/H-ui.admin.js"></script> | ||
| 78 | <script> | ||
| 79 | var _hmt = _hmt || []; | ||
| 80 | (function() { | ||
| 81 | var hm = document.createElement("script"); | ||
| 82 | hm.src = "//hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911"; | ||
| 83 | var s = document.getElementsByTagName("script")[0]; | ||
| 84 | s.parentNode.insertBefore(hm, s); | ||
| 85 | })(); | ||
| 86 | var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); | ||
| 87 | document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F080836300300be57b7f34f4b3e97d911' type='text/javascript'%3E%3C/script%3E")); | ||
| 88 | </script> | ||
| 89 | </body> | ||
| 90 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>资讯列表</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 资讯管理 <span class="c-gray en">></span> 资讯列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="text-c"> | ||
| 28 | <button onclick="removeIframe()" class="btn btn-primary radius">关闭选项卡</button> | ||
| 29 | <span class="select-box inline"> | ||
| 30 | <select name="" class="select"> | ||
| 31 | <option value="0">全部分类</option> | ||
| 32 | <option value="1">分类一</option> | ||
| 33 | <option value="2">分类二</option> | ||
| 34 | </select> | ||
| 35 | </span> 日期范围: | ||
| 36 | <input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}' })" id="logmin" class="input-text Wdate" style="width:120px;"> | ||
| 37 | - | ||
| 38 | <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}',maxDate:'%y-%M-%d' })" id="logmax" class="input-text Wdate" style="width:120px;"> | ||
| 39 | <input type="text" name="" id="" placeholder=" 资讯名称" style="width:250px" class="input-text"> | ||
| 40 | <button name="" id="" class="btn btn-success" type="submit"><i class="Hui-iconfont"></i> 搜资讯</button> | ||
| 41 | </div> | ||
| 42 | <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont"></i> 批量删除</a> <a class="btn btn-primary radius" data-title="添加资讯" data-href="article-add.html" onclick="Hui_admin_tab(this)" href="javascript:;"><i class="Hui-iconfont"></i> 添加资讯</a></span> <span class="r">共有数据:<strong>54</strong> 条</span> </div> | ||
| 43 | <div class="mt-20"> | ||
| 44 | <table class="table table-border table-bordered table-bg table-hover table-sort table-responsive"> | ||
| 45 | <thead> | ||
| 46 | <tr class="text-c"> | ||
| 47 | <th width="25"><input type="checkbox" name="" value=""></th> | ||
| 48 | <th width="80">ID</th> | ||
| 49 | <th>标题</th> | ||
| 50 | <th width="80">分类</th> | ||
| 51 | <th width="80">来源</th> | ||
| 52 | <th width="120">更新时间</th> | ||
| 53 | <th width="75">浏览次数</th> | ||
| 54 | <th width="60">发布状态</th> | ||
| 55 | <th width="120">操作</th> | ||
| 56 | </tr> | ||
| 57 | </thead> | ||
| 58 | <tbody> | ||
| 59 | <tr class="text-c"> | ||
| 60 | <td><input type="checkbox" value="" name=""></td> | ||
| 61 | <td>10001</td> | ||
| 62 | <td class="text-l"><u style="cursor:pointer" class="text-primary" onClick="article_edit('查看','article-zhang.html','10001')" title="查看">资讯标题</u></td> | ||
| 63 | <td>行业动态</td> | ||
| 64 | <td>H-ui</td> | ||
| 65 | <td>2014-6-11 11:11:42</td> | ||
| 66 | <td>21212</td> | ||
| 67 | <td class="td-status"><span class="label label-success radius">已发布</span></td> | ||
| 68 | <td class="f-14 td-manage"><a style="text-decoration:none" onClick="article_stop(this,'10001')" href="javascript:;" title="下架"><i class="Hui-iconfont"></i></a> <a style="text-decoration:none" class="ml-5" onClick="article_edit('资讯编辑','article-add.html','10001')" href="javascript:;" title="编辑"><i class="Hui-iconfont"></i></a> <a style="text-decoration:none" class="ml-5" onClick="article_del(this,'10001')" href="javascript:;" title="删除"><i class="Hui-iconfont"></i></a></td> | ||
| 69 | </tr> | ||
| 70 | <tr class="text-c"> | ||
| 71 | <td><input type="checkbox" value="" name=""></td> | ||
| 72 | <td>10002</td> | ||
| 73 | <td class="text-l"><u style="cursor:pointer" class="text-primary" onClick="article_edit('查看','article-zhang.html','10002')" title="查看">资讯标题</u></td> | ||
| 74 | <td>行业动态</td> | ||
| 75 | <td>H-ui</td> | ||
| 76 | <td>2014-6-11 11:11:42</td> | ||
| 77 | <td>21212</td> | ||
| 78 | <td class="td-status"><span class="label label-success radius">草稿</span></td> | ||
| 79 | <td class="f-14 td-manage"><a style="text-decoration:none" onClick="article_shenhe(this,'10001')" href="javascript:;" title="审核">审核</a> <a style="text-decoration:none" class="ml-5" onClick="article_edit('资讯编辑','article-add.html','10001')" href="javascript:;" title="编辑"><i class="Hui-iconfont"></i></a> <a style="text-decoration:none" class="ml-5" onClick="article_del(this,'10001')" href="javascript:;" title="删除"><i class="Hui-iconfont"></i></a></td> | ||
| 80 | </tr> | ||
| 81 | </tbody> | ||
| 82 | </table> | ||
| 83 | </div> | ||
| 84 | </div> | ||
| 85 | <!--_footer 作为公共模版分离出去--> | ||
| 86 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 87 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 88 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 89 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 90 | |||
| 91 | <!--请在下方写此页面业务相关的脚本--> | ||
| 92 | <script type="text/javascript" src="lib/My97DatePicker/4.8/WdatePicker.js"></script> | ||
| 93 | <script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script> | ||
| 94 | <script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script> | ||
| 95 | <script type="text/javascript"> | ||
| 96 | $('.table-sort').dataTable({ | ||
| 97 | "aaSorting": [[ 1, "desc" ]],//默认第几个排序 | ||
| 98 | "bStateSave": true,//状态保存 | ||
| 99 | "pading":false, | ||
| 100 | "aoColumnDefs": [ | ||
| 101 | //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示 | ||
| 102 | {"orderable":false,"aTargets":[0,8]}// 不参与排序的列 | ||
| 103 | ] | ||
| 104 | }); | ||
| 105 | |||
| 106 | /*资讯-添加*/ | ||
| 107 | function article_add(title,url,w,h){ | ||
| 108 | var index = layer.open({ | ||
| 109 | type: 2, | ||
| 110 | title: title, | ||
| 111 | content: url | ||
| 112 | }); | ||
| 113 | layer.full(index); | ||
| 114 | } | ||
| 115 | /*资讯-编辑*/ | ||
| 116 | function article_edit(title,url,id,w,h){ | ||
| 117 | var index = layer.open({ | ||
| 118 | type: 2, | ||
| 119 | title: title, | ||
| 120 | content: url | ||
| 121 | }); | ||
| 122 | layer.full(index); | ||
| 123 | } | ||
| 124 | /*资讯-删除*/ | ||
| 125 | function article_del(obj,id){ | ||
| 126 | layer.confirm('确认要删除吗?',function(index){ | ||
| 127 | $.ajax({ | ||
| 128 | type: 'POST', | ||
| 129 | url: '', | ||
| 130 | dataType: 'json', | ||
| 131 | success: function(data){ | ||
| 132 | $(obj).parents("tr").remove(); | ||
| 133 | layer.msg('已删除!',{icon:1,time:1000}); | ||
| 134 | }, | ||
| 135 | error:function(data) { | ||
| 136 | console.log(data.msg); | ||
| 137 | }, | ||
| 138 | }); | ||
| 139 | }); | ||
| 140 | } | ||
| 141 | |||
| 142 | /*资讯-审核*/ | ||
| 143 | function article_shenhe(obj,id){ | ||
| 144 | layer.confirm('审核文章?', { | ||
| 145 | btn: ['通过','不通过','取消'], | ||
| 146 | shade: false, | ||
| 147 | closeBtn: 0 | ||
| 148 | }, | ||
| 149 | function(){ | ||
| 150 | $(obj).parents("tr").find(".td-manage").prepend('<a class="c-primary" onClick="article_start(this,id)" href="javascript:;" title="申请上线">申请上线</a>'); | ||
| 151 | $(obj).parents("tr").find(".td-status").html('<span class="label label-success radius">已发布</span>'); | ||
| 152 | $(obj).remove(); | ||
| 153 | layer.msg('已发布', {icon:6,time:1000}); | ||
| 154 | }, | ||
| 155 | function(){ | ||
| 156 | $(obj).parents("tr").find(".td-manage").prepend('<a class="c-primary" onClick="article_shenqing(this,id)" href="javascript:;" title="申请上线">申请上线</a>'); | ||
| 157 | $(obj).parents("tr").find(".td-status").html('<span class="label label-danger radius">未通过</span>'); | ||
| 158 | $(obj).remove(); | ||
| 159 | layer.msg('未通过', {icon:5,time:1000}); | ||
| 160 | }); | ||
| 161 | } | ||
| 162 | /*资讯-下架*/ | ||
| 163 | function article_stop(obj,id){ | ||
| 164 | layer.confirm('确认要下架吗?',function(index){ | ||
| 165 | $(obj).parents("tr").find(".td-manage").prepend('<a style="text-decoration:none" onClick="article_start(this,id)" href="javascript:;" title="发布"><i class="Hui-iconfont"></i></a>'); | ||
| 166 | $(obj).parents("tr").find(".td-status").html('<span class="label label-defaunt radius">已下架</span>'); | ||
| 167 | $(obj).remove(); | ||
| 168 | layer.msg('已下架!',{icon: 5,time:1000}); | ||
| 169 | }); | ||
| 170 | } | ||
| 171 | |||
| 172 | /*资讯-发布*/ | ||
| 173 | function article_start(obj,id){ | ||
| 174 | layer.confirm('确认要发布吗?',function(index){ | ||
| 175 | $(obj).parents("tr").find(".td-manage").prepend('<a style="text-decoration:none" onClick="article_stop(this,id)" href="javascript:;" title="下架"><i class="Hui-iconfont"></i></a>'); | ||
| 176 | $(obj).parents("tr").find(".td-status").html('<span class="label label-success radius">已发布</span>'); | ||
| 177 | $(obj).remove(); | ||
| 178 | layer.msg('已发布!',{icon: 6,time:1000}); | ||
| 179 | }); | ||
| 180 | } | ||
| 181 | /*资讯-申请上线*/ | ||
| 182 | function article_shenqing(obj,id){ | ||
| 183 | $(obj).parents("tr").find(".td-status").html('<span class="label label-default radius">待审核</span>'); | ||
| 184 | $(obj).parents("tr").find(".td-manage").html(""); | ||
| 185 | layer.msg('已提交申请,耐心等待审核!', {icon: 1,time:2000}); | ||
| 186 | } | ||
| 187 | |||
| 188 | </script> | ||
| 189 | </body> | ||
| 190 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!--_meta 作为公共模版分离出去--> | ||
| 2 | <!DOCTYPE HTML> | ||
| 3 | <html> | ||
| 4 | <head> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 8 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 9 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 10 | <link rel="Bookmark" href="/favicon.ico" > | ||
| 11 | <link rel="Shortcut Icon" href="/favicon.ico" /> | ||
| 12 | <!--[if lt IE 9]> | ||
| 13 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 14 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 15 | <![endif]--> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 18 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 19 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 20 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 21 | <!--[if IE 6]> | ||
| 22 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 23 | <script>DD_belatedPNG.fix('*');</script> | ||
| 24 | <![endif]--> | ||
| 25 | <!--/meta 作为公共模版分离出去--> | ||
| 26 | |||
| 27 | <title>修改密码 - 会员管理 - H-ui.admin v3.1</title> | ||
| 28 | <meta name="keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载"> | ||
| 29 | <meta name="description" content="H-ui.admin v3.1,是一款由国人开发的轻量级扁平化网站后台模板,完全免费开源的网站后台管理系统模版,适合中小型CMS后台系统。"> | ||
| 30 | </head> | ||
| 31 | <body> | ||
| 32 | <article class="page-container"> | ||
| 33 | <form action="/" method="post" class="form form-horizontal" id="form-change-password"> | ||
| 34 | <div class="row cl"> | ||
| 35 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>账户:</label> | ||
| 36 | <div class="formControls col-xs-8 col-sm-9"> 张三 </div> | ||
| 37 | </div> | ||
| 38 | <div class="row cl"> | ||
| 39 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>新密码:</label> | ||
| 40 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 41 | <input type="password" class="input-text" autocomplete="off" placeholder="不修改请留空" name="newpassword" id="newpassword"> | ||
| 42 | </div> | ||
| 43 | </div> | ||
| 44 | <div class="row cl"> | ||
| 45 | <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>确认密码:</label> | ||
| 46 | <div class="formControls col-xs-8 col-sm-9"> | ||
| 47 | <input type="password" class="input-text" autocomplete="off" placeholder="不修改请留空" name="newpassword2" id="new-password2"> | ||
| 48 | </div> | ||
| 49 | </div> | ||
| 50 | <div class="row cl"> | ||
| 51 | <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3"> | ||
| 52 | <input class="btn btn-primary radius" type="submit" value=" 保存 "> | ||
| 53 | </div> | ||
| 54 | </div> | ||
| 55 | </form> | ||
| 56 | </article> | ||
| 57 | |||
| 58 | <!--_footer 作为公共模版分离出去--> | ||
| 59 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 60 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 61 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 62 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer /作为公共模版分离出去--> | ||
| 63 | |||
| 64 | <!--请在下方写此页面业务相关的脚本--> | ||
| 65 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/jquery.validate.js"></script> | ||
| 66 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/validate-methods.js"></script> | ||
| 67 | <script type="text/javascript" src="lib/jquery.validation/1.14.0/messages_zh.js"></script> | ||
| 68 | <script type="text/javascript"> | ||
| 69 | $(function(){ | ||
| 70 | $("#form-change-password").validate({ | ||
| 71 | rules:{ | ||
| 72 | newpassword:{ | ||
| 73 | required:true, | ||
| 74 | minlength:6, | ||
| 75 | maxlength:16 | ||
| 76 | }, | ||
| 77 | newpassword2:{ | ||
| 78 | required:true, | ||
| 79 | minlength:6, | ||
| 80 | maxlength:16, | ||
| 81 | equalTo: "#newpassword" | ||
| 82 | }, | ||
| 83 | }, | ||
| 84 | onkeyup:false, | ||
| 85 | focusCleanup:true, | ||
| 86 | success:"valid", | ||
| 87 | submitHandler:function(form){ | ||
| 88 | $(form).ajaxSubmit(); | ||
| 89 | var index = parent.layer.getFrameIndex(window.name); | ||
| 90 | parent.$('.btn-refresh').click(); | ||
| 91 | parent.layer.close(index); | ||
| 92 | } | ||
| 93 | }); | ||
| 94 | }); | ||
| 95 | </script> | ||
| 96 | <!--/请在上方写此页面业务相关的脚本--> | ||
| 97 | </body> | ||
| 98 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>折线图</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 统计管理 <span class="c-gray en">></span> 折线图 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="f-14 c-error">特别声明:Highcharts 是一个用纯 JavaScript编写的一个图表库,仅免费提供给个人学习、个人网站,如果在商业项目中使用,请去Highcharts官网网站购买商业授权。或者您也可以选择其他免费的第三方图表插件,例如百度echarts。H-ui.admin不承担任何版权问题。</div> | ||
| 28 | <div id="container" style="min-width:700px;height:400px"></div> | ||
| 29 | </div> | ||
| 30 | <!--_footer 作为公共模版分离出去--> | ||
| 31 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 33 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 34 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 35 | |||
| 36 | <!--请在下方写此页面业务相关的脚本--> | ||
| 37 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts.js"></script> | ||
| 38 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/modules/exporting.js"></script> | ||
| 39 | <script type="text/javascript"> | ||
| 40 | $(function () { | ||
| 41 | Highcharts.chart('container', { | ||
| 42 | title: { | ||
| 43 | text: 'Monthly Average Temperature', | ||
| 44 | x: -20 //center | ||
| 45 | }, | ||
| 46 | subtitle: { | ||
| 47 | text: 'Source: WorldClimate.com', | ||
| 48 | x: -20 | ||
| 49 | }, | ||
| 50 | xAxis: { | ||
| 51 | categories: ['一月', '二月', '三月', '四月', '五月', '六月','七月', '八月', '九月', '十月', '十一月', '十二月'] | ||
| 52 | }, | ||
| 53 | yAxis: { | ||
| 54 | title: { | ||
| 55 | text: 'Temperature (°C)' | ||
| 56 | }, | ||
| 57 | plotLines: [{ | ||
| 58 | value: 0, | ||
| 59 | width: 1, | ||
| 60 | color: '#808080' | ||
| 61 | }] | ||
| 62 | }, | ||
| 63 | tooltip: { | ||
| 64 | valueSuffix: '°C' | ||
| 65 | }, | ||
| 66 | legend: { | ||
| 67 | layout: 'vertical', | ||
| 68 | align: 'right', | ||
| 69 | verticalAlign: 'middle', | ||
| 70 | borderWidth: 0 | ||
| 71 | }, | ||
| 72 | series: [{ | ||
| 73 | name: 'Tokyo', | ||
| 74 | data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6] | ||
| 75 | }, { | ||
| 76 | name: 'New York', | ||
| 77 | data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5] | ||
| 78 | }, { | ||
| 79 | name: 'Berlin', | ||
| 80 | data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0] | ||
| 81 | }, { | ||
| 82 | name: 'London', | ||
| 83 | data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8] | ||
| 84 | }] | ||
| 85 | }); | ||
| 86 | }); | ||
| 87 | </script> | ||
| 88 | </body> | ||
| 89 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>区域图</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 统计管理 <span class="c-gray en">></span> 区域图 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="f-14 c-error">特别声明:Highcharts 是一个用纯 JavaScript编写的一个图表库,仅免费提供给个人学习、个人网站,如果在商业项目中使用,请去Highcharts官网网站购买商业授权。或者您也可以选择其他免费的第三方图表插件,例如百度echarts。H-ui.admin不承担任何版权问题。</div> | ||
| 28 | <div id="container" style="min-width:700px;height:400px"></div> | ||
| 29 | </div> | ||
| 30 | <!--_footer 作为公共模版分离出去--> | ||
| 31 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 33 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 34 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 35 | |||
| 36 | <!--请在下方写此页面业务相关的脚本--> | ||
| 37 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts.js"></script> | ||
| 38 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/modules/exporting.js"></script> | ||
| 39 | <script type="text/javascript"> | ||
| 40 | $(function () { | ||
| 41 | $('#container').highcharts({ | ||
| 42 | chart: { | ||
| 43 | type: 'area' | ||
| 44 | }, | ||
| 45 | title: { | ||
| 46 | text: 'US and USSR nuclear stockpiles' | ||
| 47 | }, | ||
| 48 | subtitle: { | ||
| 49 | text: 'Source: thebulletin.metapress.com' | ||
| 50 | }, | ||
| 51 | xAxis: { | ||
| 52 | labels: { | ||
| 53 | formatter: function() { | ||
| 54 | return this.value; // clean, unformatted number for year | ||
| 55 | } | ||
| 56 | } | ||
| 57 | }, | ||
| 58 | yAxis: { | ||
| 59 | title: { | ||
| 60 | text: 'Nuclear weapon states' | ||
| 61 | }, | ||
| 62 | labels: { | ||
| 63 | formatter: function() { | ||
| 64 | return this.value / 1000 +'k'; | ||
| 65 | } | ||
| 66 | } | ||
| 67 | }, | ||
| 68 | tooltip: { | ||
| 69 | pointFormat: '{series.name} produced <b>{point.y:,.0f}</b><br/>warheads in {point.x}' | ||
| 70 | }, | ||
| 71 | plotOptions: { | ||
| 72 | area: { | ||
| 73 | pointStart: 1940, | ||
| 74 | marker: { | ||
| 75 | enabled: false, | ||
| 76 | symbol: 'circle', | ||
| 77 | radius: 2, | ||
| 78 | states: { | ||
| 79 | hover: { | ||
| 80 | enabled: true | ||
| 81 | } | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } | ||
| 85 | }, | ||
| 86 | series: [{ | ||
| 87 | name: 'USA', | ||
| 88 | data: [null, null, null, null, null, 6 , 11, 32, 110, 235, 369, 640,1005, 1436, | ||
| 89 | 2063, 3057, 4618, 6444, 9822, 15468, 20434, 24126,27387, 29459, 31056, 31982, | ||
| 90 | 32040, 31233, 29224, 27342, 26662,26956, 27912, 28999, 28965, 27826, 25579, | ||
| 91 | 25722, 24826, 24605,24304, 23464, 23708, 24099, 24357, 24237, 24401, 24344, | ||
| 92 | 23586,22380, 21004, 17287, 14747, 13076, 12555, 12144, 11009, 10950, | ||
| 93 | 10871, 10824, 10577, 10527, 10475, 10421, 10358, 10295, 10104 | ||
| 94 | ] | ||
| 95 | }, { | ||
| 96 | name: 'USSR/Russia', | ||
| 97 | data: [null, null, null, null, null, null, null , null , null ,null,5, 25, 50, | ||
| 98 | 120, 150, 200, 426, 660, 869, 1060, 1605, 2471, 3322,4238, 5221, 6129, | ||
| 99 | 7089, 8339, 9399, 10538, 11643, 13092, 14478,15915, 17385, 19055, 21205, | ||
| 100 | 23044, 25393, 27935, 30062, 32049,33952, 35804, 37431, 39197, 45000, 43000, | ||
| 101 | 41000, 39000, 37000,35000, 33000, 31000, 29000, 27000, 25000, 24000, 23000, | ||
| 102 | 22000,21000, 20000, 19000, 18000, 18000, 17000, 16000 | ||
| 103 | ] | ||
| 104 | }] | ||
| 105 | }); | ||
| 106 | }); | ||
| 107 | </script> | ||
| 108 | </body> | ||
| 109 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>柱状图统计</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 统计管理 <span class="c-gray en">></span> 柱状图统计 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="f-14 c-error">特别声明:Highcharts 是一个用纯 JavaScript编写的一个图表库,仅免费提供给个人学习、个人网站,如果在商业项目中使用,请去Highcharts官网网站购买商业授权。或者您也可以选择其他免费的第三方图表插件,例如百度echarts。H-ui.admin不承担任何版权问题。</div> | ||
| 28 | <div id="container" style="min-width:700px;height:400px"></div> | ||
| 29 | </div> | ||
| 30 | <!--_footer 作为公共模版分离出去--> | ||
| 31 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 33 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 34 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 35 | |||
| 36 | <!--请在下方写此页面业务相关的脚本--> | ||
| 37 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts.js"></script> | ||
| 38 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/modules/exporting.js"></script> | ||
| 39 | <script type="text/javascript"> | ||
| 40 | $(function () { | ||
| 41 | $('#container').highcharts({ | ||
| 42 | chart: { | ||
| 43 | type: 'column' | ||
| 44 | }, | ||
| 45 | title: { | ||
| 46 | text: 'Monthly Average Rainfall' | ||
| 47 | }, | ||
| 48 | subtitle: { | ||
| 49 | text: 'Source: WorldClimate.com' | ||
| 50 | }, | ||
| 51 | xAxis: { | ||
| 52 | categories: [ | ||
| 53 | '一月', | ||
| 54 | '二月', | ||
| 55 | '三月', | ||
| 56 | '四月', | ||
| 57 | '五月', | ||
| 58 | '六月', | ||
| 59 | '七月', | ||
| 60 | '八月', | ||
| 61 | '九月', | ||
| 62 | '十月', | ||
| 63 | '十一月', | ||
| 64 | '十二月' | ||
| 65 | ] | ||
| 66 | }, | ||
| 67 | yAxis: { | ||
| 68 | min: 0, | ||
| 69 | title: { | ||
| 70 | text: 'Rainfall (mm)' | ||
| 71 | } | ||
| 72 | }, | ||
| 73 | tooltip: { | ||
| 74 | headerFormat: '<span style="font-size:10px">{point.key}</span><table>', | ||
| 75 | pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' + | ||
| 76 | '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>', | ||
| 77 | footerFormat: '</table>', | ||
| 78 | shared: true, | ||
| 79 | useHTML: true | ||
| 80 | }, | ||
| 81 | plotOptions: { | ||
| 82 | column: { | ||
| 83 | pointPadding: 0.2, | ||
| 84 | borderWidth: 0 | ||
| 85 | } | ||
| 86 | }, | ||
| 87 | series: [{ | ||
| 88 | name: 'Tokyo', | ||
| 89 | data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] | ||
| 90 | |||
| 91 | }, { | ||
| 92 | name: 'New York', | ||
| 93 | data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5, 106.6, 92.3] | ||
| 94 | |||
| 95 | }, { | ||
| 96 | name: 'London', | ||
| 97 | data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2] | ||
| 98 | |||
| 99 | }, { | ||
| 100 | name: 'Berlin', | ||
| 101 | data: [42.4, 33.2, 34.5, 39.7, 52.6, 75.5, 57.4, 60.4, 47.6, 39.1, 46.8, 51.1] | ||
| 102 | |||
| 103 | }] | ||
| 104 | }); | ||
| 105 | }); | ||
| 106 | </script> | ||
| 107 | </body> | ||
| 108 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>饼状图</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 统计管理 <span class="c-gray en">></span> 饼状图 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="f-14 c-error">特别声明:Highcharts 是一个用纯 JavaScript编写的一个图表库,仅免费提供给个人学习、个人网站,如果在商业项目中使用,请去Highcharts官网网站购买商业授权。或者您也可以选择其他免费的第三方图表插件,例如百度echarts。H-ui.admin不承担任何版权问题。</div> | ||
| 28 | <div id="container" style="min-width:700px;height:400px"></div> | ||
| 29 | </div> | ||
| 30 | <!--_footer 作为公共模版分离出去--> | ||
| 31 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 33 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 34 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 35 | |||
| 36 | <!--请在下方写此页面业务相关的脚本--> | ||
| 37 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts.js"></script> | ||
| 38 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/modules/exporting.js"></script> | ||
| 39 | <script type="text/javascript"> | ||
| 40 | $(function () { | ||
| 41 | $('#container').highcharts({ | ||
| 42 | chart: { | ||
| 43 | plotBackgroundColor: null, | ||
| 44 | plotBorderWidth: null, | ||
| 45 | plotShadow: false | ||
| 46 | }, | ||
| 47 | title: { | ||
| 48 | text: 'Browser market shares at a specific website, 2010' | ||
| 49 | }, | ||
| 50 | tooltip: { | ||
| 51 | pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' | ||
| 52 | }, | ||
| 53 | plotOptions: { | ||
| 54 | pie: { | ||
| 55 | allowPointSelect: true, | ||
| 56 | cursor: 'pointer', | ||
| 57 | dataLabels: { | ||
| 58 | enabled: true, | ||
| 59 | color: '#000000', | ||
| 60 | connectorColor: '#000000', | ||
| 61 | format: '<b>{point.name}</b>: {point.percentage:.1f} %' | ||
| 62 | } | ||
| 63 | } | ||
| 64 | }, | ||
| 65 | series: [{ | ||
| 66 | type: 'pie', | ||
| 67 | name: 'Browser share', | ||
| 68 | data: [ | ||
| 69 | ['Firefox', 45.0], | ||
| 70 | ['IE', 26.8], | ||
| 71 | { | ||
| 72 | name: 'Chrome', | ||
| 73 | y: 12.8, | ||
| 74 | sliced: true, | ||
| 75 | selected: true | ||
| 76 | }, | ||
| 77 | ['Safari', 8.5], | ||
| 78 | ['Opera', 6.2], | ||
| 79 | ['Others', 0.7] | ||
| 80 | ] | ||
| 81 | }] | ||
| 82 | }); | ||
| 83 | }); | ||
| 84 | </script> | ||
| 85 | </body> | ||
| 86 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>3D柱状图</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 统计管理 <span class="c-gray en">></span> 3D柱状图 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="f-14 c-error">特别声明:Highcharts 是一个用纯 JavaScript编写的一个图表库,仅免费提供给个人学习、个人网站,如果在商业项目中使用,请去Highcharts官网网站购买商业授权。或者您也可以选择其他免费的第三方图表插件,例如百度echarts。H-ui.admin不承担任何版权问题。</div> | ||
| 28 | <div id="container" style="min-width:700px;height:400px"></div> | ||
| 29 | </div> | ||
| 30 | <!--_footer 作为公共模版分离出去--> | ||
| 31 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 33 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 34 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 35 | |||
| 36 | <!--请在下方写此页面业务相关的脚本--> | ||
| 37 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts.js"></script> | ||
| 38 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/modules/exporting.js"></script> | ||
| 39 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts-3d.js"></script> | ||
| 40 | <script type="text/javascript"> | ||
| 41 | $(function () { | ||
| 42 | // Set up the chart | ||
| 43 | var chart = new Highcharts.Chart({ | ||
| 44 | chart: { | ||
| 45 | renderTo: 'container', | ||
| 46 | type: 'column', | ||
| 47 | margin: 75, | ||
| 48 | options3d: { | ||
| 49 | enabled: true, | ||
| 50 | alpha: 15, | ||
| 51 | beta: 15, | ||
| 52 | depth: 50, | ||
| 53 | viewDistance: 25 | ||
| 54 | } | ||
| 55 | }, | ||
| 56 | title: { | ||
| 57 | text: 'Chart rotation demo' | ||
| 58 | }, | ||
| 59 | subtitle: { | ||
| 60 | text: 'Test options by dragging the sliders below' | ||
| 61 | }, | ||
| 62 | plotOptions: { | ||
| 63 | column: { | ||
| 64 | depth: 25 | ||
| 65 | } | ||
| 66 | }, | ||
| 67 | series: [{ | ||
| 68 | data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] | ||
| 69 | }] | ||
| 70 | }); | ||
| 71 | |||
| 72 | |||
| 73 | // Activate the sliders | ||
| 74 | $('#R0').on('change', function(){ | ||
| 75 | chart.options.chart.options3d.alpha = this.value; | ||
| 76 | showValues(); | ||
| 77 | chart.redraw(false); | ||
| 78 | }); | ||
| 79 | $('#R1').on('change', function(){ | ||
| 80 | chart.options.chart.options3d.beta = this.value; | ||
| 81 | showValues(); | ||
| 82 | chart.redraw(false); | ||
| 83 | }); | ||
| 84 | |||
| 85 | function showValues() { | ||
| 86 | $('#R0-value').html(chart.options.chart.options3d.alpha); | ||
| 87 | $('#R1-value').html(chart.options.chart.options3d.beta); | ||
| 88 | } | ||
| 89 | showValues(); | ||
| 90 | }); | ||
| 91 | </script> | ||
| 92 | </body> | ||
| 93 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" /> | ||
| 14 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" /> | ||
| 15 | <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" /> | ||
| 16 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" /> | ||
| 17 | <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" /> | ||
| 18 | <!--[if IE 6]> | ||
| 19 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 20 | <script>DD_belatedPNG.fix('*');</script> | ||
| 21 | <![endif]--> | ||
| 22 | <title>3D饼状图</title> | ||
| 23 | </head> | ||
| 24 | <body> | ||
| 25 | <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 统计管理 <span class="c-gray en">></span> 3D饼状图 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a></nav> | ||
| 26 | <div class="page-container"> | ||
| 27 | <div class="f-14 c-error">特别声明:Highcharts 是一个用纯 JavaScript编写的一个图表库,仅免费提供给个人学习、个人网站,如果在商业项目中使用,请去Highcharts官网网站购买商业授权。或者您也可以选择其他免费的第三方图表插件,例如百度echarts。H-ui.admin不承担任何版权问题。</div> | ||
| 28 | <div id="container" style="min-width:700px;height:400px"></div> | ||
| 29 | </div> | ||
| 30 | <!--_footer 作为公共模版分离出去--> | ||
| 31 | <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> | ||
| 32 | <script type="text/javascript" src="lib/layer/2.4/layer.js"></script> | ||
| 33 | <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script> | ||
| 34 | <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去--> | ||
| 35 | |||
| 36 | <!--请在下方写此页面业务相关的脚本--> | ||
| 37 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts.js"></script> | ||
| 38 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/modules/exporting.js"></script> | ||
| 39 | <script type="text/javascript" src="lib/hcharts/Highcharts/5.0.6/js/highcharts-3d.js"></script> | ||
| 40 | <script type="text/javascript"> | ||
| 41 | $(function () { | ||
| 42 | $('#container').highcharts({ | ||
| 43 | chart: { | ||
| 44 | type: 'pie', | ||
| 45 | options3d: { | ||
| 46 | enabled: true, | ||
| 47 | alpha: 45, | ||
| 48 | beta: 0 | ||
| 49 | } | ||
| 50 | }, | ||
| 51 | title: { | ||
| 52 | text: 'Browser market shares at a specific website, 2014' | ||
| 53 | }, | ||
| 54 | tooltip: { | ||
| 55 | pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' | ||
| 56 | }, | ||
| 57 | plotOptions: { | ||
| 58 | pie: { | ||
| 59 | allowPointSelect: true, | ||
| 60 | cursor: 'pointer', | ||
| 61 | depth: 35, | ||
| 62 | dataLabels: { | ||
| 63 | enabled: true, | ||
| 64 | format: '{point.name}' | ||
| 65 | } | ||
| 66 | } | ||
| 67 | }, | ||
| 68 | series: [{ | ||
| 69 | type: 'pie', | ||
| 70 | name: 'Browser share', | ||
| 71 | data: [ | ||
| 72 | ['Firefox', 45.0], | ||
| 73 | ['IE', 26.8], | ||
| 74 | { | ||
| 75 | name: 'Chrome', | ||
| 76 | y: 12.8, | ||
| 77 | sliced: true, | ||
| 78 | selected: true | ||
| 79 | }, | ||
| 80 | ['Safari', 8.5], | ||
| 81 | ['Opera', 6.2], | ||
| 82 | ['Others', 0.7] | ||
| 83 | ] | ||
| 84 | }] | ||
| 85 | }); | ||
| 86 | }); | ||
| 87 | </script> | ||
| 88 | </body> | ||
| 89 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE HTML> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <meta charset="utf-8"> | ||
| 5 | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | ||
| 8 | <meta http-equiv="Cache-Control" content="no-siteapp" /> | ||
| 9 | <!--[if lt IE 9]> | ||
| 10 | <script type="text/javascript" src="lib/html5shiv.js"></script> | ||
| 11 | <script type="text/javascript" src="lib/respond.min.js"></script> | ||
| 12 | <![endif]--> | ||
| 13 | <link href="static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" /> | ||
| 14 | <link href="static/h-ui.admin/css/H-ui.admin.css" rel="stylesheet" type="text/css" /> | ||
| 15 | <link href="lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" /> | ||
| 16 | <!--[if IE 6]> | ||
| 17 | <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script> | ||
| 18 | <script>DD_belatedPNG.fix('*');</script> | ||
| 19 | <![endif]--> | ||
| 20 | <title>我的桌面</title> | ||
| 21 | </head> | ||
| 22 | <body> | ||
| 23 | <div class="page-container"> | ||
| 24 | <h2 class="text-c">Sorry!功能暂且开发中……<br> | ||
| 25 | 下一版本更新!</h2> | ||
| 26 | </div> | ||
| 27 | </body> | ||
| 28 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>. | ||
| 3 | * Author: Drew Diller | ||
| 4 | * Email: drew.diller@gmail.com | ||
| 5 | * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/ | ||
| 6 | * Version: 0.0.8a | ||
| 7 | * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license | ||
| 8 | * | ||
| 9 | * Example usage: | ||
| 10 | * DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector | ||
| 11 | * DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement | ||
| 12 | **/ | ||
| 13 | var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;b<c.length;b++){this.screenStyleSheet.addRule(c[b],"behavior:expression(DD_belatedPNG.fixPng(this))")}}},applyVML:function(a){a.runtimeStyle.cssText="";this.vmlFill(a);this.vmlOffsets(a);this.vmlOpacity(a);if(a.isImg){this.copyImageBorders(a)}},attachHandlers:function(i){var d,c,g,e,b,f;d=this;c={resize:"vmlOffsets",move:"vmlOffsets"};if(i.nodeName=="A"){e={mouseleave:"handlePseudoHover",mouseenter:"handlePseudoHover",focus:"handlePseudoHover",blur:"handlePseudoHover"};for(b in e){if(e.hasOwnProperty(b)){c[b]=e[b]}}}for(f in c){if(c.hasOwnProperty(f)){g=function(){d[c[f]](i)};i.attachEvent("on"+f,g)}}i.attachEvent("onpropertychange",this.readPropertyChange)},giveLayout:function(a){a.style.zoom=1;if(a.currentStyle.position=="static"){a.style.position="relative"}},copyImageBorders:function(b){var c,a;c={borderStyle:true,borderWidth:true,borderColor:true};for(a in c){if(c.hasOwnProperty(a)){b.vml.color.shape.style[a]=b.currentStyle[a]}}},vmlFill:function(e){if(!e.currentStyle){return}else{var d,f,g,b,a,c;d=e.currentStyle}for(b in e.vml){if(e.vml.hasOwnProperty(b)){e.vml[b].shape.style.zIndex=d.zIndex}}e.runtimeStyle.backgroundColor="";e.runtimeStyle.backgroundImage="";f=true;if(d.backgroundImage!="none"||e.isImg){if(!e.isImg){e.vmlBg=d.backgroundImage;e.vmlBg=e.vmlBg.substr(5,e.vmlBg.lastIndexOf('")')-5)}else{e.vmlBg=e.src}g=this;if(!g.imgSize[e.vmlBg]){a=document.createElement("img");g.imgSize[e.vmlBg]=a;a.className=g.ns+"_sizeFinder";a.runtimeStyle.cssText="behavior:none; position:absolute; left:-10000px; top:-10000px; border:none; margin:0; padding:0;";c=function(){this.width=this.offsetWidth;this.height=this.offsetHeight;g.vmlOffsets(e)};a.attachEvent("onload",c);a.src=e.vmlBg;a.removeAttribute("width");a.removeAttribute("height");document.body.insertBefore(a,document.body.firstChild)}e.vml.image.fill.src=e.vmlBg;f=false}e.vml.image.fill.on=!f;e.vml.image.fill.color="none";e.vml.color.shape.style.backgroundColor=d.backgroundColor;e.runtimeStyle.backgroundImage="none";e.runtimeStyle.backgroundColor="transparent"},vmlOffsets:function(d){var h,n,a,e,g,m,f,l,j,i,k;h=d.currentStyle;n={W:d.clientWidth+1,H:d.clientHeight+1,w:this.imgSize[d.vmlBg].width,h:this.imgSize[d.vmlBg].height,L:d.offsetLeft,T:d.offsetTop,bLW:d.clientLeft,bTW:d.clientTop};a=(n.L+n.bLW==1)?1:0;e=function(b,p,q,c,s,u){b.coordsize=c+","+s;b.coordorigin=u+","+u;b.path="m0,0l"+c+",0l"+c+","+s+"l0,"+s+" xe";b.style.width=c+"px";b.style.height=s+"px";b.style.left=p+"px";b.style.top=q+"px"};e(d.vml.color.shape,(n.L+(d.isImg?0:n.bLW)),(n.T+(d.isImg?0:n.bTW)),(n.W-1),(n.H-1),0);e(d.vml.image.shape,(n.L+n.bLW),(n.T+n.bTW),(n.W),(n.H),1);g={X:0,Y:0};if(d.isImg){g.X=parseInt(h.paddingLeft,10)+1;g.Y=parseInt(h.paddingTop,10)+1}else{for(j in g){if(g.hasOwnProperty(j)){this.figurePercentage(g,n,j,h["backgroundPosition"+j])}}}d.vml.image.fill.position=(g.X/n.W)+","+(g.Y/n.H);m=h.backgroundRepeat;f={T:1,R:n.W+a,B:n.H,L:1+a};l={X:{b1:"L",b2:"R",d:"W"},Y:{b1:"T",b2:"B",d:"H"}};if(m!="repeat"||d.isImg){i={T:(g.Y),R:(g.X+n.w),B:(g.Y+n.h),L:(g.X)};if(m.search("repeat-")!=-1){k=m.split("repeat-")[1].toUpperCase();i[l[k].b1]=1;i[l[k].b2]=n[l[k].d]}if(i.B>n.H){i.B=n.H}d.vml.image.shape.style.clip="rect("+i.T+"px "+(i.R+a)+"px "+i.B+"px "+(i.L+a)+"px)"}else{d.vml.image.shape.style.clip="rect("+f.T+"px "+f.R+"px "+f.B+"px "+f.L+"px)"}},figurePercentage:function(d,c,f,a){var b,e;e=true;b=(f=="X");switch(a){case"left":case"top":d[f]=0;break;case"center":d[f]=0.5;break;case"right":case"bottom":d[f]=1;break;default:if(a.search("%")!=-1){d[f]=parseInt(a,10)/100}else{e=false}}d[f]=Math.ceil(e?((c[b?"W":"H"]*d[f])-(c[b?"w":"h"]*d[f])):parseInt(a,10));if(d[f]%2===0){d[f]++}return d[f]},fixPng:function(c){c.style.behavior="none";var g,b,f,a,d;if(c.nodeName=="BODY"||c.nodeName=="TD"||c.nodeName=="TR"){return}c.isImg=false;if(c.nodeName=="IMG"){if(c.src.toLowerCase().search(/\.png$/)!=-1){c.isImg=true;c.style.visibility="hidden"}else{return}}else{if(c.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}}g=DD_belatedPNG;c.vml={color:{},image:{}};b={shape:{},fill:{}};for(a in c.vml){if(c.vml.hasOwnProperty(a)){for(d in b){if(b.hasOwnProperty(d)){f=g.ns+":"+d;c.vml[a][d]=document.createElement(f)}}c.vml[a].shape.stroked=false;c.vml[a].shape.appendChild(c.vml[a].fill);c.parentNode.insertBefore(c.vml[a].shape,c)}}c.vml.image.shape.fillcolor="none";c.vml.image.fill.type="tile";c.vml.color.fill.on=false;g.attachHandlers(c);g.giveLayout(c);g.giveLayout(c.offsetParent);c.vmlInitiated=true;g.applyVML(c)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet(); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | var $lang={ | ||
| 2 | errAlertMsg: "Invalid date or the date out of range,redo or not?", | ||
| 3 | aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], | ||
| 4 | aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], | ||
| 5 | aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], | ||
| 6 | aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], | ||
| 7 | clearStr: "Clear", | ||
| 8 | todayStr: "Today", | ||
| 9 | okStr: "OK", | ||
| 10 | updateStr: "OK", | ||
| 11 | timeStr: "Time", | ||
| 12 | quickStr: "Quick Selection", | ||
| 13 | err_1: 'MinDate Cannot be bigger than MaxDate!' | ||
| 14 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | var $lang={ | ||
| 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", | ||
| 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], | ||
| 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], | ||
| 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], | ||
| 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], | ||
| 7 | clearStr: "\u6E05\u7A7A", | ||
| 8 | todayStr: "\u4ECA\u5929", | ||
| 9 | okStr: "\u786E\u5B9A", | ||
| 10 | updateStr: "\u786E\u5B9A", | ||
| 11 | timeStr: "\u65F6\u95F4", | ||
| 12 | quickStr: "\u5FEB\u901F\u9009\u62E9", | ||
| 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' | ||
| 14 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | var $lang={ | ||
| 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", | ||
| 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], | ||
| 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], | ||
| 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], | ||
| 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], | ||
| 7 | clearStr: "\u6E05\u7A7A", | ||
| 8 | todayStr: "\u4ECA\u5929", | ||
| 9 | okStr: "\u78BA\u5B9A", | ||
| 10 | updateStr: "\u78BA\u5B9A", | ||
| 11 | timeStr: "\u6642\u9593", | ||
| 12 | quickStr: "\u5FEB\u901F\u9078\u64C7", | ||
| 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' | ||
| 14 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
1.02 KB
| 1 | /* | ||
| 2 | * My97 DatePicker 4.8 | ||
| 3 | */ | ||
| 4 | |||
| 5 | .WdateDiv{ | ||
| 6 | width:180px; | ||
| 7 | background-color:#FFFFFF; | ||
| 8 | border:#bbb 1px solid; | ||
| 9 | padding:2px; | ||
| 10 | } | ||
| 11 | |||
| 12 | .WdateDiv2{ | ||
| 13 | width:360px; | ||
| 14 | } | ||
| 15 | .WdateDiv *{font-size:9pt;} | ||
| 16 | |||
| 17 | .WdateDiv .NavImg a{ | ||
| 18 | display:block; | ||
| 19 | cursor:pointer; | ||
| 20 | height:16px; | ||
| 21 | width:16px; | ||
| 22 | } | ||
| 23 | |||
| 24 | .WdateDiv .NavImgll a{ | ||
| 25 | float:left; | ||
| 26 | background:transparent url(img.gif) no-repeat scroll 0 0; | ||
| 27 | } | ||
| 28 | .WdateDiv .NavImgl a{ | ||
| 29 | float:left; | ||
| 30 | background:transparent url(img.gif) no-repeat scroll -16px 0; | ||
| 31 | } | ||
| 32 | .WdateDiv .NavImgr a{ | ||
| 33 | float:right; | ||
| 34 | background:transparent url(img.gif) no-repeat scroll -32px 0; | ||
| 35 | } | ||
| 36 | .WdateDiv .NavImgrr a{ | ||
| 37 | float:right; | ||
| 38 | background:transparent url(img.gif) no-repeat scroll -48px 0; | ||
| 39 | } | ||
| 40 | |||
| 41 | .WdateDiv #dpTitle{ | ||
| 42 | height:24px; | ||
| 43 | margin-bottom:2px; | ||
| 44 | padding:1px; | ||
| 45 | } | ||
| 46 | |||
| 47 | .WdateDiv .yminput{ | ||
| 48 | margin-top:2px; | ||
| 49 | text-align:center; | ||
| 50 | height:20px; | ||
| 51 | border:0px; | ||
| 52 | width:50px; | ||
| 53 | cursor:pointer; | ||
| 54 | } | ||
| 55 | |||
| 56 | .WdateDiv .yminputfocus{ | ||
| 57 | margin-top:2px; | ||
| 58 | text-align:center; | ||
| 59 | font-weight:bold; | ||
| 60 | height:20px; | ||
| 61 | color:blue; | ||
| 62 | border:#ccc 1px solid; | ||
| 63 | width:50px; | ||
| 64 | } | ||
| 65 | |||
| 66 | .WdateDiv .menuSel{ | ||
| 67 | z-index:1; | ||
| 68 | position:absolute; | ||
| 69 | background-color:#FFFFFF; | ||
| 70 | border:#ddd 1px solid; | ||
| 71 | display:none; | ||
| 72 | } | ||
| 73 | |||
| 74 | .WdateDiv .menu{ | ||
| 75 | cursor:pointer; | ||
| 76 | background-color:#fff; | ||
| 77 | } | ||
| 78 | |||
| 79 | .WdateDiv .menuOn{ | ||
| 80 | cursor:pointer; | ||
| 81 | background-color:#BEEBEE; | ||
| 82 | } | ||
| 83 | |||
| 84 | .WdateDiv .invalidMenu{ | ||
| 85 | color:#aaa; | ||
| 86 | } | ||
| 87 | |||
| 88 | .WdateDiv .YMenu{ | ||
| 89 | margin-top:20px; | ||
| 90 | |||
| 91 | } | ||
| 92 | |||
| 93 | .WdateDiv .MMenu{ | ||
| 94 | margin-top:20px; | ||
| 95 | *width:62px; | ||
| 96 | } | ||
| 97 | |||
| 98 | .WdateDiv .hhMenu{ | ||
| 99 | margin-top:-90px; | ||
| 100 | margin-left:26px; | ||
| 101 | } | ||
| 102 | |||
| 103 | .WdateDiv .mmMenu{ | ||
| 104 | margin-top:-46px; | ||
| 105 | margin-left:26px; | ||
| 106 | } | ||
| 107 | |||
| 108 | .WdateDiv .ssMenu{ | ||
| 109 | margin-top:-24px; | ||
| 110 | margin-left:26px; | ||
| 111 | } | ||
| 112 | |||
| 113 | .WdateDiv .Wweek { | ||
| 114 | text-align:center; | ||
| 115 | background:#DAF3F5; | ||
| 116 | border-right:#ddd 1px solid; | ||
| 117 | } | ||
| 118 | |||
| 119 | .WdateDiv .MTitle{ | ||
| 120 | background-color:#222; | ||
| 121 | color:#fff | ||
| 122 | } | ||
| 123 | .WdateDiv .WdayTable2{ | ||
| 124 | border-collapse:collapse; | ||
| 125 | border:#c5d9e8 1px solid; | ||
| 126 | } | ||
| 127 | .WdateDiv .WdayTable2 table{ | ||
| 128 | border:0; | ||
| 129 | } | ||
| 130 | |||
| 131 | .WdateDiv .WdayTable{ | ||
| 132 | line-height:20px; | ||
| 133 | border:#c5d9e8 1px solid; | ||
| 134 | } | ||
| 135 | .WdateDiv .WdayTable td{ | ||
| 136 | text-align:center; | ||
| 137 | } | ||
| 138 | |||
| 139 | .WdateDiv .Wday{ | ||
| 140 | cursor:pointer; | ||
| 141 | } | ||
| 142 | |||
| 143 | .WdateDiv .WdayOn{ | ||
| 144 | cursor:pointer; | ||
| 145 | background-color:#222; | ||
| 146 | color:#fff | ||
| 147 | } | ||
| 148 | |||
| 149 | .WdateDiv .Wwday{ | ||
| 150 | cursor:pointer; | ||
| 151 | color:#FF2F2F; | ||
| 152 | } | ||
| 153 | |||
| 154 | .WdateDiv .WwdayOn{ | ||
| 155 | cursor:pointer; | ||
| 156 | color:#fff; | ||
| 157 | background-color:#222; | ||
| 158 | } | ||
| 159 | .WdateDiv .Wtoday{ | ||
| 160 | cursor:pointer; | ||
| 161 | color:blue; | ||
| 162 | } | ||
| 163 | .WdateDiv .Wselday{ | ||
| 164 | background-color:#222; | ||
| 165 | color:#fff | ||
| 166 | } | ||
| 167 | .WdateDiv .WspecialDay{ | ||
| 168 | background-color:#66F4DF; | ||
| 169 | } | ||
| 170 | |||
| 171 | .WdateDiv .WotherDay{ | ||
| 172 | cursor:pointer; | ||
| 173 | color:#428BCA; | ||
| 174 | } | ||
| 175 | |||
| 176 | .WdateDiv .WotherDayOn{ | ||
| 177 | cursor:pointer; | ||
| 178 | background-color:#222; | ||
| 179 | color:#fff | ||
| 180 | } | ||
| 181 | |||
| 182 | .WdateDiv .WinvalidDay{ | ||
| 183 | color:#aaa; | ||
| 184 | } | ||
| 185 | |||
| 186 | .WdateDiv #dpTime{ | ||
| 187 | float:left; | ||
| 188 | margin-top:3px; | ||
| 189 | margin-right:30px; | ||
| 190 | } | ||
| 191 | |||
| 192 | .WdateDiv #dpTime #dpTimeStr{ | ||
| 193 | margin-left:1px; | ||
| 194 | } | ||
| 195 | |||
| 196 | .WdateDiv #dpTime input{ | ||
| 197 | width:18px; | ||
| 198 | height:20px; | ||
| 199 | text-align:center; | ||
| 200 | border:#ccc 1px solid; | ||
| 201 | } | ||
| 202 | |||
| 203 | .WdateDiv #dpTime .tB{ | ||
| 204 | border-right:0px; | ||
| 205 | } | ||
| 206 | |||
| 207 | .WdateDiv #dpTime .tE{ | ||
| 208 | border-left:0; | ||
| 209 | border-right:0; | ||
| 210 | } | ||
| 211 | |||
| 212 | .WdateDiv #dpTime .tm{ | ||
| 213 | width:7px; | ||
| 214 | border-left:0; | ||
| 215 | border-right:0; | ||
| 216 | } | ||
| 217 | |||
| 218 | .WdateDiv #dpTime #dpTimeUp{ | ||
| 219 | height:10px; | ||
| 220 | width:13px; | ||
| 221 | border:0px; | ||
| 222 | background:url(img.gif) no-repeat -32px -16px; | ||
| 223 | } | ||
| 224 | |||
| 225 | .WdateDiv #dpTime #dpTimeDown{ | ||
| 226 | height:10px; | ||
| 227 | width:13px; | ||
| 228 | border:0px; | ||
| 229 | background:url(img.gif) no-repeat -48px -16px; | ||
| 230 | } | ||
| 231 | |||
| 232 | .WdateDiv #dpQS { | ||
| 233 | float:left; | ||
| 234 | margin-right:3px; | ||
| 235 | margin-top:3px; | ||
| 236 | background:url(img.gif) no-repeat 0px -16px; | ||
| 237 | width:20px; | ||
| 238 | height:20px; | ||
| 239 | cursor:pointer; | ||
| 240 | } | ||
| 241 | .WdateDiv #dpControl { | ||
| 242 | text-align:right; | ||
| 243 | } | ||
| 244 | .WdateDiv .dpButton{ | ||
| 245 | height:20px; | ||
| 246 | width:45px; | ||
| 247 | border:#ccc 1px solid; | ||
| 248 | margin-top:2px; | ||
| 249 | margin-right:1px; | ||
| 250 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
1.54 KB
| 1 | /* | ||
| 2 | * My97 DatePicker 4.8 | ||
| 3 | * auther : zhangkun , hejianting(design) | ||
| 4 | * email : zhangkun_net@hotmail.com | ||
| 5 | * date : 2012-05-25 | ||
| 6 | */ | ||
| 7 | .WdateDiv | ||
| 8 | { | ||
| 9 | position:relative; | ||
| 10 | padding:5px; | ||
| 11 | width:180px; | ||
| 12 | *width:190px; | ||
| 13 | font-size:12px; | ||
| 14 | color:#333; | ||
| 15 | border:solid 1px #DEDEDE; | ||
| 16 | background-color:#F2F0F1; | ||
| 17 | } | ||
| 18 | |||
| 19 | .WdateDiv2 | ||
| 20 | { | ||
| 21 | width:360px; | ||
| 22 | } | ||
| 23 | |||
| 24 | .WdateDiv .NavImg a,.WdateDiv .yminput,.WdateDiv .yminputfocus,.WdateDiv #dpQS | ||
| 25 | { | ||
| 26 | background:url(img.gif) no-repeat; | ||
| 27 | } | ||
| 28 | |||
| 29 | .WdateDiv .NavImg a | ||
| 30 | { | ||
| 31 | float:left; | ||
| 32 | width:16px; | ||
| 33 | height:16px; | ||
| 34 | cursor:pointer; | ||
| 35 | } | ||
| 36 | .WdateDiv .NavImgll a | ||
| 37 | { | ||
| 38 | background-position:0px 5px; | ||
| 39 | } | ||
| 40 | .WdateDiv .NavImgl a | ||
| 41 | { | ||
| 42 | background-position:0px -10px; | ||
| 43 | } | ||
| 44 | .WdateDiv .NavImgr a | ||
| 45 | { | ||
| 46 | background-position:0px -25px; | ||
| 47 | float:right; | ||
| 48 | } | ||
| 49 | .WdateDiv .NavImgrr a | ||
| 50 | { | ||
| 51 | background-position:0px -40px; | ||
| 52 | float:right; | ||
| 53 | } | ||
| 54 | |||
| 55 | .WdateDiv #dpTitle | ||
| 56 | { | ||
| 57 | padding:3px 0px 0px 0px; | ||
| 58 | line-height:0px; | ||
| 59 | height:20px; | ||
| 60 | *height:23; | ||
| 61 | } | ||
| 62 | |||
| 63 | .WdateDiv .yminput,.WdateDiv .yminputfocus | ||
| 64 | { | ||
| 65 | margin-left:3px; | ||
| 66 | width:50px; | ||
| 67 | height:20px; | ||
| 68 | line-height:16px; | ||
| 69 | border:solid 1px #F2F0F1; | ||
| 70 | cursor:pointer; | ||
| 71 | background-position:35px -68px; | ||
| 72 | } | ||
| 73 | |||
| 74 | .WdateDiv .yminputfocus | ||
| 75 | { | ||
| 76 | background-color:#fff; | ||
| 77 | border:solid 1px #D8D8D8; | ||
| 78 | } | ||
| 79 | |||
| 80 | .WdateDiv .menuSel{ | ||
| 81 | z-index:1; | ||
| 82 | position:absolute; | ||
| 83 | background-color:#FFFFFF; | ||
| 84 | border:#A3C6C8 1px solid; | ||
| 85 | display:none; | ||
| 86 | } | ||
| 87 | |||
| 88 | .WdateDiv .menu | ||
| 89 | { | ||
| 90 | background:#fff; | ||
| 91 | } | ||
| 92 | .WdateDiv .menuOn | ||
| 93 | { | ||
| 94 | color:#fff; | ||
| 95 | background:#64A3F3; | ||
| 96 | } | ||
| 97 | |||
| 98 | .WdateDiv .invalidMenu{ | ||
| 99 | color:#aaa; | ||
| 100 | } | ||
| 101 | |||
| 102 | .WdateDiv .MMenu,.WdateDiv .YMenu | ||
| 103 | { | ||
| 104 | padding:2px; | ||
| 105 | margin-top:20px; | ||
| 106 | margin-left:-1px; | ||
| 107 | width:68px; | ||
| 108 | border:solid 1px #D9D9D9; | ||
| 109 | } | ||
| 110 | .WdateDiv .MMenu table,.WdateDiv .YMenu table | ||
| 111 | { | ||
| 112 | width:100%; | ||
| 113 | } | ||
| 114 | .WdateDiv .MMenu table td,.WdateDiv .YMenu table td | ||
| 115 | { | ||
| 116 | padding:0px; | ||
| 117 | line-height:20px; | ||
| 118 | text-align:center; | ||
| 119 | font-size:12px; | ||
| 120 | cursor: pointer; | ||
| 121 | } | ||
| 122 | |||
| 123 | .WdateDiv .Wweek { | ||
| 124 | text-align:center; | ||
| 125 | background:#DAF3F5; | ||
| 126 | border-right:#BDEBEE 1px solid; | ||
| 127 | } | ||
| 128 | |||
| 129 | .WdateDiv td | ||
| 130 | { | ||
| 131 | padding:1px; | ||
| 132 | line-height:20px; | ||
| 133 | font-size:12px; | ||
| 134 | color:#999999; | ||
| 135 | background:#fff; | ||
| 136 | cursor:pointer; | ||
| 137 | } | ||
| 138 | .WdateDiv .MTitle td | ||
| 139 | { | ||
| 140 | line-height:24px; | ||
| 141 | color:#7D7D7D; | ||
| 142 | background:#F2F0F1; | ||
| 143 | cursor: default; | ||
| 144 | } | ||
| 145 | |||
| 146 | .WdateDiv .WdayTable2 | ||
| 147 | { | ||
| 148 | border-collapse:collapse; | ||
| 149 | border:#808080 1px solid; | ||
| 150 | } | ||
| 151 | .WdateDiv .WdayTable2 table | ||
| 152 | { | ||
| 153 | border:0; | ||
| 154 | } | ||
| 155 | |||
| 156 | .WdateDiv .WdayTable{ | ||
| 157 | line-height:20px; | ||
| 158 | color:#13777e; | ||
| 159 | background-color:#edfbfb; | ||
| 160 | } | ||
| 161 | .WdateDiv .WdayTable td{ | ||
| 162 | text-align:center; | ||
| 163 | } | ||
| 164 | |||
| 165 | .WdateDiv .Wday | ||
| 166 | { | ||
| 167 | color:#323232; | ||
| 168 | } | ||
| 169 | |||
| 170 | .WdateDiv .WdayOn | ||
| 171 | { | ||
| 172 | color:#fff; | ||
| 173 | background-color:#65A2F3; | ||
| 174 | } | ||
| 175 | |||
| 176 | .WdateDiv .Wwday | ||
| 177 | { | ||
| 178 | color:#65A4F3; | ||
| 179 | } | ||
| 180 | |||
| 181 | .WdateDiv .WwdayOn | ||
| 182 | { | ||
| 183 | color:#fff; | ||
| 184 | background-color:#65A2F3; | ||
| 185 | } | ||
| 186 | .WdateDiv .Wtoday | ||
| 187 | { | ||
| 188 | color:#FF6D10; | ||
| 189 | background:#E0EDFE; | ||
| 190 | } | ||
| 191 | .WdateDiv .Wselday | ||
| 192 | { | ||
| 193 | color:#fff; | ||
| 194 | background-color:#65A2F3; | ||
| 195 | } | ||
| 196 | .WdateDiv .WspecialDay{ | ||
| 197 | background-color:#66F4DF; | ||
| 198 | } | ||
| 199 | |||
| 200 | .WdateDiv .WotherDay | ||
| 201 | { | ||
| 202 | color:#D4D4D4; | ||
| 203 | } | ||
| 204 | .WdateDiv .WotherDayOn | ||
| 205 | { | ||
| 206 | color:#fff; | ||
| 207 | background-color:#65A2F3; | ||
| 208 | } | ||
| 209 | |||
| 210 | .WdateDiv .WinvalidDay{ | ||
| 211 | color:#aaa; | ||
| 212 | } | ||
| 213 | |||
| 214 | .WdateDiv #dpTime | ||
| 215 | { | ||
| 216 | position:relative; | ||
| 217 | margin-top:5px; | ||
| 218 | } | ||
| 219 | |||
| 220 | .WdateDiv #dpTime #dpTimeStr | ||
| 221 | { | ||
| 222 | display:inline-block; | ||
| 223 | width:28px; | ||
| 224 | *width:30px; | ||
| 225 | color:#7d7d7d; | ||
| 226 | } | ||
| 227 | |||
| 228 | .WdateDiv #dpTime input | ||
| 229 | { | ||
| 230 | padding:0px; | ||
| 231 | margin:0px; | ||
| 232 | width:25px; | ||
| 233 | height:20px; | ||
| 234 | line-height:20px; | ||
| 235 | text-align:center; | ||
| 236 | color:#333; | ||
| 237 | border:#D9D9D9 1px solid; | ||
| 238 | } | ||
| 239 | |||
| 240 | .WdateDiv #dpTime .tm | ||
| 241 | { | ||
| 242 | width:7px; | ||
| 243 | border:none; | ||
| 244 | background:#F2F0F1; | ||
| 245 | } | ||
| 246 | |||
| 247 | .WdateDiv #dpTime #dpTimeUp | ||
| 248 | { | ||
| 249 | display:none; | ||
| 250 | } | ||
| 251 | |||
| 252 | .WdateDiv #dpTime #dpTimeDown | ||
| 253 | { | ||
| 254 | display:none; | ||
| 255 | } | ||
| 256 | |||
| 257 | .WdateDiv #dpQS | ||
| 258 | { | ||
| 259 | float:left; | ||
| 260 | margin-right:3px; | ||
| 261 | margin-top:9px; | ||
| 262 | *margin-top:6px; | ||
| 263 | width:16px; | ||
| 264 | height:16px; | ||
| 265 | cursor:pointer; | ||
| 266 | background-position:0px -90px; | ||
| 267 | } | ||
| 268 | .WdateDiv #dpControl | ||
| 269 | { | ||
| 270 | text-align:right; | ||
| 271 | margin-top:3px; | ||
| 272 | } | ||
| 273 | .WdateDiv .dpButton | ||
| 274 | { | ||
| 275 | margin-left:2px; | ||
| 276 | line-height:18px; | ||
| 277 | *line-height:16px; | ||
| 278 | width:45px; | ||
| 279 | background-color:#C3C3C3; | ||
| 280 | *background-color:#64A3F3; | ||
| 281 | color:#fff; | ||
| 282 | border:none; | ||
| 283 | cursor: pointer; | ||
| 284 | } | ||
| 285 | .WdateDiv .dpButton:hover | ||
| 286 | { | ||
| 287 | background-color:#64A3F3; | ||
| 288 | } | ||
| 289 | |||
| 290 | .WdateDiv .hhMenu, | ||
| 291 | .WdateDiv .mmMenu, | ||
| 292 | .WdateDiv .ssMenu | ||
| 293 | { | ||
| 294 | position:absolute; | ||
| 295 | padding:3px; | ||
| 296 | font-size:12px; | ||
| 297 | color:#333; | ||
| 298 | border:solid 1px #DEDEDE; | ||
| 299 | background-color:#F2F0F1; | ||
| 300 | } | ||
| 301 | |||
| 302 | .WdateDiv #dpTime .menu,.WdateDiv #dpTime .menuOn | ||
| 303 | { | ||
| 304 | width:18px; | ||
| 305 | height:18px; | ||
| 306 | line-height:18px; | ||
| 307 | text-align:center; | ||
| 308 | background:#fff; | ||
| 309 | } | ||
| 310 | .WdateDiv #dpTime .menuOn | ||
| 311 | { | ||
| 312 | background:#65A2F3; | ||
| 313 | } | ||
| 314 | |||
| 315 | .WdateDiv #dpTime td | ||
| 316 | { | ||
| 317 | background:#F2F0F1; | ||
| 318 | } | ||
| 319 | |||
| 320 | .WdateDiv .hhMenu | ||
| 321 | { | ||
| 322 | top:-87px; | ||
| 323 | left:35px; | ||
| 324 | left:32px\9; | ||
| 325 | } | ||
| 326 | |||
| 327 | .WdateDiv .mmMenu | ||
| 328 | { | ||
| 329 | top:-47px; | ||
| 330 | left:35px; | ||
| 331 | left:32px\9; | ||
| 332 | } | ||
| 333 | |||
| 334 | .WdateDiv .ssMenu | ||
| 335 | { | ||
| 336 | top:-27px; | ||
| 337 | left:35px; | ||
| 338 | left:32px\9; | ||
| 339 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | .WdateDiv{position:relative;width:190px;font-size:12px;color:#333;border:solid 1px #DEDEDE;background-color:#F2F0F1;padding:5px;}.WdateDiv2{width:360px;}.WdateDiv .NavImg a,.WdateDiv .yminput,.WdateDiv .yminputfocus,.WdateDiv #dpQS{background:url(img.gif) no-repeat;}.WdateDiv .NavImg a{float:left;width:16px;height:16px;cursor:pointer;}.WdateDiv .NavImgll a{background-position:0 5px;}.WdateDiv .NavImgl a{background-position:0 -10px;}.WdateDiv .NavImgr a{background-position:0 -25px;float:right;}.WdateDiv .NavImgrr a{background-position:0 -40px;float:right;}.WdateDiv #dpTitle{line-height:0;height:23px;padding:3px 0 0;}.WdateDiv .yminput,.WdateDiv .yminputfocus{margin-left:3px;width:50px;height:20px;line-height:16px;border:solid 1px #F2F0F1;cursor:pointer;background-position:35px -68px;}.WdateDiv .yminputfocus{background-color:#fff;border:solid 1px #D8D8D8;}.WdateDiv .menuSel{z-index:1;position:absolute;background-color:#FFF;border:#A3C6C8 1px solid;display:none;}.WdateDiv .menu{background:#fff;}.WdateDiv .menuOn{color:#fff;background:#FFC600;}.WdateDiv .MMenu,.WdateDiv .YMenu{margin-top:20px;margin-left:-1px;width:68px;border:solid 1px #D9D9D9;padding:2px;}.WdateDiv .MMenu table,.WdateDiv .YMenu table{width:100%;}.WdateDiv .MMenu table td,.WdateDiv .YMenu table td{line-height:20px;text-align:center;font-size:14px;cursor:pointer;padding:0;}.WdateDiv .Wweek{text-align:center;background:#DAF3F5;border-right:#BDEBEE 1px solid;}.WdateDiv td{line-height:20px;font-size:12px;color:#999;background:#fff;cursor:pointer;padding:1px;}.WdateDiv .MTitle td{line-height:24px;color:#7D7D7D;background:#F2F0F1;cursor:default;}.WdateDiv .WdayTable2{border-collapse:collapse;border:gray 1px solid;}.WdateDiv .WdayTable2 table{border:0;}.WdateDiv .WdayTable{line-height:20px;color:#13777e;background-color:#edfbfb;}.WdateDiv .WdayTable td{text-align:center;}.WdateDiv .Wday{color:#323232;}.WdateDiv .Wwday{color:#FFC600;}.WdateDiv .Wtoday{color:#FF6D10;background:#E0EDFE;}.WdateDiv .WspecialDay{background-color:#66F4DF;}.WdateDiv .WotherDay{color:#D4D4D4;}.WdateDiv #dpTime{position:relative;margin-top:5px;}.WdateDiv #dpTime #dpTimeStr{display:inline-block;width:30px;color:#7d7d7d;}.WdateDiv #dpTime input{width:25px;height:20px;line-height:20px;text-align:center;color:#333;border:#D9D9D9 1px solid;margin:0;padding:0;}.WdateDiv #dpTime .tm{width:7px;border:none;background:#F2F0F1;}.WdateDiv #dpQS{float:left;margin-right:3px;margin-top:6px;width:16px;height:16px;cursor:pointer;background-position:0 -90px;}.WdateDiv #dpControl{text-align:right;margin-top:3px;}.WdateDiv .dpButton{margin-left:2px;line-height:16px;width:45px;background-color:#FFC600;color:#fff;border:none;cursor:pointer;}.WdateDiv .dpButton:hover{background-color:#FFC600;}.WdateDiv .hhMenu,.WdateDiv .mmMenu,.WdateDiv .ssMenu{position:absolute;font-size:12px;color:#333;border:solid 1px #DEDEDE;background-color:#F2F0F1;padding:3px;}.WdateDiv #dpTime .menu,.WdateDiv #dpTime .menuOn{width:18px;height:18px;line-height:18px;text-align:center;background:#fff;}.WdateDiv #dpTime .menuOn{background:#FFC600;}.WdateDiv #dpTime td{background:#F2F0F1;}.WdateDiv .hhMenu{top:-87px;left:32px;}.WdateDiv .mmMenu{top:-47px;left:32px;}.WdateDiv .ssMenu{top:-27px;left:32px;}.WdateDiv .invalidMenu,.WdateDiv .WinvalidDay{color:#aaa;}.WdateDiv .WdayOn,.WdateDiv .WwdayOn,.WdateDiv .Wselday,.WdateDiv .WotherDayOn{background-color:#FFC600;color:#fff;}.WdateDiv #dpTime #dpTimeUp,.WdateDiv #dpTime #dpTimeDown{display:none;} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
475 Bytes
48.1 KB
307 Bytes
| 1 | /* | ||
| 2 | * My97 DatePicker 4.8 Skin:whyGreen | ||
| 3 | */ | ||
| 4 | .WdateDiv{ | ||
| 5 | width:180px; | ||
| 6 | background-color:#fff; | ||
| 7 | border:#C5E1E4 1px solid; | ||
| 8 | padding:2px; | ||
| 9 | } | ||
| 10 | |||
| 11 | .WdateDiv2{ | ||
| 12 | width:360px; | ||
| 13 | } | ||
| 14 | .WdateDiv *{font-size:9pt;} | ||
| 15 | |||
| 16 | .WdateDiv .NavImg a{ | ||
| 17 | cursor:pointer; | ||
| 18 | display:block; | ||
| 19 | width:16px; | ||
| 20 | height:16px; | ||
| 21 | margin-top:1px; | ||
| 22 | } | ||
| 23 | |||
| 24 | .WdateDiv .NavImgll a{ | ||
| 25 | float:left; | ||
| 26 | background:url(img.gif) no-repeat; | ||
| 27 | } | ||
| 28 | .WdateDiv .NavImgl a{ | ||
| 29 | float:left; | ||
| 30 | background:url(img.gif) no-repeat -16px 0px; | ||
| 31 | } | ||
| 32 | .WdateDiv .NavImgr a{ | ||
| 33 | float:right; | ||
| 34 | background:url(img.gif) no-repeat -32px 0px; | ||
| 35 | } | ||
| 36 | .WdateDiv .NavImgrr a{ | ||
| 37 | float:right; | ||
| 38 | background:url(img.gif) no-repeat -48px 0px; | ||
| 39 | } | ||
| 40 | |||
| 41 | .WdateDiv #dpTitle{ | ||
| 42 | height:24px; | ||
| 43 | padding:1px; | ||
| 44 | border:#c5d9e8 1px solid; | ||
| 45 | background:url(bg.jpg); | ||
| 46 | margin-bottom:2px; | ||
| 47 | } | ||
| 48 | |||
| 49 | .WdateDiv .yminput{ | ||
| 50 | margin-top:2px; | ||
| 51 | text-align:center; | ||
| 52 | border:0px; | ||
| 53 | height:20px; | ||
| 54 | width:50px; | ||
| 55 | color:#034c50; | ||
| 56 | background-color:transparent; | ||
| 57 | cursor:pointer; | ||
| 58 | } | ||
| 59 | |||
| 60 | .WdateDiv .yminputfocus{ | ||
| 61 | margin-top:2px; | ||
| 62 | text-align:center; | ||
| 63 | border:#939393 1px solid; | ||
| 64 | font-weight:bold; | ||
| 65 | color:#034c50; | ||
| 66 | height:20px; | ||
| 67 | width:50px; | ||
| 68 | } | ||
| 69 | |||
| 70 | .WdateDiv .menuSel{ | ||
| 71 | z-index:1; | ||
| 72 | position:absolute; | ||
| 73 | background-color:#FFFFFF; | ||
| 74 | border:#A3C6C8 1px solid; | ||
| 75 | display:none; | ||
| 76 | } | ||
| 77 | |||
| 78 | .WdateDiv .menu{ | ||
| 79 | cursor:pointer; | ||
| 80 | background-color:#fff; | ||
| 81 | color:#11777C; | ||
| 82 | } | ||
| 83 | |||
| 84 | .WdateDiv .menuOn{ | ||
| 85 | cursor:pointer; | ||
| 86 | background-color:#BEEBEE; | ||
| 87 | } | ||
| 88 | |||
| 89 | .WdateDiv .invalidMenu{ | ||
| 90 | color:#aaa; | ||
| 91 | } | ||
| 92 | |||
| 93 | .WdateDiv .YMenu{ | ||
| 94 | margin-top:20px; | ||
| 95 | } | ||
| 96 | |||
| 97 | .WdateDiv .MMenu{ | ||
| 98 | margin-top:20px; | ||
| 99 | *width:62px; | ||
| 100 | } | ||
| 101 | |||
| 102 | .WdateDiv .hhMenu{ | ||
| 103 | margin-top:-90px; | ||
| 104 | margin-left:26px; | ||
| 105 | } | ||
| 106 | |||
| 107 | .WdateDiv .mmMenu{ | ||
| 108 | margin-top:-46px; | ||
| 109 | margin-left:26px; | ||
| 110 | } | ||
| 111 | |||
| 112 | .WdateDiv .ssMenu{ | ||
| 113 | margin-top:-24px; | ||
| 114 | margin-left:26px; | ||
| 115 | } | ||
| 116 | |||
| 117 | .WdateDiv .Wweek { | ||
| 118 | text-align:center; | ||
| 119 | background:#DAF3F5; | ||
| 120 | border-right:#BDEBEE 1px solid; | ||
| 121 | } | ||
| 122 | |||
| 123 | .WdateDiv .MTitle{ | ||
| 124 | color:#13777e; | ||
| 125 | background-color:#bdebee; | ||
| 126 | } | ||
| 127 | .WdateDiv .WdayTable2{ | ||
| 128 | border-collapse:collapse; | ||
| 129 | border:#BEE9F0 1px solid; | ||
| 130 | } | ||
| 131 | .WdateDiv .WdayTable2 table{ | ||
| 132 | border:0; | ||
| 133 | } | ||
| 134 | |||
| 135 | .WdateDiv .WdayTable{ | ||
| 136 | line-height:20px; | ||
| 137 | color:#13777e; | ||
| 138 | background-color:#edfbfb; | ||
| 139 | border:#BEE9F0 1px solid; | ||
| 140 | } | ||
| 141 | .WdateDiv .WdayTable td{ | ||
| 142 | text-align:center; | ||
| 143 | } | ||
| 144 | |||
| 145 | .WdateDiv .Wday{ | ||
| 146 | cursor:pointer; | ||
| 147 | } | ||
| 148 | |||
| 149 | .WdateDiv .WdayOn{ | ||
| 150 | cursor:pointer; | ||
| 151 | background-color:#74d2d9 ; | ||
| 152 | } | ||
| 153 | |||
| 154 | .WdateDiv .Wwday{ | ||
| 155 | cursor:pointer; | ||
| 156 | color:#ab1e1e; | ||
| 157 | } | ||
| 158 | |||
| 159 | .WdateDiv .WwdayOn{ | ||
| 160 | cursor:pointer; | ||
| 161 | background-color:#74d2d9; | ||
| 162 | } | ||
| 163 | .WdateDiv .Wtoday{ | ||
| 164 | cursor:pointer; | ||
| 165 | color:blue; | ||
| 166 | } | ||
| 167 | .WdateDiv .Wselday{ | ||
| 168 | background-color:#A7E2E7; | ||
| 169 | } | ||
| 170 | .WdateDiv .WspecialDay{ | ||
| 171 | background-color:#66F4DF; | ||
| 172 | } | ||
| 173 | |||
| 174 | .WdateDiv .WotherDay{ | ||
| 175 | cursor:pointer; | ||
| 176 | color:#0099CC; | ||
| 177 | } | ||
| 178 | |||
| 179 | .WdateDiv .WotherDayOn{ | ||
| 180 | cursor:pointer; | ||
| 181 | background-color:#C0EBEF; | ||
| 182 | } | ||
| 183 | |||
| 184 | .WdateDiv .WinvalidDay{ | ||
| 185 | color:#aaa; | ||
| 186 | } | ||
| 187 | |||
| 188 | .WdateDiv #dpTime{ | ||
| 189 | float:left; | ||
| 190 | margin-top:3px; | ||
| 191 | margin-right:30px; | ||
| 192 | } | ||
| 193 | |||
| 194 | .WdateDiv #dpTime #dpTimeStr{ | ||
| 195 | margin-left:1px; | ||
| 196 | color:#497F7F; | ||
| 197 | } | ||
| 198 | |||
| 199 | .WdateDiv #dpTime input{ | ||
| 200 | height:20px; | ||
| 201 | width:18px; | ||
| 202 | text-align:center; | ||
| 203 | color:#333; | ||
| 204 | border:#61CAD0 1px solid; | ||
| 205 | } | ||
| 206 | |||
| 207 | .WdateDiv #dpTime .tB{ | ||
| 208 | border-right:0px; | ||
| 209 | } | ||
| 210 | |||
| 211 | .WdateDiv #dpTime .tE{ | ||
| 212 | border-left:0; | ||
| 213 | border-right:0; | ||
| 214 | } | ||
| 215 | |||
| 216 | .WdateDiv #dpTime .tm{ | ||
| 217 | width:7px; | ||
| 218 | border-left:0; | ||
| 219 | border-right:0; | ||
| 220 | } | ||
| 221 | |||
| 222 | .WdateDiv #dpTime #dpTimeUp{ | ||
| 223 | height:10px; | ||
| 224 | width:13px; | ||
| 225 | border:0px; | ||
| 226 | background:url(img.gif) no-repeat -32px -16px; | ||
| 227 | } | ||
| 228 | |||
| 229 | .WdateDiv #dpTime #dpTimeDown{ | ||
| 230 | height:10px; | ||
| 231 | width:13px; | ||
| 232 | border:0px; | ||
| 233 | background:url(img.gif) no-repeat -48px -16px; | ||
| 234 | } | ||
| 235 | |||
| 236 | .WdateDiv #dpQS { | ||
| 237 | float:left; | ||
| 238 | margin-right:3px; | ||
| 239 | margin-top:3px; | ||
| 240 | background:url(img.gif) no-repeat 0px -16px; | ||
| 241 | width:20px; | ||
| 242 | height:20px; | ||
| 243 | cursor:pointer; | ||
| 244 | } | ||
| 245 | .WdateDiv #dpControl { | ||
| 246 | text-align:right; | ||
| 247 | margin-top:3px; | ||
| 248 | } | ||
| 249 | .WdateDiv .dpButton{ | ||
| 250 | height:20px; | ||
| 251 | width:45px; | ||
| 252 | margin-top:2px; | ||
| 253 | border:#38B1B9 1px solid; | ||
| 254 | background-color:#CFEBEE; | ||
| 255 | color:#08575B; | ||
| 256 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
1.64 KB
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | |||
| 4 | (c) 2009-2016 Torstein Honsi | ||
| 5 | |||
| 6 | License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(f){var q=f.defined,k=f.isNumber,n=f.inArray,v=f.isArray,w=f.merge,B=f.Chart,x=f.extend,C=f.each,r,D;D=["path","rect","circle"];r={top:0,left:0,center:.5,middle:.5,bottom:1,right:1};var E=function(){this.init.apply(this,arguments)};E.prototype={init:function(a,d){var c=d.shape&&d.shape.type;this.chart=a;var b;b={xAxis:0,yAxis:0,title:{style:{},text:"",x:0,y:0},shape:{params:{stroke:"#000000", | ||
| 9 | fill:"transparent",strokeWidth:2}}};a={circle:{params:{x:0,y:0}}};a[c]&&(b.shape=w(b.shape,a[c]));this.options=w({},b,d)},render:function(a){var d=this.chart,c=this.chart.renderer,b=this.group,f=this.title,e=this.shape,h=this.options,k=h.title,p=h.shape;b||(b=this.group=c.g());!e&&p&&-1!==n(p.type,D)&&(e=this.shape=c[h.shape.type](p.params),e.add(b));!f&&k&&(f=this.title=c.label(k),f.add(b));b.add(d.annotations.group);this.linkObjects();!1!==a&&this.redraw()},redraw:function(){var a=this.options, | ||
| 10 | d=this.chart,c=this.group,b=this.title,F=this.shape,e=this.linkedObject,h=d.xAxis[a.xAxis],d=d.yAxis[a.yAxis],y=a.width,p=a.height,z=r[a.anchorY],A=r[a.anchorX],t,l,g,u;e&&(t=e instanceof f.Point?"point":e instanceof f.Series?"series":null,"point"===t?(a.xValue=e.x,a.yValue=e.y,l=e.series):"series"===t&&(l=e),c.visibility!==l.group.visibility&&c.attr({visibility:l.group.visibility}));e=q(a.xValue)?h.toPixels(a.xValue+h.minPointOffset)-h.minPixelPadding:a.x;l=q(a.yValue)?d.toPixels(a.yValue):a.y;if(k(e)&& | ||
| 11 | k(l)){b&&(b.attr(a.title),b.css(a.title.style));if(F){b=x({},a.shape.params);if("values"===a.units){for(g in b)-1<n(g,["width","x"])?b[g]=h.translate(b[g]):-1<n(g,["height","y"])&&(b[g]=d.translate(b[g]));b.width&&(b.width-=h.toPixels(0)-h.left);b.x&&(b.x+=h.minPixelPadding);if("path"===a.shape.type){g=b.d;t=e;for(var v=l,w=g.length,m=0;m<w;)k(g[m])&&k(g[m+1])?(g[m]=h.toPixels(g[m])-t,g[m+1]=d.toPixels(g[m+1])-v,m+=2):m+=1}}"circle"===a.shape.type&&(b.x+=b.r,b.y+=b.r);F.attr(b)}c.bBox=null;k(y)|| | ||
| 12 | (u=c.getBBox(),y=u.width);k(p)||(u||(u=c.getBBox()),p=u.height);k(A)||(A=r.center);k(z)||(z=r.center);e-=y*A;l-=p*z;q(c.translateX)&&q(c.translateY)?c.animate({translateX:e,translateY:l}):c.translate(e,l)}},destroy:function(){var a=this,d=this.chart.annotations.allItems,c=d.indexOf(a);-1<c&&d.splice(c,1);C(["title","shape","group"],function(b){a[b]&&(a[b].destroy(),a[b]=null)});a.group=a.title=a.shape=a.chart=a.options=null},update:function(a,d){x(this.options,a);this.linkObjects();this.render(d)}, | ||
| 13 | linkObjects:function(){var a=this.chart,d=this.linkedObject,c=d&&(d.id||d.options.id),b=this.options.linkedTo;q(b)?q(d)&&b===c||(this.linkedObject=a.get(b)):this.linkedObject=null}};x(B.prototype,{annotations:{add:function(a,d){var c=this.allItems,b=this.chart,f,e;v(a)||(a=[a]);for(e=a.length;e--;)f=new E(b,a[e]),c.push(f),f.render(d)},redraw:function(){C(this.allItems,function(a){a.redraw()})}}});B.prototype.callbacks.push(function(a){var d=a.options.annotations,c;c=a.renderer.g("annotations");c.attr({zIndex:7}); | ||
| 14 | c.add();a.annotations.allItems=[];a.annotations.chart=a;a.annotations.group=c;v(d)&&0<d.length&&a.annotations.add(a.options.annotations);f.addEvent(a,"redraw",function(){a.annotations.redraw()})})})(n)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Boost module | ||
| 4 | |||
| 5 | (c) 2010-2016 Highsoft AS | ||
| 6 | Author: Torstein Honsi | ||
| 7 | |||
| 8 | License: www.highcharts.com/license | ||
| 9 | */ | ||
| 10 | (function(q){"object"===typeof module&&module.exports?module.exports=q:q(Highcharts)})(function(q){(function(f){function q(a,b,c,e,g){g=g||0;e=e||5E4;for(var k=g+e,f=!0;f&&g<k&&g<a.length;)f=b(a[g],g),g+=1;f&&(g<a.length?setTimeout(function(){q(a,b,c,e,g)}):c&&c())}var x=f.win.document,U=function(){},V=f.Color,l=f.Series,d=f.seriesTypes,p=f.each,y=f.extend,W=f.addEvent,X=f.fireEvent,z=f.grep,u=f.isNumber,Y=f.merge,Z=f.pick,n=f.wrap,v=f.getOptions().plotOptions,G;p("area arearange bubble column line scatter".split(" "), | ||
| 11 | function(a){v[a]&&(v[a].boostThreshold=5E3)});p(["translate","generatePoints","drawTracker","drawPoints","render"],function(a){function b(b){var c=this.options.stacking&&("translate"===a||"generatePoints"===a);if((this.processedXData||this.options.data).length<(this.options.boostThreshold||Number.MAX_VALUE)||c)"render"===a&&this.image&&(this.image.attr({href:""}),this.animate=null),b.call(this);else if(this[a+"Canvas"])this[a+"Canvas"]()}n(l.prototype,a,b);"translate"===a&&p(["arearange","bubble", | ||
| 12 | "column"],function(c){d[c]&&n(d[c].prototype,a,b)})});n(l.prototype,"getExtremes",function(a){this.hasExtremes()||a.apply(this,Array.prototype.slice.call(arguments,1))});n(l.prototype,"setData",function(a){this.hasExtremes(!0)||a.apply(this,Array.prototype.slice.call(arguments,1))});n(l.prototype,"processData",function(a){this.hasExtremes(!0)||a.apply(this,Array.prototype.slice.call(arguments,1))});f.extend(l.prototype,{pointRange:0,allowDG:!1,hasExtremes:function(a){var b=this.options,c=this.xAxis&& | ||
| 13 | this.xAxis.options,e=this.yAxis&&this.yAxis.options;return b.data.length>(b.boostThreshold||Number.MAX_VALUE)&&u(e.min)&&u(e.max)&&(!a||u(c.min)&&u(c.max))},destroyGraphics:function(){var a=this,b=this.points,c,e;if(b)for(e=0;e<b.length;e+=1)(c=b[e])&&c.graphic&&(c.graphic=c.graphic.destroy());p(["graph","area","tracker"],function(b){a[b]&&(a[b]=a[b].destroy())})},getContext:function(){var a=this.chart,b=a.plotWidth,c=a.plotHeight,e=this.ctx,g=function(a,b,c,e,g,f,d){a.call(this,c,b,e,g,f,d)};this.canvas? | ||
| 14 | e.clearRect(0,0,b,c):(this.canvas=x.createElement("canvas"),this.image=a.renderer.image("",0,0,b,c).add(this.group),this.ctx=e=this.canvas.getContext("2d"),a.inverted&&p(["moveTo","lineTo","rect","arc"],function(a){n(e,a,g)}));this.canvas.width=b;this.canvas.height=c;this.image.attr({width:b,height:c});return e},canvasToSVG:function(){this.image.attr({href:this.canvas.toDataURL("image/png")})},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,e=this.xAxis, | ||
| 15 | g=this.yAxis,k,d=0,l=a.processedXData,n=a.processedYData,p=b.data,m=e.getExtremes(),v=m.min,x=m.max,m=g.getExtremes(),z=m.min,aa=m.max,H={},A,ba=!!a.sampling,I,B=b.marker&&b.marker.radius,J=this.cvsDrawPoint,C=b.lineWidth?this.cvsLineTo:!1,K=B&&1>=B?this.cvsMarkerSquare:this.cvsMarkerCircle,ca=this.cvsStrokeBatch||1E3,da=!1!==b.enableMouseTracking,L,m=b.threshold,r=g.getThreshold(m),M=u(m),N=r,ea=this.fill,O=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),P=!!b.stacking,fa=a.cropStart||0, | ||
| 16 | m=c.options.loading,ga=a.requireSorting,Q,ha=b.connectNulls,R=!l,D,E,t,w,ia=a.fillOpacity?(new V(a.color)).setOpacity(Z(b.fillOpacity,.75)).get():a.color,S=function(){ea?(k.fillStyle=ia,k.fill()):(k.strokeStyle=a.color,k.lineWidth=b.lineWidth,k.stroke())},T=function(b,c,e,g){0===d&&(k.beginPath(),C&&(k.lineJoin="round"));Q?k.moveTo(b,c):J?J(k,b,c,e,L):C?C(k,b,c):K&&K.call(a,k,b,c,B,g);d+=1;d===ca&&(S(),d=0);L={clientX:b,plotY:c,yBottom:e}},F=function(a,b,f){da&&!H[a+","+b]&&(H[a+","+b]=!0,c.inverted&& | ||
| 17 | (a=e.len-a,b=g.len-b),I.push({clientX:a,plotX:a,plotY:b,i:fa+f}))};(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible":"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;W(a,"destroy",function(){a.markerGroup=null});I=this.points=[];k=this.getContext();a.buildKDTree=U;99999<p.length&&(c.options.loading=Y(m,{labelStyle:{backgroundColor:f.color("#ffffff").setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}), | ||
| 18 | clearTimeout(G),c.showLoading("Drawing..."),c.options.loading=m);q(P?a.data:l||p,function(b,f){var d,h,k,l="undefined"===typeof c.index,m=!0;if(!l){R?(d=b[0],h=b[1]):(d=b,h=n[f]);O?(R&&(h=b.slice(1,3)),k=h[0],h=h[1]):P&&(d=b.x,h=b.stackY,k=h-b.y);b=null===h;ga||(m=h>=z&&h<=aa);if(!b&&d>=v&&d<=x&&m)if(d=Math.round(e.toPixels(d,!0)),ba){if(void 0===t||d===A){O||(k=h);if(void 0===w||h>E)E=h,w=f;if(void 0===t||k<D)D=k,t=f}d!==A&&(void 0!==t&&(h=g.toPixels(E,!0),r=g.toPixels(D,!0),T(d,M?Math.min(h,N): | ||
| 19 | h,M?Math.max(r,N):r,f),F(d,h,w),r!==h&&F(d,r,t)),t=w=void 0,A=d)}else h=Math.round(g.toPixels(h,!0)),T(d,h,r,f),F(d,h,f);Q=b&&!ha;0===f%5E4&&a.canvasToSVG()}return!l},function(){var b=c.loadingDiv,e=c.loadingShown;S();a.canvasToSVG();X(a,"renderedCanvas");e&&(y(b.style,{transition:"opacity 250ms",opacity:0}),c.loadingShown=!1,G=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));a.directTouch=!1;a.options.stickyTracking=!0;delete a.buildKDTree;a.buildKDTree()}, | ||
| 20 | c.renderer.forExport?Number.MAX_VALUE:void 0)}});d.scatter.prototype.cvsMarkerCircle=function(a,b,c,e){a.moveTo(b,c);a.arc(b,c,e,0,2*Math.PI,!1)};d.scatter.prototype.cvsMarkerSquare=function(a,b,c,e){a.rect(b-e,c-e,2*e,2*e)};d.scatter.prototype.fill=!0;d.bubble&&(d.bubble.prototype.cvsMarkerCircle=function(a,b,c,e,d){a.moveTo(b,c);a.arc(b,c,this.radii&&this.radii[d],0,2*Math.PI,!1)},d.bubble.prototype.cvsStrokeBatch=1);y(d.area.prototype,{cvsDrawPoint:function(a,b,c,e,d){d&&b!==d.clientX&&(a.moveTo(d.clientX, | ||
| 21 | d.yBottom),a.lineTo(d.clientX,d.plotY),a.lineTo(b,c),a.lineTo(b,e))},fill:!0,fillOpacity:!0,sampling:!0});y(d.column.prototype,{cvsDrawPoint:function(a,b,c,d){a.rect(b-1,c,1,d-c)},fill:!0,sampling:!0});l.prototype.getPoint=function(a){var b=a;!a||a instanceof this.pointClass||(b=(new this.pointClass).init(this,this.options.data[a.i]),b.category=b.x,b.dist=a.dist,b.distX=a.distX,b.plotX=a.plotX,b.plotY=a.plotY);return b};n(l.prototype,"destroy",function(a){var b=this,c=b.chart;c.hoverPoints&&(c.hoverPoints= | ||
| 22 | z(c.hoverPoints,function(a){return a.series===b}));c.hoverPoint&&c.hoverPoint.series===b&&(c.hoverPoint=null);a.call(this)});n(l.prototype,"searchPoint",function(a){return this.getPoint(a.apply(this,[].slice.call(arguments,1)))})})(q)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | |||
| 4 | (c) 2009-2016 Torstein Honsi | ||
| 5 | |||
| 6 | License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(h){"object"===typeof module&&module.exports?module.exports=h:h(Highcharts)})(function(h){(function(g){function h(){return Array.prototype.slice.call(arguments,1)}function u(c){c.apply(this);this.drawBreaks(this.xAxis,["x"]);this.drawBreaks(this.yAxis,r(this.pointArrayMap,["y"]))}var r=g.pick,p=g.wrap,t=g.each,x=g.extend,v=g.fireEvent,q=g.Axis,y=g.Series;x(q.prototype,{isInBreak:function(c,d){var f=c.repeat||Infinity,b=c.from,a=c.to-c.from;d=d>=b?(d-b)%f:f-(b-d)%f;return c.inclusive?d<=a: | ||
| 9 | d<a&&0!==d},isInAnyBreak:function(c,d){var f=this.options.breaks,b=f&&f.length,a,e,m;if(b){for(;b--;)this.isInBreak(f[b],c)&&(a=!0,e||(e=r(f[b].showPoints,this.isXAxis?!1:!0)));m=a&&d?a&&!e:a}return m}});p(q.prototype,"setTickPositions",function(c){c.apply(this,Array.prototype.slice.call(arguments,1));if(this.options.breaks){var d=this.tickPositions,f=this.tickPositions.info,b=[],a;for(a=0;a<d.length;a++)this.isInAnyBreak(d[a])||b.push(d[a]);this.tickPositions=b;this.tickPositions.info=f}});p(q.prototype, | ||
| 10 | "init",function(c,d,f){f.breaks&&f.breaks.length&&(f.ordinal=!1);c.call(this,d,f);if(this.options.breaks){var b=this;b.isBroken=!0;this.val2lin=function(a){var e=a,m,c;for(c=0;c<b.breakArray.length;c++)if(m=b.breakArray[c],m.to<=a)e-=m.len;else if(m.from>=a)break;else if(b.isInBreak(m,a)){e-=a-m.from;break}return e};this.lin2val=function(a){var e,c;for(c=0;c<b.breakArray.length&&!(e=b.breakArray[c],e.from>=a);c++)e.to<a?a+=e.len:b.isInBreak(e,a)&&(a+=e.len);return a};this.setExtremes=function(a,b, | ||
| 11 | c,f,d){for(;this.isInAnyBreak(a);)a-=this.closestPointRange;for(;this.isInAnyBreak(b);)b-=this.closestPointRange;q.prototype.setExtremes.call(this,a,b,c,f,d)};this.setAxisTranslation=function(a){q.prototype.setAxisTranslation.call(this,a);var e=b.options.breaks;a=[];var c=[],f=0,d,k,n=b.userMin||b.min,g=b.userMax||b.max,l,h;for(h in e)k=e[h],d=k.repeat||Infinity,b.isInBreak(k,n)&&(n+=k.to%d-n%d),b.isInBreak(k,g)&&(g-=g%d-k.from%d);for(h in e){k=e[h];l=k.from;for(d=k.repeat||Infinity;l-d>n;)l-=d;for(;l< | ||
| 12 | n;)l+=d;for(;l<g;l+=d)a.push({value:l,move:"in"}),a.push({value:l+(k.to-k.from),move:"out",size:k.breakSize})}a.sort(function(a,b){return a.value===b.value?("in"===a.move?0:1)-("in"===b.move?0:1):a.value-b.value});e=0;l=n;for(h in a)k=a[h],e+="in"===k.move?1:-1,1===e&&"in"===k.move&&(l=k.value),0===e&&(c.push({from:l,to:k.value,len:k.value-l-(k.size||0)}),f+=k.value-l-(k.size||0));b.breakArray=c;v(b,"afterBreaks");b.transA*=(g-b.min)/(g-n-f);b.min=n;b.max=g}}});p(y.prototype,"generatePoints",function(c){c.apply(this, | ||
| 13 | h(arguments));var d=this.xAxis,f=this.yAxis,b=this.points,a,e=b.length,g=this.options.connectNulls,w;if(d&&f&&(d.options.breaks||f.options.breaks))for(;e--;)a=b[e],w=null===a.y&&!1===g,w||!d.isInAnyBreak(a.x,!0)&&!f.isInAnyBreak(a.y,!0)||(b.splice(e,1),this.data[e]&&this.data[e].destroyElements())});g.Series.prototype.drawBreaks=function(c,d){var f=this,b=f.points,a,e,g,h;c&&t(d,function(d){a=c.breakArray||[];e=c.isXAxis?c.min:r(f.options.threshold,c.min);t(b,function(b){h=r(b["stack"+d.toUpperCase()], | ||
| 14 | b[d]);t(a,function(a){g=!1;if(e<a.from&&h>a.to||e>a.from&&h<a.from)g="pointBreak";else if(e<a.from&&h>a.from&&h<a.to||e>a.from&&h>a.to&&h<a.from)g="pointInBreak";g&&v(c,g,{point:b,brk:a})})})})};p(g.seriesTypes.column.prototype,"drawPoints",u);p(g.Series.prototype,"drawPoints",u)})(h)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Data module | ||
| 4 | |||
| 5 | (c) 2012-2016 Torstein Honsi | ||
| 6 | |||
| 7 | License: www.highcharts.com/license | ||
| 8 | */ | ||
| 9 | (function(p){"object"===typeof module&&module.exports?module.exports=p:p(Highcharts)})(function(p){(function(g){var p=g.win.document,m=g.each,z=g.pick,w=g.inArray,x=g.isNumber,A=g.splat,n,u=function(b,a){this.init(b,a)};g.extend(u.prototype,{init:function(b,a){this.options=b;this.chartOptions=a;this.columns=b.columns||this.rowsToColumns(b.rows)||[];this.firstRowAsNames=z(b.firstRowAsNames,!0);this.decimalRegex=b.decimalPoint&&new RegExp("^(-?[0-9]+)"+b.decimalPoint+"([0-9]+)$");this.rawColumns=[]; | ||
| 10 | this.columns.length?this.dataFound():(this.parseCSV(),this.parseTable(),this.parseGoogleSpreadsheet())},getColumnDistribution:function(){var b=this.chartOptions,a=this.options,d=[],f=function(b){return(g.seriesTypes[b||"line"].prototype.pointArrayMap||[0]).length},e=b&&b.chart&&b.chart.type,c=[],k=[],t=0,h;m(b&&b.series||[],function(b){c.push(f(b.type||e))});m(a&&a.seriesMapping||[],function(b){d.push(b.x||0)});0===d.length&&d.push(0);m(a&&a.seriesMapping||[],function(a){var d=new n,r,v=c[t]||f(e), | ||
| 11 | q=g.seriesTypes[((b&&b.series||[])[t]||{}).type||e||"line"].prototype.pointArrayMap||["y"];d.addColumnReader(a.x,"x");for(r in a)a.hasOwnProperty(r)&&"x"!==r&&d.addColumnReader(a[r],r);for(h=0;h<v;h++)d.hasReader(q[h])||d.addColumnReader(void 0,q[h]);k.push(d);t++});a=g.seriesTypes[e||"line"].prototype.pointArrayMap;void 0===a&&(a=["y"]);this.valueCount={global:f(e),xColumns:d,individual:c,seriesBuilders:k,globalPointArrayMap:a}},dataFound:function(){this.options.switchRowsAndColumns&&(this.columns= | ||
| 12 | this.rowsToColumns(this.columns));this.getColumnDistribution();this.parseTypes();!1!==this.parsed()&&this.complete()},parseCSV:function(){var b=this,a=this.options,d=a.csv,f=this.columns,e=a.startRow||0,c=a.endRow||Number.MAX_VALUE,k=a.startColumn||0,t=a.endColumn||Number.MAX_VALUE,h,g,y=0;d&&(g=d.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(a.lineDelimiter||"\n"),h=a.itemDelimiter||(-1!==d.indexOf("\t")?"\t":","),m(g,function(a,d){var g=b.trim(a),r=0===g.indexOf("#");d>=e&&d<=c&&!r&&""!==g&&(a= | ||
| 13 | a.split(h),m(a,function(b,a){a>=k&&a<=t&&(f[a-k]||(f[a-k]=[]),f[a-k][y]=b)}),y+=1)}),this.dataFound())},parseTable:function(){var b=this.options,a=b.table,d=this.columns,f=b.startRow||0,e=b.endRow||Number.MAX_VALUE,c=b.startColumn||0,k=b.endColumn||Number.MAX_VALUE;a&&("string"===typeof a&&(a=p.getElementById(a)),m(a.getElementsByTagName("tr"),function(b,a){a>=f&&a<=e&&m(b.children,function(b,e){("TD"===b.tagName||"TH"===b.tagName)&&e>=c&&e<=k&&(d[e-c]||(d[e-c]=[]),d[e-c][a-f]=b.innerHTML)})}),this.dataFound())}, | ||
| 14 | parseGoogleSpreadsheet:function(){var b=this,a=this.options,d=a.googleSpreadsheetKey,f=this.columns,e=a.startRow||0,c=a.endRow||Number.MAX_VALUE,k=a.startColumn||0,g=a.endColumn||Number.MAX_VALUE,h,v;d&&jQuery.ajax({dataType:"json",url:"https://spreadsheets.google.com/feeds/cells/"+d+"/"+(a.googleSpreadsheetWorksheet||"od6")+"/public/values?alt\x3djson-in-script\x26callback\x3d?",error:a.error,success:function(a){a=a.feed.entry;var d,t=a.length,q=0,n=0,l;for(l=0;l<t;l++)d=a[l],q=Math.max(q,d.gs$cell.col), | ||
| 15 | n=Math.max(n,d.gs$cell.row);for(l=0;l<q;l++)l>=k&&l<=g&&(f[l-k]=[],f[l-k].length=Math.min(n,c-e));for(l=0;l<t;l++)d=a[l],h=d.gs$cell.row-1,v=d.gs$cell.col-1,v>=k&&v<=g&&h>=e&&h<=c&&(f[v-k][h-e]=d.content.$t);m(f,function(a){for(l=0;l<a.length;l++)void 0===a[l]&&(a[l]=null)});b.dataFound()}})},trim:function(b,a){"string"===typeof b&&(b=b.replace(/^\s+|\s+$/g,""),a&&/^[0-9\s]+$/.test(b)&&(b=b.replace(/\s/g,"")),this.decimalRegex&&(b=b.replace(this.decimalRegex,"$1.$2")));return b},parseTypes:function(){for(var b= | ||
| 16 | this.columns,a=b.length;a--;)this.parseColumn(b[a],a)},parseColumn:function(b,a){var d=this.rawColumns,f=this.columns,e=b.length,c,k,g,h,n=this.firstRowAsNames,m=-1!==w(a,this.valueCount.xColumns),r=[],p=this.chartOptions,q,u=(this.options.columnTypes||[])[a],p=m&&(p&&p.xAxis&&"category"===A(p.xAxis)[0].type||"string"===u);for(d[a]||(d[a]=[]);e--;)c=r[e]||b[e],g=this.trim(c),h=this.trim(c,!0),k=parseFloat(h),void 0===d[a][e]&&(d[a][e]=g),p||0===e&&n?b[e]=g:+h===k?(b[e]=k,31536E6<k&&"float"!==u?b.isDatetime= | ||
| 17 | !0:b.isNumeric=!0,void 0!==b[e+1]&&(q=k>b[e+1])):(k=this.parseDate(c),m&&x(k)&&"float"!==u?(r[e]=c,b[e]=k,b.isDatetime=!0,void 0!==b[e+1]&&(c=k>b[e+1],c!==q&&void 0!==q&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,e=b.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):b.unsorted=!0),q=c)):(b[e]=""===g?null:g,0!==e&&(b.isDatetime||b.isNumeric)&&(b.mixed=!0)));m&&b.mixed&&(f[a]=d[a]);if(m&&q&&this.options.sort)for(a=0;a<f.length;a++)f[a].reverse(),n&&f[a].unshift(f[a].pop())}, | ||
| 18 | dateFormats:{"YYYY-mm-dd":{regex:/^([0-9]{4})[\-\/\.]([0-9]{2})[\-\/\.]([0-9]{2})$/,parser:function(b){return Date.UTC(+b[1],b[2]-1,+b[3])}},"dd/mm/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(b){return Date.UTC(+b[3],b[2]-1,+b[1])},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(b){return Date.UTC(+b[3],b[1]-1,+b[2])}},"dd/mm/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/, | ||
| 19 | parser:function(b){return Date.UTC(+b[3]+2E3,b[2]-1,+b[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(b){return Date.UTC(+b[3]+2E3,b[1]-1,+b[2])}}},parseDate:function(b){var a=this.options.parseDate,d,f,e=this.options.dateFormat||this.dateFormat,c;if(a)d=a(b);else if("string"===typeof b){if(e)a=this.dateFormats[e],(c=b.match(a.regex))&&(d=a.parser(c));else for(f in this.dateFormats)if(a=this.dateFormats[f],c=b.match(a.regex)){this.dateFormat= | ||
| 20 | f;this.alternativeFormat=a.alternative;d=a.parser(c);break}c||(c=Date.parse(b),"object"===typeof c&&null!==c&&c.getTime?d=c.getTime()-6E4*c.getTimezoneOffset():x(c)&&(d=c-6E4*(new Date(c)).getTimezoneOffset()))}return d},rowsToColumns:function(b){var a,d,f,e,c;if(b)for(c=[],d=b.length,a=0;a<d;a++)for(e=b[a].length,f=0;f<e;f++)c[f]||(c[f]=[]),c[f][a]=b[a][f];return c},parsed:function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},getFreeIndexes:function(b,a){var d,f=[], | ||
| 21 | e=[],c;for(d=0;d<b;d+=1)f.push(!0);for(b=0;b<a.length;b+=1)for(c=a[b].getReferencedColumnIndexes(),d=0;d<c.length;d+=1)f[c[d]]=!1;for(d=0;d<f.length;d+=1)f[d]&&e.push(d);return e},complete:function(){var b=this.columns,a,d=this.options,f,e,c,k,g=[],h;if(d.complete||d.afterComplete){for(c=0;c<b.length;c++)this.firstRowAsNames&&(b[c].name=b[c].shift());f=[];e=this.getFreeIndexes(b.length,this.valueCount.seriesBuilders);for(c=0;c<this.valueCount.seriesBuilders.length;c++)h=this.valueCount.seriesBuilders[c], | ||
| 22 | h.populateColumns(e)&&g.push(h);for(;0<e.length;){h=new n;h.addColumnReader(0,"x");c=w(0,e);-1!==c&&e.splice(c,1);for(c=0;c<this.valueCount.global;c++)h.addColumnReader(void 0,this.valueCount.globalPointArrayMap[c]);h.populateColumns(e)&&g.push(h)}0<g.length&&0<g[0].readers.length&&(h=b[g[0].readers[0].columnIndex],void 0!==h&&(h.isDatetime?a="datetime":h.isNumeric||(a="category")));if("category"===a)for(c=0;c<g.length;c++)for(h=g[c],e=0;e<h.readers.length;e++)"x"===h.readers[e].configName&&(h.readers[e].configName= | ||
| 23 | "name");for(c=0;c<g.length;c++){h=g[c];e=[];for(k=0;k<b[0].length;k++)e[k]=h.read(b,k);f[c]={data:e};h.name&&(f[c].name=h.name);"category"===a&&(f[c].turboThreshold=0)}b={series:f};a&&(b.xAxis={type:a},"category"===a&&(b.xAxis.uniqueNames=!1));d.complete&&d.complete(b);d.afterComplete&&d.afterComplete(b)}}});g.Data=u;g.data=function(b,a){return new u(b,a)};g.wrap(g.Chart.prototype,"init",function(b,a,d){var f=this;a&&a.data?g.data(g.extend(a.data,{afterComplete:function(e){var c,k;if(a.hasOwnProperty("series"))if("object"=== | ||
| 24 | typeof a.series)for(c=Math.max(a.series.length,e.series.length);c--;)k=a.series[c]||{},a.series[c]=g.merge(k,e.series[c]);else delete a.series;a=g.merge(e,a);b.call(f,a,d)}}),a):b.call(f,a,d)});n=function(){this.readers=[];this.pointIsArray=!0};n.prototype.populateColumns=function(b){var a=!0;m(this.readers,function(a){void 0===a.columnIndex&&(a.columnIndex=b.shift())});m(this.readers,function(b){void 0===b.columnIndex&&(a=!1)});return a};n.prototype.read=function(b,a){var d=this.pointIsArray,f=d? | ||
| 25 | []:{},e;m(this.readers,function(c){var e=b[c.columnIndex][a];d?f.push(e):f[c.configName]=e});void 0===this.name&&2<=this.readers.length&&(e=this.getReferencedColumnIndexes(),2<=e.length&&(e.shift(),e.sort(),this.name=b[e.shift()].name));return f};n.prototype.addColumnReader=function(b,a){this.readers.push({columnIndex:b,configName:a});"x"!==a&&"y"!==a&&void 0!==a&&(this.pointIsArray=!1)};n.prototype.getReferencedColumnIndexes=function(){var b,a=[],d;for(b=0;b<this.readers.length;b+=1)d=this.readers[b], | ||
| 26 | void 0!==d.columnIndex&&a.push(d.columnIndex);return a};n.prototype.hasReader=function(b){var a,d;for(a=0;a<this.readers.length;a+=1)if(d=this.readers[a],d.configName===b)return!0}})(p)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Highcharts Drilldown module | ||
| 4 | |||
| 5 | Author: Torstein Honsi | ||
| 6 | License: www.highcharts.com/license | ||
| 7 | |||
| 8 | */ | ||
| 9 | (function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(f){function n(a,b,d){var c;b.rgba.length&&a.rgba.length?(a=a.rgba,b=b.rgba,c=1!==b[3]||1!==a[3],a=(c?"rgba(":"rgb(")+Math.round(b[0]+(a[0]-b[0])*(1-d))+","+Math.round(b[1]+(a[1]-b[1])*(1-d))+","+Math.round(b[2]+(a[2]-b[2])*(1-d))+(c?","+(b[3]+(a[3]-b[3])*(1-d)):"")+")"):a=b.input||"none";return a}var C=f.noop,v=f.color,w=f.defaultOptions,l=f.each,p=f.extend,H=f.format,y=f.pick,x=f.wrap,q=f.Chart, | ||
| 10 | t=f.seriesTypes,D=t.pie,r=t.column,E=f.Tick,z=f.fireEvent,F=f.inArray,G=1;l(["fill","stroke"],function(a){f.Fx.prototype[a+"Setter"]=function(){this.elem.attr(a,n(v(this.start),v(this.end),this.pos),null,!0)}});p(w.lang,{drillUpText:"\u25c1 Back to {series.name}"});w.drilldown={animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}}};f.SVGRenderer.prototype.Element.prototype.fadeIn=function(a){this.attr({opacity:.1,visibility:"inherit"}).animate({opacity:y(this.newOpacity,1)}, | ||
| 11 | a||{duration:250})};q.prototype.addSeriesAsDrilldown=function(a,b){this.addSingleSeriesAsDrilldown(a,b);this.applyDrilldown()};q.prototype.addSingleSeriesAsDrilldown=function(a,b){var d=a.series,c=d.xAxis,e=d.yAxis,h,g=[],k=[],u,m,A;A={colorIndex:y(a.colorIndex,d.colorIndex)};this.drilldownLevels||(this.drilldownLevels=[]);u=d.options._levelNumber||0;(m=this.drilldownLevels[this.drilldownLevels.length-1])&&m.levelNumber!==u&&(m=void 0);b=p(p({_ddSeriesId:G++},A),b);h=F(a,d.points);l(d.chart.series, | ||
| 12 | function(a){a.xAxis!==c||a.isDrilling||(a.options._ddSeriesId=a.options._ddSeriesId||G++,a.options._colorIndex=a.userOptions._colorIndex,a.options._levelNumber=a.options._levelNumber||u,m?(g=m.levelSeries,k=m.levelSeriesOptions):(g.push(a),k.push(a.options)))});a=p({levelNumber:u,seriesOptions:d.options,levelSeriesOptions:k,levelSeries:g,shapeArgs:a.shapeArgs,bBox:a.graphic?a.graphic.getBBox():{},color:a.isNull?(new f.Color(v)).setOpacity(0).get():v,lowerSeriesOptions:b,pointOptions:d.options.data[h], | ||
| 13 | pointIndex:h,oldExtremes:{xMin:c&&c.userMin,xMax:c&&c.userMax,yMin:e&&e.userMin,yMax:e&&e.userMax}},A);this.drilldownLevels.push(a);b=a.lowerSeries=this.addSeries(b,!1);b.options._levelNumber=u+1;c&&(c.oldPos=c.pos,c.userMin=c.userMax=null,e.userMin=e.userMax=null);d.type===b.type&&(b.animate=b.animateDrilldown||C,b.options.animation=!0)};q.prototype.applyDrilldown=function(){var a=this.drilldownLevels,b;a&&0<a.length&&(b=a[a.length-1].levelNumber,l(this.drilldownLevels,function(a){a.levelNumber=== | ||
| 14 | b&&l(a.levelSeries,function(a){a.options&&a.options._levelNumber===b&&a.remove(!1)})}));this.redraw();this.showDrillUpButton()};q.prototype.getDrilldownBackText=function(){var a=this.drilldownLevels;if(a&&0<a.length)return a=a[a.length-1],a.series=a.seriesOptions,H(this.options.lang.drillUpText,a)};q.prototype.showDrillUpButton=function(){var a=this,b=this.getDrilldownBackText(),d=a.options.drilldown.drillUpButton,c,e;this.drillUpButton?this.drillUpButton.attr({text:b}).align():(e=(c=d.theme)&&c.states, | ||
| 15 | this.drillUpButton=this.renderer.button(b,null,null,function(){a.drillUp()},c,e&&e.hover,e&&e.select).addClass("highcharts-drillup-button").attr({align:d.position.align,zIndex:7}).add().align(d.position,!1,d.relativeTo||"plotBox"))};q.prototype.drillUp=function(){for(var a=this,b=a.drilldownLevels,d=b[b.length-1].levelNumber,c=b.length,e=a.series,h,g,k,f,m=function(c){var b;l(e,function(a){a.options._ddSeriesId===c._ddSeriesId&&(b=a)});b=b||a.addSeries(c,!1);b.type===k.type&&b.animateDrillupTo&&(b.animate= | ||
| 16 | b.animateDrillupTo);c===g.seriesOptions&&(f=b)};c--;)if(g=b[c],g.levelNumber===d){b.pop();k=g.lowerSeries;if(!k.chart)for(h=e.length;h--;)if(e[h].options.id===g.lowerSeriesOptions.id&&e[h].options._levelNumber===d+1){k=e[h];break}k.xData=[];l(g.levelSeriesOptions,m);z(a,"drillup",{seriesOptions:g.seriesOptions});f.type===k.type&&(f.drilldownLevel=g,f.options.animation=a.options.drilldown.animation,k.animateDrillupFrom&&k.chart&&k.animateDrillupFrom(g));f.options._levelNumber=d;k.remove(!1);f.xAxis&& | ||
| 17 | (h=g.oldExtremes,f.xAxis.setExtremes(h.xMin,h.xMax,!1),f.yAxis.setExtremes(h.yMin,h.yMax,!1))}z(a,"drillupall");this.redraw();0===this.drilldownLevels.length?this.drillUpButton=this.drillUpButton.destroy():this.drillUpButton.attr({text:this.getDrilldownBackText()}).align();this.ddDupes.length=[]};r.prototype.supportsDrilldown=!0;r.prototype.animateDrillupTo=function(a){if(!a){var b=this,d=b.drilldownLevel;l(this.points,function(a){a.graphic&&a.graphic.hide();a.dataLabel&&a.dataLabel.hide();a.connector&& | ||
| 18 | a.connector.hide()});setTimeout(function(){b.points&&l(b.points,function(a,b){b=b===(d&&d.pointIndex)?"show":"fadeIn";var c="show"===b?!0:void 0;if(a.graphic)a.graphic[b](c);if(a.dataLabel)a.dataLabel[b](c);if(a.connector)a.connector[b](c)})},Math.max(this.chart.options.drilldown.animation.duration-50,0));this.animate=C}};r.prototype.animateDrilldown=function(a){var b=this,d=this.chart.drilldownLevels,c,e=this.chart.options.drilldown.animation,h=this.xAxis;a||(l(d,function(a){b.options._ddSeriesId=== | ||
| 19 | a.lowerSeriesOptions._ddSeriesId&&(c=a.shapeArgs)}),c.x+=y(h.oldPos,h.pos)-h.pos,l(this.points,function(a){a.graphic&&a.graphic.attr(c).animate(p(a.shapeArgs,{fill:a.color||b.color}),e);a.dataLabel&&a.dataLabel.fadeIn(e)}),this.animate=null)};r.prototype.animateDrillupFrom=function(a){var b=this.chart.options.drilldown.animation,d=this.group,c=this;l(c.trackerGroups,function(a){if(c[a])c[a].on("mouseover")});delete this.group;l(this.points,function(c){var e=c.graphic,g=a.shapeArgs,k=function(){e.destroy(); | ||
| 20 | d&&(d=d.destroy())};e&&(delete c.graphic,b?e.animate(g,f.merge(b,{complete:k})):(e.attr(g),k()))})};D&&p(D.prototype,{supportsDrilldown:!0,animateDrillupTo:r.prototype.animateDrillupTo,animateDrillupFrom:r.prototype.animateDrillupFrom,animateDrilldown:function(a){var b=this.chart.options.drilldown.animation,d=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1].shapeArgs,c=d.start,e=(d.end-c)/this.points.length;a||(l(this.points,function(a,g){var h=a.shapeArgs;if(a.graphic)a.graphic.attr(f.merge(d, | ||
| 21 | {start:c+g*e,end:c+(g+1)*e}))[b?"animate":"attr"](h,b)}),this.animate=null)}});f.Point.prototype.doDrilldown=function(a,b,d){var c=this.series.chart,e=c.options.drilldown,f=(e.series||[]).length,g;c.ddDupes||(c.ddDupes=[]);for(;f--&&!g;)e.series[f].id===this.drilldown&&-1===F(this.drilldown,c.ddDupes)&&(g=e.series[f],c.ddDupes.push(this.drilldown));z(c,"drilldown",{point:this,seriesOptions:g,category:b,originalEvent:d,points:void 0!==b&&this.series.xAxis.getDDPoints(b).slice(0)},function(b){var c= | ||
| 22 | b.point.series&&b.point.series.chart,d=b.seriesOptions;c&&d&&(a?c.addSingleSeriesAsDrilldown(b.point,d):c.addSeriesAsDrilldown(b.point,d))})};f.Axis.prototype.drilldownCategory=function(a,b){var d,c,e=this.getDDPoints(a);for(d in e)(c=e[d])&&c.series&&c.series.visible&&c.doDrilldown&&c.doDrilldown(!0,a,b);this.chart.applyDrilldown()};f.Axis.prototype.getDDPoints=function(a){var b=[];l(this.series,function(d){var c,e=d.xData,f=d.points;for(c=0;c<e.length;c++)if(e[c]===a&&d.options.data[c]&&d.options.data[c].drilldown){b.push(f? | ||
| 23 | f[c]:!0);break}});return b};E.prototype.drillable=function(){var a=this.pos,b=this.label,d=this.axis,c="xAxis"===d.coll&&d.getDDPoints,e=c&&d.getDDPoints(a);c&&(b&&e.length?(b.drillable=!0,b.addClass("highcharts-drilldown-axis-label").on("click",function(b){d.drilldownCategory(a,b)})):b&&b.drillable&&(b.on("click",null),b.removeClass("highcharts-drilldown-axis-label")))};x(E.prototype,"addLabel",function(a){a.call(this);this.drillable()});x(f.Point.prototype,"init",function(a,b,d,c){var e=a.call(this, | ||
| 24 | b,d,c);c=(a=b.xAxis)&&a.ticks[c];e.drilldown&&f.addEvent(e,"click",function(a){b.xAxis&&!1===b.chart.options.drilldown.allowPointDrilldown?b.xAxis.drilldownCategory(e.x,a):e.doDrilldown(void 0,void 0,a)});c&&c.drillable();return e});x(f.Series.prototype,"drawDataLabels",function(a){var b=this.chart.options.drilldown.activeDataLabelStyle,d=this.chart.renderer;a.call(this);l(this.points,function(a){a.drilldown&&a.dataLabel&&("contrast"===b.color&&d.getContrast(a.color||this.color),a.dataLabel.addClass("highcharts-drilldown-data-label"))}, | ||
| 25 | this)});var B,w=function(a){a.call(this);l(this.points,function(a){a.drilldown&&a.graphic&&a.graphic.addClass("highcharts-drilldown-point")})};for(B in t)t[B].prototype.supportsDrilldown&&x(t[B].prototype,"drawTracker",w)})(n)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Exporting module | ||
| 4 | |||
| 5 | (c) 2010-2016 Torstein Honsi | ||
| 6 | |||
| 7 | License: www.highcharts.com/license | ||
| 8 | */ | ||
| 9 | (function(h){"object"===typeof module&&module.exports?module.exports=h:h(Highcharts)})(function(h){(function(f){var h=f.defaultOptions,n=f.doc,A=f.Chart,u=f.addEvent,F=f.removeEvent,D=f.fireEvent,q=f.createElement,B=f.discardElement,v=f.css,p=f.merge,C=f.pick,k=f.each,r=f.extend,G=f.isTouchDevice,E=f.win,H=f.Renderer.prototype.symbols;r(h.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image", | ||
| 10 | contextButtonTitle:"Chart context menu"});h.navigation={buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}};p(!0,h.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",background:"none",color:"#333333",fontSize:G?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666", | ||
| 11 | symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",stroke:"none",padding:5}}});h.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:[{textKey:"printChart",onclick:function(){this.print()}},{separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}}, | ||
| 12 | {textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]}}};f.post=function(a,c,e){var b;a=q("form",p({method:"post",action:a,enctype:"multipart/form-data"},e),{display:"none"},n.body);for(b in c)q("input",{type:"hidden",name:b,value:c[b]},null,a);a.submit();B(a)};r(A.prototype,{sanitizeSVG:function(a,c){if(c&&c.exporting&&c.exporting.allowHTML){var e=a.match(/<\/svg>(.*?$)/);e&&(e= | ||
| 13 | '\x3cforeignObject x\x3d"0" y\x3d"0" width\x3d"'+c.chart.width+'" height\x3d"'+c.chart.height+'"\x3e\x3cbody xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e'+e[1]+"\x3c/body\x3e\x3c/foreignObject\x3e",a=a.replace("\x3c/svg\x3e",e+"\x3c/svg\x3e"))}a=a.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(\S+)("|")\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'\x3csvg xmlns:xlink\x3d"http://www.w3.org/1999/xlink" ').replace(/ (NS[0-9]+\:)?href=/g, | ||
| 14 | " xlink:href\x3d").replace(/\n/," ").replace(/<\/svg>.*?$/,"\x3c/svg\x3e").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1\x3d"rgb($2)" $1-opacity\x3d"$3"').replace(/ /g,"\u00a0").replace(/­/g,"\u00ad");return a=a.replace(/<IMG /g,"\x3cimage ").replace(/<(\/?)TITLE>/g,"\x3c$1title\x3e").replace(/height=([^" ]+)/g,'height\x3d"$1"').replace(/width=([^" ]+)/g,'width\x3d"$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href\x3d"$1"/\x3e').replace(/ id=([^" >]+)/g,' id\x3d"$1"').replace(/class=([^" >]+)/g, | ||
| 15 | 'class\x3d"$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},getChartHTML:function(){return this.container.innerHTML},getSVG:function(a){var c,e,b,w,m,g=p(this.options,a);n.createElementNS||(n.createElementNS=function(a,c){return n.createElement(c)});e=q("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},n.body);b=this.renderTo.style.width;m=this.renderTo.style.height; | ||
| 16 | b=g.exporting.sourceWidth||g.chart.width||/px$/.test(b)&&parseInt(b,10)||600;m=g.exporting.sourceHeight||g.chart.height||/px$/.test(m)&&parseInt(m,10)||400;r(g.chart,{animation:!1,renderTo:e,forExport:!0,renderer:"SVGRenderer",width:b,height:m});g.exporting.enabled=!1;delete g.data;g.series=[];k(this.series,function(a){w=p(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});w.isInternal||g.series.push(w)});k(this.axes,function(a){a.userOptions.internalKey=f.uniqueKey()}); | ||
| 17 | c=new f.Chart(g,this.callback);a&&k(["xAxis","yAxis","series"],function(b){var d={};a[b]&&(d[b]=a[b],c.update(d))});k(this.axes,function(a){var b=f.find(c.axes,function(b){return b.options.internalKey===a.userOptions.internalKey}),d=a.getExtremes(),e=d.userMin,d=d.userMax;!b||void 0===e&&void 0===d||b.setExtremes(e,d,!0,!1)});b=c.getChartHTML();b=this.sanitizeSVG(b,g);g=null;c.destroy();B(e);return b},getSVGForExport:function(a,c){var e=this.options.exporting;return this.getSVG(p({chart:{borderRadius:0}}, | ||
| 18 | e.chartOptions,c,{exporting:{sourceWidth:a&&a.sourceWidth||e.sourceWidth,sourceHeight:a&&a.sourceHeight||e.sourceHeight}}))},exportChart:function(a,c){c=this.getSVGForExport(a,c);a=p(this.options.exporting,a);f.post(a.url,{filename:a.filename||"chart",type:a.type,width:a.width||0,scale:a.scale,svg:c},a.formAttributes)},print:function(){var a=this,c=a.container,e=[],b=c.parentNode,f=n.body,m=f.childNodes,g=a.options.exporting.printMaxWidth,d,t;if(!a.isPrinting){a.isPrinting=!0;a.pointer.reset(null, | ||
| 19 | 0);D(a,"beforePrint");if(t=g&&a.chartWidth>g)d=[a.options.chart.width,void 0,!1],a.setSize(g,void 0,!1);k(m,function(a,b){1===a.nodeType&&(e[b]=a.style.display,a.style.display="none")});f.appendChild(c);E.focus();E.print();setTimeout(function(){b.appendChild(c);k(m,function(a,b){1===a.nodeType&&(a.style.display=e[b])});a.isPrinting=!1;t&&a.setSize.apply(a,d);D(a,"afterPrint")},1E3)}},contextMenu:function(a,c,e,b,f,m,g){var d=this,t=d.options.navigation,w=d.chartWidth,h=d.chartHeight,p="cache-"+a, | ||
| 20 | l=d[p],x=Math.max(f,m),y,z;l||(d[p]=l=q("div",{className:a},{position:"absolute",zIndex:1E3,padding:x+"px"},d.container),y=q("div",{className:"highcharts-menu"},null,l),v(y,r({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},t.menuStyle)),z=function(){v(l,{display:"none"});g&&g.setState(0);d.openMenu=!1},u(l,"mouseleave",function(){l.hideTimer=setTimeout(z,500)}),u(l,"mouseenter",function(){clearTimeout(l.hideTimer)}),p=u(n,"mouseup",function(b){d.pointer.inClass(b.target, | ||
| 21 | a)||z()}),u(d,"destroy",p),k(c,function(a){if(a){var b;a.separator?b=q("hr",null,null,y):(b=q("div",{className:"highcharts-menu-item",onclick:function(b){b&&b.stopPropagation();z();a.onclick&&a.onclick.apply(d,arguments)},innerHTML:a.text||d.options.lang[a.textKey]},null,y),b.onmouseover=function(){v(this,t.menuItemHoverStyle)},b.onmouseout=function(){v(this,t.menuItemStyle)},v(b,r({cursor:"pointer"},t.menuItemStyle)));d.exportDivElements.push(b)}}),d.exportDivElements.push(y,l),d.exportMenuWidth= | ||
| 22 | l.offsetWidth,d.exportMenuHeight=l.offsetHeight);c={display:"block"};e+d.exportMenuWidth>w?c.right=w-e-f-x+"px":c.left=e-x+"px";b+m+d.exportMenuHeight>h&&"top"!==g.alignOptions.verticalAlign?c.bottom=h-b-x+"px":c.top=b+m-x+"px";v(l,c);d.openMenu=!0},addButton:function(a){var c=this,e=c.renderer,b=p(c.options.navigation.buttonOptions,a),f=b.onclick,m=b.menuItems,g,d,h=b.symbolSize||12;c.btnCount||(c.btnCount=0);c.exportDivElements||(c.exportDivElements=[],c.exportSVGElements=[]);if(!1!==b.enabled){var k= | ||
| 23 | b.theme,n=k.states,q=n&&n.hover,n=n&&n.select,l;delete k.states;f?l=function(a){a.stopPropagation();f.call(c,a)}:m&&(l=function(){c.contextMenu(d.menuClassName,m,d.translateX,d.translateY,d.width,d.height,d);d.setState(2)});b.text&&b.symbol?k.paddingLeft=C(k.paddingLeft,25):b.text||r(k,{width:b.width,height:b.height,padding:0});d=e.button(b.text,0,0,l,k,q,n).addClass(a.className).attr({"stroke-linecap":"round",title:c.options.lang[b._titleKey],zIndex:3});d.menuClassName=a.menuClassName||"highcharts-menu-"+ | ||
| 24 | c.btnCount++;b.symbol&&(g=e.symbol(b.symbol,b.symbolX-h/2,b.symbolY-h/2,h,h).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d),g.attr({stroke:b.symbolStroke,fill:b.symbolFill,"stroke-width":b.symbolStrokeWidth||1}));d.add().align(r(b,{width:d.width,x:C(b.x,c.buttonOffset)}),!0,"spacingBox");c.buttonOffset+=(d.width+b.buttonSpacing)*("right"===b.align?-1:1);c.exportSVGElements.push(d,g)}},destroyExport:function(a){var c=a?a.target:this;a=c.exportSVGElements;var e=c.exportDivElements;a&& | ||
| 25 | (k(a,function(a,e){a&&(a.onclick=a.ontouchstart=null,c.exportSVGElements[e]=a.destroy())}),a.length=0);e&&(k(e,function(a,e){clearTimeout(a.hideTimer);F(a,"mouseleave");c.exportDivElements[e]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null;B(a)}),e.length=0)}});H.menu=function(a,c,e,b){return["M",a,c+2.5,"L",a+e,c+2.5,"M",a,c+b/2+.5,"L",a+e,c+b/2+.5,"M",a,c+b-1.5,"L",a+e,c+b-1.5]};A.prototype.renderExporting=function(){var a,c=this.options.exporting,e=c.buttons,b=this.isDirtyExporting||!this.exportSVGElements; | ||
| 26 | this.buttonOffset=0;this.isDirtyExporting&&this.destroyExport();if(b&&!1!==c.enabled){for(a in e)this.addButton(e[a]);this.isDirtyExporting=!1}u(this,"destroy",this.destroyExport)};A.prototype.callbacks.push(function(a){a.renderExporting();u(a,"redraw",a.renderExporting);k(["exporting","navigation"],function(c){a[c]={update:function(e,b){a.isDirtyExporting=!0;p(!0,a.options[c],e);C(b,!0)&&a.redraw()}}})})})(h)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Highcharts funnel module | ||
| 4 | |||
| 5 | (c) 2010-2016 Torstein Honsi | ||
| 6 | |||
| 7 | License: www.highcharts.com/license | ||
| 8 | */ | ||
| 9 | (function(c){"object"===typeof module&&module.exports?module.exports=c:c(Highcharts)})(function(c){(function(c){var n=c.seriesType,z=c.seriesTypes,F=c.noop,G=c.each;n("funnel","pie",{animation:!1,center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,size:!0},{animate:F,translate:function(){var b=function(a,b){return/%$/.test(a)?b*parseInt(a,10)/100:parseInt(a,10)},c=0,e=this.chart,d=this.options,r=d.reversed,H=d.ignoreHiddenPoint,t=e.plotWidth,e=e.plotHeight, | ||
| 10 | p=0,n=d.center,f=b(n[0],t),q=b(n[1],e),z=b(d.width,t),h,v,k=b(d.height,e),w=b(d.neckWidth,t),D=b(d.neckHeight,e),x=q-k/2+k-D,b=this.data,A,B,I="left"===d.dataLabels.position?1:0,C,l,E,u,g,y,m;this.getWidthAt=v=function(a){var b=q-k/2;return a>x||k===D?w:w+(z-w)*(1-(a-b)/(k-D))};this.getX=function(a,b){return f+(b?-1:1)*(v(r?2*q-a:a)/2+d.dataLabels.distance)};this.center=[f,q,k];this.centerX=f;G(b,function(a){H&&!1===a.visible||(c+=a.y)});G(b,function(a){m=null;B=c?a.y/c:0;l=q-k/2+p*k;g=l+B*k;h=v(l); | ||
| 11 | C=f-h/2;E=C+h;h=v(g);u=f-h/2;y=u+h;l>x?(C=u=f-w/2,E=y=f+w/2):g>x&&(m=g,h=v(x),u=f-h/2,y=u+h,g=x);r&&(l=2*q-l,g=2*q-g,m=m?2*q-m:null);A=["M",C,l,"L",E,l,y,g];m&&A.push(y,m,u,m);A.push(u,g,"Z");a.shapeType="path";a.shapeArgs={d:A};a.percentage=100*B;a.plotX=f;a.plotY=(l+(m||g))/2;a.tooltipPos=[f,a.plotY];a.slice=F;a.half=I;H&&!1===a.visible||(p+=B)})},drawPoints:z.column.prototype.drawPoints,sortByAngle:function(b){b.sort(function(b,c){return b.plotY-c.plotY})},drawDataLabels:function(){var b=this.data, | ||
| 12 | c=this.options.dataLabels.distance,e,d,r,n=b.length,t,p;for(this.center[2]-=2*c;n--;)r=b[n],d=(e=r.half)?1:-1,p=r.plotY,t=this.getX(p,e),r.labelPos=[0,p,t+(c-5)*d,p,t+c*d,p,e?"right":"left",0];z.pie.prototype.drawDataLabels.call(this)}});n("pyramid","funnel",{neckWidth:"0%",neckHeight:"0%",reversed:!0})})(c)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Gantt series | ||
| 4 | |||
| 5 | (c) 2016 Lars A. V. Cabrera | ||
| 6 | |||
| 7 | --- WORK IN PROGRESS --- | ||
| 8 | |||
| 9 | License: www.highcharts.com/license | ||
| 10 | */ | ||
| 11 | (function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(g){var n=g.dateFormat,r=g.each,t=g.isObject,v=g.pick,m=g.wrap,p=g.Axis,w=g.Chart,u=g.Tick;p.prototype.isOuterAxis=function(){var a=this,e=-1,b=!0;r(this.chart.axes,function(d,f){d.side===a.side&&(d===a?e=f:0<=e&&f>e&&(b=!1))});return b};u.prototype.getLabelWidth=function(){return this.label.getBBox().width};p.prototype.getMaxLabelLength=function(a){var e=this.tickPositions,b=this.ticks,d=0; | ||
| 12 | if(!this.maxLabelLength||a)r(e,function(a){(a=b[a])&&a.labelLength>d&&(d=a.labelLength)}),this.maxLabelLength=d;return this.maxLabelLength};p.prototype.addTitle=function(){var a=this.chart.renderer,e=this.axisParent,b=this.horiz,d=this.opposite,f=this.options,c=f.title,k;this.showAxis=k=this.hasData()||v(f.showEmpty,!0);f.title="";this.axisTitle||((f=c.textAlign)||(f=(b?{low:"left",middle:"center",high:"right"}:{low:d?"right":"left",middle:"center",high:d?"left":"right"})[c.align]),this.axisTitle= | ||
| 13 | a.text(c.text,0,0,c.useHTML).attr({zIndex:7,rotation:c.rotation||0,align:f}).addClass("highcharts-axis-title").add(e),this.axisTitle.isNew=!0);this.axisTitle[k?"show":"hide"](!0)};g.dateFormats={W:function(a){a=new Date(a);var e=0===a.getUTCDay()?7:a.getUTCDay(),b=a.getTime(),d=new Date(a.getUTCFullYear(),0,1,-6);a.setDate(a.getUTCDate()+4-e);return 1+Math.floor(Math.floor((b-d)/864E5)/7)},E:function(a){return n("%a",a,!0).charAt(0)}};m(u.prototype,"addLabel",function(a){var e=this.axis,b=void 0!== | ||
| 14 | e.options.categories,d=e.tickPositions,d=this.pos!==d[d.length-1];(!e.options.grid||b||d)&&a.apply(this)});m(u.prototype,"getLabelPosition",function(a,e,b,d){var f=a.apply(this,Array.prototype.slice.call(arguments,1)),c=this.axis,k=c.options,h=k.tickInterval||1,q,l;k.grid&&(q=k.labels.style.fontSize,l=c.chart.renderer.fontMetrics(q,d),q=l.b,l=l.h,c.horiz&&void 0===k.categories?(k=c.axisGroup.getBBox().height,h=this.pos+h/2,f.x=c.translate(h)+c.left,h=k/2+l/2-Math.abs(l-q),f.y=0===c.side?b-h:b+h): | ||
| 15 | (void 0===k.categories&&(h=this.pos+h/2,f.y=c.translate(h)+c.top+q/2),h=this.getLabelWidth()/2-c.maxLabelLength/2,f.x=3===c.side?f.x+h:f.x-h));return f});m(p.prototype,"tickSize",function(a){var e=a.apply(this,Array.prototype.slice.call(arguments,1)),b;this.options.grid&&!this.horiz&&(b=2*Math.abs(this.defaultLeftAxisOptions.labels.x),this.maxLabelLength||(this.maxLabelLength=this.getMaxLabelLength()),b=this.maxLabelLength+b,e[0]=b);return e});m(p.prototype,"getOffset",function(a){var e=this.chart.axisOffset, | ||
| 16 | b=this.side,d,f,c=this.options,k=c.title,h=k&&k.text&&!1!==k.enabled;this.options.grid&&t(this.options.title)?(f=this.tickSize("tick")[0],e[b]&&f&&(d=e[b]+f),h&&this.addTitle(),a.apply(this,Array.prototype.slice.call(arguments,1)),e[b]=v(d,e[b]),c.title=k):a.apply(this,Array.prototype.slice.call(arguments,1))});m(p.prototype,"renderUnsquish",function(a){this.options.grid&&(this.labelRotation=0,this.options.labels.rotation=0);a.apply(this)});m(p.prototype,"setOptions",function(a,e){e.grid&&this.horiz&& | ||
| 17 | (e.startOnTick=!0,e.minPadding=0,e.endOnTick=!0);a.apply(this,Array.prototype.slice.call(arguments,1))});m(p.prototype,"render",function(a){var e=this.options,b,d,f,c,k,h,q=this.chart.renderer;if(e.grid){if(b=2*Math.abs(this.defaultLeftAxisOptions.labels.x),b=this.maxLabelLength+b,d=e.lineWidth,this.rightWall&&this.rightWall.destroy(),a.apply(this),a=this.axisGroup.getBBox(),this.horiz&&(this.rightWall=q.path(["M",a.x+this.width+1,a.y,"L",a.x+this.width+1,a.y+a.height]).attr({stroke:e.tickColor|| | ||
| 18 | "#ccd6eb","stroke-width":e.tickWidth||1,zIndex:7,class:"grid-wall"}).add(this.axisGroup)),this.isOuterAxis()&&this.axisLine&&(this.horiz&&(b=a.height-1),d)){a=this.getLinePath(d);k=a.indexOf("M")+1;h=a.indexOf("L")+1;f=a.indexOf("M")+2;c=a.indexOf("L")+2;if(0===this.side||3===this.side)b=-b;this.horiz?(a[f]+=b,a[c]+=b):(a[k]+=b,a[h]+=b);this.axisLineExtra?this.axisLineExtra.animate({d:a}):this.axisLineExtra=q.path(a).attr({stroke:e.lineColor,"stroke-width":d,zIndex:7}).add(this.axisGroup);this.axisLine[this.showAxis? | ||
| 19 | "show":"hide"](!0)}}else a.apply(this)});m(w.prototype,"render",function(a){var e=25/11,b,d;r(this.axes,function(a){var c=a.options;c.grid&&(d=c.labels.style.fontSize,b=a.chart.renderer.fontMetrics(d),"datetime"===c.type&&(c.units=[["millisecond",[1]],["second",[1]],["minute",[1]],["hour",[1]],["day",[1]],["week",[1]],["month",[1]],["year",null]]),a.horiz?c.tickLength=c.cellHeight||b.h*e:(c.tickWidth=1,c.lineWidth||(c.lineWidth=1)))});a.apply(this)})})(n);(function(g){var n=g.getOptions().plotOptions, | ||
| 20 | r=g.seriesTypes.column,t=g.each,v=g.extendClass,m=g.isNumber,p=g.isObject,w=g.merge,u=g.pick,a=g.seriesTypes,e=g.wrap,b=g.Axis,d=g.Point,f=g.Series;n.xrange=w(n.column,{tooltip:{pointFormat:'\x3cspan style\x3d"color:{point.color}"\x3e\u25cf\x3c/span\x3e {series.name}: \x3cb\x3e{point.yCategory}\x3c/b\x3e\x3cbr/\x3e'}});a.xrange=v(r,{pointClass:v(d,{getLabelConfig:function(){var a=d.prototype.getLabelConfig.call(this);a.x2=this.x2;a.yCategory=this.yCategory=this.series.yAxis.categories&&this.series.yAxis.categories[this.y]; | ||
| 21 | return a}}),type:"xrange",forceDL:!0,parallelArrays:["x","x2","y"],requireSorting:!1,animate:a.line.prototype.animate,getColumnMetrics:function(){function a(){t(e.series,function(a){var c=a.xAxis;a.xAxis=a.yAxis;a.yAxis=c})}var b,e=this.chart;a();this.yAxis.closestPointRange=1;b=r.prototype.getColumnMetrics.call(this);a();return b},cropData:function(a,b,e,d){b=f.prototype.cropData.call(this,this.x2Data,b,e,d);b.xData=a.slice(b.start,b.end);return b},translate:function(){r.prototype.translate.apply(this, | ||
| 22 | arguments);var a=this.xAxis,b=this.columnMetrics,e=this.options.minPointLength||0;t(this.points,function(c){var l=c.plotX,d=u(c.x2,c.x+(c.len||0)),d=a.toPixels(d,!0),f=d-l,h;e&&(h=e-f,0>h&&(h=0),l-=h/2,d+=h/2);l=Math.max(l,-10);d=Math.min(Math.max(d,-10),a.len+10);c.shapeArgs={x:l,y:c.plotY+b.offset,width:d-l,height:b.width};c.tooltipPos[0]+=f/2;c.tooltipPos[1]-=b.width/2;if(d=c.partialFill)p(d)&&(d=d.amount),m(d)||(d=0),l=c.shapeArgs,c.partShapeArgs={x:l.x,y:l.y+1,width:l.width*d,height:l.height- | ||
| 23 | 2}})},drawPoints:function(){var a=this,b=this.chart,d=b.renderer,e=b.pointCount<(a.options.animationLimit||250)?"animate":"attr";t(a.points,function(b){var c=b.graphic,f=b.shapeType,h=b.shapeArgs,g=b.partShapeArgs;if(m(b.plotY)&&null!==b.y)if(c){if(b.graphicOriginal[e](w(h)),g)b.graphicOverlay[e](w(g))}else b.graphic=c=d.g("point").attr({"class":b.getClassName()}).add(b.group||a.group),b.graphicOriginal=d[f](h).addClass("highcharts-partfill-original").add(c),g&&(b.graphicOverlay=d[f](g).addClass("highcharts-partfill-overlay").add(c)); | ||
| 24 | else c&&(b.graphic=c.destroy())})}});e(b.prototype,"getSeriesExtremes",function(a){var b=this.series,c,d;a.call(this);this.isXAxis&&"xrange"===b.type&&(c=u(this.dataMax,Number.MIN_VALUE),t(this.series,function(a){t(a.x2Data||[],function(a){a>c&&(c=a,d=!0)})}),d&&(this.dataMax=c))})})(n)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | GridAxis | ||
| 4 | |||
| 5 | (c) 2016 Lars A. V. Cabrera | ||
| 6 | |||
| 7 | --- WORK IN PROGRESS --- | ||
| 8 | |||
| 9 | License: www.highcharts.com/license | ||
| 10 | */ | ||
| 11 | (function(n){"object"===typeof module&&module.exports?module.exports=n:n(Highcharts)})(function(n){(function(h){var n=h.dateFormat,p=h.each,t=h.isObject,r=h.pick,l=h.wrap,m=h.Axis,u=h.Chart,q=h.Tick;m.prototype.isOuterAxis=function(){var a=this,c=-1,b=!0;p(this.chart.axes,function(e,f){e.side===a.side&&(e===a?c=f:0<=c&&f>c&&(b=!1))});return b};q.prototype.getLabelWidth=function(){return this.label.getBBox().width};m.prototype.getMaxLabelLength=function(a){var c=this.tickPositions,b=this.ticks,e=0; | ||
| 12 | if(!this.maxLabelLength||a)p(c,function(a){(a=b[a])&&a.labelLength>e&&(e=a.labelLength)}),this.maxLabelLength=e;return this.maxLabelLength};m.prototype.addTitle=function(){var a=this.chart.renderer,c=this.axisParent,b=this.horiz,e=this.opposite,f=this.options,d=f.title,g;this.showAxis=g=this.hasData()||r(f.showEmpty,!0);f.title="";this.axisTitle||((f=d.textAlign)||(f=(b?{low:"left",middle:"center",high:"right"}:{low:e?"right":"left",middle:"center",high:e?"left":"right"})[d.align]),this.axisTitle= | ||
| 13 | a.text(d.text,0,0,d.useHTML).attr({zIndex:7,rotation:d.rotation||0,align:f}).addClass("highcharts-axis-title").add(c),this.axisTitle.isNew=!0);this.axisTitle[g?"show":"hide"](!0)};h.dateFormats={W:function(a){a=new Date(a);var c=0===a.getUTCDay()?7:a.getUTCDay(),b=a.getTime(),e=new Date(a.getUTCFullYear(),0,1,-6);a.setDate(a.getUTCDate()+4-c);return 1+Math.floor(Math.floor((b-e)/864E5)/7)},E:function(a){return n("%a",a,!0).charAt(0)}};l(q.prototype,"addLabel",function(a){var c=this.axis,b=void 0!== | ||
| 14 | c.options.categories,e=c.tickPositions,e=this.pos!==e[e.length-1];(!c.options.grid||b||e)&&a.apply(this)});l(q.prototype,"getLabelPosition",function(a,c,b,e){var f=a.apply(this,Array.prototype.slice.call(arguments,1)),d=this.axis,g=d.options,k=g.tickInterval||1,h,l;g.grid&&(h=g.labels.style.fontSize,l=d.chart.renderer.fontMetrics(h,e),h=l.b,l=l.h,d.horiz&&void 0===g.categories?(g=d.axisGroup.getBBox().height,k=this.pos+k/2,f.x=d.translate(k)+d.left,k=g/2+l/2-Math.abs(l-h),f.y=0===d.side?b-k:b+k): | ||
| 15 | (void 0===g.categories&&(k=this.pos+k/2,f.y=d.translate(k)+d.top+h/2),k=this.getLabelWidth()/2-d.maxLabelLength/2,f.x=3===d.side?f.x+k:f.x-k));return f});l(m.prototype,"tickSize",function(a){var c=a.apply(this,Array.prototype.slice.call(arguments,1)),b;this.options.grid&&!this.horiz&&(b=2*Math.abs(this.defaultLeftAxisOptions.labels.x),this.maxLabelLength||(this.maxLabelLength=this.getMaxLabelLength()),b=this.maxLabelLength+b,c[0]=b);return c});l(m.prototype,"getOffset",function(a){var c=this.chart.axisOffset, | ||
| 16 | b=this.side,e,f,d=this.options,g=d.title,k=g&&g.text&&!1!==g.enabled;this.options.grid&&t(this.options.title)?(f=this.tickSize("tick")[0],c[b]&&f&&(e=c[b]+f),k&&this.addTitle(),a.apply(this,Array.prototype.slice.call(arguments,1)),c[b]=r(e,c[b]),d.title=g):a.apply(this,Array.prototype.slice.call(arguments,1))});l(m.prototype,"renderUnsquish",function(a){this.options.grid&&(this.labelRotation=0,this.options.labels.rotation=0);a.apply(this)});l(m.prototype,"setOptions",function(a,c){c.grid&&this.horiz&& | ||
| 17 | (c.startOnTick=!0,c.minPadding=0,c.endOnTick=!0);a.apply(this,Array.prototype.slice.call(arguments,1))});l(m.prototype,"render",function(a){var c=this.options,b,e,f,d,g,k,h=this.chart.renderer;if(c.grid){if(b=2*Math.abs(this.defaultLeftAxisOptions.labels.x),b=this.maxLabelLength+b,e=c.lineWidth,this.rightWall&&this.rightWall.destroy(),a.apply(this),a=this.axisGroup.getBBox(),this.horiz&&(this.rightWall=h.path(["M",a.x+this.width+1,a.y,"L",a.x+this.width+1,a.y+a.height]).attr({stroke:c.tickColor|| | ||
| 18 | "#ccd6eb","stroke-width":c.tickWidth||1,zIndex:7,class:"grid-wall"}).add(this.axisGroup)),this.isOuterAxis()&&this.axisLine&&(this.horiz&&(b=a.height-1),e)){a=this.getLinePath(e);g=a.indexOf("M")+1;k=a.indexOf("L")+1;f=a.indexOf("M")+2;d=a.indexOf("L")+2;if(0===this.side||3===this.side)b=-b;this.horiz?(a[f]+=b,a[d]+=b):(a[g]+=b,a[k]+=b);this.axisLineExtra?this.axisLineExtra.animate({d:a}):this.axisLineExtra=h.path(a).attr({stroke:c.lineColor,"stroke-width":e,zIndex:7}).add(this.axisGroup);this.axisLine[this.showAxis? | ||
| 19 | "show":"hide"](!0)}}else a.apply(this)});l(u.prototype,"render",function(a){var c=25/11,b,e;p(this.axes,function(a){var d=a.options;d.grid&&(e=d.labels.style.fontSize,b=a.chart.renderer.fontMetrics(e),"datetime"===d.type&&(d.units=[["millisecond",[1]],["second",[1]],["minute",[1]],["hour",[1]],["day",[1]],["week",[1]],["month",[1]],["year",null]]),a.horiz?d.tickLength=d.cellHeight||b.h*c:(d.tickWidth=1,d.lineWidth||(d.lineWidth=1)))});a.apply(this)})})(n)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | |||
| 4 | (c) 2009-2016 Torstein Honsi | ||
| 5 | |||
| 6 | License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(m){"object"===typeof module&&module.exports?module.exports=m:m(Highcharts)})(function(m){(function(b){var k=b.Axis,r=b.Chart,h=b.color,g,e=b.each,w=b.extend,x=b.isNumber,p=b.Legend,t=b.LegendSymbolMixin,y=b.noop,q=b.merge,v=b.pick,u=b.wrap;g=b.ColorAxis=function(){this.init.apply(this,arguments)};w(g.prototype,k.prototype);w(g.prototype,{defaultColorAxisOptions:{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50}, | ||
| 9 | width:.01},labels:{overflow:"justify"},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0},keepProps:["legendGroup","legendItem","legendSymbol"].concat(k.prototype.keepProps),init:function(a,c){var d="vertical"!==a.options.legend.layout,f;this.coll="colorAxis";f=q(this.defaultColorAxisOptions,{side:d?2:1,reversed:!d},c,{opposite:!d,showEmpty:!1,title:null});k.prototype.init.call(this,a,f);c.dataClasses&&this.initDataClasses(c);this.initStops(c);this.horiz=d;this.zoomEnabled=!1;this.defaultLegendLength= | ||
| 10 | 200},tweenColors:function(a,c,d){var f;c.rgba.length&&a.rgba.length?(a=a.rgba,c=c.rgba,f=1!==c[3]||1!==a[3],a=(f?"rgba(":"rgb(")+Math.round(c[0]+(a[0]-c[0])*(1-d))+","+Math.round(c[1]+(a[1]-c[1])*(1-d))+","+Math.round(c[2]+(a[2]-c[2])*(1-d))+(f?","+(c[3]+(a[3]-c[3])*(1-d)):"")+")"):a=c.input||"none";return a},initDataClasses:function(a){var c=this,d,f=0,n=this.chart.options.chart.colorCount,b=this.options,l=a.dataClasses.length;this.dataClasses=d=[];this.legendItems=[];e(a.dataClasses,function(a, | ||
| 11 | e){a=q(a);d.push(a);a.color||("category"===b.dataClassColor?(a.colorIndex=f,f++,f===n&&(f=0)):a.color=c.tweenColors(h(b.minColor),h(b.maxColor),2>l?.5:e/(l-1)))})},initStops:function(a){this.stops=a.stops||[[0,this.options.minColor],[1,this.options.maxColor]];e(this.stops,function(a){a.color=h(a[1])})},setOptions:function(a){k.prototype.setOptions.call(this,a);this.options.crosshair=this.options.marker},setAxisSize:function(){var a=this.legendSymbol,c=this.chart,d=c.options.legend||{},f,n;a?(this.left= | ||
| 12 | d=a.attr("x"),this.top=f=a.attr("y"),this.width=n=a.attr("width"),this.height=a=a.attr("height"),this.right=c.chartWidth-d-n,this.bottom=c.chartHeight-f-a,this.len=this.horiz?n:a,this.pos=this.horiz?d:f):this.len=(this.horiz?d.symbolWidth:d.symbolHeight)||this.defaultLegendLength},toColor:function(a,c){var d=this.stops,f,n,b=this.dataClasses,l,e;if(b)for(e=b.length;e--;){if(l=b[e],f=l.from,d=l.to,(void 0===f||a>=f)&&(void 0===d||a<=d)){n=l.color;c&&(c.dataClass=e,c.colorIndex=l.colorIndex);break}}else{this.isLog&& | ||
| 13 | (a=this.val2lin(a));a=1-(this.max-a)/(this.max-this.min||1);for(e=d.length;e--&&!(a>d[e][0]););f=d[e]||d[e+1];d=d[e+1]||f;a=1-(d[0]-a)/(d[0]-f[0]||1);n=this.tweenColors(f.color,d.color,a)}return n},getOffset:function(){var a=this.legendGroup,c=this.chart.axisOffset[this.side];a&&(this.axisParent=a,k.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=c)},setLegendColor:function(){var a,c=this.options,d=this.reversed; | ||
| 14 | a=d?1:0;d=d?0:1;a=this.horiz?[a,0,d,0]:[0,d,0,a];this.legendColor={linearGradient:{x1:a[0],y1:a[1],x2:a[2],y2:a[3]},stops:c.stops||[[0,c.minColor],[1,c.maxColor]]}},drawLegendSymbol:function(a,c){var d=a.padding,f=a.options,b=this.horiz,e=v(f.symbolWidth,b?this.defaultLegendLength:12),l=v(f.symbolHeight,b?12:this.defaultLegendLength),g=v(f.labelPadding,b?16:30),f=v(f.itemDistance,10);this.setLegendColor();c.legendSymbol=this.chart.renderer.rect(0,a.baseline-11,e,l).attr({zIndex:1}).add(c.legendGroup); | ||
| 15 | this.legendItemWidth=e+d+(b?f:g);this.legendItemHeight=l+d+(b?g:0)},setState:y,visible:!0,setVisible:y,getSeriesExtremes:function(){var a;this.series.length&&(a=this.series[0],this.dataMin=a.valueMin,this.dataMax=a.valueMax)},drawCrosshair:function(a,c){var d=c&&c.plotX,b=c&&c.plotY,e,g=this.pos,l=this.len;c&&(e=this.toPixels(c[c.series.colorKey]),e<g?e=g-2:e>g+l&&(e=g+l+2),c.plotX=e,c.plotY=this.len-e,k.prototype.drawCrosshair.call(this,a,c),c.plotX=d,c.plotY=b,this.cross&&this.cross.addClass("highcharts-coloraxis-marker").add(this.legendGroup))}, | ||
| 16 | getPlotLinePath:function(a,c,d,b,e){return x(e)?this.horiz?["M",e-4,this.top-6,"L",e+4,this.top-6,e,this.top,"Z"]:["M",this.left,e,"L",this.left-6,e+6,this.left-6,e-6,"Z"]:k.prototype.getPlotLinePath.call(this,a,c,d,b)},update:function(a,c){var d=this.chart,b=d.legend;e(this.series,function(a){a.isDirtyData=!0});a.dataClasses&&b.allItems&&(e(b.allItems,function(a){a.isDataClass&&a.legendGroup.destroy()}),d.isDirtyLegend=!0);d.options[this.coll]=q(this.userOptions,a);k.prototype.update.call(this,a, | ||
| 17 | c);this.legendItem&&(this.setLegendColor(),b.colorizeItem(this,!0))},getDataClassLegendSymbols:function(){var a=this,c=this.chart,d=this.legendItems,f=c.options.legend,g=f.valueDecimals,u=f.valueSuffix||"",l;d.length||e(this.dataClasses,function(f,p){var k=!0,q=f.from,h=f.to;l="";void 0===q?l="\x3c ":void 0===h&&(l="\x3e ");void 0!==q&&(l+=b.numberFormat(q,g)+u);void 0!==q&&void 0!==h&&(l+=" - ");void 0!==h&&(l+=b.numberFormat(h,g)+u);d.push(w({chart:c,name:l,options:{},drawLegendSymbol:t.drawRectangle, | ||
| 18 | visible:!0,setState:y,isDataClass:!0,setVisible:function(){k=this.visible=!k;e(a.series,function(a){e(a.points,function(a){a.dataClass===p&&a.setVisible(k)})});c.legend.colorizeItem(this,k)}},f))});return d},name:""});e(["fill","stroke"],function(a){b.Fx.prototype[a+"Setter"]=function(){this.elem.attr(a,g.prototype.tweenColors(h(this.start),h(this.end),this.pos),null,!0)}});u(r.prototype,"getAxes",function(a){var c=this.options.colorAxis;a.call(this);this.colorAxis=[];c&&new g(this,c)});u(p.prototype, | ||
| 19 | "getAllItems",function(a){var c=[],d=this.chart.colorAxis[0];d&&d.options&&(d.options.showInLegend&&(d.options.dataClasses?c=c.concat(d.getDataClassLegendSymbols()):c.push(d)),e(d.series,function(a){a.options.showInLegend=!1}));return c.concat(a.call(this))});u(p.prototype,"colorizeItem",function(a,c,d){a.call(this,c,d);d&&c.legendColor&&c.legendSymbol.attr({fill:c.legendColor})})})(m);(function(b){var k=b.defined,r=b.each,h=b.noop;b.colorPointMixin={isValid:function(){return null!==this.value},setVisible:function(b){var e= | ||
| 20 | this,g=b?"show":"hide";r(["graphic","dataLabel"],function(b){if(e[b])e[b][g]()})},setState:function(g){b.Point.prototype.setState.call(this,g);this.graphic&&this.graphic.attr({zIndex:"hover"===g?1:0})}};b.colorSeriesMixin={pointArrayMap:["value"],axisTypes:["xAxis","yAxis","colorAxis"],optionalAxis:"colorAxis",trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:h,parallelArrays:["x","y","value"],colorKey:"value",translateColors:function(){var b=this,e=this.options.nullColor,k=this.colorAxis, | ||
| 21 | h=this.colorKey;r(this.data,function(g){var t=g[h];if(t=g.options.color||(g.isNull?e:k&&void 0!==t?k.toColor(t,g):g.color||b.color))g.color=t})},colorAttribs:function(b){var e={};k(b.color)&&(e[this.colorProp||"fill"]=b.color);return e}}})(m);(function(b){var k=b.colorPointMixin,r=b.each,h=b.merge,g=b.noop,e=b.pick,m=b.Series,x=b.seriesType,p=b.seriesTypes;x("heatmap","scatter",{animation:!1,borderWidth:0,dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:"middle",crop:!1, | ||
| 22 | overflow:!1,padding:0},marker:null,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}\x3cbr/\x3e"},states:{normal:{animation:!0},hover:{halo:!1,brightness:.2}}},h(b.colorSeriesMixin,{pointArrayMap:["y","value"],hasPointSpecificOptions:!0,supportsDrilldown:!0,getExtremesFromAll:!0,directTouch:!0,init:function(){var b;p.scatter.prototype.init.apply(this,arguments);b=this.options;b.pointRange=e(b.pointRange,b.colsize||1);this.yAxis.axisPointRange=b.rowsize||1},translate:function(){var b= | ||
| 23 | this.options,e=this.xAxis,g=this.yAxis,k=function(b,a,c){return Math.min(Math.max(a,b),c)};this.generatePoints();r(this.points,function(h){var a=(b.colsize||1)/2,c=(b.rowsize||1)/2,d=k(Math.round(e.len-e.translate(h.x-a,0,1,0,1)),-e.len,2*e.len),a=k(Math.round(e.len-e.translate(h.x+a,0,1,0,1)),-e.len,2*e.len),f=k(Math.round(g.translate(h.y-c,0,1,0,1)),-g.len,2*g.len),c=k(Math.round(g.translate(h.y+c,0,1,0,1)),-g.len,2*g.len);h.plotX=h.clientX=(d+a)/2;h.plotY=(f+c)/2;h.shapeType="rect";h.shapeArgs= | ||
| 24 | {x:Math.min(d,a),y:Math.min(f,c),width:Math.abs(a-d),height:Math.abs(c-f)}});this.translateColors()},drawPoints:function(){p.column.prototype.drawPoints.call(this);r(this.points,function(b){b.graphic.css(this.colorAttribs(b))},this)},animate:g,getBox:g,drawLegendSymbol:b.LegendSymbolMixin.drawRectangle,alignDataLabel:p.column.prototype.alignDataLabel,getExtremes:function(){m.prototype.getExtremes.call(this,this.valueData);this.valueMin=this.dataMin;this.valueMax=this.dataMax;m.prototype.getExtremes.call(this)}}), | ||
| 25 | k)})(m)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Plugin for displaying a message when there is no data visible in chart. | ||
| 4 | |||
| 5 | (c) 2010-2016 Highsoft AS | ||
| 6 | Author: Oystein Moseng | ||
| 7 | |||
| 8 | License: www.highcharts.com/license | ||
| 9 | */ | ||
| 10 | (function(d){"object"===typeof module&&module.exports?module.exports=d:d(Highcharts)})(function(d){(function(c){function d(){return!!this.points.length}function f(){this.hasData()?this.hideNoData():this.showNoData()}var g=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),k=c.extend,l=c.each;k(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"}};l(["pie","gauge","waterfall","bubble","treemap"],function(a){g[a]&&(g[a].prototype.hasData=d)});c.Series.prototype.hasData= | ||
| 11 | function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin};e.showNoData=function(a){var b=this.options;a=a||b.lang.noData;b=b.noData;this.noDataLabel||(this.noDataLabel=this.renderer.label(a,0,0,null,null,null,b.useHTML,null,"no-data"),this.noDataLabel.add(),this.noDataLabel.align(k(this.noDataLabel.getBBox(),b.position),!1,"plotBox"))};e.hideNoData=function(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&& | ||
| 12 | !a[b].options.isInternal)return!0;return!1};e.callbacks.push(function(a){c.addEvent(a,"load",f);c.addEvent(a,"redraw",f)})})(d)}); |
| 1 | /** | ||
| 2 | * @license Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | * Plugin for displaying a message when there is no data visible in chart. | ||
| 4 | * | ||
| 5 | * (c) 2010-2016 Highsoft AS | ||
| 6 | * Author: Oystein Moseng | ||
| 7 | * | ||
| 8 | * License: www.highcharts.com/license | ||
| 9 | */ | ||
| 10 | (function(factory) { | ||
| 11 | if (typeof module === 'object' && module.exports) { | ||
| 12 | module.exports = factory; | ||
| 13 | } else { | ||
| 14 | factory(Highcharts); | ||
| 15 | } | ||
| 16 | }(function(Highcharts) { | ||
| 17 | (function(H) { | ||
| 18 | /** | ||
| 19 | * Plugin for displaying a message when there is no data visible in chart. | ||
| 20 | * | ||
| 21 | * (c) 2010-2016 Highsoft AS | ||
| 22 | * Author: Oystein Moseng | ||
| 23 | * | ||
| 24 | * License: www.highcharts.com/license | ||
| 25 | */ | ||
| 26 | 'use strict'; | ||
| 27 | |||
| 28 | var seriesTypes = H.seriesTypes, | ||
| 29 | chartPrototype = H.Chart.prototype, | ||
| 30 | defaultOptions = H.getOptions(), | ||
| 31 | extend = H.extend, | ||
| 32 | each = H.each; | ||
| 33 | |||
| 34 | // Add language option | ||
| 35 | extend(defaultOptions.lang, { | ||
| 36 | noData: 'No data to display' | ||
| 37 | }); | ||
| 38 | |||
| 39 | // Add default display options for message | ||
| 40 | defaultOptions.noData = { | ||
| 41 | position: { | ||
| 42 | x: 0, | ||
| 43 | y: 0, | ||
| 44 | align: 'center', | ||
| 45 | verticalAlign: 'middle' | ||
| 46 | } | ||
| 47 | // useHTML: false | ||
| 48 | }; | ||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | /** | ||
| 53 | * Define hasData functions for series. These return true if there are data points on this series within the plot area | ||
| 54 | */ | ||
| 55 | function hasDataPie() { | ||
| 56 | return !!this.points.length; /* != 0 */ | ||
| 57 | } | ||
| 58 | |||
| 59 | each(['pie', 'gauge', 'waterfall', 'bubble', 'treemap'], function(type) { | ||
| 60 | if (seriesTypes[type]) { | ||
| 61 | seriesTypes[type].prototype.hasData = hasDataPie; | ||
| 62 | } | ||
| 63 | }); | ||
| 64 | |||
| 65 | H.Series.prototype.hasData = function() { | ||
| 66 | return this.visible && this.dataMax !== undefined && this.dataMin !== undefined; // #3703 | ||
| 67 | }; | ||
| 68 | |||
| 69 | /** | ||
| 70 | * Display a no-data message. | ||
| 71 | * | ||
| 72 | * @param {String} str An optional message to show in place of the default one | ||
| 73 | */ | ||
| 74 | chartPrototype.showNoData = function(str) { | ||
| 75 | var chart = this, | ||
| 76 | options = chart.options, | ||
| 77 | text = str || options.lang.noData, | ||
| 78 | noDataOptions = options.noData; | ||
| 79 | |||
| 80 | if (!chart.noDataLabel) { | ||
| 81 | chart.noDataLabel = chart.renderer | ||
| 82 | .label( | ||
| 83 | text, | ||
| 84 | 0, | ||
| 85 | 0, | ||
| 86 | null, | ||
| 87 | null, | ||
| 88 | null, | ||
| 89 | noDataOptions.useHTML, | ||
| 90 | null, | ||
| 91 | 'no-data' | ||
| 92 | ); | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | chart.noDataLabel.add(); | ||
| 97 | |||
| 98 | chart.noDataLabel.align(extend(chart.noDataLabel.getBBox(), noDataOptions.position), false, 'plotBox'); | ||
| 99 | } | ||
| 100 | }; | ||
| 101 | |||
| 102 | /** | ||
| 103 | * Hide no-data message | ||
| 104 | */ | ||
| 105 | chartPrototype.hideNoData = function() { | ||
| 106 | var chart = this; | ||
| 107 | if (chart.noDataLabel) { | ||
| 108 | chart.noDataLabel = chart.noDataLabel.destroy(); | ||
| 109 | } | ||
| 110 | }; | ||
| 111 | |||
| 112 | /** | ||
| 113 | * Returns true if there are data points within the plot area now | ||
| 114 | */ | ||
| 115 | chartPrototype.hasData = function() { | ||
| 116 | var chart = this, | ||
| 117 | series = chart.series, | ||
| 118 | i = series.length; | ||
| 119 | |||
| 120 | while (i--) { | ||
| 121 | if (series[i].hasData() && !series[i].options.isInternal) { | ||
| 122 | return true; | ||
| 123 | } | ||
| 124 | } | ||
| 125 | |||
| 126 | return false; | ||
| 127 | }; | ||
| 128 | |||
| 129 | /** | ||
| 130 | * Show no-data message if there is no data in sight. Otherwise, hide it. | ||
| 131 | */ | ||
| 132 | function handleNoData() { | ||
| 133 | var chart = this; | ||
| 134 | if (chart.hasData()) { | ||
| 135 | chart.hideNoData(); | ||
| 136 | } else { | ||
| 137 | chart.showNoData(); | ||
| 138 | } | ||
| 139 | } | ||
| 140 | |||
| 141 | /** | ||
| 142 | * Add event listener to handle automatic display of no-data message | ||
| 143 | */ | ||
| 144 | chartPrototype.callbacks.push(function(chart) { | ||
| 145 | H.addEvent(chart, 'load', handleNoData); | ||
| 146 | H.addEvent(chart, 'redraw', handleNoData); | ||
| 147 | }); | ||
| 148 | |||
| 149 | }(Highcharts)); | ||
| 150 | })); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Client side exporting module | ||
| 4 | |||
| 5 | (c) 2015 Torstein Honsi / Oystein Moseng | ||
| 6 | |||
| 7 | License: www.highcharts.com/license | ||
| 8 | */ | ||
| 9 | (function(h){"object"===typeof module&&module.exports?module.exports=h:h(Highcharts)})(function(h){(function(a){function w(d,a){var c=t.getElementsByTagName("head")[0],b=t.createElement("script");b.type="text/javascript";b.src=d;b.onload=a;b.onerror=function(){console.error("Error loading script",d)};c.appendChild(b)}var h=a.merge,e=a.win,u=e.navigator,t=e.document,y=a.each,A=e.URL||e.webkitURL||e,B=/Edge\/|Trident\/|MSIE /.test(u.userAgent),C=B?150:0;a.CanVGRenderer={};a.downloadURL=function(d,a){var c= | ||
| 10 | t.createElement("a"),b;if(u.msSaveOrOpenBlob)u.msSaveOrOpenBlob(d,a);else if(void 0!==c.download)c.href=d,c.download=a,c.target="_blank",t.body.appendChild(c),c.click(),t.body.removeChild(c);else try{if(b=e.open(d,"chart"),void 0===b||null===b)throw"Failed to open window";}catch(v){e.location.href=d}};a.svgToDataUrl=function(d){var a=-1<u.userAgent.indexOf("WebKit")&&0>u.userAgent.indexOf("Chrome");try{if(!a&&0>u.userAgent.toLowerCase().indexOf("firefox"))return A.createObjectURL(new e.Blob([d],{type:"image/svg+xml;charset-utf-16"}))}catch(c){}return"data:image/svg+xml;charset\x3dUTF-8,"+ | ||
| 11 | encodeURIComponent(d)};a.imageToDataUrl=function(a,f,c,b,v,l,k,m,p){var d=new e.Image,g,r=function(){setTimeout(function(){var n=t.createElement("canvas"),e=n.getContext&&n.getContext("2d"),x;try{if(e){n.height=d.height*b;n.width=d.width*b;e.drawImage(d,0,0,n.width,n.height);try{x=n.toDataURL(f),v(x,f,c,b)}catch(D){g(a,f,c,b)}}else k(a,f,c,b)}finally{p&&p(a,f,c,b)}},C)},q=function(){m(a,f,c,b);p&&p(a,f,c,b)};g=function(){d=new e.Image;g=l;d.crossOrigin="Anonymous";d.onload=r;d.onerror=q;d.src=a}; | ||
| 12 | d.onload=r;d.onerror=q;d.src=a};a.downloadSVGLocal=function(d,f,c,b){function v(b,a){a=new e.jsPDF("l","pt",[b.width.baseVal.value+2*a,b.height.baseVal.value+2*a]);e.svgElementToPdf(b,a,{removeInvalid:!0});return a.output("datauristring")}function l(){r.innerHTML=d;var c=r.getElementsByTagName("text"),e,g=r.getElementsByTagName("svg")[0].style;y(c,function(a){y(["font-family","font-size"],function(b){!a.style[b]&&g[b]&&(a.style[b]=g[b])});a.style["font-family"]=a.style["font-family"]&&a.style["font-family"].split(" ").splice(-1); | ||
| 13 | e=a.getElementsByTagName("title");y(e,function(b){a.removeChild(b)})});c=v(r.firstChild,0);a.downloadURL(c,n);b&&b()}var k,m,p=!0,z,g=f.libURL||a.getOptions().exporting.libURL,r=t.createElement("div"),q=f.type||"image/png",n=(f.filename||"chart")+"."+("image/svg+xml"===q?"svg":q.split("/")[1]),h=f.scale||1,g="/"!==g.slice(-1)?g+"/":g;if("image/svg+xml"===q)try{u.msSaveOrOpenBlob?(m=new MSBlobBuilder,m.append(d),k=m.getBlob("image/svg+xml")):k=a.svgToDataUrl(d),a.downloadURL(k,n),b&&b()}catch(x){c()}else"application/pdf"=== | ||
| 14 | q?e.jsPDF&&e.svgElementToPdf?l():(p=!0,w(g+"jspdf.js",function(){w(g+"rgbcolor.js",function(){w(g+"svg2pdf.js",function(){l()})})})):(k=a.svgToDataUrl(d),z=function(){try{A.revokeObjectURL(k)}catch(x){}},a.imageToDataUrl(k,q,{},h,function(d){try{a.downloadURL(d,n),b&&b()}catch(D){c()}},function(){var f=t.createElement("canvas"),v=f.getContext("2d"),l=d.match(/^<svg[^>]*width\s*=\s*\"?(\d+)\"?[^>]*>/)[1]*h,k=d.match(/^<svg[^>]*height\s*=\s*\"?(\d+)\"?[^>]*>/)[1]*h,m=function(){v.drawSvg(d,0,0,l,k); | ||
| 15 | try{a.downloadURL(u.msSaveOrOpenBlob?f.msToBlob():f.toDataURL(q),n),b&&b()}catch(E){c()}finally{z()}};f.width=l;f.height=k;e.canvg?m():(p=!0,w(g+"rgbcolor.js",function(){w(g+"canvg.js",function(){m()})}))},c,c,function(){p&&z()}))};a.Chart.prototype.getSVGForLocalExport=function(d,f,c,b){var e=this,l,k=0,m,p,h,g,r,q=function(a,d,c){++k;c.imageElement.setAttributeNS("http://www.w3.org/1999/xlink","href",a);k===l.length&&b(e.sanitizeSVG(m.innerHTML,p))};a.wrap(a.Chart.prototype,"getChartHTML",function(a){var b= | ||
| 16 | a.apply(this,Array.prototype.slice.call(arguments,1));p=this.options;m=this.container.cloneNode(!0);return b});e.getSVGForExport(d,f);l=m.getElementsByTagName("image");try{if(l.length)for(g=0,r=l.length;g<r;++g)h=l[g],a.imageToDataUrl(h.getAttributeNS("http://www.w3.org/1999/xlink","href"),"image/png",{imageElement:h},d.scale,q,c,c,c);else b(e.sanitizeSVG(m.innerHTML,p))}catch(n){c()}};a.Chart.prototype.exportChartLocal=function(d,e){var c=this,b=a.merge(c.options.exporting,d),f=function(){if(!1=== | ||
| 17 | b.fallbackToExportServer)if(b.error)b.error();else throw"Fallback to export server disabled";else c.exportChart(b)};(B&&"image/svg+xml"!==b.type||"application/pdf"===b.type)&&c.container.getElementsByTagName("image").length?f():c.getSVGForLocalExport(b,e,f,function(c){-1<c.indexOf("\x3cforeignObject")&&"image/svg+xml"!==b.type?f():a.downloadSVGLocal(c,b,f)})};h(!0,a.getOptions().exporting,{libURL:"https://code.highcharts.com/5.0.6/lib/",buttons:{contextButton:{menuItems:[{textKey:"printChart",onclick:function(){this.print()}}, | ||
| 18 | {separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},{textKey:"downloadJPEG",onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},{textKey:"downloadSVG",onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}]}}})})(h)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | |||
| 4 | (c) 2009-2016 Torstein Honsi | ||
| 5 | |||
| 6 | License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(a){"object"===typeof module&&module.exports?module.exports=a:a(Highcharts)})(function(a){(function(a){var h=a.Chart,k=a.each,q=a.pick,r=a.addEvent;h.prototype.callbacks.push(function(f){function a(){var a=[];k(f.series,function(b){var c=b.options.dataLabels,d=b.dataLabelCollections||["dataLabel"];(c.enabled||b._hasPointLabels)&&!c.allowOverlap&&b.visible&&k(d,function(c){k(b.points,function(b){b[c]&&(b[c].labelrank=q(b.labelrank,b.shapeArgs&&b.shapeArgs.height),a.push(b[c]))})})});f.hideOverlappingLabels(a)} | ||
| 9 | a();r(f,"redraw",a)});h.prototype.hideOverlappingLabels=function(a){var f=a.length,e,b,c,d,l,m,n,p,g,h=function(a,b,c,d,e,f,g,h){return!(e>a+c||e+g<a||f>b+d||f+h<b)};for(b=0;b<f;b++)if(e=a[b])e.oldOpacity=e.opacity,e.newOpacity=1;a.sort(function(a,b){return(b.labelrank||0)-(a.labelrank||0)});for(b=0;b<f;b++)for(c=a[b],e=b+1;e<f;++e)if(d=a[e],c&&d&&c.placed&&d.placed&&0!==c.newOpacity&&0!==d.newOpacity&&(l=c.alignAttr,m=d.alignAttr,n=c.parentGroup,p=d.parentGroup,g=2*(c.box?0:c.padding),l=h(l.x+n.translateX, | ||
| 10 | l.y+n.translateY,c.width-g,c.height-g,m.x+p.translateX,m.y+p.translateY,d.width-g,d.height-g)))(c.labelrank<d.labelrank?c:d).newOpacity=0;k(a,function(a){var b,c;a&&(c=a.newOpacity,a.oldOpacity!==c&&a.placed&&(c?a.show(!0):b=function(){a.hide()},a.alignAttr.opacity=c,a[a.isOld?"animate":"attr"](a.alignAttr,null,b)),a.isOld=!0)})}})(a)}); |
| 1 | /** | ||
| 2 | * @license Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | * | ||
| 4 | * (c) 2009-2016 Torstein Honsi | ||
| 5 | * | ||
| 6 | * License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(factory) { | ||
| 9 | if (typeof module === 'object' && module.exports) { | ||
| 10 | module.exports = factory; | ||
| 11 | } else { | ||
| 12 | factory(Highcharts); | ||
| 13 | } | ||
| 14 | }(function(Highcharts) { | ||
| 15 | (function(H) { | ||
| 16 | /** | ||
| 17 | * (c) 2009-2016 Torstein Honsi | ||
| 18 | * | ||
| 19 | * License: www.highcharts.com/license | ||
| 20 | */ | ||
| 21 | 'use strict'; | ||
| 22 | /** | ||
| 23 | * Highcharts module to hide overlapping data labels. This module is included in Highcharts. | ||
| 24 | */ | ||
| 25 | var Chart = H.Chart, | ||
| 26 | each = H.each, | ||
| 27 | pick = H.pick, | ||
| 28 | addEvent = H.addEvent; | ||
| 29 | |||
| 30 | // Collect potensial overlapping data labels. Stack labels probably don't need to be | ||
| 31 | // considered because they are usually accompanied by data labels that lie inside the columns. | ||
| 32 | Chart.prototype.callbacks.push(function(chart) { | ||
| 33 | function collectAndHide() { | ||
| 34 | var labels = []; | ||
| 35 | |||
| 36 | each(chart.series, function(series) { | ||
| 37 | var dlOptions = series.options.dataLabels, | ||
| 38 | collections = series.dataLabelCollections || ['dataLabel']; // Range series have two collections | ||
| 39 | if ((dlOptions.enabled || series._hasPointLabels) && !dlOptions.allowOverlap && series.visible) { // #3866 | ||
| 40 | each(collections, function(coll) { | ||
| 41 | each(series.points, function(point) { | ||
| 42 | if (point[coll]) { | ||
| 43 | point[coll].labelrank = pick(point.labelrank, point.shapeArgs && point.shapeArgs.height); // #4118 | ||
| 44 | labels.push(point[coll]); | ||
| 45 | } | ||
| 46 | }); | ||
| 47 | }); | ||
| 48 | } | ||
| 49 | }); | ||
| 50 | chart.hideOverlappingLabels(labels); | ||
| 51 | } | ||
| 52 | |||
| 53 | // Do it now ... | ||
| 54 | collectAndHide(); | ||
| 55 | |||
| 56 | // ... and after each chart redraw | ||
| 57 | addEvent(chart, 'redraw', collectAndHide); | ||
| 58 | |||
| 59 | }); | ||
| 60 | |||
| 61 | /** | ||
| 62 | * Hide overlapping labels. Labels are moved and faded in and out on zoom to provide a smooth | ||
| 63 | * visual imression. | ||
| 64 | */ | ||
| 65 | Chart.prototype.hideOverlappingLabels = function(labels) { | ||
| 66 | |||
| 67 | var len = labels.length, | ||
| 68 | label, | ||
| 69 | i, | ||
| 70 | j, | ||
| 71 | label1, | ||
| 72 | label2, | ||
| 73 | isIntersecting, | ||
| 74 | pos1, | ||
| 75 | pos2, | ||
| 76 | parent1, | ||
| 77 | parent2, | ||
| 78 | padding, | ||
| 79 | intersectRect = function(x1, y1, w1, h1, x2, y2, w2, h2) { | ||
| 80 | return !( | ||
| 81 | x2 > x1 + w1 || | ||
| 82 | x2 + w2 < x1 || | ||
| 83 | y2 > y1 + h1 || | ||
| 84 | y2 + h2 < y1 | ||
| 85 | ); | ||
| 86 | }; | ||
| 87 | |||
| 88 | // Mark with initial opacity | ||
| 89 | for (i = 0; i < len; i++) { | ||
| 90 | label = labels[i]; | ||
| 91 | if (label) { | ||
| 92 | label.oldOpacity = label.opacity; | ||
| 93 | label.newOpacity = 1; | ||
| 94 | } | ||
| 95 | } | ||
| 96 | |||
| 97 | // Prevent a situation in a gradually rising slope, that each label | ||
| 98 | // will hide the previous one because the previous one always has | ||
| 99 | // lower rank. | ||
| 100 | labels.sort(function(a, b) { | ||
| 101 | return (b.labelrank || 0) - (a.labelrank || 0); | ||
| 102 | }); | ||
| 103 | |||
| 104 | // Detect overlapping labels | ||
| 105 | for (i = 0; i < len; i++) { | ||
| 106 | label1 = labels[i]; | ||
| 107 | |||
| 108 | for (j = i + 1; j < len; ++j) { | ||
| 109 | label2 = labels[j]; | ||
| 110 | if (label1 && label2 && label1.placed && label2.placed && label1.newOpacity !== 0 && label2.newOpacity !== 0) { | ||
| 111 | pos1 = label1.alignAttr; | ||
| 112 | pos2 = label2.alignAttr; | ||
| 113 | parent1 = label1.parentGroup; // Different panes have different positions | ||
| 114 | parent2 = label2.parentGroup; | ||
| 115 | padding = 2 * (label1.box ? 0 : label1.padding); // Substract the padding if no background or border (#4333) | ||
| 116 | isIntersecting = intersectRect( | ||
| 117 | pos1.x + parent1.translateX, | ||
| 118 | pos1.y + parent1.translateY, | ||
| 119 | label1.width - padding, | ||
| 120 | label1.height - padding, | ||
| 121 | pos2.x + parent2.translateX, | ||
| 122 | pos2.y + parent2.translateY, | ||
| 123 | label2.width - padding, | ||
| 124 | label2.height - padding | ||
| 125 | ); | ||
| 126 | |||
| 127 | if (isIntersecting) { | ||
| 128 | (label1.labelrank < label2.labelrank ? label1 : label2).newOpacity = 0; | ||
| 129 | } | ||
| 130 | } | ||
| 131 | } | ||
| 132 | } | ||
| 133 | |||
| 134 | // Hide or show | ||
| 135 | each(labels, function(label) { | ||
| 136 | var complete, | ||
| 137 | newOpacity; | ||
| 138 | |||
| 139 | if (label) { | ||
| 140 | newOpacity = label.newOpacity; | ||
| 141 | |||
| 142 | if (label.oldOpacity !== newOpacity && label.placed) { | ||
| 143 | |||
| 144 | // Make sure the label is completely hidden to avoid catching clicks (#4362) | ||
| 145 | if (newOpacity) { | ||
| 146 | label.show(true); | ||
| 147 | } else { | ||
| 148 | complete = function() { | ||
| 149 | label.hide(); | ||
| 150 | }; | ||
| 151 | } | ||
| 152 | |||
| 153 | // Animate or set the opacity | ||
| 154 | label.alignAttr.opacity = newOpacity; | ||
| 155 | label[label.isOld ? 'animate' : 'attr'](label.alignAttr, null, complete); | ||
| 156 | |||
| 157 | } | ||
| 158 | label.isOld = true; | ||
| 159 | } | ||
| 160 | }); | ||
| 161 | }; | ||
| 162 | |||
| 163 | }(Highcharts)); | ||
| 164 | })); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | |||
| 4 | (c) 2009-2016 Torstein Honsi | ||
| 5 | |||
| 6 | License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(u){"object"===typeof module&&module.exports?module.exports=u:u(Highcharts)})(function(u){(function(q){function u(f,b,a,m,c,e){f=(e-b)*(a-f)-(m-b)*(c-f);return 0<f?!0:0>f?!1:!0}function v(f,b,a,m,c,e,d,l){return u(f,b,c,e,d,l)!==u(a,m,c,e,d,l)&&u(f,b,a,m,c,e)!==u(f,b,a,m,d,l)}function z(f,b,a,m,c,e,d,l){return v(f,b,f+a,b,c,e,d,l)||v(f+a,b,f+a,b+m,c,e,d,l)||v(f,b+m,f+a,b+m,c,e,d,l)||v(f,b,f,b+m,c,e,d,l)}function A(f){var b=this,a=Math.max(q.animObject(b.renderer.globalAnimation).duration, | ||
| 9 | 250),m=!b.hasRendered;f.apply(b,[].slice.call(arguments,1));b.labelSeries=[];clearTimeout(b.seriesLabelTimer);w(b.series,function(c){var e=c.labelBySeries,d=e&&e.closest;c.options.label.enabled&&c.visible&&(c.graph||c.area)&&(b.labelSeries.push(c),m&&(a=Math.max(a,q.animObject(c.options.animation).duration)),d&&(void 0!==d[0].plotX?e.animate({x:d[0].plotX+d[1],y:d[0].plotY+d[2]}):e.attr({opacity:0})))});b.seriesLabelTimer=setTimeout(function(){b.drawSeriesLabels()},a)}var B=q.wrap,w=q.each,D=q.extend, | ||
| 10 | x=q.isNumber,C=q.Series,E=q.SVGRenderer,y=q.Chart;q.setOptions({plotOptions:{series:{label:{enabled:!0,connectorAllowed:!0,connectorNeighbourDistance:24,styles:{fontWeight:"bold"}}}}});E.prototype.symbols.connector=function(f,b,a,m,c){var e=c&&c.anchorX;c=c&&c.anchorY;var d,l,h=a/2;x(e)&&x(c)&&(d=["M",e,c],l=b-c,0>l&&(l=-m-l),l<a&&(h=e<f+a/2?l:a-l),c>b+m?d.push("L",f+h,b+m):c<b?d.push("L",f+h,b):e<f?d.push("L",f,b+m/2):e>f+a&&d.push("L",f+a,b+m/2));return d||[]};C.prototype.getPointsOnGraph=function(){var f= | ||
| 11 | this.points,b,a,m=[],c,e,d,l;e=this.graph||this.area;d=e.element;var h=(b=this.chart.inverted)?this.yAxis.pos:this.xAxis.pos,n=b?this.xAxis.pos:this.yAxis.pos;if(this.getPointSpline&&d.getPointAtLength){e.toD&&(a=e.attr("d"),e.attr({d:e.toD}));l=d.getTotalLength();for(c=0;c<l;c+=16)b=d.getPointAtLength(c),m.push({chartX:h+b.x,chartY:n+b.y,plotX:b.x,plotY:b.y});a&&e.attr({d:a});b=f[f.length-1];b.chartX=h+b.plotX;b.chartY=n+b.plotY;m.push(b)}else for(l=f.length,c=0;c<l;c+=1){b=f[c];a=f[c-1];b.chartX= | ||
| 12 | h+b.plotX;b.chartY=n+b.plotY;if(0<c&&(e=Math.abs(b.chartX-a.chartX),d=Math.abs(b.chartY-a.chartY),e=Math.max(e,d),16<e))for(e=Math.ceil(e/16),d=1;d<e;d+=1)m.push({chartX:a.chartX+d/e*(b.chartX-a.chartX),chartY:a.chartY+d/e*(b.chartY-a.chartY),plotX:a.plotX+d/e*(b.plotX-a.plotX),plotY:a.plotY+d/e*(b.plotY-a.plotY)});x(b.plotY)&&m.push(b)}return m};C.prototype.checkClearPoint=function(f,b,a,m){var c=Number.MAX_VALUE,e=Number.MAX_VALUE,d,l,h=this.options.label.connectorAllowed,n=this.chart,p,g,r,k;for(r= | ||
| 13 | 0;r<n.boxesToAvoid.length;r+=1){g=n.boxesToAvoid[r];k=f+a.width;p=b;var q=b+a.height;if(!(f>g.right||k<g.left||p>g.bottom||q<g.top))return!1}for(r=0;r<n.series.length;r+=1)if(p=n.series[r],g=p.interpolatedPoints,p.visible&&g){for(k=1;k<g.length;k+=1){if(z(f,b,a.width,a.height,g[k-1].chartX,g[k-1].chartY,g[k].chartX,g[k].chartY))return!1;this===p&&!d&&m&&(d=z(f-16,b-16,a.width+32,a.height+32,g[k-1].chartX,g[k-1].chartY,g[k].chartX,g[k].chartY));this!==p&&(c=Math.min(c,Math.pow(f+a.width/2-g[k].chartX, | ||
| 14 | 2)+Math.pow(b+a.height/2-g[k].chartY,2),Math.pow(f-g[k].chartX,2)+Math.pow(b-g[k].chartY,2),Math.pow(f+a.width-g[k].chartX,2)+Math.pow(b-g[k].chartY,2),Math.pow(f+a.width-g[k].chartX,2)+Math.pow(b+a.height-g[k].chartY,2),Math.pow(f-g[k].chartX,2)+Math.pow(b+a.height-g[k].chartY,2)))}if(h&&this===p&&(m&&!d||c<Math.pow(this.options.label.connectorNeighbourDistance,2))){for(k=1;k<g.length;k+=1)d=Math.min(Math.pow(f+a.width/2-g[k].chartX,2)+Math.pow(b+a.height/2-g[k].chartY,2),Math.pow(f-g[k].chartX, | ||
| 15 | 2)+Math.pow(b-g[k].chartY,2),Math.pow(f+a.width-g[k].chartX,2)+Math.pow(b-g[k].chartY,2),Math.pow(f+a.width-g[k].chartX,2)+Math.pow(b+a.height-g[k].chartY,2),Math.pow(f-g[k].chartX,2)+Math.pow(b+a.height-g[k].chartY,2)),d<e&&(e=d,l=g[k]);d=!0}}return!m||d?{x:f,y:b,weight:c-(l?e:0),connectorPoint:l}:!1};y.prototype.drawSeriesLabels=function(){var f=this,b=this.labelSeries;f.boxesToAvoid=[];w(b,function(a){a.interpolatedPoints=a.getPointsOnGraph();w(a.options.label.boxesToAvoid||[],function(a){f.boxesToAvoid.push(a)})}); | ||
| 16 | w(f.series,function(a){function b(a,b,c){return a>g&&a<=g+k-c.width&&b>=r&&b<=r+q-c.height}var c,e,d,l=[],h,n,p=f.inverted,g=p?a.yAxis.pos:a.xAxis.pos,r=p?a.xAxis.pos:a.yAxis.pos,k=f.inverted?a.yAxis.len:a.xAxis.len,q=f.inverted?a.xAxis.len:a.yAxis.len,t=a.interpolatedPoints,p=a.labelBySeries;if(a.visible&&t){p||(a.labelBySeries=p=f.renderer.label(a.name,0,-9999,"connector").css(D({color:a.color},a.options.label.styles)).attr({padding:0,opacity:0,stroke:a.color,"stroke-width":1}).add(a.group).animate({opacity:1}, | ||
| 17 | {duration:200}));c=p.getBBox();c.width=Math.round(c.width);for(n=t.length-1;0<n;--n)e=t[n].chartX+3,d=t[n].chartY-c.height-3,b(e,d,c)&&(h=a.checkClearPoint(e,d,c)),h&&l.push(h),e=t[n].chartX+3,d=t[n].chartY+3,b(e,d,c)&&(h=a.checkClearPoint(e,d,c)),h&&l.push(h),e=t[n].chartX-c.width-3,d=t[n].chartY+3,b(e,d,c)&&(h=a.checkClearPoint(e,d,c)),h&&l.push(h),e=t[n].chartX-c.width-3,d=t[n].chartY-c.height-3,b(e,d,c)&&(h=a.checkClearPoint(e,d,c)),h&&l.push(h);if(!l.length)for(e=g+k-c.width;e>=g;e-=16)for(d= | ||
| 18 | r;d<r+q-c.height;d+=16)(h=a.checkClearPoint(e,d,c,!0))&&l.push(h);if(l.length){if(l.sort(function(a,b){return b.weight-a.weight}),h=l[0],f.boxesToAvoid.push({left:h.x,right:h.x+c.width,top:h.y,bottom:h.y+c.height}),Math.round(h.x)!==Math.round(p.x)||Math.round(h.y)!==Math.round(p.y))a.labelBySeries.attr({opacity:0,x:h.x-g,y:h.y-r,anchorX:h.connectorPoint&&h.connectorPoint.plotX,anchorY:h.connectorPoint&&h.connectorPoint.plotY}).animate({opacity:1}),a.options.kdNow=!0,a.buildKDTree(),a=a.searchPoint({chartX:h.x, | ||
| 19 | chartY:h.y},!0),p.closest=[a,h.x-g-a.plotX,h.y-r-a.plotY]}else p&&(a.labelBySeries=p.destroy())}})};B(y.prototype,"render",A);B(y.prototype,"redraw",A)})(u)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | Solid angular gauge module | ||
| 4 | |||
| 5 | (c) 2010-2016 Torstein Honsi | ||
| 6 | |||
| 7 | License: www.highcharts.com/license | ||
| 8 | */ | ||
| 9 | (function(l){"object"===typeof module&&module.exports?module.exports=l:l(Highcharts)})(function(l){(function(e){var l=e.pInt,t=e.pick,m=e.each,v=e.isNumber,n;n={initDataClasses:function(a){var c=this,d=this.chart,f,u=0,h=this.options;this.dataClasses=f=[];m(a.dataClasses,function(g,b){g=e.merge(g);f.push(g);g.color||("category"===h.dataClassColor?(b=d.options.colors,g.color=b[u++],u===b.length&&(u=0)):g.color=c.tweenColors(e.color(h.minColor),e.color(h.maxColor),b/(a.dataClasses.length-1)))})},initStops:function(a){this.stops= | ||
| 10 | a.stops||[[0,this.options.minColor],[1,this.options.maxColor]];m(this.stops,function(a){a.color=e.color(a[1])})},toColor:function(a,c){var d=this.stops,f,e,h=this.dataClasses,g,b;if(h)for(b=h.length;b--;){if(g=h[b],f=g.from,d=g.to,(void 0===f||a>=f)&&(void 0===d||a<=d)){e=g.color;c&&(c.dataClass=b);break}}else{this.isLog&&(a=this.val2lin(a));a=1-(this.max-a)/(this.max-this.min);for(b=d.length;b--&&!(a>d[b][0]););f=d[b]||d[b+1];d=d[b+1]||f;a=1-(d[0]-a)/(d[0]-f[0]||1);e=this.tweenColors(f.color,d.color, | ||
| 11 | a)}return e},tweenColors:function(a,c,d){var f;c.rgba.length&&a.rgba.length?(a=a.rgba,c=c.rgba,f=1!==c[3]||1!==a[3],a=(f?"rgba(":"rgb(")+Math.round(c[0]+(a[0]-c[0])*(1-d))+","+Math.round(c[1]+(a[1]-c[1])*(1-d))+","+Math.round(c[2]+(a[2]-c[2])*(1-d))+(f?","+(c[3]+(a[3]-c[3])*(1-d)):"")+")"):a=c.input||"none";return a}};m(["fill","stroke"],function(a){e.Fx.prototype[a+"Setter"]=function(){this.elem.attr(a,n.tweenColors(e.color(this.start),e.color(this.end),this.pos),null,!0)}});e.seriesType("solidgauge", | ||
| 12 | "gauge",{colorByPoint:!0},{translate:function(){var a=this.yAxis;e.extend(a,n);!a.dataClasses&&a.options.dataClasses&&a.initDataClasses(a.options);a.initStops(a.options);e.seriesTypes.gauge.prototype.translate.call(this)},drawPoints:function(){var a=this,c=a.yAxis,d=c.center,f=a.options,e=a.chart.renderer,h=f.overshoot,g=v(h)?h/180*Math.PI:0,b;v(f.threshold)&&(b=c.startAngleRad+c.translate(f.threshold,null,null,null,!0));this.thresholdAngleRad=t(b,c.startAngleRad);m(a.points,function(b){var h=b.graphic, | ||
| 13 | k=c.startAngleRad+c.translate(b.y,null,null,null,!0),m=l(t(b.options.radius,f.radius,100))*d[2]/200,p=l(t(b.options.innerRadius,f.innerRadius,60))*d[2]/200,q=c.toColor(b.y,b),r=Math.min(c.startAngleRad,c.endAngleRad),n=Math.max(c.startAngleRad,c.endAngleRad);"none"===q&&(q=b.color||a.color||"none");"none"!==q&&(b.color=q);k=Math.max(r-g,Math.min(n+g,k));!1===f.wrap&&(k=Math.max(r,Math.min(n,k)));r=Math.min(k,a.thresholdAngleRad);k=Math.max(k,a.thresholdAngleRad);k-r>2*Math.PI&&(k=r+2*Math.PI);b.shapeArgs= | ||
| 14 | p={x:d[0],y:d[1],r:m,innerR:p,start:r,end:k,fill:q};b.startR=m;h?(b=p.d,h.animate(p),b&&(p.d=b)):b.graphic=e.arc(p).addClass("highcharts-point").attr({fill:q,"sweep-flag":0}).add(a.group)})},animate:function(a){a||(this.startAngleRad=this.thresholdAngleRad,e.seriesTypes.pie.prototype.animate.call(this,a))}})})(l)}); |
| 1 | /* | ||
| 2 | Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | X-range series | ||
| 4 | |||
| 5 | (c) 2010-2016 Torstein Honsi, Lars A. V. Cabrera | ||
| 6 | |||
| 7 | --- WORK IN PROGRESS --- | ||
| 8 | |||
| 9 | License: www.highcharts.com/license | ||
| 10 | */ | ||
| 11 | (function(g){"object"===typeof module&&module.exports?module.exports=g:g(Highcharts)})(function(g){(function(c){var g=c.getOptions().plotOptions,m=c.seriesTypes.column,k=c.each,p=c.extendClass,q=c.isNumber,v=c.isObject,n=c.merge,r=c.pick,t=c.seriesTypes,w=c.wrap,x=c.Axis,u=c.Point,y=c.Series;g.xrange=n(g.column,{tooltip:{pointFormat:'\x3cspan style\x3d"color:{point.color}"\x3e\u25cf\x3c/span\x3e {series.name}: \x3cb\x3e{point.yCategory}\x3c/b\x3e\x3cbr/\x3e'}});t.xrange=p(m,{pointClass:p(u,{getLabelConfig:function(){var f= | ||
| 12 | u.prototype.getLabelConfig.call(this);f.x2=this.x2;f.yCategory=this.yCategory=this.series.yAxis.categories&&this.series.yAxis.categories[this.y];return f}}),type:"xrange",forceDL:!0,parallelArrays:["x","x2","y"],requireSorting:!1,animate:t.line.prototype.animate,getColumnMetrics:function(){function f(){k(h.series,function(b){var a=b.xAxis;b.xAxis=b.yAxis;b.yAxis=a})}var d,h=this.chart;f();this.yAxis.closestPointRange=1;d=m.prototype.getColumnMetrics.call(this);f();return d},cropData:function(f,d, | ||
| 13 | h,b){d=y.prototype.cropData.call(this,this.x2Data,d,h,b);d.xData=f.slice(d.start,d.end);return d},translate:function(){m.prototype.translate.apply(this,arguments);var f=this.xAxis,d=this.columnMetrics,h=this.options.minPointLength||0;k(this.points,function(b){var a=b.plotX,e=r(b.x2,b.x+(b.len||0)),e=f.toPixels(e,!0),c=e-a,l;h&&(l=h-c,0>l&&(l=0),a-=l/2,e+=l/2);a=Math.max(a,-10);e=Math.min(Math.max(e,-10),f.len+10);b.shapeArgs={x:a,y:b.plotY+d.offset,width:e-a,height:d.width};b.tooltipPos[0]+=c/2;b.tooltipPos[1]-= | ||
| 14 | d.width/2;if(e=b.partialFill)v(e)&&(e=e.amount),q(e)||(e=0),a=b.shapeArgs,b.partShapeArgs={x:a.x,y:a.y+1,width:a.width*e,height:a.height-2}})},drawPoints:function(){var f=this,d=this.chart,c=d.renderer,b=d.pointCount<(f.options.animationLimit||250)?"animate":"attr";k(f.points,function(a){var e=a.graphic,d=a.shapeType,h=a.shapeArgs,g=a.partShapeArgs;if(q(a.plotY)&&null!==a.y)if(e){if(a.graphicOriginal[b](n(h)),g)a.graphicOverlay[b](n(g))}else a.graphic=e=c.g("point").attr({"class":a.getClassName()}).add(a.group|| | ||
| 15 | f.group),a.graphicOriginal=c[d](h).addClass("highcharts-partfill-original").add(e),g&&(a.graphicOverlay=c[d](g).addClass("highcharts-partfill-overlay").add(e));else e&&(a.graphic=e.destroy())})}});w(x.prototype,"getSeriesExtremes",function(c){var d=this.series,f,b;c.call(this);this.isXAxis&&"xrange"===d.type&&(f=r(this.dataMax,Number.MIN_VALUE),k(this.series,function(a){k(a.x2Data||[],function(a){a>f&&(f=a,b=!0)})}),b&&(this.dataMax=f))})})(g)}); |
| 1 | /** | ||
| 2 | * @license Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | * X-range series | ||
| 4 | * | ||
| 5 | * (c) 2010-2016 Torstein Honsi, Lars A. V. Cabrera | ||
| 6 | * | ||
| 7 | * --- WORK IN PROGRESS --- | ||
| 8 | * | ||
| 9 | * License: www.highcharts.com/license | ||
| 10 | */ | ||
| 11 | (function(factory) { | ||
| 12 | if (typeof module === 'object' && module.exports) { | ||
| 13 | module.exports = factory; | ||
| 14 | } else { | ||
| 15 | factory(Highcharts); | ||
| 16 | } | ||
| 17 | }(function(Highcharts) { | ||
| 18 | (function(H) { | ||
| 19 | /** | ||
| 20 | * (c) 2014-2016 Highsoft AS | ||
| 21 | * Authors: Torstein Honsi, Lars A. V. Cabrera | ||
| 22 | * | ||
| 23 | * License: www.highcharts.com/license | ||
| 24 | */ | ||
| 25 | 'use strict'; | ||
| 26 | |||
| 27 | var defaultPlotOptions = H.getOptions().plotOptions, | ||
| 28 | color = H.Color, | ||
| 29 | columnType = H.seriesTypes.column, | ||
| 30 | each = H.each, | ||
| 31 | extendClass = H.extendClass, | ||
| 32 | isNumber = H.isNumber, | ||
| 33 | isObject = H.isObject, | ||
| 34 | merge = H.merge, | ||
| 35 | pick = H.pick, | ||
| 36 | seriesTypes = H.seriesTypes, | ||
| 37 | wrap = H.wrap, | ||
| 38 | Axis = H.Axis, | ||
| 39 | Point = H.Point, | ||
| 40 | Series = H.Series, | ||
| 41 | pointFormat = '<span style="color:{point.color}">' + | ||
| 42 | '\u25CF' + | ||
| 43 | '</span> {series.name}: <b>{point.yCategory}</b><br/>', | ||
| 44 | xrange = 'xrange'; | ||
| 45 | |||
| 46 | defaultPlotOptions.xrange = merge(defaultPlotOptions.column, { | ||
| 47 | tooltip: { | ||
| 48 | pointFormat: pointFormat | ||
| 49 | } | ||
| 50 | }); | ||
| 51 | seriesTypes.xrange = extendClass(columnType, { | ||
| 52 | pointClass: extendClass(Point, { | ||
| 53 | // Add x2 and yCategory to the available properties for tooltip formats | ||
| 54 | getLabelConfig: function() { | ||
| 55 | var cfg = Point.prototype.getLabelConfig.call(this); | ||
| 56 | |||
| 57 | cfg.x2 = this.x2; | ||
| 58 | cfg.yCategory = this.yCategory = this.series.yAxis.categories && this.series.yAxis.categories[this.y]; | ||
| 59 | return cfg; | ||
| 60 | } | ||
| 61 | }), | ||
| 62 | type: xrange, | ||
| 63 | forceDL: true, | ||
| 64 | parallelArrays: ['x', 'x2', 'y'], | ||
| 65 | requireSorting: false, | ||
| 66 | animate: seriesTypes.line.prototype.animate, | ||
| 67 | |||
| 68 | /** | ||
| 69 | * Borrow the column series metrics, but with swapped axes. This gives free access | ||
| 70 | * to features like groupPadding, grouping, pointWidth etc. | ||
| 71 | */ | ||
| 72 | getColumnMetrics: function() { | ||
| 73 | var metrics, | ||
| 74 | chart = this.chart; | ||
| 75 | |||
| 76 | function swapAxes() { | ||
| 77 | each(chart.series, function(s) { | ||
| 78 | var xAxis = s.xAxis; | ||
| 79 | s.xAxis = s.yAxis; | ||
| 80 | s.yAxis = xAxis; | ||
| 81 | }); | ||
| 82 | } | ||
| 83 | |||
| 84 | swapAxes(); | ||
| 85 | |||
| 86 | this.yAxis.closestPointRange = 1; | ||
| 87 | metrics = columnType.prototype.getColumnMetrics.call(this); | ||
| 88 | |||
| 89 | swapAxes(); | ||
| 90 | |||
| 91 | return metrics; | ||
| 92 | }, | ||
| 93 | |||
| 94 | /** | ||
| 95 | * Override cropData to show a point where x is outside visible range | ||
| 96 | * but x2 is outside. | ||
| 97 | */ | ||
| 98 | cropData: function(xData, yData, min, max) { | ||
| 99 | |||
| 100 | // Replace xData with x2Data to find the appropriate cropStart | ||
| 101 | var cropData = Series.prototype.cropData, | ||
| 102 | crop = cropData.call(this, this.x2Data, yData, min, max); | ||
| 103 | |||
| 104 | // Re-insert the cropped xData | ||
| 105 | crop.xData = xData.slice(crop.start, crop.end); | ||
| 106 | |||
| 107 | return crop; | ||
| 108 | }, | ||
| 109 | |||
| 110 | translate: function() { | ||
| 111 | columnType.prototype.translate.apply(this, arguments); | ||
| 112 | var series = this, | ||
| 113 | xAxis = series.xAxis, | ||
| 114 | metrics = series.columnMetrics, | ||
| 115 | minPointLength = series.options.minPointLength || 0; | ||
| 116 | |||
| 117 | each(series.points, function(point) { | ||
| 118 | var plotX = point.plotX, | ||
| 119 | posX = pick(point.x2, point.x + (point.len || 0)), | ||
| 120 | plotX2 = xAxis.toPixels(posX, true), | ||
| 121 | width = plotX2 - plotX, | ||
| 122 | widthDifference, | ||
| 123 | shapeArgs, | ||
| 124 | partialFill; | ||
| 125 | |||
| 126 | if (minPointLength) { | ||
| 127 | widthDifference = minPointLength - width; | ||
| 128 | if (widthDifference < 0) { | ||
| 129 | widthDifference = 0; | ||
| 130 | } | ||
| 131 | plotX -= widthDifference / 2; | ||
| 132 | plotX2 += widthDifference / 2; | ||
| 133 | } | ||
| 134 | |||
| 135 | plotX = Math.max(plotX, -10); | ||
| 136 | plotX2 = Math.min(Math.max(plotX2, -10), xAxis.len + 10); | ||
| 137 | |||
| 138 | point.shapeArgs = { | ||
| 139 | x: plotX, | ||
| 140 | y: point.plotY + metrics.offset, | ||
| 141 | width: plotX2 - plotX, | ||
| 142 | height: metrics.width | ||
| 143 | }; | ||
| 144 | point.tooltipPos[0] += width / 2; | ||
| 145 | point.tooltipPos[1] -= metrics.width / 2; | ||
| 146 | |||
| 147 | // Add a partShapeArgs to the point, based on the shapeArgs property | ||
| 148 | partialFill = point.partialFill; | ||
| 149 | if (partialFill) { | ||
| 150 | // Get the partial fill amount | ||
| 151 | if (isObject(partialFill)) { | ||
| 152 | partialFill = partialFill.amount; | ||
| 153 | } | ||
| 154 | // If it was not a number, assume 0 | ||
| 155 | if (!isNumber(partialFill)) { | ||
| 156 | partialFill = 0; | ||
| 157 | } | ||
| 158 | shapeArgs = point.shapeArgs; | ||
| 159 | point.partShapeArgs = { | ||
| 160 | x: shapeArgs.x, | ||
| 161 | y: shapeArgs.y + 1, | ||
| 162 | width: shapeArgs.width * partialFill, | ||
| 163 | height: shapeArgs.height - 2 | ||
| 164 | }; | ||
| 165 | } | ||
| 166 | }); | ||
| 167 | }, | ||
| 168 | |||
| 169 | drawPoints: function() { | ||
| 170 | var series = this, | ||
| 171 | chart = this.chart, | ||
| 172 | options = series.options, | ||
| 173 | renderer = chart.renderer, | ||
| 174 | animationLimit = options.animationLimit || 250, | ||
| 175 | verb = chart.pointCount < animationLimit ? 'animate' : 'attr'; | ||
| 176 | |||
| 177 | // draw the columns | ||
| 178 | each(series.points, function(point) { | ||
| 179 | var plotY = point.plotY, | ||
| 180 | graphic = point.graphic, | ||
| 181 | type = point.shapeType, | ||
| 182 | shapeArgs = point.shapeArgs, | ||
| 183 | partShapeArgs = point.partShapeArgs, | ||
| 184 | seriesOpts = series.options, | ||
| 185 | pfOptions = point.partialFill, | ||
| 186 | fill, | ||
| 187 | state = point.selected && 'select', | ||
| 188 | cutOff = options.stacking && !options.borderRadius; | ||
| 189 | |||
| 190 | if (isNumber(plotY) && point.y !== null) { | ||
| 191 | if (graphic) { // update | ||
| 192 | point.graphicOriginal[verb]( | ||
| 193 | merge(shapeArgs) | ||
| 194 | ); | ||
| 195 | if (partShapeArgs) { | ||
| 196 | point.graphicOverlay[verb]( | ||
| 197 | merge(partShapeArgs) | ||
| 198 | ); | ||
| 199 | } | ||
| 200 | |||
| 201 | } else { | ||
| 202 | point.graphic = graphic = renderer.g('point') | ||
| 203 | .attr({ | ||
| 204 | 'class': point.getClassName() | ||
| 205 | }) | ||
| 206 | .add(point.group || series.group); | ||
| 207 | |||
| 208 | point.graphicOriginal = renderer[type](shapeArgs) | ||
| 209 | .addClass('highcharts-partfill-original') | ||
| 210 | .add(graphic); | ||
| 211 | if (partShapeArgs) { | ||
| 212 | point.graphicOverlay = renderer[type](partShapeArgs) | ||
| 213 | .addClass('highcharts-partfill-overlay') | ||
| 214 | .add(graphic); | ||
| 215 | } | ||
| 216 | } | ||
| 217 | |||
| 218 | |||
| 219 | |||
| 220 | } else if (graphic) { | ||
| 221 | point.graphic = graphic.destroy(); // #1269 | ||
| 222 | } | ||
| 223 | }); | ||
| 224 | } | ||
| 225 | }); | ||
| 226 | |||
| 227 | /** | ||
| 228 | * Max x2 should be considered in xAxis extremes | ||
| 229 | */ | ||
| 230 | wrap(Axis.prototype, 'getSeriesExtremes', function(proceed) { | ||
| 231 | var axis = this, | ||
| 232 | series = axis.series, | ||
| 233 | dataMax, | ||
| 234 | modMax; | ||
| 235 | |||
| 236 | proceed.call(this); | ||
| 237 | if (axis.isXAxis && series.type === xrange) { | ||
| 238 | dataMax = pick(axis.dataMax, Number.MIN_VALUE); | ||
| 239 | each(this.series, function(series) { | ||
| 240 | each(series.x2Data || [], function(val) { | ||
| 241 | if (val > dataMax) { | ||
| 242 | dataMax = val; | ||
| 243 | modMax = true; | ||
| 244 | } | ||
| 245 | }); | ||
| 246 | }); | ||
| 247 | if (modMax) { | ||
| 248 | axis.dataMax = dataMax; | ||
| 249 | } | ||
| 250 | } | ||
| 251 | }); | ||
| 252 | |||
| 253 | }(Highcharts)); | ||
| 254 | })); |
| 1 | /** | ||
| 2 | * @license Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | * | ||
| 4 | * (c) 2009-2016 Torstein Honsi | ||
| 5 | * | ||
| 6 | * License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(factory) { | ||
| 9 | if (typeof module === 'object' && module.exports) { | ||
| 10 | module.exports = factory; | ||
| 11 | } else { | ||
| 12 | factory(Highcharts); | ||
| 13 | } | ||
| 14 | }(function(Highcharts) { | ||
| 15 | (function(Highcharts) { | ||
| 16 | /** | ||
| 17 | * (c) 2010-2016 Torstein Honsi | ||
| 18 | * | ||
| 19 | * License: www.highcharts.com/license | ||
| 20 | * | ||
| 21 | * Dark blue theme for Highcharts JS | ||
| 22 | * @author Torstein Honsi | ||
| 23 | */ | ||
| 24 | 'use strict'; | ||
| 25 | Highcharts.theme = { | ||
| 26 | colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', | ||
| 27 | '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' | ||
| 28 | ], | ||
| 29 | chart: { | ||
| 30 | backgroundColor: { | ||
| 31 | linearGradient: { | ||
| 32 | x1: 0, | ||
| 33 | y1: 0, | ||
| 34 | x2: 1, | ||
| 35 | y2: 1 | ||
| 36 | }, | ||
| 37 | stops: [ | ||
| 38 | [0, 'rgb(48, 48, 96)'], | ||
| 39 | [1, 'rgb(0, 0, 0)'] | ||
| 40 | ] | ||
| 41 | }, | ||
| 42 | borderColor: '#000000', | ||
| 43 | borderWidth: 2, | ||
| 44 | className: 'dark-container', | ||
| 45 | plotBackgroundColor: 'rgba(255, 255, 255, .1)', | ||
| 46 | plotBorderColor: '#CCCCCC', | ||
| 47 | plotBorderWidth: 1 | ||
| 48 | }, | ||
| 49 | title: { | ||
| 50 | style: { | ||
| 51 | color: '#C0C0C0', | ||
| 52 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' | ||
| 53 | } | ||
| 54 | }, | ||
| 55 | subtitle: { | ||
| 56 | style: { | ||
| 57 | color: '#666666', | ||
| 58 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' | ||
| 59 | } | ||
| 60 | }, | ||
| 61 | xAxis: { | ||
| 62 | gridLineColor: '#333333', | ||
| 63 | gridLineWidth: 1, | ||
| 64 | labels: { | ||
| 65 | style: { | ||
| 66 | color: '#A0A0A0' | ||
| 67 | } | ||
| 68 | }, | ||
| 69 | lineColor: '#A0A0A0', | ||
| 70 | tickColor: '#A0A0A0', | ||
| 71 | title: { | ||
| 72 | style: { | ||
| 73 | color: '#CCC', | ||
| 74 | fontWeight: 'bold', | ||
| 75 | fontSize: '12px', | ||
| 76 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' | ||
| 77 | |||
| 78 | } | ||
| 79 | } | ||
| 80 | }, | ||
| 81 | yAxis: { | ||
| 82 | gridLineColor: '#333333', | ||
| 83 | labels: { | ||
| 84 | style: { | ||
| 85 | color: '#A0A0A0' | ||
| 86 | } | ||
| 87 | }, | ||
| 88 | lineColor: '#A0A0A0', | ||
| 89 | minorTickInterval: null, | ||
| 90 | tickColor: '#A0A0A0', | ||
| 91 | tickWidth: 1, | ||
| 92 | title: { | ||
| 93 | style: { | ||
| 94 | color: '#CCC', | ||
| 95 | fontWeight: 'bold', | ||
| 96 | fontSize: '12px', | ||
| 97 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' | ||
| 98 | } | ||
| 99 | } | ||
| 100 | }, | ||
| 101 | tooltip: { | ||
| 102 | backgroundColor: 'rgba(0, 0, 0, 0.75)', | ||
| 103 | style: { | ||
| 104 | color: '#F0F0F0' | ||
| 105 | } | ||
| 106 | }, | ||
| 107 | toolbar: { | ||
| 108 | itemStyle: { | ||
| 109 | color: 'silver' | ||
| 110 | } | ||
| 111 | }, | ||
| 112 | plotOptions: { | ||
| 113 | line: { | ||
| 114 | dataLabels: { | ||
| 115 | color: '#CCC' | ||
| 116 | }, | ||
| 117 | marker: { | ||
| 118 | lineColor: '#333' | ||
| 119 | } | ||
| 120 | }, | ||
| 121 | spline: { | ||
| 122 | marker: { | ||
| 123 | lineColor: '#333' | ||
| 124 | } | ||
| 125 | }, | ||
| 126 | scatter: { | ||
| 127 | marker: { | ||
| 128 | lineColor: '#333' | ||
| 129 | } | ||
| 130 | }, | ||
| 131 | candlestick: { | ||
| 132 | lineColor: 'white' | ||
| 133 | } | ||
| 134 | }, | ||
| 135 | legend: { | ||
| 136 | itemStyle: { | ||
| 137 | font: '9pt Trebuchet MS, Verdana, sans-serif', | ||
| 138 | color: '#A0A0A0' | ||
| 139 | }, | ||
| 140 | itemHoverStyle: { | ||
| 141 | color: '#FFF' | ||
| 142 | }, | ||
| 143 | itemHiddenStyle: { | ||
| 144 | color: '#444' | ||
| 145 | } | ||
| 146 | }, | ||
| 147 | credits: { | ||
| 148 | style: { | ||
| 149 | color: '#666' | ||
| 150 | } | ||
| 151 | }, | ||
| 152 | labels: { | ||
| 153 | style: { | ||
| 154 | color: '#CCC' | ||
| 155 | } | ||
| 156 | }, | ||
| 157 | |||
| 158 | navigation: { | ||
| 159 | buttonOptions: { | ||
| 160 | symbolStroke: '#DDDDDD', | ||
| 161 | hoverSymbolStroke: '#FFFFFF', | ||
| 162 | theme: { | ||
| 163 | fill: { | ||
| 164 | linearGradient: { | ||
| 165 | x1: 0, | ||
| 166 | y1: 0, | ||
| 167 | x2: 0, | ||
| 168 | y2: 1 | ||
| 169 | }, | ||
| 170 | stops: [ | ||
| 171 | [0.4, '#606060'], | ||
| 172 | [0.6, '#333333'] | ||
| 173 | ] | ||
| 174 | }, | ||
| 175 | stroke: '#000000' | ||
| 176 | } | ||
| 177 | } | ||
| 178 | }, | ||
| 179 | |||
| 180 | // scroll charts | ||
| 181 | rangeSelector: { | ||
| 182 | buttonTheme: { | ||
| 183 | fill: { | ||
| 184 | linearGradient: { | ||
| 185 | x1: 0, | ||
| 186 | y1: 0, | ||
| 187 | x2: 0, | ||
| 188 | y2: 1 | ||
| 189 | }, | ||
| 190 | stops: [ | ||
| 191 | [0.4, '#888'], | ||
| 192 | [0.6, '#555'] | ||
| 193 | ] | ||
| 194 | }, | ||
| 195 | stroke: '#000000', | ||
| 196 | style: { | ||
| 197 | color: '#CCC', | ||
| 198 | fontWeight: 'bold' | ||
| 199 | }, | ||
| 200 | states: { | ||
| 201 | hover: { | ||
| 202 | fill: { | ||
| 203 | linearGradient: { | ||
| 204 | x1: 0, | ||
| 205 | y1: 0, | ||
| 206 | x2: 0, | ||
| 207 | y2: 1 | ||
| 208 | }, | ||
| 209 | stops: [ | ||
| 210 | [0.4, '#BBB'], | ||
| 211 | [0.6, '#888'] | ||
| 212 | ] | ||
| 213 | }, | ||
| 214 | stroke: '#000000', | ||
| 215 | style: { | ||
| 216 | color: 'white' | ||
| 217 | } | ||
| 218 | }, | ||
| 219 | select: { | ||
| 220 | fill: { | ||
| 221 | linearGradient: { | ||
| 222 | x1: 0, | ||
| 223 | y1: 0, | ||
| 224 | x2: 0, | ||
| 225 | y2: 1 | ||
| 226 | }, | ||
| 227 | stops: [ | ||
| 228 | [0.1, '#000'], | ||
| 229 | [0.3, '#333'] | ||
| 230 | ] | ||
| 231 | }, | ||
| 232 | stroke: '#000000', | ||
| 233 | style: { | ||
| 234 | color: 'yellow' | ||
| 235 | } | ||
| 236 | } | ||
| 237 | } | ||
| 238 | }, | ||
| 239 | inputStyle: { | ||
| 240 | backgroundColor: '#333', | ||
| 241 | color: 'silver' | ||
| 242 | }, | ||
| 243 | labelStyle: { | ||
| 244 | color: 'silver' | ||
| 245 | } | ||
| 246 | }, | ||
| 247 | |||
| 248 | navigator: { | ||
| 249 | handles: { | ||
| 250 | backgroundColor: '#666', | ||
| 251 | borderColor: '#AAA' | ||
| 252 | }, | ||
| 253 | outlineColor: '#CCC', | ||
| 254 | maskFill: 'rgba(16, 16, 16, 0.5)', | ||
| 255 | series: { | ||
| 256 | color: '#7798BF', | ||
| 257 | lineColor: '#A6C7ED' | ||
| 258 | } | ||
| 259 | }, | ||
| 260 | |||
| 261 | scrollbar: { | ||
| 262 | barBackgroundColor: { | ||
| 263 | linearGradient: { | ||
| 264 | x1: 0, | ||
| 265 | y1: 0, | ||
| 266 | x2: 0, | ||
| 267 | y2: 1 | ||
| 268 | }, | ||
| 269 | stops: [ | ||
| 270 | [0.4, '#888'], | ||
| 271 | [0.6, '#555'] | ||
| 272 | ] | ||
| 273 | }, | ||
| 274 | barBorderColor: '#CCC', | ||
| 275 | buttonArrowColor: '#CCC', | ||
| 276 | buttonBackgroundColor: { | ||
| 277 | linearGradient: { | ||
| 278 | x1: 0, | ||
| 279 | y1: 0, | ||
| 280 | x2: 0, | ||
| 281 | y2: 1 | ||
| 282 | }, | ||
| 283 | stops: [ | ||
| 284 | [0.4, '#888'], | ||
| 285 | [0.6, '#555'] | ||
| 286 | ] | ||
| 287 | }, | ||
| 288 | buttonBorderColor: '#CCC', | ||
| 289 | rifleColor: '#FFF', | ||
| 290 | trackBackgroundColor: { | ||
| 291 | linearGradient: { | ||
| 292 | x1: 0, | ||
| 293 | y1: 0, | ||
| 294 | x2: 0, | ||
| 295 | y2: 1 | ||
| 296 | }, | ||
| 297 | stops: [ | ||
| 298 | [0, '#000'], | ||
| 299 | [1, '#333'] | ||
| 300 | ] | ||
| 301 | }, | ||
| 302 | trackBorderColor: '#666' | ||
| 303 | }, | ||
| 304 | |||
| 305 | // special colors for some of the | ||
| 306 | legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', | ||
| 307 | background2: 'rgb(35, 35, 70)', | ||
| 308 | dataLabelsColor: '#444', | ||
| 309 | textColor: '#C0C0C0', | ||
| 310 | maskColor: 'rgba(255,255,255,0.3)' | ||
| 311 | }; | ||
| 312 | |||
| 313 | // Apply the theme | ||
| 314 | Highcharts.setOptions(Highcharts.theme); | ||
| 315 | |||
| 316 | }(Highcharts)); | ||
| 317 | })); |
| 1 | /** | ||
| 2 | * @license Highcharts JS v5.0.6 (2016-12-07) | ||
| 3 | * | ||
| 4 | * (c) 2009-2016 Torstein Honsi | ||
| 5 | * | ||
| 6 | * License: www.highcharts.com/license | ||
| 7 | */ | ||
| 8 | (function(factory) { | ||
| 9 | if (typeof module === 'object' && module.exports) { | ||
| 10 | module.exports = factory; | ||
| 11 | } else { | ||
| 12 | factory(Highcharts); | ||
| 13 | } | ||
| 14 | }(function(Highcharts) { | ||
| 15 | (function(Highcharts) { | ||
| 16 | /** | ||
| 17 | * (c) 2010-2016 Torstein Honsi | ||
| 18 | * | ||
| 19 | * License: www.highcharts.com/license | ||
| 20 | * | ||
| 21 | * Dark blue theme for Highcharts JS | ||
| 22 | * @author Torstein Honsi | ||
| 23 | */ | ||
| 24 | |||
| 25 | 'use strict'; | ||
| 26 | Highcharts.theme = { | ||
| 27 | colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', | ||
| 28 | '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' | ||
| 29 | ], | ||
| 30 | chart: { | ||
| 31 | backgroundColor: { | ||
| 32 | linearGradient: [0, 0, 250, 500], | ||
| 33 | stops: [ | ||
| 34 | [0, 'rgb(48, 96, 48)'], | ||
| 35 | [1, 'rgb(0, 0, 0)'] | ||
| 36 | ] | ||
| 37 | }, | ||
| 38 | borderColor: '#000000', | ||
| 39 | borderWidth: 2, | ||
| 40 | className: 'dark-container', | ||
| 41 | plotBackgroundColor: 'rgba(255, 255, 255, .1)', | ||
| 42 | plotBorderColor: '#CCCCCC', | ||
| 43 | plotBorderWidth: 1 | ||
| 44 | }, | ||
| 45 | title: { | ||
| 46 | style: { | ||
| 47 | color: '#C0C0C0', | ||
| 48 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' | ||
| 49 | } | ||
| 50 | }, | ||
| 51 | subtitle: { | ||
| 52 | style: { | ||
| 53 | color: '#666666', | ||
| 54 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' | ||
| 55 | } | ||
| 56 | }, | ||
| 57 | xAxis: { | ||
| 58 | gridLineColor: '#333333', | ||
| 59 | gridLineWidth: 1, | ||
| 60 | labels: { | ||
| 61 | style: { | ||
| 62 | color: '#A0A0A0' | ||
| 63 | } | ||
| 64 | }, | ||
| 65 | lineColor: '#A0A0A0', | ||
| 66 | tickColor: '#A0A0A0', | ||
| 67 | title: { | ||
| 68 | style: { | ||
| 69 | color: '#CCC', | ||
| 70 | fontWeight: 'bold', | ||
| 71 | fontSize: '12px', | ||
| 72 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' | ||
| 73 | |||
| 74 | } | ||
| 75 | } | ||
| 76 | }, | ||
| 77 | yAxis: { | ||
| 78 | gridLineColor: '#333333', | ||
| 79 | labels: { | ||
| 80 | style: { | ||
| 81 | color: '#A0A0A0' | ||
| 82 | } | ||
| 83 | }, | ||
| 84 | lineColor: '#A0A0A0', | ||
| 85 | minorTickInterval: null, | ||
| 86 | tickColor: '#A0A0A0', | ||
| 87 | tickWidth: 1, | ||
| 88 | title: { | ||
| 89 | style: { | ||
| 90 | color: '#CCC', | ||
| 91 | fontWeight: 'bold', | ||
| 92 | fontSize: '12px', | ||
| 93 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' | ||
| 94 | } | ||
| 95 | } | ||
| 96 | }, | ||
| 97 | tooltip: { | ||
| 98 | backgroundColor: 'rgba(0, 0, 0, 0.75)', | ||
| 99 | style: { | ||
| 100 | color: '#F0F0F0' | ||
| 101 | } | ||
| 102 | }, | ||
| 103 | toolbar: { | ||
| 104 | itemStyle: { | ||
| 105 | color: 'silver' | ||
| 106 | } | ||
| 107 | }, | ||
| 108 | plotOptions: { | ||
| 109 | line: { | ||
| 110 | dataLabels: { | ||
| 111 | color: '#CCC' | ||
| 112 | }, | ||
| 113 | marker: { | ||
| 114 | lineColor: '#333' | ||
| 115 | } | ||
| 116 | }, | ||
| 117 | spline: { | ||
| 118 | marker: { | ||
| 119 | lineColor: '#333' | ||
| 120 | } | ||
| 121 | }, | ||
| 122 | scatter: { | ||
| 123 | marker: { | ||
| 124 | lineColor: '#333' | ||
| 125 | } | ||
| 126 | }, | ||
| 127 | candlestick: { | ||
| 128 | lineColor: 'white' | ||
| 129 | } | ||
| 130 | }, | ||
| 131 | legend: { | ||
| 132 | itemStyle: { | ||
| 133 | font: '9pt Trebuchet MS, Verdana, sans-serif', | ||
| 134 | color: '#A0A0A0' | ||
| 135 | }, | ||
| 136 | itemHoverStyle: { | ||
| 137 | color: '#FFF' | ||
| 138 | }, | ||
| 139 | itemHiddenStyle: { | ||
| 140 | color: '#444' | ||
| 141 | } | ||
| 142 | }, | ||
| 143 | credits: { | ||
| 144 | style: { | ||
| 145 | color: '#666' | ||
| 146 | } | ||
| 147 | }, | ||
| 148 | labels: { | ||
| 149 | style: { | ||
| 150 | color: '#CCC' | ||
| 151 | } | ||
| 152 | }, | ||
| 153 | |||
| 154 | |||
| 155 | navigation: { | ||
| 156 | buttonOptions: { | ||
| 157 | symbolStroke: '#DDDDDD', | ||
| 158 | hoverSymbolStroke: '#FFFFFF', | ||
| 159 | theme: { | ||
| 160 | fill: { | ||
| 161 | linearGradient: { | ||
| 162 | x1: 0, | ||
| 163 | y1: 0, | ||
| 164 | x2: 0, | ||
| 165 | y2: 1 | ||
| 166 | }, | ||
| 167 | stops: [ | ||
| 168 | [0.4, '#606060'], | ||
| 169 | [0.6, '#333333'] | ||
| 170 | ] | ||
| 171 | }, | ||
| 172 | stroke: '#000000' | ||
| 173 | } | ||
| 174 | } | ||
| 175 | }, | ||
| 176 | |||
| 177 | // scroll charts | ||
| 178 | rangeSelector: { | ||
| 179 | buttonTheme: { | ||
| 180 | fill: { | ||
| 181 | linearGradient: { | ||
| 182 | x1: 0, | ||
| 183 | y1: 0, | ||
| 184 | x2: 0, | ||
| 185 | y2: 1 | ||
| 186 | }, | ||
| 187 | stops: [ | ||
| 188 | [0.4, '#888'], | ||
| 189 | [0.6, '#555'] | ||
| 190 | ] | ||
| 191 | }, | ||
| 192 | stroke: '#000000', | ||
| 193 | style: { | ||
| 194 | color: '#CCC', | ||
| 195 | fontWeight: 'bold' | ||
| 196 | }, | ||
| 197 | states: { | ||
| 198 | hover: { | ||
| 199 | fill: { | ||
| 200 | linearGradient: { | ||
| 201 | x1: 0, | ||
| 202 | y1: 0, | ||
| 203 | x2: 0, | ||
| 204 | y2: 1 | ||
| 205 | }, | ||
| 206 | stops: [ | ||
| 207 | [0.4, '#BBB'], | ||
| 208 | [0.6, '#888'] | ||
| 209 | ] | ||
| 210 | }, | ||
| 211 | stroke: '#000000', | ||
| 212 | style: { | ||
| 213 | color: 'white' | ||
| 214 | } | ||
| 215 | }, | ||
| 216 | select: { | ||
| 217 | fill: { | ||
| 218 | linearGradient: { | ||
| 219 | x1: 0, | ||
| 220 | y1: 0, | ||
| 221 | x2: 0, | ||
| 222 | y2: 1 | ||
| 223 | }, | ||
| 224 | stops: [ | ||
| 225 | [0.1, '#000'], | ||
| 226 | [0.3, '#333'] | ||
| 227 | ] | ||
| 228 | }, | ||
| 229 | stroke: '#000000', | ||
| 230 | style: { | ||
| 231 | color: 'yellow' | ||
| 232 | } | ||
| 233 | } | ||
| 234 | } | ||
| 235 | }, | ||
| 236 | inputStyle: { | ||
| 237 | backgroundColor: '#333', | ||
| 238 | color: 'silver' | ||
| 239 | }, | ||
| 240 | labelStyle: { | ||
| 241 | color: 'silver' | ||
| 242 | } | ||
| 243 | }, | ||
| 244 | |||
| 245 | navigator: { | ||
| 246 | handles: { | ||
| 247 | backgroundColor: '#666', | ||
| 248 | borderColor: '#AAA' | ||
| 249 | }, | ||
| 250 | outlineColor: '#CCC', | ||
| 251 | maskFill: 'rgba(16, 16, 16, 0.5)', | ||
| 252 | series: { | ||
| 253 | color: '#7798BF', | ||
| 254 | lineColor: '#A6C7ED' | ||
| 255 | } | ||
| 256 | }, | ||
| 257 | |||
| 258 | scrollbar: { | ||
| 259 | barBackgroundColor: { | ||
| 260 | linearGradient: { | ||
| 261 | x1: 0, | ||
| 262 | y1: 0, | ||
| 263 | x2: 0, | ||
| 264 | y2: 1 | ||
| 265 | }, | ||
| 266 | stops: [ | ||
| 267 | [0.4, '#888'], | ||
| 268 | [0.6, '#555'] | ||
| 269 | ] | ||
| 270 | }, | ||
| 271 | barBorderColor: '#CCC', | ||
| 272 | buttonArrowColor: '#CCC', | ||
| 273 | buttonBackgroundColor: { | ||
| 274 | linearGradient: { | ||
| 275 | x1: 0, | ||
| 276 | y1: 0, | ||
| 277 | x2: 0, | ||
| 278 | y2: 1 | ||
| 279 | }, | ||
| 280 | stops: [ | ||
| 281 | [0.4, '#888'], | ||
| 282 | [0.6, '#555'] | ||
| 283 | ] | ||
| 284 | }, | ||
| 285 | buttonBorderColor: '#CCC', | ||
| 286 | rifleColor: '#FFF', | ||
| 287 | trackBackgroundColor: { | ||
| 288 | linearGradient: { | ||
| 289 | x1: 0, | ||
| 290 | y1: 0, | ||
| 291 | x2: 0, | ||
| 292 | y2: 1 | ||
| 293 | }, | ||
| 294 | stops: [ | ||
| 295 | [0, '#000'], | ||
| 296 | [1, '#333'] | ||
| 297 | ] | ||
| 298 | }, | ||
| 299 | trackBorderColor: '#666' | ||
| 300 | }, | ||
| 301 | |||
| 302 | // special colors for some of the | ||
| 303 | legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', | ||
| 304 | background2: 'rgb(35, 35, 70)', | ||
| 305 | dataLabelsColor: '#444', | ||
| 306 | textColor: '#C0C0C0', | ||
| 307 | maskColor: 'rgba(255,255,255,0.3)' | ||
| 308 | }; | ||
| 309 | |||
| 310 | // Apply the theme | ||
| 311 | Highcharts.setOptions(Highcharts.theme); | ||
| 312 | |||
| 313 | }(Highcharts)); | ||
| 314 | })); |
5.77 KB
11.2 KB
5.66 KB
701 Bytes
1.75 KB
280 Bytes
8.28 KB
1.32 KB
1.33 KB
923 Bytes
841 Bytes
1012 Bytes
949 Bytes
950 Bytes
986 Bytes
1001 Bytes
996 Bytes
1001 Bytes
1009 Bytes
1007 Bytes
970 Bytes
1005 Bytes
1.03 KB
3.63 KB
2.74 KB
19.6 KB
43 KB
453 Bytes
2.62 KB
1.63 KB
1.24 KB
445 Bytes
1.58 KB
2.74 KB
1.58 KB
24.7 KB
18.8 KB
22.5 KB
7.64 KB
8.15 KB
46 KB
43 Bytes
26.5 KB
8.4 KB
18 KB
39.8 KB
216 Bytes
19.3 KB
48.7 KB
27.7 KB
15.7 KB
2.74 KB
453 Bytes
2.62 KB
1.63 KB
1.24 KB
445 Bytes
1.58 KB
628 Bytes
608 Bytes
516 Bytes
578 Bytes
519 Bytes
657 Bytes
42.3 KB
454 Bytes
536 Bytes
435 Bytes
330 Bytes
775 Bytes
444 Bytes
511 Bytes
304 Bytes
84 Bytes
250 Bytes
291 Bytes
394 Bytes
485 Bytes
393 Bytes
2.74 KB
11.5 KB
19.6 KB
43 KB
453 Bytes
2.62 KB
1.63 KB
11.2 KB
11.3 KB
1.24 KB
11.1 KB
445 Bytes
1.58 KB
3.29 KB
743 Bytes
743 Bytes
3.76 KB
4.81 KB
1.19 KB
649 Bytes
664 Bytes
3.66 KB
3.01 KB
89.4 KB
719 Bytes
952 Bytes
754 Bytes
1007 Bytes
3.85 KB
4.22 KB
6.82 KB
22.6 KB
6.45 KB
184 Bytes
1.15 KB
1.57 KB
1.61 KB
1.09 KB
1.2 KB
518 Bytes
253 Bytes
175 Bytes
370 Bytes
177 Bytes
938 Bytes
4.18 KB
111 Bytes
3.66 KB
20.5 KB
19.2 KB
3.13 KB
734 Bytes
1.04 KB
216 Bytes
54 Bytes
167 Bytes
2.78 KB
43 Bytes
122 Bytes
1.8 KB
16.9 KB
170 Bytes
111 Bytes
6.45 KB
1.57 KB
1019 Bytes
6.32 KB
2.78 KB
2.62 KB
1.63 KB
1.24 KB
1.58 KB
1.7 KB
3.86 KB
35.7 KB
1.52 KB
1.86 KB
177 Bytes
1.32 KB
148 Bytes
26.7 KB
625 Bytes
830 Bytes
109 Bytes
441 Bytes
6.69 KB
12.3 KB
933 Bytes
381 Bytes
4.57 KB
5.16 KB
601 Bytes
580 Bytes
570 Bytes
762 Bytes
399 Bytes
710 Bytes
432 Bytes
534 Bytes
529 Bytes
467 Bytes
45 Bytes
381 Bytes
5.43 KB
10.9 KB
5.58 KB
52.8 KB
3.69 KB
366 Bytes
8.28 KB
20.8 KB
371 Bytes
1020 Bytes
11.4 KB
3.21 KB
1020 Bytes
11.4 KB
1.45 KB
1020 Bytes
11.4 KB
3.21 KB
1020 Bytes
11.4 KB
3.2 KB
1020 Bytes
11.4 KB
3.21 KB
1020 Bytes
11.4 KB
3.2 KB
137 Bytes
1020 Bytes
1.5 KB
11.4 KB
1.09 KB
1.11 KB
1.1 KB
1.22 KB
1.67 KB
1.28 KB
2.06 KB
1.63 KB
3.39 KB
1.69 KB
1.75 KB
1018 Bytes
1.1 KB
1.3 KB
4.02 KB
1.54 KB
3.74 KB
1.59 KB
2.14 KB
1.74 KB
2.39 KB
1.41 KB
2.12 KB
2.12 KB
7.84 KB
2.19 KB
1.7 KB
1.77 KB
1.53 KB
1.38 KB
7.95 KB
7.94 KB
1.76 KB
1.77 KB
1.82 KB
2.97 KB
1.9 KB
2.2 KB
2.39 KB
3.92 KB
2.59 KB
3.3 KB
4.79 KB
1.81 KB
1.74 KB
5.59 KB
7.2 KB
4.35 KB
2.09 KB
13.1 KB
1.38 KB
1.17 KB
1.63 KB
1.76 KB
-
Please register or sign in to post a comment