-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfail.html
More file actions
36 lines (27 loc) · 1.16 KB
/
fail.html
File metadata and controls
36 lines (27 loc) · 1.16 KB
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
<html>
<head>
<meta charset="utf-8"/>
<title>existdb-login</title>
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="bower_components//existdb-login/existdb-login.html"/>
</head>
<body>
<h2>existdb-login Web Component</h2>
<p>
This page is nearly a copy of the login.html. It just provides an additional attribute to the existdb-login component
to show an error.
</p>
<existdb-login target="restricted.html" failed="true" style="width:400px; height: 200px;"> </existdb-login>
<h2>native form login</h2>
<div>
<form class="form" id="form" action="restricted.html" method="post">
<input type="hidden" name="origin" value="{$origin}" autocomplete="on"/>
<input label="User ID" id="user" name="user" autofocus="autofocus" required="required"
error="Please input your username"/>
<input label="Password" type="password" id="password" name="password"
error="Please input your password"/>
<button type="submit" on-click="_handleSubmit">Sign me in</button>
</form>
</div>
</body>
</html>