-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
128 lines (124 loc) · 5.57 KB
/
index.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="baidu-site-verification" content="3FgSY2Zga3" />
<title>Tencent Open Source - 腾讯开源项目</title>
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="header">
<div class="header-inner container">
<a class="logo" title="Tencent Open Source - 腾讯开源项目">
<img src="img/logo.png" alt="Tencent Open Source - 腾讯开源项目">
</a>
<ul class="narbar nav nav-pills">
<li class="active">
<a href="index.html">首页</a>
</li>
<li><a href="#recommendInfo">项目推荐</a></li>
<li><a href="https://github.com/TencentOpen" target="_blank">Github</a></li>
<!--<li><a href="about.html">关于</a></li>-->
</ul>
</div>
</div>
<div class="main">
<div class ="main-inner container">
<div id="recommendCarousel" class="carousel slide">
<ol class="carousel-indicators">
<li data-target="#recommendCarousel" data-slide-to="0" class="active"></li>
<li data-target="#recommendCarousel" data-slide-to="1"></li>
<li data-target="#recommendCarousel" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="active item">
<div class="item">
<div class="slide">
<a class="slide-link slide1"></a>
</div>
</div>
</div>
<div class="item">
<div class="slide">
<a class="slide-link slide2" href="http://alloyteam.github.io/AlloyPhoto/" target="_blank" title="AlloyImage: 基于html5的JS图片图像处理库"></a>
</div>
</div>
<div class="item">
<div class="slide">
<a class="slide-link slide3" href="http://alloyteam.github.io/JX/" target="_blank" title="JX: 模块化的非侵入式 Web 前端框架"></a>
</div>
</div>
</div>
<a class="carousel-control left" href="#recommendCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#recommendCarousel" data-slide="next">›</a>
</div>
</div>
</div>
</div>
<div class="share">
<div class="share-inner container">
<div class="follow">
<span class="label label-success">关注我们</span>
<a class="share_weibo" title="腾讯微博">腾讯微博</a>
<a class="share_sina" title="新浪微博">新浪微博</a>
<a class="share_github" title="Github" href="https://github.com/TencentOpen" target ="_blank">Github</a>
</div>
<div class="shareto">
<span class="label label-success">分享到</span>
<a class="share_weibo" title="腾讯微博" data-item="share" data-item-value="weibo" >腾讯微博</a>
<a class="share_qzone" title="QQ空间" data-item="share" data-item-value="qzone">QQ空间</a>
<a class="share_sina" title="新浪微博" data-item="share" data-item-value="sina">新浪微博</a>
<a class="share_pengyou" title="朋友网" data-item="share" data-item-value="pengyou">朋友网</a>
</div>
</div>
</div>
<div class="container">
<div class="intro row">
<h1 class="recommend-info" id="recommendInfo">开源项目推荐</h1>
<div id="projContainer">
</div>
</div>
</div>
<div class="footer">
<div class="container">
<p><a href="#">开源协议</a> | <a href="#">反馈意见</a></p>
<p>© 1998-2013 Tencent. All Rights Reserved.</p>
</div>
</div>
<script type="text/plain" id="projTemplate">
<%
for(var i = 0, len = list.length; i < len; i++){
var item = list[i];
if(i%3==0){
%>
<div class="row-fluid">
<% }%>
<div class="span4">
<a href="<%=item.url%>" title="<%=item.name%>: <%=item.brief%>" target="_blank"><img class="proj-img lazy" width="300" height="150" data-src="<%=item.img%>"></a>
<h2 class="proj-name">
<a href="<%=item.url%>" title="<%=item.name%>: <%=item.brief%>" target="_blank "><%=item.name%></a>
</h2>
<p class="proj-highlight"><%=item.brief%></p>
<p class="proj-intro"><%=item.intro%></p>
</div>
<% if((i+1)%3==0 || i == len){ %>
</div>
<% } %>
<% } %>
</script>
<script src="lib/jquery/jquery-1.10.1.min.js"></script>
<script src="lib/jquery/jquery.unveil.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.js"></script>
<script src="js/main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23019343-13', 'tencentopen.github.io');
ga('send', 'pageview');
</script>
</body>
</html>