-
Notifications
You must be signed in to change notification settings - Fork 0
/
accountdetails.html
178 lines (149 loc) · 7 KB
/
accountdetails.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css"> <!-- Resource style -->
<link rel="stylesheet" href="css/album.css"> <!-- Album resource -->
<script src="js/modernizr.js"></script> <!-- Modernizr -->
<script type='text/javascript' src='./bower_components/knockout/dist/knockout.js'></script>
<title>GoCommunity | CrowdFunding Website</title>
</head>
<body>
<ul class="nav justify-content-end nav-pills">
<!-- <li class="nav-item">
<a class="nav-link" href="index.html">HomePage</a>
</li> -->
<li class="nav-item">
<a class="nav-link" data-bind="attr : { href : 'projects.html' + '?id=' + userId() }">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bind="attr : { href : 'myprojects.html' + '?id=' + userId() }">My Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bind="attr : { href : 'followed.html' + '?id=' + userId() }">Followed Projects</a>
</li>
<li class="nav-item">
<a class="nav-link active" data-bind="attr : { href : 'accountdetails.html' + '?id=' + userId() }">Account Details</a>
</li>
<li class="nav-item">
<a class="nav-link" href="projectsG.html">Log Out</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link disabled" href="#">Disabled</a>
</li> -->
</ul>
<header class="cd-header">
<h1>GoCommunity</h1>
</header>
<!-- <header class="cd-header2">
<h3>Support your favourite social project and keep tracking the evolution</h3>
</header> -->
<main class="cd-main-content">
<div data-bind="with : profile" class="container" style="padding-top: 15px; margin-top: 15px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; background-color: white;">
<form>
<div class="form-group row" id="personNameA" style="margin-bottom: 10px;">
<label for="personNameInput" class="col-lg-2" style="text-align: center; font-weight: bold;">
Name
</label>
<div class="col-lg-2">
<select class="form-control" id="personNameOption">
<option selected>Choose one...</option>
<option>Institution</option>
<option>Individual Name</option>
</select>
</div>
<div class="col-lg-6">
<input data-bind="attr : { value : name }" type="text" class="form-control" id="personName" placeholder="Insert your name...">
</div>
<div class="col-lg-2">
<label for="donated" style="text-align: left; font-weight: bold;">
Donated
</label>
<span id="donated" class="col-lg-2" data-bind="text : donatedFunds + '€'">
xxx€
</span>
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="bilingAdress" class="col-lg-2" style="text-align: center; font-weight: bold;">
Billing Adress
</label>
<div class="col-lg-8">
<input data-bind="attr : { value : billingAdress }" type="text" class="form-control" id="billingAdress" placeholder="Insert your biling adress...">
</div>
<div class="col-lg-2">
<label for="received" style="text-align: left; font-weight: bold;">
Received
</label>
<span id="received" class="col-lg-2" data-bind="text : recievedFunds + '€'">
xxx€
</span>
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="country" class="col-lg-2" style="text-align: center; font-weight: bold;">
Country
</label>
<div class="col-lg-8">
<input data-bind="attr : { value : country }" type="text" class="form-control" id="country" placeholder="Insert your country...">
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="email" class="col-lg-2" style="text-align: center; font-weight: bold;">
E-mail
</label>
<div class="col-lg-8">
<input data-bind="attr : { value : email }" type="email" class="form-control" id="email" placeholder="Insert your email...">
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="receiveEmail" class="col-lg-2" style="text-align: center; font-weight: bold;">
Receive e-mail notifications
</label>
<div class="col-lg-8" id="receiveEmail">
<input id="recieveEmail" type="radio" name="optradio" value="Yes" data-bind="checked : recieveNotifications"><label class="radio-inline" style="margin-right: 10px;">Yes</label>
<input id="recieveEmail" type="radio" name="optradio" value="No" data-bind="checked : recieveNotifications"><label class="radio-inline">No</label>
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="area" class="col-lg-2" style="text-align: center; font-weight: bold;">
Area
</label>
<div class="col-lg-8">
<select class="form-control" id="area" data-bind="value : area">
<option selected>Choose one...</option>
<option>Animal</option>
<option>Charity Institution</option>
<option>Children</option>
<option>Education</option>
<option>Other</option>
</select>
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="description" class="col-lg-2" style="text-align: center; font-weight: bold;">
Brief description
</label>
<div class="col-lg-8" id="descriptionD">
<textarea data-bind="html : description" class="form-control" id="description" rows="3" placeholder="Insert a brief description..."></textarea>
</div>
</div>
<center> <span>
<button id="saveButton" type="button" class="btn btn-default btn-lg" data-bind="event : { click : saveChanges }">Save</button>
</span></center>
</form>
</div>
</main>
</main> <!-- cd-main-content -->
<script src="js/jquery-2.1.1.js"></script>
<script src="js/jquery.mixitup.min.js"></script>
<script src="js/main.js"></script> <!-- Resource jQuery -->
<script type="text/javascript" src="scripts/accountDetails.js"></script> <!-- Data Source -->
</body>
</html>