-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
190 lines (171 loc) · 8.86 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<html>
<head>
<meta content='True' name='HandheldFriendly' />
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="theme-color" content="#291A53" />
<meta name="description=" content="Watch live matches of FC Barcelona, Get updated with Latest news and live scores. Stream live matches"/>
<script src="js/index.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/popper-1.12.5.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/angular.1.6.6.min.js"></script>
<script src="js/flipclock.min.js"></script>
<script src="js/modernizr.touch.js"></script>
<script src="js/mfb.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-sanitize.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-108370420-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-108370420-1');
</script>
<link rel="stylesheet" href="css/flipclock.css" />
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="css/mfb.css" />
<link rel="stylesheet" href="css/index.css" />
<title>Watch live matches of FC Barcelona, Get updated with Latest news and live scores. Stream live matches</title>
</head>
<body class="content" ng-app="barcaApp" ng-controller="matchCtrl">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-1 col-lg-2 col-xl-2"></div>
<div class="col-4 col-sm-4 col-md-4 col-lg-3 col-xl-3">
<div class="col-12">
<object type="image/png" ng-attr-data="{{nextMatch.homeTeam.crestUrl}}" class="crest" style="float:right">
</object>
</div>
<div class="col-12 whiteText" style="display:block;float: right;">
<span style="display:block;float: right">
{{nextMatch.homeTeamName}}
</span>
</div>
</div>
<div class="col-3 col-sm-3 col-md-3 col-lg-2 col-xl-2">
<div class="col-12">
<img src="img/vs.png" class="crest" />
</div>
<div class="col-12 whiteText text-center">
<span style="display:block;">
<h6 ng-if="nextMatch.status=='FINISHED'">{{nextMatch.result.goalsHomeTeam}}:{{nextMatch.result.goalsAwayTeam}}</h6>
</span>
</div>
</div>
<div class="col-4 col-sm-4 col-md-4 col-lg-3 col-xl-3">
<div class="col-12">
<object type="image/png" ng-attr-data="{{nextMatch.awayTeam.crestUrl}}" class="crest" style="float:left">
</object>
</div>
<div class="col-12 whiteText" style="display:block;float: left;">
<span style="display:block;float: left">
{{nextMatch.awayTeamName}}
</span>
</div>
</div>
<div class="col-md-1 col-lg-2 col-xl-2"></div>
</div>
<!-- code for count down will come here -->
<div class="row justify-content-center" style=" padding-bottom: 6em;">
<div class="match-clock"></div>
</div>
<!-- Live -->
<div class="card" ng-show="showLive">
<div class="card-header" role="tab" id="headingOne">
<h4 class="card-title">Watch Live</h4>
</div>
<div class="card-block">
<h6 class="card-subtitle mb-2" ng-if="liveLinks.length==0">Links for live matches will be posted around 30 minutes before the match</h6>
<!-- <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p> -->
<h6 ng-repeat="liveLink in liveLinks">
<a href="{{liveLink.url}}" target="_blank" rel="nofollow">Link {{$index+1}}</a>
</h6>
</div>
</div>
<!-- News -->
<div class="card" ng-show="showNews">
<div class="card-header" role="tab" id="headingOne">
<h4 class="card-title">News</h4>
</div>
<div class="card-block">
<span ng-repeat="newsItem in news" id="news{{$index}}" >
<h6 class="card-subtitle mb-2">{{newsItem.title}}</h6>
<span ng-bind-html="newsItem.description"></span>
<hr>
</span>
</div>
</div>
<!-- Standings -->
<div class="card" ng-show="showStandings">
<div class="card-header" role="tab" id="headingOne">
<h4 class="card-title">Standings - La Liga</h4>
</div>
<div style="margin-left:-2.2em; width: 100%;padding-top: 0.5em;">
<ul class="media-list">
<li class="media" ng-repeat="standing in standings">
<div class="media-left position" style="width: 1.2em;">
{{standing.position}}
</div>
<div class="media-left position">
<a href="#">
<object type="image/png" ng-attr-data="{{standing.crestURI}}" class="crestSmall">
</object>
</a>
</div>
<div class="media-body" style="margin-left:1em;">
<h4 class="media-heading">{{standing.teamName}}</h4>
Points {{standing.points}}
</div>
</li>
</ul>
</div>
</div>
<!-- Fixtures -->
<div class="card" ng-show="showFixtures">
<div class="card-header" role="tab" id="headingOne">
<h4 class="card-title">Fixtures</h4>
</div>
<div class="card-block">
<span ng-repeat="fixture in fixtures" id="match{{$index}}" >
<h5 class="card-subtitle mb-2" > <span class="glyphicon glyphicon-calendar" style="font-size: .75em;"></span> {{fixture.homeTeamName}} VS {{fixture.awayTeamName}} </h3>
<h6>{{fixture.date | date:'MMM d, y h:mm a'}}</h6>
<h6 ng-if="fixture.status=='FINISHED'">Final result {{fixture.result.goalsHomeTeam}}:{{fixture.result.goalsAwayTeam}}</h6>
<hr>
</span>
</div>
</div>
</div>
<!--floating button -->
<ul class="mfb-component--br mfb-slidein " id="menu" data-mfb-toggle="click" data-mfb-state="closed">
<li class="mfb-component__wrap">
<a data-mfb-label="Go" class="mfb-component__button--main" onclick="clickFloat();">
<i class="mfb-component__main-icon--resting glyphicon glyphicon-star"></i>
<i class="mfb-component__main-icon--active glyphicon glyphicon-star"></i>
</a>
<ul class="mfb-component__list">
<li>
<a href="#" data-mfb-label="Fixture" class="mfb-component__button--child" ng-click="fixturesClick()" onclick="clickFloat();">
<i class="mfb-component__child-icon glyphicon glyphicon-calendar"></i>
</a>
</li>
<li>
<a href="#" data-mfb-label="Standings" class="mfb-component__button--child" ng-click="standingsClick()" onclick="clickFloat();">
<i class="mfb-component__child-icon glyphicon glyphicon-sort-by-attributes"></i>
</a>
</li>
<li>
<a href="#" data-mfb-label="News" class="mfb-component__button--child" ng-click="newsClick()" onclick="clickFloat();">
<i class="mfb-component__child-icon glyphicon glyphicon-bullhorn"></i>
</a>
</li>
<li>
<a href="#" data-mfb-label="Live Link" class="mfb-component__button--child" ng-click="liveClick();" onclick="clickFloat();">
<i class="mfb-component__child-icon glyphicon glyphicon-facetime-video"></i>
</a>
</li>
</ul>
</li>
</ul>
<script src="js/controller.js"></script>
</body>
</html>