-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
135 lines (122 loc) · 3.25 KB
/
Copy pathindex.html
File metadata and controls
135 lines (122 loc) · 3.25 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
<!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<!-- Copyright (c) 2021-2024, @willtheorangeguy
All rights reserved. -->
<!doctype html>
<html dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
h1 {
border-bottom: 1px solid #c0c0c0;
margin-bottom: 10px;
padding-bottom: 10px;
white-space: nowrap;
}
table {
border-collapse: collapse;
}
th {
cursor: pointer;
}
td.detailsColumn {
-webkit-padding-start: 2em;
text-align: end;
white-space: nowrap;
}
a.icon {
-webkit-padding-start: 1.5em;
padding-left: 1.5em;
text-decoration: none;
user-select: auto;
}
a.icon:hover {
text-decoration: underline;
}
a.file {
background: url("icons/file.png") left top no-repeat;
}
a.dir {
background: url("icons/folder.png") left top no-repeat;
}
a.up {
background: url("icons/up.png") left top no-repeat;
}
html[dir="rtl"] a {
background-position-x: right;
}
#parentDirLinkBox {
margin-bottom: 10px;
padding-bottom: 10px;
}
#listingParsingErrorBox {
border: 1px solid black;
background: #fae691;
padding: 10px;
display: none;
}
</style>
<title id="title">Index of example</title>
</head>
<body>
<h1 id="header">Index of :\directory</h1>
<div id="parentDirLinkBox" style="display: none">
<a id="parentDirLink" href="up/level" class="icon up">
<span id="parentDirText">[parent directory]</span>
</a>
</div>
<table>
<thead>
<tr class="header" id="theader">
<th id="nameColumnHeader" tabindex="0" role="button">Name</th>
<th
id="typeColumnHeader"
class="detailsColumn"
tabindex="0"
role="button"
>
Type
</th>
<th
id="sizeColumnHeader"
class="detailsColumn"
tabindex="0"
role="button"
>
Size
</th>
<th
id="dateColumnHeader"
class="detailsColumn"
tabindex="0"
role="button"
>
Date Uploaded
</th>
</tr>
</thead>
<tbody id="tbody">
<tr>
<td data-value="Folder">
<a class="icon dir" href="link/to/folder">Folder</a>
</td>
<td class="detailsColumn" data-value="0"></td>
<td class="detailsColumn" data-value="0"></td>
<td class="detailsColumn">MM/DD/YY, HH:MM:SS PM</td>
</tr>
<tr></tr>
<tr>
<td data-value="File">
<a class="icon file" draggable="true" href="link/to/file"
>File.txt</a
>
</td>
<td class="detailsColumn">File</td>
<td class="detailsColumn">0.00 MB</td>
<td class="detailsColumn">MM/DD/YY, HH:MM:SS PM</td>
</tr>
</tbody>
</table>
</body>
</html>