summaryrefslogtreecommitdiff
path: root/movietool/html/movies-grid.html
blob: 7e63ccb1ba59e21cbc4d25e0228e761afdc6b913 (plain)
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
<!DOCTYPE html>
<html lang="en">
 <head>
 <meta charset="utf-8">
  <title>Movies</title>
  <link rel="stylesheet" href="movies-files/css/normalize.css" />
  <link rel="stylesheet" href="movies-files/css/style.css" />
 </head>
 <body>
  <script type="text/x-handlebars">
    {{outlet}}
  </script>
  <script type="text/x-handlebars" id="index">
    <div class="grid-filter">
      {{input value=filterTextEntry placeholder="Type to filter.." key-up='applyFilter' size="30"}}
    </div>
    <div class="grid">
    {{#each movie in filteredContent}}
    <div class="grid-poster">
      <a {{bind-attr href=movie.path.path title=movie.path.label}}>
        {{#if movie.poster}}
        <img {{bind-attr src=movie.posterGrid alt=movie.path.label style="z-index: 3"}} />
        {{else}}
        <span> no image </span>
        {{/if}}
      </a>
      <div class="grid-label">
        {{movie.title}}
      </div>
    </div>
    {{/each}}
    </div>
    <p style="height: 100px;clear: both;"></p>
  </script>
  <script type="text/javascript" src="movies-files/js/libs/all.min.js"></script>
  <script type="text/javascript" src="movies-files/js/app.js"></script>
  <script type="text/javascript" src="movies-files/data.js"></script>
 </body>
</html>
<!--
vim: tabstop=1 expandtab shiftwidth=1 softtabstop=1:
-->