-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (59 loc) · 2.62 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
<html ng-app="ionic.weather">
<head>
<meta charset="utf-8">
<title>Weather</title>
<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="lib/css/ionic.css">
<link rel="stylesheet" href="css/app.css">
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script src="lib/js/ionic.bundle.js"></script>
<script src="lib/js/angular/angular-resource.js"></script>
<script src="js/services.js"></script>
<script src="js/filters.js"></script>
<script src="js/directives.js"></script>
<script src="js/app.js"></script>
<script src="js/app.js"></script>
<script src="cordova.js"></script>
</head>
<body ng-controller="WeatherCtrl">
<ion-pane id="wrapper">
<background-cycler class="bg-fade"></background-cycler>
<ion-header-bar id="header" class="bar bar-header bar-clear">
<h1 class="title">
<span class="city"><i id="city-nav-icon" class="icon ion-navigate"></i> {{currentLocationString}}</span><br>
<current-time localtz="current.local_tz_short"></current-time>
</h1>
<button ng-click="showSettings()" class="button button-icon"><i class="icon ion-gear-a"></i></button>
</ion-header-bar>
<ion-content scroll-event-interval="20" scroll-effects scrollbar-y="false" class="no-header">
<ion-refresher on-refresh="refreshData()"></ion-refresher>
<div id="main-content">
<current-weather></current-weather>
<forecast></forecast>
</div>
</ion-content>
</ion-pane>
<script id="settings.html" type="text/ng-template">
<div id="settings-modal" class="modal" ng-controller="SettingsCtrl">
<ion-header-bar class="bar bar-header bar-dark">
<h1 class="title">Settings</h1>
<button class="button button-clear" ng-click="closeSettings()">Close</button>
</ion-header-bar>
<ion-content has-header="true">
<div class="padding">
<div class="list">
<label class="item item-input">
<span class="input-label">Units</span>
<ion-radio-buttons ng-model="settings.tempUnits">
<button class="button button-positive button-radio" ng-value="'f'">°F</button>
<button class="button button-positive button-radio" ng-value="'c'">°C</button>
</ion-radio-buttons>
</label>
</div>
</div>
</ion-content>
</div>
</script>
</body>
</html>