Skip to content
Permalink
Browse files
changes for apache
  • Loading branch information
Ovilia committed Jul 2, 2018
1 parent 6cdcbe5 commit 363bc20b78e33d968b08667c003ba69e1ab4ee22
Showing 82 changed files with 11,423 additions and 167,557 deletions.
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="./css/main.css?_v_=1525617181866"><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) {
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="vendors/bootstrap/css/bootstrap.min.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="./css/main.css?_v_=1530501506843"><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) {
var el = document.createElement('style');
el.innerHTML = ''
+ '@font-face {font-family:"noto-thin";src:local("Microsoft Yahei");}'
@@ -0,0 +1,29 @@
extends ../layouts/basic

block extra_head
<title>ECharts Changelog</title>

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-info
h1 ECharts Changelog
p [+]Add [-]Remove [^]Update [#]Fix

.page-content.single-page
.page-nav
a.slide-btn Collapse
h4 Versions
ul
.page-detail
include ../../documents/en/changelog.html

block extra_js
script(type='text/javascript').
document.getElementById('nav-doc').className = 'active';

// Fix scroll position covered by nav
window.addEventListener('hashchange', function() {
scrollBy(0, -50);
});
@@ -0,0 +1,48 @@
extends ../layouts/basic

block extra_head
<title>ECharts Coding Standard</title>

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-info
h1 Coding Standard
p Please follow this standard when contribute to ECharts project.

.page-content.single-page
.page-nav
ul#standard-nav
.page-detail
include ../../documents/en/coding-standard.html

block extra_js
script(type='text/javascript').
document.getElementById('nav-contribute').className = 'active';

var $list = $('#standard-nav');
$('.page-detail h2, .page-detail h3, .page-detail h4')
.each(function () {
var $this = $(this);
var text = $this.text();
var anchor = text.toLowerCase().replace(/[^\w]+/g, '-');
var tagName = $this.prop('tagName').toLowerCase();

if (tagName === 'h2') {
$list.append('<a href="#' + anchor + '"><h4 class="inner">' + text + '</h4></a>');
}
else {
$list.append('<a href="#' + anchor + '">' + text + '</a>');
}
});

$('.page-nav a').click(function () {
$('.page-nav a').removeClass('active');
$(this).addClass('active');
});

// Fix scroll position covered by nav
window.addEventListener('hashchange', function() {
scrollBy(0, -50);
});
@@ -0,0 +1,22 @@
extends ../layouts/basic

block extra_head
title ECharts Committers

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-info
h1 Committers

.page-content
.container
p <a href='https://github.com/kener'>Lin Zhifeng</a>, <a href='https://github.com/100pah'>Su Shuang</a>, <a href='https://github.com/pissang'>Shen Yi</a>, <a href='https://github.com/Ovilia'>Zhang Wenli</a>, <a href='https://github.com/deqingli'>Li Deqing</a>, <a href='mailto:wangdd0611@gmail.com'>Wang Junting</a>, <a href='https://github.com/erik168'>Dong Rui</a>, <a href='https://github.com/chriswong'>Huang Houjin</a>.

include ./footer

block extra_js

script(type='text/javascript').
document.getElementById('nav-about').className = 'active';
@@ -0,0 +1,24 @@
extends ../layouts/basic

block extra_head
title ECharts Dependencies

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-info
h1 Dependencies

.page-content
.container
h2
a(href='https://github.com/ecomfe/zrender') ZRender
p A lightweight canvas library which providing 2d draw for ECharts.

include ./footer

block extra_js

script(type='text/javascript').
document.getElementById('nav-about').className = 'active';
@@ -0,0 +1,92 @@
extends ../layouts/basic

block content

style.
#download-main h3 {
width: 650px;
}
#download-main .d-section-version .circle-wrap {
line-height: 120px;
font-size: 20px;
font-family: Helvetica;
color: #214d62;
font-weight: normal;
}

nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-info
h1 Download

