-
Notifications
You must be signed in to change notification settings - Fork 0
/
change-photo.html
129 lines (108 loc) · 5.07 KB
/
change-photo.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
<!DOCTYPE html>
<html lang="pt-br">
<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"/>
<!-- FAVICON -->
<link rel="apple-touch-icon" sizes="57x57" href="assets/images/apple-icon-57x57.png"/>
<link rel="apple-touch-icon" sizes="60x60" href="assets/images/apple-icon-60x60.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/apple-icon-72x72.png"/>
<link rel="apple-touch-icon" sizes="76x76" href="assets/images/apple-icon-76x76.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/apple-icon-114x114.png"/>
<link rel="apple-touch-icon" sizes="120x120" href="assets/images/apple-icon-120x120.png"/>
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/apple-icon-144x144.png"/>
<link rel="apple-touch-icon" sizes="152x152" href="assets/images/apple-icon-152x152.png"/>
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/apple-icon-180x180.png"/>
<link rel="icon" type="image/png" sizes="192x192" href="assets/images/android-icon-192x192.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="96x96" href="assets/images/favicon-96x96.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon-16x16.png"/>
<link rel="manifest" href="manifest.json"/>
<meta name="msapplication-TileColor" content="#ffffff"/>
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"/>
<meta name="theme-color" content="##E5E3DFBF"/>
<!-- Descrição de localização GOOGLE -->
<meta name="description" content="Conheça a Ferrari Auto Center">
<link rel="stylesheet" href="assets/css/main.css" type="text/css" />
<title>Ferrari - Hcode</title>
</head>
<body class=""> <!-- open-menu -->
<header id="header">
<div class="overlay">
<!-- TELA DE FUNDO, QUANDO MENU ESTIVER ABERTO -->
</div>
<a href="index.html#home"><img src="assets/images/ferrari-logo.svg" class="logo" alt="Logo Ferrari"></a>
<button type="button" id="btn-open">
<!-- foto botão menu ABRE-->
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3 22H29V20H3V22ZM3 17H29V15H3V17ZM3 10V12H29V10H3Z" fill="black"/>
</svg>
</button>
<div class="menu"> <!--logged-->
<nav>
<button type="button" id="btn-close">
<!-- foto botão menu FECHA-->
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" fill="black"/>
</svg>
</button>
<ul>
<li><a href="index.html#home">Home</a></li>
<li><a href="index.html#service">Revisão</a></li>
<li><a href="index.html#contact">Contato</a></li>
<li class="divider"><hr></li>
<li class="hide-guest"><a href="schedules.html">Agendamentos</a></li>
<li class="hide-guest"><a href="profile.html">Editar Dados</a></li>
<li class="hide-guest"><a href="change-photo.html">Mudar Foto</a></li>
<li class="hide-guest"><a href="change-password.html">Alterar Senha</a></li>
</ul>
</nav>
<div class="footer">
<hr/>
<div>
<picture>
<a href="profile.html"><img src="/assets/images/user.png" alt="Foto usúario"></a>
</picture>
<div>
<a href="profile.html">
<strong>Guilherme Josué</strong>
<small>[email protected]</small>
</a>
</div>
<button type="button">
<!-- Foto do botao exit -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0,0H24V24H0Z" fill="none"/><path d="M10.09,15.59,11.5,17l5-5-5-5L10.09,8.41,12.67,11H3v2h9.67ZM19,3H5A2,2,0,0,0,3,5V9H5V5H19V19H5V15H3v4a2,2,0,0,0,2,2H19a2.006,2.006,0,0,0,2-2V5A2.006,2.006,0,0,0,19,3Z" fill="#333"/></svg>
</button>
</div>
<a href="auth.html" class="btn-register">Minha Conta</a>
</div>
</div>
<hr class="italy" />
</header>
<section id="change-photo" class="page">
<header>
<h1>Mudar foto</h1>
</header>
<main>
<header class="page-title">
<h2>Foto atual</h2>
<hr/>
</header>
<form>
<img src="assets/images/[email protected]" alt="Foto Atual" id="photo-preview"/>
<input type="file" name="photo" id="file"/>
<!-- ÁREA QUE SERÁ UTILIZADA PELO JAVASCRIPT -->
<input type="hidden" name="x">
<input type="hidden" name="y">
<input type="hidden" name="width">
<input type="hidden" name="height">
<button type="button" class="choose-photo">Escolher foto</button>
<footer class="fixed">
<button type="submit">Salvar</button>
</footer>
</form>
</main>
</section>
</body>
</html>