-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
40 lines (40 loc) · 1.89 KB
/
index.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
<!doctype HTML>
<html lang="en">
<head>
<title>diaspora* OpenWebApps</title>
<meta charset="utf-8" />
<meta content="width=device-width" name="viewport" />
<link rel="stylesheet" media="screen" type="text/css" title="design" href="design/style.css" />
<link href="design/icon.png" rel="shortcut icon" />
<link href="design/icon.png" rel="apple-touch-icon" />
</head>
<body>
<header>
<a id="installLink" href="https://marketplace.firefox.com/app/diaspora/">
<img src="design/icon_market.png" alt="Install the app" title="Install the app" />
</a>
<h1>
<a href="https://diasporafoundation.org">diaspora*</a>
</h1>
</header>
<section id="content">
<!-- Remove this noscript-element when a server-side form-action is implemented. -->
<noscript>Please activate JavaScript to enjoy using this app.</noscript>
<ul id="previousHandles">
</ul>
<!-- This file should be replaced with a server-side one. For example written in node.js, PHP, Perl or Python. -->
<form id="login-form" action="script.js" method="post" accept-charset="utf-8">
<ul id="newHandle">
<li><label id="podurl-label" for="podurl">Please enter your diaspora* handle</label></li>
<li><input id="podurl" name="podurl" title="Type in like so: username@yourpod.tld" type="email" pattern="[A-Za-z0-9_]+@(([a-zA-Z0-9\-]*)\.)+([A-Za-z0-9\-]{2,})" placeholder="username@yourpod.tld" autofocus required /></li>
<li class="hidden" id="error"></li><!-- Remove this line, when a11y was merged! -->
<li><button id="submitButton" type="submit">Go to my pod!</button></li>
</ul>
</form>
</section>
<footer>
<p><a href="https://wiki.diasporafoundation.org/Choosing_a_pod">I have no pod at the moment!</a></p>
</footer>
<script type="text/javascript" src="script.js"></script>
</body>
</html>