-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·60 lines (54 loc) · 2.73 KB
/
index.html
File metadata and controls
executable file
·60 lines (54 loc) · 2.73 KB
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AngularJS Events App</title>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style/style.css">
<script src="js/jquery-1.8.3.min.js" type="text/javascript"></script>
<script src="js/angular.min.js" type="text/javascript"></script>
<script src="js/geolocation.js" type="text/javascript"></script>
<script src="js/my_angular.js" type="text/javascript"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
</head>
<body ng-app="myApp">
<div ng-controller="mainCtrl" style="text-align: center; " class="container" >
<div class = "inputinfo" class="col-md-6 .col-md-offset-3">
<h2>Events</h2>
<h4>If your city and country are not automatically detected, please manually insert the city and the 2 digit code for the country. 2 digit codes for each country can be found <a href="http://www.worldatlas.com/aatlas/ctycodes.htm">here</a></h4>
<label>Country </label> <br> <input type="text" ng-model = "new_country">
<br>
<label>City </label><br> <input type="text" ng-model = "new_city">
<h2>Your location is {{city}} , {{country}}</h2>
<br>
<div id="loading" style="text-align: center; "> </div>
<br>
<button ng-click="add()" class="btn-success">Confirm</button>
<h3>Total Number of Events : {{eventList.length}}</h3>
</div>
<div class="row">
<ul id="rb-grid" class="rb-grid clearfix">
<li ng-repeat="event in eventList">
<!-- <img ng-src="{{coin.image}}" alt=""> -->
<h4>{{event.title}}</h4>
<h4>{{event.address}}</h4>
<h4>
<a href="{{event.url}}">
<h4> Website </h4>
</a>
</h4>
<a href="{{event.ticket}}"> <button class="btn-info">Purchase ticket</button></a>
</li>
</ul>
</div>
</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-48376165-1', 'siddigzeidan.com');
ga('send', 'pageview');
</script>
</body>
</html>