Skip to content

Commit

Permalink
Version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gubi committed Nov 1, 2013
0 parents commit e68cc77
Show file tree
Hide file tree
Showing 3,143 changed files with 579,758 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions Meteo/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#RewriteEngine on
#RewriteBase /

#RewriteCond %{SERVER_PORT} !^443$
#RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

# ----------- CONVERSIONE URI -----------
#
# Conversione delle chiavi get in "/"
#RewriteRule ^([^/\.]+)/?$ Meteo/index.php?m=$1 [L]
#RewriteRule ^([^/\.]+)/([^/]+)/?$ Meteo/index.php?m=$1&id=$2 [L]
#RewriteRule ^([^/\.]+)/([^/]+)/([^/\.]+)/?$ Meteo/index.php?m=$1&id=$2&q=$3 [L]
20 changes: 20 additions & 0 deletions Meteo/common/css/charts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.row {
margin-left: -30px;
}
.row:before, .row:after {
content: "";
display: table;
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 30px;
}
.span6 {
width: 570px;
}
.span12 {
width: 100%;
}
196 changes: 196 additions & 0 deletions Meteo/common/css/meteo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
html, body {
background-image: none;
}
body {
background-image: linear-gradient(top, #fff 75%, #f0f0f0);
background-image: -moz-linear-gradient(top, #fff 75%, #f0f0f0);
background-image: -o-linear-gradient(top, #fff 75%, #f0f0f0);
background-image: -webkit-linear-gradient(top, #fff 75%, #f0f0f0);
background-image: -ms-linear-gradient(top, #fff 75%, #f0f0f0);
font-family: Ubuntu, Arial, Helvetica;
}
span.error {
color: #990000 !important;
}
#loader:after {
content: "Acquisizione dati..." !important;
}
#top_menu {
position: relative;
box-shadow: 0 0 10px #000;
z-index: 1;
}
#map {
position: fixed;
top: 29px;
left: 0;
width: 100%;
height: 100%;
}
#temp {
position: absolute;
font-size: 100px;
top: 8px;
right: 20px;
opacity: 0.75;
text-shadow: 0 0 36px #000;
text-align: right;
line-height: 0.75em;
z-index: 3;
display: none;
}
#forecast {
background-image: radial-gradient(center 43% , closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 81%);
background-image: -moz-radial-gradient(center 43% , closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 81%);
background-image: -o-radial-gradient(center 43% , closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 81%);
background-image: -webkit-radial-gradient(center 43% , closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 81%);
background-image: -ms-radial-gradient(center 43% , closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 81%);
position: absolute;
font-size: 100px;
top: 30px;
left: 50px;
text-shadow: 0 0 36px #000;
text-align: center;
line-height: 0.75em;
padding: 0 10px 20px 10px;
min-width: 220px;
z-index: 3;
display: none;
}
#temp cite, #forecast cite {
font-size: 35px;
display: block;
font-style: normal;
font-weight: bold;
margin-top: 20px;
}
#forecast cite {
text-shadow: 0 0 27px #000;
font-size: 25px;
margin: 0;
line-height: 15px;
opacity: 0.75;
}
#temp div {
display: block;
font-size: 40px;
line-height: 0.8em;
}
#temp div.error, #temp div.localStation, #temp div.OWStation {
display: block;
font-size: 15px !important;
font-style: italic;
color: #990000;
}
#temp div.OWStation {
font-size: 15px !important;
color: #ffd100;
margin-top: -10px;
margin-bottom: 25px;
}
#temp div.localStation {
font-size: 15px !important;
color: #121212;
margin-top: -10px;
margin-bottom: 25px;
}
#temp div.temperature {
font-size: 90px !important;
margin-top: -30px;
font-weight: bold;
}
#temp div > sup {
margin-top: -15px;
font-weight: normal;
}
#temp #wind {
font-size: 40px;
margin-top: 8px;
background-image: radial-gradient(center, ellipse farthest-corner, #333, transparent 72%);
background-image: -moz-radial-gradient(center, ellipse farthest-corner, #333, transparent 72%);
background-image: -o-radial-gradient(center, ellipse farthest-corner, #333, transparent 72%);
background-image: -webkit-radial-gradient(center, ellipse farthest-corner, #333, transparent 72%);
background-image: -ms-radial-gradient(center, ellipse farthest-corner, #333, transparent 72%);
background-position: center top;
background-repeat: no-repeat;
background-size: 100% 3px;
}
#temp #arrow {
display: inline;
margin-right: 15px;
}
#temp #wind_desc {
font-size: 25px;
font-style: italic;
line-height: 1em;
}
#station_data {
background-image: radial-gradient(center, ellipse farthest-corner, rgba(255, 255, 255, 0), #fff);
background-image: -moz-radial-gradient(center, ellipse farthest-corner, rgba(255, 255, 255, 0), #fff);
background-image: -o-radial-gradient(center, ellipse farthest-corner, rgba(255, 255, 255, 0), #fff);
background-image: -webkit-radial-gradient(center, ellipse farthest-corner, rgba(255, 255, 255, 0), #fff);
background-image: -ms-radial-gradient(center, ellipse farthest-corner, rgba(255, 255, 255, 0), #fff);
box-shadow: 0 0 9px #ccc inset;
font-size: 15px;
position: fixed;
left: 0;
bottom: 0;
padding: 0 15px 15px 15px;
border-top-right-radius: 45px;
text-align: left;
z-index: 3;
}
#station_data h1 {
font-size: 18px;
padding-top: 5px;
text-shadow: 0 0 9px #fff;
}
#station_data ul {
padding: 0 0 0 15px;
margin: 0;
}
#station_data ul li {
color: #666;
}
#station_data ul li span {
color: #000;
text-shadow: 0 0 6px #fff;
}
#station_status {
color: #185f0c;
font-weight: bold;
}

div.olControlZoom {
padding: 3px;
border-radius: 9px;
margin-top: 20px;
}
div.olControlZoom a {
padding: 3px;
background-color: #000 !important;
opacity: 0.6;
}
a.olControlZoomIn {
border-top-left-radius: 9px;
border-top-right-radius: 9px;
}
a.olControlZoomOut {
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
}
div.olControlAttribution {
position: fixed !important;
right: 15px;
bottom: 15px;
}

.olPopup {
z-index: 2147483647 !important;
background-color: rgba(0, 0, 0, 0.6) !important;
color: #fff;
margin: 15px;
border-radius: 3px;
text-align: center;
border: #666;
}
94 changes: 94 additions & 0 deletions Meteo/common/js/Highcharts-2.3.5/examples/area-basic/index.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Highcharts Example</title>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
var chart;
$(document).ready(function() {
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: 'area'
},
title: {
text: 'US and USSR nuclear stockpiles'
},
subtitle: {
text: 'Source: <a href="http://thebulletin.metapress.com/content/c4120650912x74k7/fulltext.pdf">'+
'thebulletin.metapress.com</a>'
},
xAxis: {
labels: {
formatter: function() {
return this.value; // clean, unformatted number for year
}
}
},
yAxis: {
title: {
text: 'Nuclear weapon states'
},
labels: {
formatter: function() {
return this.value / 1000 +'k';
}
}
},
tooltip: {
formatter: function() {
return this.series.name +' produced <b>'+
Highcharts.numberFormat(this.y, 0) +'</b><br/>warheads in '+ this.x;
}
},
plotOptions: {
area: {
pointStart: 1940,
marker: {
enabled: false,
symbol: 'circle',
radius: 2,
states: {
hover: {
enabled: true
}
}
}
}
},
series: [{
name: 'USA',
data: [null, null, null, null, null, 6 , 11, 32, 110, 235, 369, 640,
1005, 1436, 2063, 3057, 4618, 6444, 9822, 15468, 20434, 24126,
27387, 29459, 31056, 31982, 32040, 31233, 29224, 27342, 26662,
26956, 27912, 28999, 28965, 27826, 25579, 25722, 24826, 24605,
24304, 23464, 23708, 24099, 24357, 24237, 24401, 24344, 23586,
22380, 21004, 17287, 14747, 13076, 12555, 12144, 11009, 10950,
10871, 10824, 10577, 10527, 10475, 10421, 10358, 10295, 10104 ]
}, {
name: 'USSR/Russia',
data: [null, null, null, null, null, null, null , null , null ,null,
5, 25, 50, 120, 150, 200, 426, 660, 869, 1060, 1605, 2471, 3322,
4238, 5221, 6129, 7089, 8339, 9399, 10538, 11643, 13092, 14478,
15915, 17385, 19055, 21205, 23044, 25393, 27935, 30062, 32049,
33952, 35804, 37431, 39197, 45000, 43000, 41000, 39000, 37000,
35000, 33000, 31000, 29000, 27000, 25000, 24000, 23000, 22000,
21000, 20000, 19000, 18000, 18000, 17000, 16000]
}]
});
});

});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>

</body>
</html>
Loading

0 comments on commit e68cc77

Please sign in to comment.