-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappStatus.html
More file actions
106 lines (83 loc) · 2.19 KB
/
Copy pathappStatus.html
File metadata and controls
106 lines (83 loc) · 2.19 KB
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
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body,
html {
text-align: center;
padding: 20px;
background-color: lavender;
}
.msg-div {
border: #000 2px solid;
width: 300px;
background-color: #999;
margin: 0 auto;
padding: 10px;
position: relative;
}
span {
font-size: 2rem;
cursor: pointer;
position: absolute;
top: 0px;
right: 10px;
}
label {
font-size: 1.1rem;
}
input {
font-size: 1.1rem;
padding: 8px;
}
input[type="submit"] {
margin: 20px;
border-radius: 4px;
background-color: #fff;
padding: 6px;
cursor: pointer;
}
p {
font-size: 1.5rem;
font-weight: bold;
}
</style>
</head>
<body>
<h1>Find out your Application Status here</h1>
<div>
{% if messages %}
<div class="msg-div" id="msg-div">
{% for msg in messages %}
<span class="close" id="close">×</span>
<div class="status-msg">
{{msg.message}}
</div>
<br> {% endfor %}
</div>
{% endif %}
</div>
<br><br><br>
<form method="GET">
<label for="app">Application Id: </label>
<input id="app" name="applicationId" placeholder="Your ApplicationId">
<br>
<input type="submit" value="Submit">
</form>
<br><br>
<p>{{message}}</p>
<script>
setTimeout(function() {
$('.messages').fadeOut('fast');
}, 10000);
var close = document.getElementById("close");
close.onclick = function() {
document.getElementById("msg-div").style.display = "none";
}
</script>
</body>
</html>