-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (103 loc) · 3.41 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
shrink-to-fit="no"
/>
<title>FolderForge</title>
<link rel="icon" type="image/png" href="./img/icon.png" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="custom.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.5/FileSaver.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.7.1/jszip.min.js"></script>
</head>
<body>
<header class="container text-center">
<img src="img/FolderForge.svg" class="logo" alt="FolderForge Logo" />
</header>
<div class="container container-center">
<div
class="btn-toolbar"
role="toolbar"
aria-label="Toolbar with tree creating functionality"
>
<i
class="fas fa-info-circle fa-lg"
type="button"
data-bs-toggle="collapse"
data-bs-target="#collapseExample"
aria-expanded="false"
aria-controls="collapseExample"
>
</i>
<div class="btn-group me-2" aria-label="Tree creating buttons">
<button type="button" class="btn btn-secondary" id="addFolder">
Folder
</button>
<button type="button" class="btn btn-secondary" id="addFile">
File
</button>
</div>
<div class="btn-group me-2" aria-label="Tree updating buttons">
<button type="button" class="btn btn-danger" id="clear">Clear</button>
</div>
<div class="btn-group me-2" aria-label="Tree creating buttons">
<button type="button" class="btn btn-success" id="forge">
Forge
</button>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-6">
<div class="collapse" id="collapseExample">
<div class="card card-body">
<b>
Drag folder/file icon to drag-n-drop. Click folder/file name to
rename.
</b>
</div>
</div>
</div>
</div>
<div class="container" id="drag-container">
<div class="trash" style="opacity: 0.4">
<i class="fa-sharp fa-solid fa-trash"></i>
</div>
</div>
</div>
<footer>
<div class="container text-center">
<p class="small">
<a
href="https://github.com/iton0/folderforge/tree/main"
target="_blank"
>
<i class="fa-brands fa-github fa-xl"></i>
</a>
© FolderForge <span id="year"></span>
</p>
</div>
</footer>
<script>
document.getElementById("year").innerHTML = new Date().getFullYear();
</script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"
></script>
<script src="index.js"></script>
</body>
</html>