summaryrefslogtreecommitdiff
path: root/imdb-lookup/html
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-23 17:24:15 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-23 17:24:15 +0100
commit46d53e680ce67aed0fc71dc9fb50fb8508a69c4b (patch)
tree718cc4a63a6c85e9fcf36eced706aee601728c7a /imdb-lookup/html
parent57f7748846f4c8c35686ac14ec91529cd6dc1f26 (diff)
downloadscripts-46d53e680ce67aed0fc71dc9fb50fb8508a69c4b.tar.gz
scripts-46d53e680ce67aed0fc71dc9fb50fb8508a69c4b.zip
sort all inline-block
Diffstat (limited to 'imdb-lookup/html')
-rw-r--r--imdb-lookup/html/index.html106
1 files changed, 52 insertions, 54 deletions
diff --git a/imdb-lookup/html/index.html b/imdb-lookup/html/index.html
index 8bace8d..53ceee7 100644
--- a/imdb-lookup/html/index.html
+++ b/imdb-lookup/html/index.html
@@ -12,61 +12,59 @@
</script>
<script type="text/x-handlebars" id="index">
<div class="box">
- <div class="sort">
- <fieldset>
- <legend>Sort by</legend>
+ <fieldset style="display: inline-block;">
+ <legend>Sort by</legend>
+ <label>
+ {{view "radio" name="sortProperties" value="title" property="firstSortProperty"}}
+ Title
+ </label>
+ <label>
+ {{view "radio" name="sortProperties" value="imdbRating" property="firstSortProperty"}}
+ IMDB Rating
+ </label>
+ <label>
+ {{view "radio" name="sortProperties" value="imdbVotes" property="firstSortProperty"}}
+ IMDB Votes
+ </label>
+ <label>
+ {{view "radio" name="sortProperties" value="release" property="firstSortProperty"}}
+ Release Year
+ </label>
+ <label>
+ {{view "radio" name="sortProperties" value="omdbTomato" property="firstSortProperty"}}
+ RT Meter %
+ </label>
+ <label>
+ {{view "radio" name="sortProperties" value="omdbTomatoRating" property="firstSortProperty"}}
+ RT Rating
+ </label>
+ </fieldset>
+ <fieldset style="display: inline-block;">
+ <legend>Sort Direction</legend>
+ <label>
+ {{view "radio" name="sortDirection" value="false" property="sortAscending"}}
+ Descending
+ </label>
<label>
- {{view "radio" name="sortProperties" value="title" property="firstSortProperty"}}
- Title
- </label>
- <label>
- {{view "radio" name="sortProperties" value="imdbRating" property="firstSortProperty"}}
- IMDB Rating
- </label>
- <label>
- {{view "radio" name="sortProperties" value="imdbVotes" property="firstSortProperty"}}
- IMDB Votes
- </label>
- <label>
- {{view "radio" name="sortProperties" value="release" property="firstSortProperty"}}
- Release Year
- </label>
- <label>
- {{view "radio" name="sortProperties" value="omdbTomato" property="firstSortProperty"}}
- RT Meter %
- </label>
- <label>
- {{view "radio" name="sortProperties" value="omdbTomatoRating" property="firstSortProperty"}}
- RT Rating
- </label>
- </fieldset>
- <fieldset style="display: inline-block;">
- <legend>Sort Direction</legend>
- <label>
- {{view "radio" name="sortDirection" value="false" property="sortAscending"}}
- Descending
- </label>
- <label>
- {{view "radio" name="sortDirection" value="true" property="sortAscending"}}
- Ascending
- </label>
- </fieldset>
- <fieldset style="display: inline-block;">
- <legend>View</legend>
- <label>Per page:
- {{view "select" content=visiblePerPage value=perPage}}
- </label>
- </fieldset>
- <fieldset>
- <legend>Current page</legend>
- <center>
- {{#each pageLink in pages}}
- <label>{{pageLink.runningLabel}}</label>
- <button {{bind-attr style=pageLink.style}}{{action 'setPage' pageLink.number}}>{{pageLink.number}}</button>
- {{/each}}
- </center>
- </fieldset>
- </div>
+ {{view "radio" name="sortDirection" value="true" property="sortAscending"}}
+ Ascending
+ </label>
+ </fieldset>
+ <fieldset style="display: inline-block;">
+ <legend>View</legend>
+ <label>Per page:
+ {{view "select" content=visiblePerPage value=perPage}}
+ </label>
+ </fieldset>
+ <fieldset>
+ <legend>Current page</legend>
+ <center>
+ {{#each pageLink in pages}}
+ <label>{{pageLink.runningLabel}}</label>
+ <button {{bind-attr style=pageLink.style}}{{action 'setPage' pageLink.number}}>{{pageLink.number}}</button>
+ {{/each}}
+ </center>
+ </fieldset>
</div>
{{#each movie in paginatedContent}}