-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (51 loc) · 2.68 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
52
53
54
55
56
57
58
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="youtube stats">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="images/fav.jpg" />
<title>Youtube sub counter</title>
<!-- offline lib-->
<!-- <link rel="stylesheet" href="../static/bootstrap3/css/bootstrap.min.css">-->
<!-- <link rel="stylesheet" href="../static/odometer/themes/odometer-theme-plaza.css">-->
<!--cdns-->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/odometer/0.4.8/themes/odometer-theme-plaza.css">
<!-- my styles-->
<link rel="stylesheet" href="css/style.css">
</head>
<body ng-app="youtubeApp">
<div class="container">
<!-- <h1 class="text-center">Youtube Subscriber Count</h1>-->
<div class="row vertical-center" ng-controller="mainController">
<div class="col-sm-12">
<div class="search" ng-class="{open:isActive()}">
<form name="channelForm" ng-submit "active && getChannelData()">
<input name="search" type="text" class="search-box" ng-model="searchInput" ng-keyup="$event.keyCode == 13 && active && click()" placeholder="{{ channelName }}"/>
<span class="search-button" type="submit" ng-click="click()">
<span class="search-icon"></span>
</span>
</form>
</div>
</div>
<!-- {{ channelData.data.items[0].statistics.subscriberCount }}-->
<div class="col-md-6 col-sm-12 col-md-offset-4 my-margins">
<div class="odometer-container">
<div ng-show="value && active" angular-odometer data-odometer="value"></div>
<!-- {{ subcount }}-->
</div>
</div>
</div>
</div>
<!-- Angularjs files start-->
<!-- <script src="../static/angular.min.js"></script>-->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="js/app.js"></script>
<!-- Angularjs files end-->
<!-- <script src="../static/odometer/odometer.min.js"></script>-->
<script src="https://cdn.jsdelivr.net/odometer/0.4.8/odometer.min.js"></script>
</body>
</html>