/
userprofile.html
69 lines (67 loc) · 2.62 KB
/
userprofile.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Webridge</title>
<link rel="stylesheet" type="text/css" href="css/userprofile.css"/>
<meta http-equiv="vary" content="*"></meta>
<meta http-equiv="cache-control" content="no-store"></meta>
<body>
<a href="hall.html"><img class="logo" src="images/logo.png" alt="We-bridge"></img></a>
<span id="user_header">
{{p.user}}
<a href="action.json?logoff">Log out</a>
</span>
<form method="POST" action="userprofile.html?{{username}}" id="profile_form">
<div>Name <small>(visible to other players)</small><br/>
<input type="text" name="name" value="{{p.nickname}}"{% if ro %} disabled="disabled" {% endif %} ></input>
</div>
<div>Bridge Preference <small>(please enter your bidding and play preferences)</small><br/>
<textarea name="bridgepref" cols="50" rows="10" {% if ro %} disabled="disabled" {% endif %}>{{p.bridgeinfo}}</textarea>
</div>
{% if not ro %}
<div><input type="checkbox" name="1ton_autoplay" {% if p.autosingleton %} checked="checked" {% endif %}>
</input>Autoplay Singletons</div>
{% endif %}
<h3>Social</h3>
<div><img src="images/skype_logo.png" alt="skype" style="width: 100px; height: 40px;"/>
<br/><input type="text" name="skypeid" value="{{p.skypeid}}" {% if ro %} disabled="disabled" {% endif %}>
</input>
</div>
<div><img src="images/f_logo.jpg" style="vertical-align: middle; width: 16px; height: 16px;"/> profile <br/>
<input type="text" name="facebookid" value="{{p.facebookid}}" {% if ro %} disabled="disabled" {% endif %}>
</input>
</div>
<div><img src="images/twitter_logo.png" alt="twitter" style="width: 150px; height: 30px;"/> <br/>
<input type="text" name="twitterid" value="{{p.twitterid}}" {% if ro %} disabled="disabled" {% endif %}>
</input>
</div>
{% if not ro %}
<div>
<input type="submit" title="Submit"/> <input type="reset" title="Cancel"/>
</div>
{% endif %}
</form>
<div id="footpanel">
<span class="room" id="users">
<a href="#" class="roomname">Users</a>
<div class="roompanel">
<h3>Users</h3>
<ul>
<li>Type in user name</li>
</ul>
<textarea rows="1"></textarea>
</div>
</span>
<span class="room" id="global">
<a href="#" class="roomname">Global</a>
<div class="roompanel">
<h3>Global</h3>
<ul>
</ul>
<textarea rows="1"></textarea>
</div>
</span>
</div>
</body>
</html>