-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (34 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Polymer WeatherApp</title>
<!-- Polymer files -->
<script src="bower_components/webcomponentsjs/webcomponents.js"></script>
<link rel="import" href="bower_components/polymer/polymer.html">
<!-- Elements -->
<link rel="import" href="components/elements.html">
<link rel="stylesheet" type="text/css" href="bower_components/weather-icons/css/weather-icons.css">
</head>
<body unresolved class="fullbleed layout vertical">
<template is="dom-bind" id="app">
<paper-header-panel id="paperHeaderPanelMain">
<paper-toolbar>
<div class="title">Weather App</div>
<paper-icon-button icon="search" data-dialog="eligeCiudad" on-click="openDialog"></paper-icon-button>
</paper-toolbar>
<div class="content">
<weather-panel city="{{currentcity}}"></weather-panel>
</div>
</paper-header-panel>
<paper-dialog id="eligeCiudad" modal>
<paper-input id="input-currentcity" label="Elige una ciudad"></paper-input>
<div class="buttons">
<paper-button dialog-confirm autofocus on-tap="setCurrentCity">Buscar</paper-button>
</div>
</paper-dialog>
</template>
<script src="scripts/app.js"></script>
</body>
</html>