-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistory.html
54 lines (53 loc) · 2.44 KB
/
history.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 lang="en" ng-app="blogApp">
<head>
<title>House of Granite</title>
<link href='http://fonts.googleapis.com/css?family=Lato:100,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.17/angular.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.17/angular-sanitize.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.17/angular-touch.js" type="text/javascript"></script>
<script type="text/javascript" src="js/controller.js"></script>
<script type="text/javascript" src="js/contents.js"></script>
</head>
<body ng-controller="BlogController">
<div id="header"><div id="headerContents">
<h1><a href="index.html">House of Granite</a></h1>
<div class="menu">
<div class="nav"><a href="about.html">About</a></div>
</div>
<div class="menu" ng-mouseenter="showingMenu=true" ng-mouseleave="showingMenu=false" ng-click="showingMenu=!showingMenu">
<div class="nav">Posts</div>
<a class="menuItem" href="" ng-click="loadPosts(post.index, post.index + 1, false)"
ng-repeat="post in posts | orderBy:'date':true | limitTo: 6" ng-show="showingMenu">
{{post.title}}
</a>
<b><a class="menuItem" href="history.html" ng-show="showingMenu">All Posts</a></b>
</div>
</div></div>
<div class="main">
<div class="post">
<h2>All Posts</h2>
<span ng-repeat="post in posts | orderBy:'date':true">
<div class="previewDate">{{getCompactDateString(post.date)}}</div>
<div class="preview">
<h3><a href="" ng-click="loadPosts(post.index, post.index + 1, false)">{{post.title}}</a></h3>
<p>
{{post.preview}}...
</p>
</div>
</span>
<br clear="all"/>
</div>
</div>
<div id="footer">Written in AngularJS by <a href="http://dektar.com">Katie</a>, designed by Katie and Annika, posts by Katie and <a href="http://www.trevorshp.com">Trevor</a>. 2014.</div>
<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-44996597-2', 'dektar.com');
ga('send', 'pageview');
</script>
</body>
</html>