-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactions.html
executable file
·133 lines (104 loc) · 4.4 KB
/
actions.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!--[if IE]><![endif]-->
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" rel="Stylesheet" />
<link rel="stylesheet" href="css/style.css?v=1">
<link rel="stylesheet" href="actions.css">
</head>
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie7"> <![endif]-->
<!--[if IE 8 ]> <body class="ie8"> <![endif]-->
<!--[if IE 9 ]> <body class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
<div id="container">
<header>
</header>
<div id="main">
<div style="padding: 10px;">
<p> <a href="index.html">home</a> <a href="actions.html">actions</a> <a href="email.html">email</a>
<a href="protectedPage.html">pageLogin</a> <a href="protectedResource.html">clickLogin</a>
<a href="http://code.google.com/p/safeajax/">googleCode</a> <a href="SA-Users.pdf">diagram</a>
</div>
<div class="bordered leftFloater">
<div class="bordered">
<p>Finding Users
<p style="padding: 20px;">
findBy: <input id="findBy" /> <br>
<button id="findByEMail">findByEMail</button>
<button id="findByUsername">findByUsername</button> <br>
<button id="findByUserId">findByUserId</button>
<button id="findByPwdResetHash">findByPwdResetHash</button>
<button id="findByPersistence">findByPersistence</button> <br>
</div>
<div class='bordered'>
<p>Update a User
<p style="padding: 20px;">
userId: <input id="update-UserId" /> <br>
update: <input id="update" /> <input size="7" id="updateKey" /> :key <br>
updator: <input id="updatorId" /> <br>
<button id="updateIndexed">updateIndexed</button>
<button id="updateArbitrary">updateArbitrary</button> <br>
</div>
<div class="bordered">
<p>Password Reset Request Hash
<p style="padding: 20px;">
userId: <input id="get-UserId" /> <br>
<button id="getPasswordResetHash">getPasswordResetHash</button> <br>
</div>
</div>
<div class="bordered leftFloater">
<div class='bordered'>
<p>Create a User
<p style="padding: 20px;">
email: <input id="newEMail" /> <br>
username: <input id="newUsername" /> <br>
password: <input id="newPassword" /> <input type='checkbox' id="sha1" /> :sha1 <br>
newAccess: <input id="newAccess" /> <br>
creatorId: <input id="creatorId" /> <br>
<button id="createUser">createUser</button> <br>
</div>
<div class="bordered">
<p>Deleting Users
<p style="padding: 20px;">
deletee: <input id="delete-UserId" /> <br>
deletor: <input id="deletorId" /> <br>
<button id="deleteUser">deleteUser</button> <br>
</div>
</div>
<div class='clearFloat padded'>
auth-err: <span id="auth-err" class="aResult"></span>
</div>
<div class='clearFloat padded wrapped'>
auth-result: <span id="auth-result" class="aResult"></span>
</div>
<div style="position: absolute; bottom:5px;">
<div id="debugDiv"></div>
this page is based on Paul Irish's <a href="http://html5boilerplate.com/">html5 boilerplate</a>
</div>
</div>
<footer>
</footer>
</div> <!-- end of #container -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.js"></script>
<script src="lib/jquery.checkboxes.min.js"></script>
<script type="text/javascript" src="./lib/safeAjax/safeAjax_v5.js"></script>
<!--[if lt IE 7 ]>
<script src="js/dd_belatedpng.js?v=1"></script>
<![endif]-->
<script src="actions.js"></script>
<script>
var _gaq = [['_setAccount', 'UA-10127989-1'], ['_trackPageview']];
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.async = true; g.src = '//www.google-analytics.com/ga.js'; s.parentNode.insertBefore(g, s);
})(document, 'script');
</script>
</body>
</html>