-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
157 lines (134 loc) · 5.72 KB
/
profile.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
<!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>
<!-- NAV -->
<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" 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="personNameD" 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="personNameO">
<option selected>Choose one...</option>
<option>Institution</option>
<option>Individual Name</option>
</select>
</div>
<div class="col-lg-6">
<div data-bind="text : name " class="form-control" id="personName"></div>
</div>
<div class="col-lg-2">
<button class="btn-primary" data-bind="event: { click : showEmail }">Contact Manager</button>
</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">
<div data-bind="text : country" class="form-control" id="country"></div>
</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="area" class="col-lg-2" style="text-align: center; font-weight: bold;">
Area
</label>
<div class="col-lg-8" id="area">
<select class="form-control" id="personName" 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 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="description" class="col-lg-2" style="text-align: center; font-weight: bold;">
Brief description
</label>
<div class="col-lg-8" id="description">
<div class="form-control" id="description" rows="3" data-bind="text : description"></div>
</div>
</div>
<div class="form-group row" style="margin-top: 20px;">
<label for="projects" class="col-lg-2" style="text-align: center; font-weight: bold;">
Projects
</label>
<!-- ko foreach : $parent.projects -->
<div class="col-lg-8">
<a class="form-control" data-bind="attr : { href : 'project.html?id=' + $parent.userId + '&projectId=' + id }, text : name"></a>
</div>
<!-- /ko -->
</div>
</form>
</div>
</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/profile.js"></script>
</body>
</html>