-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdowload-sorter.html
63 lines (55 loc) · 2.69 KB
/
dowload-sorter.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Download Sorter</title>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="firefox-downloads-sort.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="dist/css/bootstrap-theme.css">
</head>
<body>
<div class="col-md-6 col-md-offset-3">
<h1>Download Sorter</h1>
<table id="rules" class="table">
<thead>
<tr>
<th class="col-md-1">#</th>
<th class="col-md-5">Extension</th>
<th class="col-md-5">Folder Name</th>
<th class="col-md-1">
<button type="button" id="new" class="btn btn-default btn-sm">
<span class="glyphicon glyphicon-plus"></span>
</button>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td><input type="text" class="form-control input-sm extension" disabled="disabled" value="Unclassified"></td>
<td><input type="text" id="defaultFolder" class="form-control input-sm foldername" value=""></td>
<td>
<button type="button" class="btn btn-danger btn-sm" disabled="disabled">
<span class="glyphicon glyphicon-remove"></span>
</button>
</td>
</tr>
</tbody>
</table>
<table class="hidden">
<tr id="rule-template" class="hidden">
<td class="number"></td>
<td><input type="text" class="extension form-control input-sm extension"></td>
<td><input type="text" class="foldername form-control input-sm foldername"></td>
<td>
<button type="button" class="remove btn btn-danger btn-sm">
<span class="glyphicon glyphicon-remove"></span>
</button>
</td>
</tr>
</table>
</div>
</body>
</html>