-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
96 lines (92 loc) · 2.75 KB
/
index.htm
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Discovery Panel - Search</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="static/panel.css" />
<meta name="description" content="Discovery Panel - Search, find and download" />
<meta name="robots" content="index,nofollow" />
</head>
<body onload="panel.init();">
<div class="head-segment">
<div class="head-block">
Discovery<br/>
Panel
</div>
<div class="head-block">
<a href="#files">Files</a>
<a href="#trees">Trees</a>
</div>
<!--<div class="head-block">
<input id="head-search" type="text" placeholder="Search..." />
<input type="submit" value="search" />
</div> -->
<div class="head-block">
<a href="" class="button" onclick="panel.show_add_tree();">Add Tree</a>
</div>
<div class="head-block left-top">
<span id="status_box">ok</span>
</div>
</div>
<div id="files" class="tab">
<form onsubmit="panel.get_files();return false;">
<table>
<thead>
<tr>
<th>File</th><th>Tags</th><th>Status</th>
</tr>
<tr>
<th>
<input type="text" id="file_filter" onchange="panel.get_files()" />
</th>
<th>
<datalist id="tags_datalist"></datalist>
<input type="text" list="tags_datalist" id="tags_filter" onchange="panel.get_files()" />
</th>
<th>
<select id="status_filter">
<option value="%">All</option>
<option value="2%">200</option>
<option value="4%">400</option>
</select>
</th>
</tr>
</thead>
<tbody id="files_body">
</table>
</form>
</div>
<div id="trees" class="tab">
<table>
<thead>
<tr>
<th>Base</th><th>Comment</th><th>Status</th>
</thead>
<tbody id="trees_body">
</tbody>
</table>
</div>
<script src="static/common.js"></script>
<script src="static/panel.js"></script>
<div class="dialog" id="add_tree">
<div class="black-background" onclick="panel.hide_add_tree();">
</div>
<div class="dialog-block">
<div>
<label>URL:
<input type="text" id="tree_field" placeholder="URL of your server" />
</label>
<br /><br />
<label>Comment:
<input type="text" id="tree_comment" placeholder="What's there?" />
</label>
<div class="seperator"></div>
<span class="button" onclick="panel.add_tree()">Add</span>
<span class="button" onclick="panel.hide_add_tree()">Cancel</span>
<div>
</div>
</div>
</body>
</html>