-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
138 lines (96 loc) · 4.96 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
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
<!doctype html>
<html>
<head>
<title>DevFest Mallorca</title>
<meta name="viewport"
content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<script src="bower_components/webcomponentsjs/webcomponents.js"> </script>
<link rel="stylesheet" href="index.css">
<link rel="import" href="bower_components/font-roboto/roboto.html">
<link rel="import" href="bower_components/core-pages/core-pages.html">
<link rel="import" href="bower_components/core-toolbar/core-toolbar.html">
<link rel="import" href="bower_components/core-header-panel/core-header-panel.html">
<link rel="import" href="bower_components/core-icons/core-icons.html">
<link rel="import" href="bower_components/core-menu/core-menu.html">
<link rel="import" href="bower_components/core-overlay/core-overlay.html">
<link rel="import" href="bower_components/core-transition/core-transition.html">
<link rel="import" href="bower_components/core-item/core-item.html">
<link rel="import" href="bower_components/core-image/core-image.html">
<link rel="import" href="bower_components/core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="bower_components/core-animated-pages/core-animated-pages.html">
<link rel="import" href="bower_components/core-pages/core-pages.html">
<link rel="import" href="bower_components/core-scaffold/core-scaffold.html">
<link rel="import" href="bower_components/core-animated-pages/transitions/slide-from-right.html">
<link rel="import" href="bower_components/paper-checkbox/paper-checkbox.html">
<link rel="import" href="bower_components/paper-slider/paper-slider.html">
<link rel="import" href="bower_components/paper-button/paper-button.html">
<link rel="import" href="bower_components/paper-icon-button/paper-icon-button.html">
<link rel="import" href="bower_components/paper-progress/paper-progress.html">
<link rel="import" href="bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="bower_components/paper-ripple/paper-ripple.html">
<link rel="import" href="bower_components/paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="bower_components/paper-input/paper-input.html">
<link rel="import" href="bower_components/paper-item/paper-item.html">
</head>
<body unresolved>
<core-drawer-panel id="drawerPanel" responsiveWidth="800px">
<core-header-panel drawer>
<core-toolbar id="navheader">
<span>Speakers</span>
</core-toolbar>
<core-menu selected="0">
<core-item label="Rafa" selected="0" icon="account-box"></core-item>
<core-item label="Kevin" selected="1" icon="face-unlock"></core-item>
</core-menu>
</core-header-panel>
<core-header-panel main>
<core-toolbar id="mainheader">
<paper-icon-button id="navicon" icon="menu" core-drawer-toggle></paper-icon-button>
<span flex>DevFest Mallorca</span>
</core-toolbar>
<div class="content">
<core-animated-pages selected="{{selected}}" transitions="slide-from-right" >
<div>
<h4>Este es la pagina de Rafa</h4>
<core-image preload fade sizing="over" src="http://spa.fotolog.com/photo/26/27/125/er_forta/1265329518972_f.jpg" id="img-rafa"></core-image>
<p class="twitter">
<a href="http://twitter.com/mrflopis" >@MrFlopis</a>
</p>
<hr>
<core-menu>
<paper-item >
<paper-slider label="Awesome Slider" min="0" max="100" editable immediateValue></paper-slider></paper-item>
<paper-item>
<paper-checkbox label="Like Polymer?"></paper-checkbox>
</paper-item>
<paper-item>
<paper-toggle-button label="You Sure?"></paper-toggle-button>
<paper-item>
</core-menu>
</div>
<div>
<h4>Este es la pagina de Kevin</h4>
<core-image preload fade sizing="cover" src="http://photos2.meetupstatic.com/photos/member/c/1/f/4/highres_111769652.jpeg" id="img-kevin"></core-image>
<p class="twitter">
<a href="http://twitter.com/kevgohagan" >@Kevohagan</a>
</p>
<hr>
<paper-slider min="0" max="100"></paper-slider>
<paper-checkbox></paper-checkbox>
<paper-toggle-button></paper-toggle-button>
</div>
</core-animated-pages>
</div>
</core-header-panel>
</core-drawer-panel>
<script>
var selected = 0;
var menu = document.querySelector('core-menu');
menu.addEventListener('click', function(e) {
var pages = document.querySelector('core-animated-pages');
pages.selected = e.toElement.attributes.selected.value;
});
</script>
</body>
<link rel="javascript" src="index.js">
</html>