Repository navigation
Expand file tree
/
Copy pathweather.html
More file actions
149 lines (141 loc) · 6.67 KB
/
Copy pathweather.html
File metadata and controls
149 lines (141 loc) · 6.67 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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="utf-8">
<title>FlatZ Frontpage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/main.css" />
<link href="css/icons.css" rel="stylesheet">
<link href="css/flatWeatherPlugin.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-2.1.4.js"></script>
<script type="text/javascript" src="js/jquery.noty.packaged.js"></script>
<script type="text/javascript" src="settings/settings.js"></script>
<script type="text/javascript" src="js/noty.js"></script>
<script type="text/javascript" src="js/methods.js"></script>
<script type="text/javascript" src="js/jquery.flatWeatherPlugin.min.js"></script>
<script type="text/javascript" src="js/jquery.stayInWebApp.min.js"></script>
<style type="text/css">
body {
padding-top: 60px;
}
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Google Fonts call. Font Used Open Sans & Raleway -->
<link href="http://fonts.googleapis.com/css?family=Raleway:400,300" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
</head>
<body>
<div class="navbar-nav navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="frontpage.html">FlatZ Frontpage</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a class="stay" href="frontpage.html"><i class="icon-home icon-white"></i> Home</a></li>
<li><a class="stay" href="lights.html"><i class="icon-th icon-white"></i> Lights</a></li>
<li><a class="stay" href="graph.html"><i class="icon-th icon-white"></i> Graph</a></li>
<li class="active"><a class="stay" href="weather.html"><i class="icon-th icon-white"></i> Weather</a></li>
<li><a class="stay" href="news.html"><i class="icon-th icon-white"></i> News</a></li>
<li><a class="stay" href="logs.html"><i class="icon-th icon-white"></i> Logs</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<div class="container">
<!-- FIRST ROW OF Domoticz -->
<div class="row">
<!-- SWITCHES Domoticz -->
<div class="col-sm-3 col-x-3">
<div class="dash-unit" style="height: 610px;">
<dtitle>Switches</dtitle>
<hr>
<!-- ICON -->
<div class="info-user">
<span aria-hidden="true" class="li_params fs2"></span>
</div>
<br>
<center>
<dtitle id="desc_cell1" ></dtitle>
</center>
<center>
<div id="cell1" style="margin-top:5px;width:60px;"></div>
</center>
<center>
<dtitle id="desc_cell2" ></dtitle>
</center>
<center>
<div id="cell2" style="margin-top:5px;width:60px;"></div>
</center>
<center>
<dtitle id="desc_cell3" ></dtitle>
</center>
<center>
<div id="cell3" style="margin-top:5px;width:60px;"></div>
</center>
<center>
<dtitle id="desc_cell4" ></dtitle>
</center>
<center>
<div id="cell4" style="margin-top:5px;width:60px;"></div>
</center>
<center>
<dtitle id="desc_cell5" ></dtitle>
</center>
<center>
<div id="cell5" style="margin-top:5px;width:60px;"></div>
</center>
<center>
<dtitle id="desc_cell6" ></dtitle>
</center>
<center>
<div id="cell6" style="margin-top:5px;width:60px;"></div>
</center>
</div>
</div>
<div class="col-sm-3 col-lg-3" style="width:75%;float: right">
<div class="dash-unit" style="height:609px;">
<dtitle>Weather: </dtitle>
<hr>
<div id="weatherdash" style="padding-left:30px;padding-right:30px;padding-top:20px;"></div>
</div>
</div>
<!-- /row -->
</div>
<!-- /container -->
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$(function() {
$.stayInWebApp('a.stay');
});
loadCSS("css/"+$.theme);
RefreshSwitchData();
var weatherdash = $("#weatherdash").flatWeatherPlugin({
location: $.location, //city and region *required
country: $.country, //country *required
api: "openweathermap", //default: openweathermap (openweathermap or yahoo)
view : "full", //default: full (partial, full, simple, today or forecast)
displayCityNameOnly : true, //default: false (true/false) if you want to display only city name
forecast: 5, //default: 5 (0 -5) how many days you want forecast
render: true, //default: true (true/false) if you want plugin to generate markup
loadingAnimation: false, //default: true (true/false) if you want plugin to show loading animation
units: $.units,//units : "metric" or "imperial" default: "auto"
});
});
</script>
</body>
</html>