forked from snize/Meteor-YouTube-Search
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (28 loc) · 668 Bytes
/
index.html
File metadata and controls
29 lines (28 loc) · 668 Bytes
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
<head>
<meta charset="UTF-8">
<title>Meteor YouTube Search</title>
</head>
<body>
<h1>YouTube Search</h1>
{{> youtubeSearch}}
</body>
<template name="youtubeSearch">
<div>
<form name="myForm">
<input type="text">
<input type="button" value="search" disabled>
</form>
<h2>Results</h2>
{{#if foo}}
<ul style="list-style:none;padding:0">
{{#each results}}
<li>
<img src="{{this.media$group.media$thumbnail.[0].url}}">
{{this.title.$t}}
</li>
{{/each}}
</ul>
{{/if}}
{{#unless foo}}<p>↑ 上から検索してください。</p>{{/unless}}
</div>
</template>