-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessages.php
More file actions
49 lines (40 loc) · 1.13 KB
/
messages.php
File metadata and controls
49 lines (40 loc) · 1.13 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
<?php require_once "head.php" ?>
<?php require_once "db_connection.php" ?>
<head>
<style>
.container {margin: 40vh auto;}
#myProgress {
width: 100%;
background-color: #ddd;
}
#myBar {
width: 1%;
height: 1px;
background-color: #4CAF50;
}
</style>
</head>
<div>
<div id="myBar"></div>
</div>
<br>
<script>
var elem = document.getElementById("myBar");
var width = 1;
var id = setInterval(frame, 10);
function frame() {
if (width >= 100) {
clearInterval(id);
} else {
width=width+0.339;
elem.style.width = width + '%';
}
}
</script>
<div class="container" align="middle" >
<div class="alert alert-success" role="alert">
<h4 class="alert-heading">Dziękuję!</h4>
<p>Twoja ankieta została przyjęta</p>
<p class="mb-0">W razie jakichkolwiek pytań zkontaktujsię z działem <b>GA</b></p>
</div>
</div>