-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathindex.html
88 lines (77 loc) · 3.29 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
<!DOCTYPE html>
<html>
<head>
<title>Glacier Deep Archive Retrieval</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
<script src="js/script.js"></script>
</head>
<body class="bg-light">
<div class="container">
<div class="py-5 text-center">
<h2>Glacier Deep Archive Retrieval</h2>
<p class="lead">Below you see all files of the bucket.</p>
</div>
<table class="table">
<thead>
<tr>
<th scope="col">Filename</th>
<th scope="col">Size</th>
<th scope="col">Storage-Class</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody id="files-list">
</tbody>
</table>
<div id="spinner" class="d-flex justify-content-center">
<div class="spinner-border" role="status"></div>
</div>
</div>
<div class="modal fade" id="retrieval_modal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<input type="hidden" id="file" name="file">
<div class="modal-header">
<h5 class="modal-title" id="header"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</button>
</div>
<div class="modal-body">
<div class="mb-3 form-group">
<label for="email">Email Address</label>
<input type="email" class="form-control" id="email" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll notify you once the file is ready to
download.</small>
</div>
<div class="mb-3 form-group">
<label for="duration">Retrieval Duration</label>
<input type="number" class="form-control" id="duration" aria-describedby="durationHelp"
placeholder="Enter duration in days" value="3">
<small id="durationHelp" class="form-text text-muted">Number of days the file should stay
downloadable.</small>
</div>
<label>Retrieval Speed</label>
<div class="mb-3 form-group">
<div class="btn-group" role="group">
<input type="radio" class="btn-check" name="btnradio" id="tier_standard" autocomplete="off" checked>
<label class="btn btn-outline-primary" for="tier_standard">within 12 hours</label>
<input type="radio" class="btn-check" name="btnradio" id="tier_bulk" autocomplete="off">
<label class="btn btn-outline-primary" for="tier_bulk">within 48 hours</label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary btn-retrieve-submit">Retrieve file</button>
</div>
</div>
</div>
</div>
</body>
</html>