-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
152 lines (137 loc) · 6.11 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
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<title>XNB2CP Web</title>
<link rel="stylesheet" href="src/index.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.4.0/css/all.css">
</head>
<body>
<div class="file-disabler hidden">
<img
src="assets/cancel_btn.png"
alt="Cancel"
class="file-cancel-btn clickable"
width="50"
height="50"
/>
<img
src="assets/cancel_btn_overlay.png"
alt="Cancel"
class="file-cancel-btn-overlay clickable"
width="50"
height="50"
/>
<div class="file-disabler-margin">
<h1 data-translation-key="choose-content-folder.h1"></h1>
<br/>
<h2 data-translation-key="file-upload-dialog-opened.h2"></h2>
</div>
</div>
<div class="blur"></div>
<div class="credits-overlay">
<div class="github-link corner-link">
<a href="https://github.com/anotherpillow/xnb2cp" target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</div>
<div class="language-btn corner-link">
<button>
<i class="fa-solid fa-globe"></i>
</button>
</div>
<div class="background-credits">
<p data-translation-key="background-credits.p"></p>
</div>
<div class="text-credits">
<p data-translation-key="text-mod-credits.p"></p>
</div>
</div>
<div id="main">
<div id="title">
<h1 data-translation-key="title.h1"></h1>
<h3><a href="https://github.com/anotherpillow/xnb2cp#usage" target="_blank" data-translation-key="usage-guide.h3"></a></h3>
</div>
<div id="columns">
<div class="column left">
<h2 data-translation-key="manifest.h2"></h2>
<form id="manifest-form">
<div class="form-row">
<label for="manifest-name" data-translation-key="name.label"></label>
<input class="stardew form-label" type="text" id="manifest-name" name="manifest_name" data-translation-key="name-placeholder-value.input" required>
</div>
<div class="form-row">
<label for="manifest-author" data-translation-key="author.label"></label>
<input class="stardew form-input" type="text" id="manifest-author" name="manifest_author" value="UnconcernedApe">
</div>
<div class="form-row">
<label for="manifest-version" data-translation-key="version.label"></label>
<input class="stardew form-input" type="text" id="manifest-version" name="manifest_version" value="1.0.0" required>
</div>
<input id="manifest-form-submit" class="hidden" type="submit" data-translation-key="DO NOT CLICK">
</form>
</div>
<div class="column right">
<h2 data-translation-key="files.h2"></h2>
<span id="file-uploader-area">
<label for="file-input" class="file-label">
<img
src="assets/files_btn.png"
alt="Upload"
class="file-btn clickable"
width="50"
height="50"
/>
</label>
<input
type="file"
webkitdirectory
directory
multiple
class="file-input"
id="file-input"
/>
</span>
<div id="file-list">
<table id="file-table" style="display:none;">
<thead>
<tr>
<th data-translation-key="file.th"></th>
<th data-translation-key="size.th"></th>
<th data-translation-key="path.th"></th>
</tr>
</thead>
<tbody id="file-table-body">
</tbody>
</table>
</div>
<div class="horizontal-border" id="file-area-topbottom-seperator"></div>
<div class="file-area-bottom">
<div id="file-download-area">
</div>
</div>
</div>
</div>
<div id="done">
<button id="done-btn">
<img
src="assets/casino-done.png"
alt="Done"
height="52"
width="96"
class="clickable"
/>
</button>
</div>
</div>
<div id="language-popup" class="hidden">
<h2 data-translation-key="language.h2"></h2>
<ul id="languages"></ul>
</div>
<!-- import https://unpkg.com/file-saver@2.0.0-rc.2/dist/FileSaver.js as FileSaver -->
<script src="src/translations.js"></script>
<script type="module" src="src/imports.js"></script>
<script src="https://unpkg.com/jszip@3.7.1/dist/jszip.js"></script>
<script src="https://unpkg.com/file-saver@2.0.0-rc.2/dist/FileSaver.js"></script>
<script src="src/script.js"></script>
</body>
</html>