-
Notifications
You must be signed in to change notification settings - Fork 41
/
lists.html
98 lines (81 loc) · 2.69 KB
/
lists.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>OpenSCAD - Documentation</title>
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/fonts/open-sans/all.css" rel="stylesheet">
<script src="assets/js/jquery-1.9.1.min.js"></script>
<script src="assets/js/header.js"></script>
</head>
<body>
<div id="page-wrap">
<header>
<div class="clear"></div>
<div id="logo" class="left"></div>
<div id="donate" class="right">
<a href="https://opencollective.com/openscad/donate" target="_blank">
<img src="assets/img/donate-opencollective.png" alt="Donate on Opencollective" width="200" height="33">
</a>
</div>
<div id="title" style="margin-top:35px; width:620px;">
<h1 class="title" style="position:relative;"><span class="green">Open</span>SCAD</h1>
<h2 class="subtitle" style="position:relative; left:45px;">The Programmers Solid 3D CAD Modeller</h2>
</div>
<div id="navigation">
<div id="navigation-inner">
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="news.html">News</a></li>
<li><a href="downloads.html">Downloads</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="libraries.html">Libraries</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="community.html">Community</a></li>
<li><a href="https://github.com/openscad/openscad/" target="_blank">GitHub</a></li>
</ul>
</div>
</div>
</header>
<div id="page-content">
<div id="sidebar" class="sticky">
<h1><a href="documentation.html">Documentation</a></h1>
</div>
<article>
<section id="news">
<div id="news"></div>
</section>
<section id="gallery">
<div id="gallery"></div>
</section>
</article>
<div class="clear"></div>
<script type="text/javascript">
function news(data) {
out = document.getElementById('news');
for (idx in data) {
e = data[idx];
if (e.type == 'twitter') {
out.innerHTML += "[Twitter]: " + e.url + "<br>";
} else if (e.type = 'thingiverse') {
out.innerHTML += "[Thing]: " + e.thing_id + "<br>";
}
}
}
function gallery(data) {
out = document.getElementById('gallery');
for (idx in data) {
e = data[idx];
out.innerHTML += '<p><img align="left" width="200" src="' + e.thumbnail + '">' + e.name + '</p><br clear="all">';
}
}
</script>
<script src="https://files.openscad.org/lists/news.jsonp"></script>
<script src="https://files.openscad.org/lists/gallery.jsonp"></script>
</div><!--#page-content end-->
<footer>
</footer>
</div><!--#page-wrap end-->
</body>
</html>