forked from colorfest/angularjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilms.html
More file actions
79 lines (66 loc) · 1.89 KB
/
films.html
File metadata and controls
79 lines (66 loc) · 1.89 KB
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
<div class="interiorPage">
<h1>Films</h1>
<div class="nextFilmContainer">
<nextfilm>
<div class="hero-unit">
<div class="col-xs-12 col-sm-4">
<figure>
<img src="{{newFilm.thumbnail}}" alt="{{newFilm.title}}" />
<figcaption>{{newFilm.title}}</figcaption>
</figure>
</div>
<div class="col-xs-12 col-sm-6">
<h1>Next Film:<br>
{{newFilm.title}}</h1>
<h2>{{newFilm.date | date:'MMM dd, yyyy'}}</h2>
<p>{{newFilm.synopsis}}</p>
<ul>
<li><strong>Starring: </strong>{{newFilm.cast}}</li>
<li><strong>Director: </strong>{{newFilm.director}}</li>
<li><strong>Writers: </strong>{{newFilm.writers}}</li>
<li><strong>Rating: </strong>{{newFilm.rating}}</li>
<li><strong>Box Office: </strong>{{newFilm.boxoffice | currency}}</li>
</ul>
<div>
</div>
</div>
</div>
</nextfilm>
</div>
<br>
<div class="divider"></div>
<div class="otherFilms">
<div class="col-xs-12 col-sm-6">
<h2>Past Films</h2>
<dl data-ng-repeat="pastFilm in pastFilms | orderBy:'date'"
data-ng-click="getFilm(pastFilm.id)">
<div class="row">
<div class="col-xs-4">
<img src="{{pastFilm.thumbnail}}" alt="{{pastFilm.title}}" />
</div>
<div class="col-xs-8">
<dt>{{pastFilm.title}}</dt>
<dd>{{pastFilm.date | date: 'MMM dd, yyyy'}}</dd>
<dfn>{{pastFilm.synopsis}}</dfn>
</div>
</div>
</dl>
</div>
<div class="col-xs-12 col-sm-6">
<h2>Upcoming Films</h2>
<dl data-ng-repeat="film in films | orderBy:'date'"
data-ng-click="getFilm(film.id)">
<div class="row">
<div class="col-xs-4">
<img src="{{film.thumbnail}}" alt="{{film.title}}" />
</div>
<div class="col-xs-8">
<dt>{{film.title}}</dt>
<dd>{{film.date | date:'MMM dd, yyyy'}}</dd>
<dfn>{{film.synopsis}}</dfn>
</div>
</div>
</dl>
</div>
</div>
</div>