-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (44 loc) · 1.81 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
<!DOCTYPE html>
<html ng-app="MedCalcNews">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="Author" content="MedCalX" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<title>MedCalc Newsfeed</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
</head>
<body>
<!-- header -->
<header>
<div id="twitter_follow">
<a href="https://twitter.com/medcalc" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @medcalc</a>
</div>
<span id="tagline">The latest news</span>
<a id="medcalc" href="https://medcalx.ch/"></a>
</header>
<div id="news" ng-controller="NewsController">
<!-- loader -->
<div class="parent" ng-hide="didLoad">
<div id="loader" class="newsitem">
Loading...
</div>
</div>
<!-- news entries -->
<div class="parent" style="display:none;" ng-show="didLoad">
<p class="newsitem unread-{{ news.is_new }}" ng-repeat="news in newsitems" ng-click="news.is_new=false">
<span class="date">{{ news.created_at | date:'mediumDate' }}</span>
<span class="entry" ng-bind-html-unsafe="news.html"></span>
</p>
<p class="newsitem">
<span class="date">Aug 22, 2012</span>
<span>Older news can be found <a href="https://twitter.com/medcalc">in our Twitter feed</a>.</span>
</p>
</div>
</div>
<!-- scripts -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
<script src="news.min.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</body>
</html>