-
Notifications
You must be signed in to change notification settings - Fork 0
/
BirstClearDashboardCache_S3.html
104 lines (84 loc) · 4.49 KB
/
BirstClearDashboardCache_S3.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<title>Birst Clear Dashboard Cache</title>
<link rel="stylesheet" href="https://s3.amazonaws.com/birstSE/BirstClearDashboardCache/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="https://s3.amazonaws.com/birstSE/BirstClearDashboardCache/BirstClearDashboardCache.js"></script>
</head>
<body style="background-color: #FF5800">
<br>
<label style="font-family: Helvetica Neue, Helvetica, Arial; color: #f5f5f5; font-size: 36px;">Birst Clear Dashboard Cache</label>
<br>
<div class="container">
<!-- Row start -->
<div class="row">
<div class="col-md-12 col-sm-6 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading clearfix">
<i class="icon-calendar"></i>
<h3 class="panel-title">Server Properties</h3>
</div>
<div class="panel-body">
<form class="form-horizontal row-border" action="#">
<div class="form-group">
<label class="col-md-2 control-label">Server</label>
<div class="col-md-10">
<input type="text" id="server" class="form-control" value="https://sde.birst.com/CommandWebService.asmx">
</div>
</div>
<form class="form-horizontal row-border" action="#">
<div class="form-group">
<label class="col-md-2 control-label">User ID</label>
<div class="col-md-10">
<input type="text" id="uid" class="form-control" value="[email protected]">
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">Password</label>
<div class="col-md-10">
<input class="form-control" type="password" id="pwd" value="notasecret">
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">Space ID</label>
<div class="col-md-10">
<input class="form-control" type="text" id="spaceID" value="b136f872-7154-4906-a01a-ed385c7b854f">
</div>
Note: Server URL must reflect your currently logged in environment to avoid CORS cross domain error. <br>
Sample Space: _Retail – Mango Enhanced, ID: b136f872-7154-4906-a01a-ed385c7b854f
</div>
<button type="button" class="btn btn-primary" onclick="doLogin()">Get Token</button>
<div class="form-group">
<label class="col-md-2 control-label">Token</label>
<div class="col-md-10">
<input class="form-control" type="text" id="Token" value="">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Row end -->
<div class="row">
<div class="col-md-12 col-sm-6 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading clearfix">
<i class="icon-calendar"></i>
<h3 class="panel-title">Result</h3>
</div>
<div class="panel-body">
<form class="form-horizontal row-border" action="#">
<button class="btn btn-primary" type="button" onclick="processClearDashboardCache()">Clear Dashboard Cache</button>
<div class="panel-body">
<form class="form-horizontal row-border" action="#">
<div class="form-group">
<textarea class="form-control" rows="20" id="Results">--- LOGS WILL DISPLAY HERE----</textarea>
</div>
</div>
</div>
</div>
</body>
</html>