-
Notifications
You must be signed in to change notification settings - Fork 1
/
contatti3.html
107 lines (91 loc) · 4.71 KB
/
contatti3.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
<!DOCTYPE html>
<html lang="it">
<head>
<title>Sara DG Portfolio</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Portfolio" />
<meta name="author" content="Sara De Grandis" />
<title>Sara DG Portfolio - Contatti</title>
<link rel="icon" type="image/x-icon" href="foto/favicon.ico" />
<!-- Font Awesome icons (free version)-->
<!--Google Font-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Kufam&display=swap" rel="stylesheet">
<!--Boostrap CSS CDN-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!--JQUERY CDN-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--Bootstrap Javascript CDN-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!--CSS-->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body ng-app="myApp" ng-controller="ctrlForm">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand navbar-brand" href="index.html">Sara DG</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html">Home</a></li>
<li><a href="eshop2.html">e-shop</a></li>
<li><a href="contatti3.html">CONTATTI</a></li>
</ul>
</div>
</div>
</nav>
<div class="titolo">
<div class="container text-left">
<h1>Contatti</h1>
</div>
</div><br>
<div class="container-fluid text-left">
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-6 col-xs-12">
<span>Per contattarmi manda una mail con questo form<br>* campi obbligatori</span>
<form action="https://formspree.io/f/mknpadkz" method="POST" id="contatti" name="form" id="contattami" ng-submit="send()" novalidate>
<label>Il tuo nome*</label><br>
<input type="text" name="nome" ng-model="nome" required>
<span style="color:red" ng-show="form.nome.$error.required">Il nome è obbligatorio</span><br>
<label>La tua email*</label><br>
<input type="email" name="email" ng-model="email" ng-pattern="/^[a-z0-9A-Z._-]+@[a-z0-9A-Z._-]+\.[a-z]{2,4}$/" required>
<span style="color:red" ng-show="form.email.$error.required">L'email è obbligatoria</span>
<span style="color:red" ng-show="form.email.$error.pattern && form.email.$dirty">L'email non è valida</span><br>
<label>Oggetto*</label><br>
<input type="text" name="titolo" ng-model="titolo" required><br>
<label>Scrivi il tuo messaggio* </label><br>
<textarea name="commento" rows="6" cols="30" ng-model="commento" required></textarea>
<br>
<input class="submit" type="submit" ng-model="button" ng-disabled="form.nome.$invalid || form.nome.$pristine || form.email.$error.email || form.titolo.$invalid || form.commento.$invalid" disabled>
<span ng-show="success"> Dati validi</span>
<span ng-show="error"> Dati non validi</span>
</form>
</div>
</div>
</div><br><br>
<footer class="container-fluid text-center">
<a href="https://www.instagram.com/sazdegra/
"><img class="social" src="foto/instagram-4-xl.png" alt="instagram" height="50"></a>
<a href="https://it-it.facebook.com
"><img class="social" src="foto/facebook-4-xl.png" alt="facebook" height=50></a>
<a href="https://it.linkedin.com
"><img class="social" src="foto/linkedin-4-xxl.png" alt="linkedin" height="50"></a>
<br><br>
<span>ADDRESS: Torino, Italia<br></span>
<span>© Copyright 2021 Sara De Grandis</span><br>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/80x15.png" /></a><br/><span style="font-size:10px; color:#D3D3D3">This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a></span>
</footer>
<!--Angular-->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script>
<script src="myapp.js"></script>
</body>
</html>