forked from blueyed/nginx-fancyindex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
118 lines (106 loc) · 2.19 KB
/
template.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
<!-- var t01_head1 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<style type="text/css" media="screen">
body,html {
background:#fff;
font-family:"Bitstream Vera Sans","Lucida Grande",
"Lucida Sans Unicode",Lucidux,Verdana,Lucida,sans-serif;
}
tr.e {
background:#f4f4f4;
}
th,td {
padding:0.1em 0.5em;
}
th {
text-align:left;
font-weight:bold;
background:#eee;
border-bottom:1px solid #aaa;
}
#list {
border:1px solid #aaa;
width:100%;
}
a {
color:#a33;
}
a:hover {
color:#e33;
}
#readme {
padding:0;
margin:1em 0;
border:none;
width:100%;
}
</style>
<script type="text/javascript">
// <![CDATA[
function ngx_onload(){
var f=document.getElementById('readme');
if(!(f&&f.contentDocument))return;
f.style.height=f.contentDocument.body.offsetHeight+'px';
f.contentDocument.body.style.padding='0';
f.contentDocument.body.style.margin='0';
}
// ]]>
</script>
<title>Index of
<!-- var NONE -->
/path/to/somewhere
<!-- var t02_head2 -->
</title>
</head>
<!-- var t03_body1 -->
<body onload="ngx_onload()">
<h1>Index of
<!-- var NONE -->
/path/to/somewhere
<!-- var t04_body2 -->
</h1>
<!-- var t05_list1 -->
<table id="list" cellpadding="0.1em" cellspacing="0">
<colgroup>
<col width="55%"/>
<col width="20%"/>
<col width="25%"/>
</colgroup>
<thead>
<tr>
<th>File Name</th>
<th>File Size</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr class="o">
<td><a href="../">Parent directory/</a></td>
<td>-</td>
<td>-</td>
</tr>
<!-- var NONE -->
<tr class="e">
<td>test file 1</td>
<td>123kB</td>
<td>date</td>
</tr>
<tr class="o">
<td>test file 2</td>
<td>321MB</td>
<td>date</td>
</tr>
<tr class="e">
<td>test file 3</td>
<td>666</td>
<td>date</td>
</tr>
<!-- var t06_list2 -->
</tbody>
</table>
<!-- var t07_foot1 -->
</body>
</html>