-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUltraTier.html
More file actions
216 lines (195 loc) · 11.6 KB
/
UltraTier.html
File metadata and controls
216 lines (195 loc) · 11.6 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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!doctype html>
<!--
========================================================================
Ultra Tier List
========================================================================
Version: 1.1
Author: Bobby Jones (https://github.com/bobbyjones)
Attribution / Special Thanks:
------------------------------
1) SortableJS (https://github.com/SortableJS/Sortable)
2) Icomoon App (https://icomoon.io/)
------------------------------------------------------------------------
License
------------------------------------------------------------------------
This software is released under the 3-Clause BSD License:
Copyright: 2025 - Bobby Jones
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
“AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Ultra Tier Lists is an advanced offline tier maker, that allows you to place images into custom tiered rows and sort them based on your preference.">
<link rel="stylesheet" href="css/ultraTier.css"/>
<script src="js/Sortable.js"></script>
<script src="js/ultraTier.js" async></script>
<script src="js/html2canvas.js" async></script>
<title>Ultra Tier Lists</title>
</head>
<body id="body">
<div class="siteMain">
<nav class="navbuttons">
<button onClick="newTierList()" class="button icon-list redButton" title="New Tier List"><p>New Tier List</p></button>
<button onClick="saveTierList()" class="button icon-floppy-disk orangeButton" title="Save Tier List"><p>Save Tier List</p></button>
<label for="loadTier" class="button icon-download yellowButton" title="Load Tier List"><p>Load Tier List</p></label>
<input type="file" id="loadTier" accept=".html" class="hideButton">
<label for="importImgButton" class="button icon-images greenButton" title="Import Images"><p>Import Images</p></label>
<input id="importImgButton" type="file" multiple class="hideButton">
<button onClick="screenshot()" class="button icon-camera blueButton" title="Screenshot"><p>Screenshot</p></button>
<label for="settingsMenu" class="button icon-cog settingsButton purpleButton" title="Settings"><p>Settings</p></label>
<input type="checkbox" id="settingsMenu" name="settings" class="hideButton">
</nav>
<nav class="tierSettings" id="tierSettings">
<form class="imageSizeSettings">
<fieldset>
<legend>Adjust Image Size</legend>
<label for="imgSizeXS">
<input type="radio" id="imgSizeXS" name="adjustImage" value="imgSizeXS" onClick="adjustImageSize()">
X-Small
</label>
<label for="imgSizeSmall">
<input type="radio" id="imgSizeSmall" name="adjustImage" value="imgSizeSmall" checked onClick="adjustImageSize()">
Small
</label>
<label for="imgSizeMedium">
<input type="radio" id="imgSizeMedium" name="adjustImage" value="imgSizeMedium" onClick="adjustImageSize()">
Medium
</label>
<label for="imgSizeLarge">
<input type="radio" id="imgSizeLarge" name="adjustImage" value="imgSizeLarge" onClick="adjustImageSize()">
Large
</label>
<label for="imgSizeXL">
<input type="radio" id="imgSizeXL" name="adjustImage" value="imgSizeXL" onClick="adjustImageSize()">
X-Large
</label>
</fieldset>
</form>
<form class="toggleImageCount">
<fieldset>
<legend>Toggle Image Count</legend>
<label for="countOn">
<input checked type="checkbox" id="count-toggle" onClick="toggleCount()" >
Toggle Image Counter On/Off
</label>
</fieldset>
</form>
<form class="toggleLabel">
<fieldset>
<legend>Toggle Image Label</legend>
<label for="labelToggle">
<input type="checkbox" id="labelToggle" onClick="toggleLabel()" >
Toggle Image Label On/Off
</label>
</fieldset>
</form>
<form class="toggleLabelName">
<fieldset>
<legend>Toggle Use File Name as Image Label</legend>
<label for="labelNameToggle">
<input type="checkbox" id="labelNameToggle" onClick="toggleLabelName()" >
Use File Name as Image Label on Image Import?
</label>
</fieldset>
</form>
<form class="imagePoolLocation">
<fieldset>
<legend>Image Pool Location</legend>
<label for="poolTop">
<input type="radio" id="poolTop" name="poolLocation" value="poolTop" checked onClick="imagePoolLocation()">
Top
</label>
<label for="poolBottom">
<input type="radio" id="poolBottom" name="poolLocation" value="poolBottom" onClick="imagePoolLocation()">
Bottom
</label>
<label for="poolLeft">
<input type="radio" id="poolLeft" name="poolLocation" value="poolLeft" onClick="imagePoolLocation()">
Left
</label>
<label for="poolRight">
<input type="radio" id="poolRight" name="poolLocation" value="poolRight" onClick="imagePoolLocation()">
Right
</label>
<label for="poolHide">
<input type="radio" id="poolHide" name="poolLocation" value="poolHide" onClick="imagePoolLocation()">
Hide
</label>
</fieldset>
</form>
<form class="imageMargin">
<fieldset>
<legend>Image Spacing</legend>
<p>Space images out so there are small gaps inbetween the images?</p>
<label for="imageMarginYes">
<input type="radio" id="imageMarginYes" name="imageSpacingName" value="imageMarginYes" checked onClick="imageSpacing()">
Yes
</label>
<label for="imageMarginNo">
<input type="radio" id="imageMarginNo" name="imageSpacingName" value="imageMarginNo" onClick="imageSpacing()">
No
</label>
</fieldset>
</form>
</nav>
<div id="mainWrap" class="sortable-list">
<div class="tierTitle" id="tierTitle" onClick="changeTierTitle(this)">Enter Tier Title Here</div>
<ol class="imagePool dragContainer imagePoolTop" id="imagePool">
</ol>
<div id="main" class="loadImgMarginYes loadPoolTop loadFileNameOff loadLabelOff loadCountOn loadImgSmall">
</div>
<dialog id="tierBgDialog" class="tierBgColorMenu">
<button onclick="tierBgDialog.close()" class="dialogCloseButton"><span class="icon-cross"></span></button>
<div class="colorSelectWrap">
<h1>Choose Tier Color</h1>
<form class="colorSelect">
<input type="radio" name="tierBG" id="red" value="red" onClick="tierBg()">
<label for="red" class="redLabel"><span class="redBg"></span></label>
<input type="radio" name="tierBG" id="orange" value="orange" onClick="tierBg()">
<label for="orange"><span class="orangeBg"></span></label>
<input type="radio" name="tierBG" id="yellow" value="yellow" onClick="tierBg()">
<label for="yellow"><span class="yellowBg"></span></label>
<input type="radio" name="tierBG" id="green" value="green" onClick="tierBg()">
<label for="green"><span class="greenBg"></span></label>
<input type="radio" name="tierBG" id="blue" value="blue" onClick="tierBg()">
<label for="blue"><span class="blueBg"></span></label>
<input type="radio" name="tierBG" id="purple" value="purple" onClick="tierBg()">
<label for="purple"><span class="purpleBg"></span></label>
<input type="radio" name="tierBG" id="pink" value="pink" onClick="tierBg()">
<label for="pink"><span class="pinkBg"></span></label>
</form>
<button onclick="resetBg()" class="resetBgButton">Reset to Default Color</button>
</div>
</dialog>
</div>
</div>
<footer>
<div class ="logoWrap">
<a href="https://github.com/bobbyjones" target="new">
<img src="img/ultra-tier-logo.png" alt="Ulta Tier Lists" class="logo">
</a>
</div>
</footer>
</body>
</html>