.page-content.container#download-main
.d-section-version.d-section(style='border-bottom:0')
h2#tag-name
h3
span.warn
| Tip: the version &quot;Source&quot;, which includes common warnings and hints, is recommanded for dev.
.list-wrap
ul#download-list.row

include ./footer

block extra_js

script(type='text/javascript').
document.getElementById('nav-downloads').className = 'active';

var list = [
{
label: 'Common',
fileName: 'echarts.common.min.js',
descHTML0: 'Includes common charts and components.',
descHTML1: 'line bar pie scatter legend tooltip toolbox markLine markPoint markArea dataZoom'
},
{
label: 'Simple',
fileName: 'echarts.simple.min.js',
descHTML0: 'Only includes basic charts.',
descHTML1: 'line bar pie'
},
{
label: 'Full',
fileName: 'echarts.min.js',
descHTML0: 'Includes all charts and components.',
descHTML1: ''
},
{
label: 'Source',
fileName: 'echarts.js',
descHTML0: 'Source code of all charts and components, including warnings and hints for dev.',
descHTML1: ''
}
];

function encodeHTML(source) {
return source == null
? ''
: String(source)
.replace(/&/g, '&amp;')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;')
.replace(/'/g, '&#39;');
}

$.getJSON("https://api.github.com/repos/ecomfe/echarts/releases/latest").done(function (param) {
var tagName = param['tag_name'];

$('#tag-name').html('Download ' + encodeHTML(tagName));

var htmls = [];
for (var i = 0; i < list.length; i++) {
var item = list[i];
var url = 'https://raw.githubusercontent.com/ecomfe/echarts/' + tagName + '/dist/' + item.fileName;

htmls.push(
'<li class="col-md-3 col-md-6"><a target="_blank" href="' + encodeHTML(url) + '" download="' + encodeHTML(item.fileName) + '" class="download-echarts"><div class="circle-wrap">' + encodeHTML(item.label) + '</div></a><div class="text">' + item.descHTML0 + '<br><span>' + item.descHTML1 + '</span></div></li>'
);
}
$('#download-list')[0].innerHTML = htmls.join('');
});
@@ -0,0 +1,38 @@
extends ../layouts/basic

block variables
- var pageTitle = 'ECharts FAQ'

block extra_head
title ECharts FAQ

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-info
.container
h1 FAQ
p Frequently asked questions

.page-content.single-page#faq-page
.page-nav
h4 Topics
ul

.page-detail
h2#ask-questions General Questions
h3 What to do if you have technical problem?
ol
li Browse API and Option manual, and learn what configurations ECharts has. This makes it easier for you to know the key words to search or ask questions.
li Broswe FAQ questions on this page.
li Create a simple example to reproduce your problem on <a href="http://gallery.echartsjs.com/editor.html">ECharts Gallery</a>.
li Paste the link when you ask questions on <a href="https://stackoverflow.com">StackOverflow</a> and etc.

h3 Is ECharts free to use?
p Yes. ECharts is open-sourced under <a href="./license.html">Apache License 2.0</a>.

block extra_js

script(type='text/javascript').
document.getElementById('nav-about').className = 'active';
@@ -0,0 +1,16 @@
footer
.container
.row
.col-md-3.col-sm-4.logo
img(src='images/echarts-footer-logo.png')
.col-md-3#footer-icon-panel
.icon-panel
a.footer-icon(href='mailto:echarts@baidu.com?Body=%28Thanks%20for%20using%20ECharts.%20Email%20us%20if%20you%20have%20non-technical%20problems%20using%20ECharts.%20For%20technical%20support%2C%20please%20go%20to%20https%3A//github.com/ecomfe/echarts/issues%20.%29')
img(src='images/icon-email.png')
a.footer-icon(href='https://twitter.com/EChartsJs')
img(src='images/icon-twitter.png')
a.footer-icon(href='http://weibo.com/u/5160877841')
img(src='images/icon-weibo.png')
a.footer-icon(href='https://github.com/ecomfe/echarts')
img(src='images/icon-github.png')
#echarts-copyright &#9400; 2018 ECharts

0 comments on commit 363bc20

Please sign in to comment.