-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.html
144 lines (112 loc) · 4.75 KB
/
project.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<title>SmartPPE</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-colors-highway.css">
<link rel="icon" type="image/png" href="res/iconWeb.png">
<script src="https://smtpjs.com/v3/smtp.js"></script>
<script type="text/javascript"></script>
<style>
body,h1,h2,h3,h4,h5 {font-family: "Poppins", sans-serif}
body {font-size:16px;}
.w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer}SmartPPE
.w3-half img:hover{opacity:1}
</style>
<body>
<!-- Menu -->
<nav class="w3-sidebar w3-highway-blue w3-collapse w3-top w3-large w3-padding" style="z-index:3;width:300px;font-weight:bold;" id="mySidebar"><br>
<a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-hide-large w3-display-topleft" style="width:100%;font-size:22px">Close Menu</a>
<div class="w3-container">
<h1 class="w3-padding-64"><b>SmartPPE</b></h1>
</div>
<div class="w3-bar-block">
<a href="#" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Home</a>
<a href="#contact" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-white">Contact</a>
</div>
</nav>
<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-hide-large w3-highway-blue w3-xlarge w3-padding">
<a href="javascript:void(0)" class="w3-button w3-highway-blue w3-margin-right" onclick="w3_open()">☰</a>
<span>SmartPPE</span>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:340px;margin-right:40px">
<!-- Header -->
<div class="w3-container" style="margin-top:80px" id="showcase">
<h1 class="w3-jumbo"><b>Data Projection Representation</b></h1>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" style="padding-top:0" onclick="this.style.display='none'">
<span class="w3-button w3-black w3-xxlarge w3-display-topright">×</span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption"></p>
</div>
</div>
<!-- Iframess -->
<div class="container">
<iframe class ="responsive-iframe"
src="https://app.deepint.net/shared/000001790ededf4c-027cb81f-a5e9b7d9-c52db13e/dashboards/0000017a9bebe9ff-d705c4b8-8815e3fe-9662fe66?lang=en" style=top:-160px;>
</iframe>
</div>
<!-- Contact -->
<div class="w3-container" id="contact" style="margin-top:75px">
<h1 class="w3-xxxlarge w3-text"><b>Contact.</b></h1>
<hr style="width:50px;border:5px solid #00477E" class="w3-round">
<p>Contact us for suggestions or information about the project</p>
<form action="/action_page.php" target="_blank">
<div class="w3-section">
<label>Name</label>
<input class="w3-input w3-border" type="text" name="Name" required>
</div>
<div class="w3-section">
<label>Email</label>
<input class="w3-input w3-border" type="text" id= "addrMail" name="Email" required>
</div>
<div class="w3-section">
<label>Message</label>
<input class="w3-input w3-border" type="text" id= "bodyMail" name="Message" required>
</div>
<button type="button" class="w3-button w3-block w3-padding-large w3-highway-blue w3-margin-bottom" onclick="sendEmail()">Send Message</button>
</form>
</div>
<!-- End page content -->
</div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
//Send Mail
function sendEmail() {
Email.send({
SecureToken : "f8799b91-ea16-40ff-a776-91a0d93add14",
To : '[email protected]',
From : document.getElementById("addrMail").value,
Subject : "#FormSmartPPE",
Body : document.getElementById("bodyMail").value
}).then(
message => alert(message)
);
}
</script>
</body>
</html>