summaryrefslogtreecommitdiff
path: root/imdb-lookup/index.jinja2.html
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-23 01:35:48 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-23 01:35:48 +0100
commit94a86bb23d97c2fd1bc38fca73b99e72a7fdfa8e (patch)
treebecf09c66ee26dc2dd4f7fd26652fbd296baf828 /imdb-lookup/index.jinja2.html
parent82f5bd6a4aff840f21076a8bf47a022d08b1dddf (diff)
downloadscripts-94a86bb23d97c2fd1bc38fca73b99e72a7fdfa8e.tar.gz
scripts-94a86bb23d97c2fd1bc38fca73b99e72a7fdfa8e.zip
remove jinja
Diffstat (limited to 'imdb-lookup/index.jinja2.html')
-rw-r--r--imdb-lookup/index.jinja2.html119
1 files changed, 0 insertions, 119 deletions
diff --git a/imdb-lookup/index.jinja2.html b/imdb-lookup/index.jinja2.html
deleted file mode 100644
index 94fb525..0000000
--- a/imdb-lookup/index.jinja2.html
+++ /dev/null
@@ -1,119 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>{{title}}</title>
- <link rel="stylesheet" href="{{ install("css/normalize.css") }}">
- <link rel="stylesheet" href="{{ install("css/style.css") }}">
- </head>
- <body>
- <script type="text/x-handlebars">
- <h1>{{title}}</h1>
- {% raw %}
- {{outlet}}
- </script>
- <script type="text/x-handlebars" id="index">
- <div class="box">
- <div class="sort">
- <label>Sort by:</label>
- <button {{action 'sortBy' 'title'}}>Title</button>
- <button {{action 'sortBy' 'imdbRating'}}>IMDB Rating</button>
- <button {{action 'sortBy' 'imdbVotes'}}>IMDB Votes</button>
- <button {{action 'sortBy' 'release'}}>Release Year</button>
- <button {{action 'sortBy' 'omdbTomato'}}>RT Meter %</button>
- <button {{action 'sortBy' 'omdbTomatoRating'}}>RT Rating</button>
- <label>Per page:</label>
- {{view "select" content=visiblePerPage value=perPage}}
- </div>
- </div>
- <div class="box">
- <center>
- {{#each page in pages}}
- <label>{{page.runningLabel}}</label>
- <button {{action 'setPage' page.number}}>{{page.number}}</button>
- {{/each}}
- </center>
- </div>
- {{#each movie in paginatedContent}}
- <div class="box">
- <table>
- <tr>
- <td class="poster">
- {{#if movie.poster}}
- <img {{bind-attr src=movie.poster}} />
- {{else}}
- <span> no image </span>
- {{/if}}
- </td>
- <td class="info">
- <div class="title">
- {{movie.title}}
- </div>
- <div class="headline">
- <div class="plot">{{movie.plot}}</div>
- <div class="consensus">{{movie.omdbTomatoConsensus}}</div>
- <table class="details">
- {{#if movie.website}}
- <tr>
- <td colspan="2">
- ➜ <a {{bind-attr href=movie.website}}>{{movie.website}}</a>
- </td>
- </tr>
- {{/if}}
- <tr>
- <td colspan="2">
- ➜ <a {{bind-attr href=movie.linkTmdb}} rel="noreferrer">themoviedb.org</a>
- &ensp;
- ➜ <a {{bind-attr href=movie.linkImdb}} rel="noreferrer">imdb.com</a>
- &ensp;
- ➜ <a {{bind-attr href=movie.linkLetterboxd}} rel="noreferrer">letterboxd.com</a>
- &ensp;
- ➜ <a {{bind-attr href=movie.linkOfdb}} rel="noreferrer">ofdb.db</a>
- &ensp;
- ➜ <a {{bind-attr href=movie.linkRotten}} rel="noreferrer">rottentomatoes</a>
- &ensp;
- ➜ <span class="imdbid">{{movie.id}}</span>
- </td>
- </tr>
- </table>
- <ul class="files">
- {{#each file in movie.movieFiles}}
- <li>{{filelink file}}</li>
- {{/each}}
- </ul>
- </td>
- <td class="ratings">
- <table>
- <tr><td>IMDB</td><td>{{movie.imdbRating}}</td></tr>
- <tr><td>IMDB votes</td><td>{{movie.imdbVotes}}</td></tr>
- {{#if movie.omdbTomatoRating}}
- <tr><td>RT</td><td>{{movie.omdbTomatoRating}}</td></tr>
- {{/if}}
- {{#if movie.omdbTomatoUserRating}}
- <tr><td>RT User</td><td>{{movie.omdbTomatoUserRating}}</td></tr>
- {{/if}}
- {{#if movie.omdbTomato}}
- <tr><td>Meter</td><td>{{movie.omdbTomato}}%</td></tr>
- {{/if}}
- {{#if movie.omdbUserTomato}}
- <tr><td>Meter User</td><td>{{movie.omdbUserTomato}}%</td></tr>
- {{/if}}
- </table>
- </td>
- </tr>
- </table>
- <div class="box-footer">
- {{movie.tagline}}
- </div>
- </div>
- {{/each}}
- </script>
- {% endraw %}
- <script type="text/javascript" src="{{ install("js/libs/all.min.js") }}"></script>
- <script type="text/javascript" src="{{ install("js/app.js") }}"></script>
- <script type="text/javascript" src="{{ data('dataCb') }}"></script>
- </body>
-</html>
-<!--
-vim: tabstop=1 expandtab shiftwidth=1 softtabstop=1:
--->