Skip to content

Commit 0f78360

Browse files
committed
add reward button
1 parent 96b958d commit 0f78360

File tree

245 files changed

+3038
-243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+3038
-243
lines changed

2016/01/30/welcome/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/02/05/update-v1.5.1/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/02/25/update-v1.5.2/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/06/09/update-v2.0.1/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/06/26/a-simple-demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/06/26/compile-project/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/06/26/create-project/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/06/26/package-target/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/06/26/run-target/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/02/xmake-io/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/06/update-v2.0.2/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/08/plugin-hello/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/16/batch-check-functions/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/16/how-to-build-a-simple-project/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/17/demo-build-a-simple-project/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/17/update-v2.0.3/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/18/builtinvar-and-shell/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/19/config-description/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/19/how-to-install-xmake/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/21/tessellate-polygon-algorithm/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/22/how-to-compile-on-cross-toolchains/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/25/support-debugger-on-windows/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/07/26/x86-script-instruction-virtual-machine/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/08/24/forum-opened/index.html

+21-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />
@@ -33,6 +33,9 @@
3333
<link rel="alternate" hreflang="en" href="http://www.tboox.org/" />
3434
<link rel="alternate" hreflang="zh-Hans" href="http://www.tboox.org/cn/" />
3535

36+
<!-- css -->
37+
<link href="/css/reward.css" rel="stylesheet" type="text/css">
38+
3639

3740
<script>
3841
// 百度统计代码
@@ -402,6 +405,23 @@ <h1>TBOOX Open Source Community Established</h1>
402405
<script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
403406

404407

408+
<!-- reward -->
409+
<div style="text-align: center;">
410+
<button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
411+
<span></span>
412+
</button>
413+
<div id="QR" style="display: none;">
414+
<div id="wechat" style="display: inline-block">
415+
<img id="wechat_qr" src="/static/img/weixin.png" alt="WeChat Pay"/>
416+
<p>微信打赏</p>
417+
</div>
418+
<div id="alipay" style="display: inline-block">
419+
<img id="alipay_qr" src="/static/img/alipay.png" alt="Alipay"/>
420+
<p>支付宝打赏</p>
421+
</div>
422+
</div>
423+
</div>
424+
405425

406426

407427

2016/08/29/generate-vs2015-project/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/08/29/update-v1.5.3/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/08/29/update-v2.0.4/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/09/18/database-usage/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/10/28/benchbox-coroutine/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/10/29/coroutine-switch/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/10/30/update-v1.6.0/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />

2016/10/30/update-v2.0.5/index.html

+21-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />
@@ -33,6 +33,9 @@
3333
<link rel="alternate" hreflang="en" href="http://www.tboox.org/" />
3434
<link rel="alternate" hreflang="zh-Hans" href="http://www.tboox.org/cn/" />
3535

36+
<!-- css -->
37+
<link href="/css/reward.css" rel="stylesheet" type="text/css">
38+
3639

3740
<script>
3841
// 百度统计代码
@@ -424,6 +427,23 @@ <h3 id="documents">Documents</h3>
424427
<script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
425428

426429

430+
<!-- reward -->
431+
<div style="text-align: center;">
432+
<button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
433+
<span></span>
434+
</button>
435+
<div id="QR" style="display: none;">
436+
<div id="wechat" style="display: inline-block">
437+
<img id="wechat_qr" src="/static/img/weixin.png" alt="WeChat Pay"/>
438+
<p>微信打赏</p>
439+
</div>
440+
<div id="alipay" style="display: inline-block">
441+
<img id="alipay_qr" src="/static/img/alipay.png" alt="Alipay"/>
442+
<p>支付宝打赏</p>
443+
</div>
444+
</div>
445+
</div>
446+
427447

428448

429449

2016/11/15/syntax-style/index.html

+21-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- qq oauth -->
1717
<meta property="qc:admins" content="5211601217706727767255" />
1818

19-
<! --icon -->
19+
<!--icon -->
2020
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
2121
<link rel="icon" sizes="192x192" href="/static/img/nice-highres.png" />
2222
<link rel="apple-touch-icon-precomposed" href="/static/img/apple-touch-icon-57x57-precomposed.png" />
@@ -33,6 +33,9 @@
3333
<link rel="alternate" hreflang="en" href="http://www.tboox.org/" />
3434
<link rel="alternate" hreflang="zh-Hans" href="http://www.tboox.org/cn/" />
3535

36+
<!-- css -->
37+
<link href="/css/reward.css" rel="stylesheet" type="text/css">
38+
3639

3740
<script>
3841
// 百度统计代码
@@ -515,6 +518,23 @@ <h4 id="the-key-val-style">The <code class="highlighter-rouge">key-val</code> st
515518
<script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script>
516519

517520

521+
<!-- reward -->
522+
<div style="text-align: center;">
523+
<button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
524+
<span></span>
525+
</button>
526+
<div id="QR" style="display: none;">
527+
<div id="wechat" style="display: inline-block">
528+
<img id="wechat_qr" src="/static/img/weixin.png" alt="WeChat Pay"/>
529+
<p>微信打赏</p>
530+
</div>
531+
<div id="alipay" style="display: inline-block">
532+
<img id="alipay_qr" src="/static/img/alipay.png" alt="Alipay"/>
533+
<p>支付宝打赏</p>
534+
</div>
535+
</div>
536+
</div>
537+
518538

519539

520540

0 commit comments

Comments
 (0)