-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.ejs
50 lines (46 loc) · 2.04 KB
/
index.ejs
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
<!DOCTYPE html>
<html>
<head>
<title>WePay Support Dashboard</title>
<meta name="csrf-token" content="<%= csrfToken %>">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- <link rel="stylesheet" href = "/static/css/react-bootstrap-table-all.min.css">-->
<link rel="stylesheet" href="/static/css/toastr.css">
<link rel="stylesheet" href="/static/css/react-bootstrap-table.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<body>
<nav class = "navbar navbar-default">
<div id="navbar-header">
<div class="navbar-brand">
WePay Support Dashboard
</div>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="https://status.wepay.com/" target="blank">WePay Status Page</a></li>
</ul>
</div>
</nav>
<div>
<div class="todoapp" id="root">
</div>
<div>
<!-- application script -->
<script src="/public/bundle.js"></script>
<script>
/*make all ajax calls pass the CSRF token via a header back to the client*/
$.ajaxSetup({
headers: {"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content')}
})
</script>
</body>
<script text="script/javascript">
/*enable tooltips*/
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
</script>
</html>