Repository navigation
Expand file tree
/
Copy pathsettings.component.html
More file actions
68 lines (55 loc) · 1.95 KB
/
Copy pathsettings.component.html
File metadata and controls
68 lines (55 loc) · 1.95 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
<div class="settings-page">
<div class="container page">
<div class="row">
<div class="col-md-6 offset-md-3 col-xs-12">
<h1 class="text-xs-center">Your Settings</h1>
<list-errors [errors]="errors"></list-errors>
<form [formGroup]="settingsForm" (ngSubmit)="submitForm()">
<fieldset [disabled]="isSubmitting">
<fieldset class="form-group">
<input class="form-control"
type="text"
placeholder="URL of profile picture"
formControlName="image" />
</fieldset>
<fieldset class="form-group">
<input class="form-control form-control-lg"
type="text"
placeholder="Username"
formControlName="username" />
</fieldset>
<fieldset class="form-group">
<textarea class="form-control form-control-lg"
rows="8"
placeholder="Short bio about you"
formControlName="bio">
</textarea>
</fieldset>
<fieldset class="form-group">
<input class="form-control form-control-lg"
type="email"
placeholder="Email"
formControlName="email" />
</fieldset>
<fieldset class="form-group">
<input class="form-control form-control-lg"
type="password"
placeholder="New Password"
formControlName="password" />
</fieldset>
<button class="btn btn-lg btn-primary pull-xs-right"
type="submit">
Update Settings
</button>
</fieldset>
</form>
<!-- Line break for logout button -->
<hr />
<button class="btn btn-outline-danger"
(click)="logout()">
Or click here to logout.
</button>
</div>
</div>
</div>
</div>