forked from felipsoarez/datacryptoanalytics.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
159 lines (159 loc) · 9.17 KB
/
profile.html
File metadata and controls
159 lines (159 loc) · 9.17 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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="./css/style.css">
<!-- Sweet Alert JavaScript -->
<script src="./js/sweetalert2.js"></script>
<!-- Fontawesome CSS -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<!-- Nunito Google Font -->
<link href="https://fonts.googleapis.com/css?family=Nunito:400,700" rel="stylesheet">
<title>Profile - DataCrypto Analytics</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Rajdhani&family=Roboto+Condensed:wght@300&display=swap');
body {
font-family: 'Rajdhani', sans-serif;
background: #121212;
font-size: 16px;
line-height: 22px;
}
/* aqui é para personalizar o fundo da barra, neste caso estou colocando um fundo cinza escuro*/
::-webkit-scrollbar-track {
background: #121212;
}
/* aqui é a alça da barra, que demonstra a altura que você está na página
estou colocando uma cor azul clara nela*/
::-webkit-scrollbar-thumb {
background: #ff8c05;
}
.terminal {
border-radius: 8px;
}
.col-lg-10{
background: #121212;
border-radius: 10px;
}
</style>
</head>
<body class="">
<div class="container-fluid">
<div class="row mx-1">
<div class="col-lg-10 col-md-10 offset-lg-1 offset-md-1 bg-white shadow my-5 border border-primary">
<div class="row">
<div class="col-lg-6 col-md-6 p-4 divCover">
<img src="./logo-datacrypto-analytics.png" alt="Firebase cover image">
</div>
<div class="col-lg-6 col-md-6 p-lg-5 p-md-5 px-3 py-4 text-dark">
<div id="profileSection">
<div class="col-12 col-12 mb-3 text-center">
<img id="userAvatar" src="./logo-web-datacrypto-analytics.png" alt="avatar icon" >
</div>
<div class="col-12 col-12 mb-4 text-center">
<span class="h3" id="userPfFullName">Nome</span>
<span class="h3" id="userPfSurname">Sobrenome</span>
</div>
<div class="col-lg-12 col-md-12 mb-4 text-center">
<div class="row">
<div class="col-2 offset-3 border-right">
<a id="userPfFb" href="#" target="_blank">
<i class="fab fa-facebook-f text-primary"></i>
</a>
</div>
<div class="col-2 border-right">
<a id="userPfTw" href="#" target="_blank">
<i class="fab fa-twitter text-primary"></i>
</a>
</div>
<div class="col-2">
<a id="userPfGp" href="#" target="_blank">
<i class="fab fa-google-plus-g text-primary"></i>
</a>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 mb-4 text-center">
<p id="userPfBio">Biografia</p>
</div>
<div class="col-lg-12 col-md-12 text-center">
<button type="button" class="btn btn-outline-primary btn-block text-uppercase mb-3" onclick="showEditProfileForm()">
Editar Perfil<small></small></button>
<button type="button" class="btn btn-outline-secondary text-uppercase" onclick="signOut()">
Sair<small></small></button>
</div>
</div>
<div id="editProfileForm">
<h2 class="h2 text-center text-dark mb-3">Edit Profile</h2>
<div class="form-group">
<label for="userFullName">Nome<span class="text-danger ml-1">*</span></label>
<input type="text" class="form-control" id="userFullName" onblur="checkUserFullName()" placeholder="Firma Adı">
</div>
<div class="form-group">
<label for="userSurname">Sobrenome<span class="text-danger ml-1">*</span></label>
<input type="text" class="form-control" id="userSurname" onblur="checkUserSurname()" placeholder="Firma Faliyet Alanı">
<small id="userSurnameError" class="form-text text-danger">Por favor, preencha o campo.</small>
</div>
<div class="form-group">
<label for="userFacebook">Facebook</label>
<input type="text" class="form-control" id="userFacebook" placeholder="https://www.facebook.com/">
</div>
<div class="form-group">
<label for="userTwitter">Twitter</label>
<input type="text" class="form-control" id="userTwitter" placeholder="https://www.twitter.com/">
</div>
<div class="form-group">
<label for="userGooglePlus">Google Plus</label>
<input type="text" class="form-control" id="userGooglePlus" placeholder="https://plus.google.com/">
</div>
<div class="form-group">
<label for="userBio">Biografia<span class="text-danger ml-1">*</span></label>
<textarea class="form-control" id="userBio" rows="4" onblur="checkUserBio()"></textarea>
</div>
<button type="button" class="btn btn-outline-primary btn-block text-uppercase mb-3" onclick="saveProfile()">Salvar</button>
<button type="button" class="btn btn-outline-secondary btn-block text-uppercase" onclick="hideEditProfileForm()">Cancelar</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/5.9.4/firebase.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-analytics.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/6.1.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.1.1/firebase-database.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCOp_h-K9w6EmVUjCtAZ8J9UXWPFuWn7Kg",
authDomain: "datacryptoanalytics.firebaseapp.com",
databaseURL: "https://datacryptoanalytics.firebaseio.com",
projectId: "datacryptoanalytics",
storageBucket: "datacryptoanalytics.appspot.com",
messagingSenderId: "488619239226",
appId: "1:488619239226:web:932f568734d4563d2d9203",
measurementId: "G-D9KRENN3EY"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<!-- Custom JavaScript -->
<script src="./js/app.js"></script>
</body>
</html>