wasm-bindgen/examples/weather_report/index.html
Ayush Mishra 979f0d28bf
Added example for weather report using rust and webassembly (#2216)
Minor refactoring

Updated readme file

Updated readme file

fixed build error

Fixed build error

Co-authored-by: Ayush Kumar Mishra <ayush.k.mishra@xcelenergy.com>
2020-06-25 09:04:14 -05:00

125 lines
2.4 KiB
HTML

<html lang="en">
<head>
<title>Weather Information System</title>
<link rel="stylesheet" media="screen" href="assets/stylesheets/bootstrap.css">
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
</head>
<body style data-gr-c-s-loaded="true">
<style type="text/css">.ReportStyles-mainDiv {
border-bottom: 1px solid #eee;
background-color: #3D4048;
}
.ReportStyles-heading {
margin-bottom: 5px;
color: rgb(220, 208, 192);
text-align: center;
}
.ReportStyles-firstSpan {
margin-left: 20px;
text-transform: uppercase;
text-shadow: 2px 2px 4px #000;
}
.ReportStyles-secondSpan {
text-shadow: 1px 1px 1px #000;
}
.ReportStyles-firstImg {
height: 60px;
width: 60px;
}
.ReportStyles-secondImg {
height: 60px;
width: 60px;
margin-left: 20px;
}
.ReportStyles-secondDiv {
margin-top: 10%;
}
.ReportStyles-search {
width: 60%;
height: 35px;
margin: 0% 0px 0px 16%;
-webkit-border-radius: 0;
border-radius: 0;
padding-left: 5px;
}
.ReportStyles-bootstrapButton {
height: 35px;
margin: -1px 0px 0px 0%;
-webkit-border-radius: 0;
border-radius: 0;
}
.ReportStyles-mainContainer {
margin-top: 30px;
border-top: 2px solid #ccc;
padding-top: 30px;
border-bottom: 2px solid #ccc;
padding-bottom: 30px;
display: none;
}
.ReportStyles-innerDiv {
width: 530px;
height: 400px;
margin-left: 60px;
}
.ReportStyles-city {
font-size: 28px;
color: #67890a;
font-weight: bold;
}
.ReportStyles-table {
width: 540px;
text-align: center;
margin-top: 10px;
}
.ReportStyles-td {
padding: 20px;
}
.ReportStyles-firstTd {
padding: 0;
font-weight: bold;
font-size: 22px;
}
.ReportStyles-secondTd {
padding: 0;
font-weight: bold;
}
.ReportStyles-mapCanvas {
height: 430px;
width: 512px;
}
</style>
<script src="index.js"></script>
<div class=" ReportStyles-mainDiv col-md-12">
<h1 class=" ReportStyles-heading">
<img class=" ReportStyles-firstImg" src="assets/images/image.png">
<span class=" ReportStyles-firstSpan">Weather Report - </span>
<span class=" ReportStyles-secondSpan">Get the mood of your city on one click</span>
<img class=" ReportStyles-secondImg" src="assets/images/image.png">
</h1>
</div>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
</body>
</html>