-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathnews.html
More file actions
114 lines (97 loc) · 3.75 KB
/
news.html
File metadata and controls
114 lines (97 loc) · 3.75 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>OpenWorm News</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="OpenWorm News - Recent updates from the project">
<!-- REPLICATE THIS IN ALL PAGES -->
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="css/font-awesome.css">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<!-- Fav and touch icons - this code is outdated -->
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner" id="head-nav">
</div>
</div>
<script src="js/jquery-3.6.0.js"></script>
<script>
// get head-nav and foot-nav with jquery (get is async)
$.get('header-content.html', function(data) {
$('#head-nav').html(data);
})
$.get('footer-content.html', function(data) {
$('#foot-nav').html(data);
})
</script>
</head>
<body>
<div id="pjax-content">
<!-- END REPEAT-->
<header class="jumbotron subhead" id="overview">
<div class="container">
<!--<div class="openworm_logo_header"></div>-->
<h1>OpenWorm News</h1>
<p class="lead">
Recent updates from the OpenWorm project
</p>
<p>
<a href="https://openworm.tumblr.com" target="_blank">View full blog on Tumblr »</a>
</p>
</div>
</header>
<div class="container">
<div class="row">
<!-- Left sidebar with news index -->
<div class="span3 bs-docs-sidebar">
<ul id="news-nav" class="nav nav-list bs-docs-sidenav">
<li class="nav-header">News Archive</li>
<li style="text-align: center; padding: 20px;">
<i class="fa fa-spinner fa-spin"></i>
</li>
</ul>
</div>
<!-- Main content area -->
<div class="span9">
<div class="page-header">
<h2>Latest News</h2>
<p class="muted">News items are pulled from our <a href="https://openworm.tumblr.com" target="_blank">Tumblr blog</a>.</p>
</div>
<!-- Dynamic news feed from Tumblr RSS -->
<ul id="news-feed-full" style="list-style-type: none; margin-left: 0;">
<li style="text-align: center; padding: 40px;">
<i class="fa fa-spinner fa-spin fa-3x"></i>
<p class="muted">Loading news from Tumblr...</p>
</li>
</ul>
</div>
</div>
</div>
<!-- FOOT: DUPLICATE THE FOLLOWING IN ALL PAGES -->
</div><!-- end pjax content -->
<!-- footer
================================================== -->
<div id="foot-nav"></div>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.pjax.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/main.js"></script>
<script>
// Load full news feed when page is ready
$(window).on('load', function() {
console.log('news.html loaded, calling loadFullNewsFeed()');
loadFullNewsFeed();
});
</script>
</body>
</html>