summaryrefslogtreecommitdiff
path: root/views/pages/profile_form.ejs
blob: 6cdc3128fabf1708124dd0db32f0a06582805389 (plain)
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
<% include ../partials/header %>

<div class="subtitle">
  <a href="/">&lt; Home</a> &middot; <a href="/profile">View profile</a></span>
</div>

<div id="content">

<div id="profile_form">
  <form>
    <div>
      <label for="profile-realname">Real name</label>
      <input type="text" id="profile-realname" name="realname">
    </div>

    <div>
      <label for="profile-location">Location</label>
      <input type="text" id="profile-location" name="location">
    </div>

    <div>
      <label for="profile-email">Email address</label>
      <input type="text" id="profile-email" name="email">
    </div>

    <div>
      <label for="profile-phone">Phone</label>
      <input type="text" id="profile-phone" name="phone">
    </div>
    <br>

    <div>
      <label for="profile-avatar">Profile picture</label>
      <div>
        <img id="profile-avatar-embed" />
        <input type="file" id="profile-avatar" name="avatar" accept="image/*">
      </div>
    </div>
    <br>

    <div>
      <label for="profile-website">Website</label>
      <input type="text" id="profile-webpage" name="website">
    </div>

<!-- 
    <div>
      <label for="profile-fb">Facebook</label>
      <input type="text" id="profile-fb" name="fb">
    </div>
 -->

    <div>
      <label for="profile-tw">Twitter</label>
      <input type="text" id="profile-tw" name="tw">
    </div>
    <br>

    <div>
      <label for="profile-newpassword">Change password?</label>
      <input type="password" id="profile-newpassword" name="newpassword">
    </div>

    <div>
      <label for="profile-newpassword2">again:</label>
      <input type="password" id="profile-newpassword2" name="newpassword2">
    </div>

    <div class="oldpassword">
      <label for="profile-oldpassword"><i>yr old password:</i></label>
      <input type="password" id="profile-oldpassword" name="oldpassword">
    </div>
    <br>
    
    <div class="save_field">
      <label for="profile-submit"></label>
      <button id="profile-submit">SAVE PROFILE</button>
      <div class="loader"></div>
    </div>

    <br>
    <div>
      <label></label>
      <span class="errors">&nbsp;</span>
    </div>

  </form>
</div>

</div>

<% include ../partials/footer %>