-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·31 lines (24 loc) · 1.27 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
<!DOCTYPE html>
<html ng-app="">
<head>
<link data-require="bootstrap-css@*" data-semver="3.0.0" rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />
<script data-require="[email protected]" data-semver="1.2.0-rc3" src="http://code.angularjs.org/1.2.0-rc.3/angular.min.js"></script>
<script data-require="jquery@*" data-semver="2.0.3" src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script data-require="[email protected]" data-semver="3.0.0-rc2" src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
</head>
<body ng-controller="christmas">
<div class="container">
<div class="row text-center">
<div class="col-md-12 ">
<h1>Time left to christmas (24th december)</h1>
<h1>{{daysLeft}} day{{daysLeft != 1 && '' || 's'}}</h1>
<h1>{{christmasIsCommming.hours}} hour{{christmasIsCommming.hours != 1 && 's' || ''}}</h1>
<h1>{{christmasIsCommming.minutes}} minute{{christmasIsCommming.minutes != 1 && 's' || ''}}</h1>
<h1>{{christmasIsCommming.seconds}} second{{christmasIsCommming.seconds != 1 && 's' || ''}}</h1>
</div>
</div>
</div>
</body>
</html>