-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (80 loc) · 2.54 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
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<title>Mule Deployments Console</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="jquery-ui-1.11.4/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="mule-agent.css">
<script src="jquery-2.1.4.min.js"></script>
<script src="jquery-ui-1.11.4/jquery-ui.js"></script>
<script src="mule-agent.js"></script>
<script>
$( window ).load(function() {
getListApps();
getListDomains()
wsinit()
connect()
});
</script>
</head>
<body>
<h1>Mule Deployments Console</h1>
<h2>Deploy Mule Application</h2>
<form action="/app" method="post" enctype="multipart/form-data">
<label id="labelMule" for="file">Choose File to deploy</label>
<input type="file" name="fileUpload" id="file" />
<input type="submit" value="Deploy">
</form>
<div id="info">
<p id="name">File Name: <span></span></p>
<p id="size">File Size: <span></span></p>
<p id="type">File Type: <span></span></p>
</div>
<h2>Active Applications</h2>
<div id="dynamictable">
<table>
<thead>
<tr>
<th>Mule App</th>
<th>Action</th>
</tr>
</thead>
<tbody id="tableElements">
<tr>
</tr>
</tbody>
</table>
<div>
<h2>Deploy Mule Domain</h2>
<form action="/domain" method="post" enctype="multipart/form-data">
<label id="labelDom" for="file2">Choose File to deploy</label>
<input type="file" name="fileUpload" id="file2" />
<input type="submit" value="Deploy">
</form>
<div id="info2">
<p id="name2">File Name: <span></span></p>
<p id="size2">File Size: <span></span></p>
<p id="type2">File Type: <span></span></p>
</div>
<h2>Active Domains</h2>
<div id="dynamictable2">
<table>
<thead>
<tr>
<th>Domain App</th>
<th>Action</th>
</tr>
</thead>
<tbody id="tableElements2">
<tr>
</tr>
</tbody>
</table>
</div>
<h2 class="demoHeaders">Log File</h2>
<textarea id="log" rows="50" cols="240" readonly></textarea>
<div id="copyrights">
<a href="http://www.redpill-linpro.se" title="Contact me" target="_blank">http://www.redpill-linpro.se</a>
</div>
</body>
</html>