-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (61 loc) · 2.92 KB
/
index.html
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Entropic's Films</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/spinner.css" rel="stylesheet">
</head>
<body ng-app="app" ng-controller="controller">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-inner">
<a ng-click="showsearch = !showsearch;" type="button" class="btn btn-cust"><span class="glyphicon glyphicon-search"></span></a>
<a class="navbar-brand" href="#" style="color: #fff;">TheEntropics's Films</a>
</div>
</div>
</nav>
<div class="container" style="padding-top: 51px;" ng-click="showsearch = false;">
<div ng-show="films.length !== 0">
<div class="row">
<span class="" ng-repeat="film in films | filter : searchFilter | orderBy : ['language', 'title', 'filename']">
<div class="film">
<a href='{{film.path}}'>
<div class='poster'>
<div class='image' back-img="{{film.image}}"></div>
<div class='info-background'></div>
<div class='info'>
<img class='play' src='play.svg'></img>
<span class='rating' ng-if="film.rating >= 0">{{film.rating}} / 10</span>
<img ng-src='{{"flags/" + film.language + ".png"}}' class='flag' ng-if="film.language !== ''"></img>
</div>
</div>
</a>
<b class='title'>{{film.title !== "" ? film.title : film.filename}}</b>
</div>
</span>
</div>
</div>
<div class="loadingview" ng-show="films.length === 0" style="padding-top: 51px;">
<div class="spinner">
<svg class="svg" width=200 height=200>
<circle cx=100 cy=100 r=50 />
</svg>
</div>
</div>
</div>
<div class="fixedContainer" style="padding-top: 60px;" ng-show="films.length !== 0">
<div class="input-group searchbar" ng-show="showsearch">
<span class="input-group-addon"><span class="glyphicon glyphicon-search"></span></span>
<input type="text" class="form-control" placeholder="Search..." ng-model="search" aria-describedby="basic-addon1"></input>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>