-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathux.html
113 lines (104 loc) · 5.53 KB
/
ux.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Account Chooser | UX Guidelines</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<a href="index.html">
<img src="images/keyhole-logo.png" alt="" />
<h1>Account Chooser</h1>
</a>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="how.html">How it works</a></li>
<li><a href="webowners.html" class="current-page">For website owners</a></li>
<li><a href="idp.html">For identity providers</a></li>
</ul>
</div>
<div class="uxguidelines">
<h2> UI Guidelines</h2>
<span id="ux-point-1">
<h3>Add Accounts & Chooser General Guidelines</h3>
<img src="images/add%20account%20overlay-2.png" alt="" />
<img src="images/chooser%20overlay-2.png" alt="" />
</span>
<span id="ux-point-2">
<h3>Keyhole Use & Explanation</h3>
<img src="images/keyhole%20guide.png" alt="keyhole" />
<p>The keyhole is the symbol and usability flag for the account chooser and it's abilities. It's main purpose is to serve as an indication on sign-in buttons to hint at the users' options when signing in. Any enabled sign in button should include the keyhole. <img src="images/signinux.png" alt="sign in button"></p>
</span>
<span id="ux-point-3">
<h3>Code Structure</h3>
<p>The overall skeleton, where the contents are modular pieces that can be swapped in and out:</p>
<pre><span class="ux-code-snippet"><div class="account-chooser">
[Loading code snippet]
<div class="modal">
[Modal header]
[Contents of modal]
[Modal footer]
</div>
</div></span></pre>
<p>The loading snippet:</p>
<pre><span class="ux-code-snippet"><div class="modal-loading">
<a href="#"><img src="images/x.png" alt="x" /></a>
<img src="images/loading.png" alt="" />
<h2>Signing in</h2>
</div></span></pre>
<p>The header snippet:</p>
<pre><span class="ux-code-snippet"><div class="modal-header">
<img src="images/logo.png" alt="" />
<a href="#"><img src="images/x.png" alt="x" /></a>
</div></span></pre>
<p>The footer snippet, to help promote awareness:</p>
<pre><span class="ux-code-snippet"><div class="modal-footer">
© 2011 OpenID Foundation. <a href="http://www.accountchooser.com/">Learn more about this</a>
</div></span></pre>
<p>The modal content is interchangeable, however the current best practice is to show the email entry column alongside the idp selection column, with the account choosing column a separate modal state.</p>
<p>The email entry column:</p>
<pre><span class="ux-code-snippet"><div id="modal-emailentry">
<h2>Enter your email address</h2>
<form id="email_entry" action="javascript: void(0)" method="post">
<input type="text" name="email" id="modal-email" size="25" value="" />
<input type="submit" name="signin" id="modal-signin" value="Sign in" />
</form>
</div></span></pre>
<p>The idp selection column:</p>
<pre><span class="ux-code-snippet"><div id="modal-idpselection">
<h2>Sign in with</h2>
<ul>
<li><a href="#"><img src="images/myidp.png" alt="my idp" /></a></li>
<li><a href="#"><img src="images/socialnetwork.png" alt="SocialNetwork" /></a></li>
<li><a href="#"><img src="images/simplymail.png" alt="Simply, Mail." /></a></li>
<li><a href="#"><img src="images/freeemail.png" alt="Free Email" /></a></li>
</ul>
</div></span></pre>
<p>The account selection column:</p>
<pre><span class="ux-code-snippet"><div id="modal-accountselection">
<h2>Sign in</h2>
<ul>
<li>
<img src="images/bonniep.jpg" alt="" />
<p><strong>Bonnie Parker</strong>[email protected]</p>
<a href="#"><img src="images/x.png" alt="x" /></a>
</li>
<li>
<img src="images/bonniew.jpg" alt="" />
<p><strong>Bonnie Parker</strong>[email protected]</p>
<a href="#"><img src="images/x.png" alt="x" /></a>
</li>
<li>
<img src="images/clyde.jpg" alt="" />
<p><strong>Clyde Barrow</strong>[email protected]</p>
<a href="#"><img src="images/x.png" alt="x" /></a>
</li>
</ul>
<input type="submit" name="signinanother" id="modal-signin-another" value="Sign in with another account" />
</div></span></pre>
</span>
</div>
<div class="footer">© 2011 OpenID Foundation.</div>
</body>
</html>