-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdd_detail.html
68 lines (65 loc) · 1.87 KB
/
dd_detail.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="x-ua-compatible" content="IE=edge">
<title>Available Depth Verification</title>
<script src="/scripts/jquery-1.9.1.js"></script>
<script src="/scripts/jquery.ui.core.js"></script>
<script src="/scripts/jquery.ui.datepicker.js"></script>
<script src="/scripts/jquery.dataTables.min.js"></script>
<script src="/scripts/avadepth.js"></script>
<link rel="stylesheet" type="text/css" href="/wet-boew/dist/js/css/pe-ap-min.css">
<link rel="stylesheet" type="text/css" href="/wet-boew/dist/grids/css/util-min.css">
<link rel="stylesheet" type="text/css" href="/css/custom.css">
<link rel="stylesheet" type="text/css" href="/wet-boew/dist/theme-gcwu-fegc/css/theme-min.css">
<style type="text/css" media="screen">
.span-8 {
width: 98%;
}
#verify_wrapper {
display: table;
margin: 0 auto;
}
.print_holder {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
height: 50px;
}
.button {
height: 26px;
margin: auto;
}
</style>
<style type="text/css" media="print">
.button {
display: none;
}
</style>
<script>
$(document).ready(function() {
if (opener.document) {
var parentElem = window.opener.$("#detail_content").clone();
if ((/Trident\/7\./).test(navigator.userAgent) ||
(/MSIE/).test(navigator.userAgent)) {
var outer = parentElem[0].outerHTML;
$('#detail_content_popup')[0].innerHTML = outer;
} else {
$('#detail_content_popup').html(parentElem);
}
console.log(parentElem);
}
$('button[name="print"]').click(function() {
window.print()
});
var closeButton = $('<input type="button" class="button button-accent" value="Close" onClick="window.close()">');
$('.print_holder').append(closeButton);
});
</script>
</head>
<body>
<div id="detail_content_popup"></div>
</body>
</html>