blob: 9cec0e8a5f35a9717c9a3105a6ba71d7e0a94062 (
plain) (
blame)
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
|
<!doctype html>
<html>
<head>
<meta charset='utf-8' lang='en'/>
<title>Interactive Tiers</title>
<link rel="stylesheet" href="styles.css">
<script src="index.js" defer></script>
</head>
<body>
<div class='title'>
<label class='title-label' for='title-input'>My TierList</label>
<input type='text' id='title-input' />
</div>
<a href='https://github.com/pinapelz/interactive-tierlist' class='gh-link'>GitHub</a>
<section class='main-content'>
<div class='tierlist'>
</div>
<div class='toggleable-container'>
<div class='bottom-container'>
<div class='buttons-container'>
<div class='button'>
<label for='load-img-input'>
<img src='img/plus-circle.svg' title='Add images'/>
</label>
<input id='load-img-input' type='file' accept='image/*' multiple/>
</div>
<div class='button'>
<label for='reset-list-input'>
<img src='img/x-circle.svg' title='Reset list'>
</label>
<input id='reset-list-input' type='button' />
</div>
<div class='button'>
<label for='export-input'>
<img src='img/upload.svg' title='Export'>
</label>
<input id='export-input' type='button' />
</div>
<div class='button'>
<label for='import-input'>
<img src='img/download.svg' title='Import Existing List'/>
</label>
<input id='import-input' type='file' accept='.json' multiple/>
</div>
<div class='button'>
<label for='export-input-html'>
<img src='img/globe.svg' title='Export HTML'>
</label>
<input id='export-input-html' type='button' />
</div>
</div>
<section class='images'></section>
</div>
<p class='hint'>Hint: drag an image left/right within the same row to reorder it quickly. You can also paste an image into this page to add it to the image list.</p>
</div>
</section>
<div class="top-container">
<img id='trash' src='img/trash.svg' title='Delete image (drag it over here)'>
<div class='button'>
<label for='toggle-layout'>
<img src='img/layout.svg' title='Toggle Layout'/>
</label>
<input id='toggle-layout' type='button'/>
</div>
</div>
<div id="image-modal" class="modal">
<div class="modal-content">
<span class="close"></span>
<img id="modal-img" src="" alt="Image preview" />
<input id="modal-title" type="text" placeholder="Enter title here" />
<textarea id="modal-description" placeholder="Enter description here"></textarea>
<button id="modal-save">Save</button>
</div>
</div>
</body>
</html>
|