-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (93 loc) · 3.42 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Cyberpedia: {{title}}</title>
<link href="https://fonts.googleapis.com/css?family=Overpass+Mono|Share+Tech+Mono|VT323" rel="stylesheet">
<link rel="stylesheet" href="styles/cyberstyle.css">
</head>
<body>
<div id="cyberapp">
<div id="header">
<hgroup>
<h1><em>Cyber</em>pedia</h1>
<h2>20minutes into the future, 20 years ago.</h2>
<p>A highly subjective survey + referance to cyberpunk in media. Film, Television and Annimation</p>
</hgroup>
</div>
<nav id="main-nav">
<ul>
<li><a href="">About Cyberpunk</a></li>
<li><a href="">About Us</a></li>
<li><a href="">Links</a></li>
</ul>
</nav>
<div id="main-body">
<div class="title-index-container">
<div class="selection-criteria">
Selection-criteria:
<select name="" id="">
<option value="">Overall Rating</option>
</select>
<div class="igroup">
<input type="checkbox" name="checkbox" id="checkbox_id" value="value" disabled><label for="checkbox_id">True Cyberpunk only</label>
</div>
<div class="igroup">
<input type="checkbox" name="checkbox" id="checkbox_id" value="value" disabled><label for="checkbox_id">New Releases</label>
</div>
</div>
<div id="title-index">
<ul>
<!-- <li v-for="title in titles" key:"title.title" <a @click="selectTitle(title.title)">me{{this.title}}: <em>{{title.year}}</em></a></li> -->
<li v-for="(title, index) in titles"
:key="title.name"
@click="selectViewTitle(index)">
<a>{{title.name}}: <em>{{title.year}}</em></a>
</li>
<!-- <li> <a >{{title}}: <em>{{year}}</em></a></li> -->
</ul>
</div>
</div>
<div class="title-detail-container">
<div id="title-detail">
<div class="detail-head">
<h2>{{viewTitleName}} - <em>{{viewTitleYear}}</em></h2>
<h3>Director: {{viewTitleDirector}}</h3><h3 class="rank">OVERALL RANK: <strong>{{viewTitleRank}}</strong></h3>
<p><span class="flag-yes" v-show="cyscore > 60">It's <em>Cyberpunk</em></span> <span class="flag-yes" v-show="cyscore <= 50 && cyscore > 25">It's <em>Cyberpunk adjacent</em></span>
<span class="flag-yes" v-show="funscore > 50">:)</p>
</div>
<div id="detail-main">
Based on: {{viewTitleSource}}<br>
Screenplay: {{viewTitleScreenplay}}<br>
Running Time:{{viewTitleTime}}<br>
Language: {{viewTitleLang}} <br>
Format: {{viewTitleFormat}} <br>
Tomato: {{viewTitleTomato}} <br>
Siscore: {{viewTitleSiscore}} <br>
Cyscore: {{viewTitleCyscore}} <br>
Funscore: {{viewTitleFunscore}} <br>
<span class="flag-yes" v-if="flag">Flag True</span>
<span class="flag-no" v-else="flag">Flag False</span><br>
<br>
<h4>Summary:</h4>
<p>{{viewTitleSummary}}</p>
<br>
<h4>Review: </h4>
<p>{{viewTitleReview}}</p>
</div>
<figure class="title-poster">
<img v-bind:src="viewTitlePoster" alt="">
</figure>
Reader Likes: {{ readerResp }}% <button v-on:click="addLike">Like</button> <button v-on:click="addDislike">DisLike</button>
</div>
</div>
</div>
<div id="footer">
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="js/main.js"></script>
</body>
</html>