forked from Steve-Fenton/jQuery-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimpleopenid.html
86 lines (81 loc) · 2.7 KB
/
simpleopenid.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simple OpenId Example</title>
<link rel="stylesheet" type="text/css" href="optional.css">
<style type="text/css">
/* Optional styles */
#signin ul {
padding: 0;
}
#signin ul li {
list-style: none;
display: inline;
padding: 2px 4px;
}
#signin img.selected {
-webkit-box-shadow:0 0 15px #ffffff;
-moz-box-shadow: 0 0 15px #ffffff;
box-shadow:0 0 15px #ffffff;
}
#signin img:hover {
-webkit-box-shadow:0 0 15px #ffffff;
-moz-box-shadow: 0 0 15px #ffffff;
box-shadow:0 0 15px #ffffff;
}
</style>
</head>
<body>
<div id="links">
<p>This is the live demo, <a href="http://www.stevefenton.co.uk/Content/Jquery-Simple-Openid/">view the documentation</a>.
Written by <a href="http://www.stevefenton.co.uk/">Steve Fenton</a>.</p>
</div>
<div id="header">
<h1>Simple OpenId Example</h1>
</div>
<div id="maincontent">
<div id="what">
<h2>Simple OpenId Summary</h2>
<p>The jQuery Simple OpenId project is a plugin that converts a plain OpenId form into a more appealing and usable sign-in form.</p>
</div>
<div id="how">
<form id="signin">
<fieldset style="display: none;">
<p><label>Enter your <span>user name</span><br>
<input type="text" name="openid_username" id="openid_username"></label></p>
<p><input type="submit" value="#"></p>
</fieldset>
<fieldset>
<p><label>Enter your OpenID <br>
<input type="text" name="openid_identifier" id="openid_identifier" size="60"></label></p>
<p><input type="submit" value="Login"></p>
</fieldset>
</form>
<p>Please <a href="http://www.stevefenton.co.uk/Content/Jquery-Simple-Openid/">read the simple openid documentation</a>
for instructions on how to use the plugin.</p>
</div>
<div id="options">
<h2>Options</h2>
<dl>
<dt>classmodifier</dt>
<dd>Used to apply class names to the elements created by the plugin. You only need to specify a class modifier if you have a name-clash.</dd>
<dt>baseaddress</dt>
<dd>Specify a root address of open id images.</dd>
</dl>
</div>
</div>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.simpleopenid.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#signin").simpleopenid({ baseaddress: "http://www.stevefenton.co.uk/cmsfiles/assets/File/" });
});
</script>
<!-- Just for web stats... not needed for the plugin -->
<script type="text/javascript">
var myMasterUri = "http://www.stevefenton.co.uk/";
var myStatUrl = "http://www.stevefenton.co.uk/reports/";
</script>
<script type="text/javascript" src="/reports/swiftstats.js"></script>
</body>
</html>