-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (144 loc) · 8.3 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>TFT Visualization Graph</title>
<!-- favicom -->
<link rel="icon" type="image/png" href="imgs/tftgraph-icon.png">
<!-- bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Material icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/>
<link rel="stylesheet" type="text/css" href="./css/joint_v3.1.css" />
<link rel="stylesheet" type="text/css" href="./css/tft.css" />
<link rel="stylesheet" type="text/css" href="./css/interfaz.css" />
<script src="./libs/jquery_V3.4.1.js"></script>
<script src="./libs/lodash.js"></script>
<script src="./libs/backbone.js"></script>
<script src="./libs/joint_v3.1.js"></script>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark main-nav">
<a class="navbar-brand" href="#"><img class="logo" src="imgs/tftgraph-icon.png" alt="TFTGraph"></a>
<a href="#"><button class="btn-group menubutton" type="button" id="btnCenterGraph" onclick="centerPage()">Center page</button></a>
<form class="form-inline" action="">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="material-icons">search</i></span>
</div>
<input type="text" id="txtSearchChamp" class="form-control" placeholder="Champion/Trait" onkeyup="highlightChampSearch(this)">
</div>
</form>
<a href="#" onclick="showClassFromFoot('container-instructions')" class="menubutton">Instructions<i class="material-icons md-light help-info">info</i></a>
<div class="menu-right">
<a href="#" onclick="showClassFromFoot('container-about')">About</a>
<a href="#" onclick="showClassFromFoot('container-contact')">Contact</a>
</div>
</nav>
</header>
<div id="toolbox">
<div id="toolbox-header">
<ul class="nav nav-tabs">
<li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#composition-body">Composition</a></li>
<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#info">Info</a></li>
</ul>
</div>
<div id="toolbox-body" class="tab-content">
<div id="composition-body" class="container tab-pane active">
<div id="composition-actual">
<h5>Composition</h5>
<div id="composition-actual-traits"></div>
<div id="composition-actual-champs"></div>
</div>
<div id="composition-suggestion">
<h5>Suggestion</h5>
<div id="composition-suggestion-traits"></div>
<div id="composition-suggestion-champs"></div>
</div>
<span class="how-to">click on character or trait for add to composition</span>
<div id="container-pub-2" class="container-pub">
<button class="btn-close-pub" onclick="hidePub('container-pub-2')">x</button>
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="https://rcm-eu.amazon-adsystem.com/e/cm?ref=tf_til&t=visualtft-21&m=amazon&o=30&p=8&l=as1&IS1=1&asins=B07Q5VGJY8&linkId=391bc02743046193e3cf93e7f3432d8b&bc1=000000<1=_blank&fc1=333333&lc1=0066c0&bg1=ffffff&f=ifr">
</iframe>
</div>
</div>
<div id="info" class="container tab-pane fade">
<div class="header">
<h5>Panel Info</h5>
<span class="lang">Language</span><button id="change-lang" value="es" onclick="changeLanguage(this)"></button>
</div>
<div id="trait-info">
<div id="trait-type"></div>
<div id="trait-name"></div>
<img src="#" alt="trait" id="trait-img">
<div id="trait-body"></div>
<div id="trait-sets"></div>
</div>
<div id="champ-info">
<div id="champ-header">
<div id="champ-name"></div>
<div id="champ-cost"></div>
</div>
<img src="#" alt="champ" id="champ-img">
<div id="champ-body">
<div id="champ-class"><span>Classes: </span><div id="champ-class-desc"></div></div>
<div id="champ-elements"><span>Elements: </span><div id="champ-elements-desc"></div></div>
<div id="champ-ability"><span>Ability: </span><div id="champ-ability-desc"></div></div>
</div>
</div>
<span class="how-to">press control and put mouse on character or trait</span>
<div id="container-pub-1" class="container-pub">
<button class="btn-close-pub" onclick="hidePub('container-pub-1')">x</button>
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="https://rcm-eu.amazon-adsystem.com/e/cm?ref=tf_til&t=visualtft-21&m=amazon&o=30&p=8&l=as1&IS1=1&asins=B07Q5VGJY8&linkId=391bc02743046193e3cf93e7f3432d8b&bc1=000000<1=_blank&fc1=333333&lc1=0066c0&bg1=ffffff&f=ifr">
</iframe>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div id="paper" class="col-md-12"></div>
</div>
</div>
<div class="fake-foot">
<div class="container-instructions">
<h4>Instructions of use</h4>
<ul>
<li>Left click on a champion/element/origin to add it to the composition</li>
<li>Right click on a champion/element/origin to remove it to the composition</li>
<li>Left click and move to change champion/element/origin position</li>
<li>Use the Mouse Wheel to zoom or press it to move page</li>
<li>Click on background for delete the composition</li>
<li>Click on Center page button for center the page</li>
</ul>
<button class="btn btn-primary btn-close" onclick="hideClassFromFoot('container-instructions')">Close</button>
</div>
<div class="container-contact">
<h4>Contact</h4>
<ul>
<li>Mail: [email protected]</li>
</ul>
<button class="btn btn-primary btn-close" onclick="hideClassFromFoot('container-contact')">Close</button>
</div>
<div class="container-about">
<h4>About this page</h4>
<p>This page is in beta.</p>
<p>TFT Visualization Graph isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games
or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.</p>
<button class="btn btn-primary btn-close" onclick="hideClassFromFoot('container-about')">Close</button>
</div>
</div>
<div id="container-banner" class="container-banner">
<button class="btn-close-pub" onclick="hidePub('container-banner')">x</button>
<iframe src="https://rcm-eu.amazon-adsystem.com/e/cm?o=30&p=48&l=ez&f=ifr&linkID=21565a5ea4c02edf3b6ba8a34050c80d&t=visualtft-21&tracking_id=visualtft-21" width="728" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe>
</div>
<script src="./tft/js/tft.js"></script>
</body>
</html>