-
Notifications
You must be signed in to change notification settings - Fork 432
/
about.html
54 lines (45 loc) · 1.61 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/app.css">
</head>
<body>
<div class="about" id="js-about">
<div class="logo"></div>
<div class="title">WeFlow</div>
<div class="version">Version 1.0.0</div>
<div class="desc">一个基于 <a href="https://github.com/weixin/tmt-workflow" id="js-tmtworkflow">tmt-workflow</a> 的前端工作流程序</div>
<div class="about__buttom">
<div class="about__buttom-info">本 App 所有代码和设计稿均已开源</div>
<div class="about__buttom-list" id="js-link">
<a href="https://github.com/weixin/WeFlow" class="about__buttom-list-item">GitHub</a>
<a href="https://dribbble.com/hzlzh/projects/380016-WeFlow" class="about__buttom-list-item">Dribbble</a>
<a href="http://weflow.io/" class="about__buttom-list-item">官 网</a>
</div>
</div>
</div>
<script>
window.nodeRequire = require;
delete window.require;
delete window.exports;
delete window.module;
</script>
<script src="./assets/js/jquery.min.js"></script>
<script>
var electron = nodeRequire('electron');
$('#js-link .about__buttom-list-item').on('click', function(event){
var href = $(this).attr('href');
electron.shell.openExternal(href);
event.preventDefault();
});
$('#js-tmtworkflow').on('click', function(event){
var href = $(this).attr('href');
electron.shell.openExternal(href);
event.preventDefault();
});
</script>
</body>
</html>