Commit 4f965821 authored by wim-vantomme's avatar wim-vantomme

Added sign-in page.

parent 9f2c0c0d
{
"name": "opencrypto-spike",
"version": "1.0.0",
"description": "Explore OpenCrypto implementation for the [Indienet Engine](https://indienet.info/engine) project.",
"main": "./server/index.js",
"description": "Explore Publick key authentication [Indienet Engine](https://source.ind.ie/indienet/spikes/security/Publickey-auth) project.",
"main": "./server/server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon",
......
......@@ -6,13 +6,14 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<h1>Welcome to Igent</h1>
<p>Please sign in on your website</p>
<body>
<form action="register" method="post" id="register">
<form action="sign-in" method="post" id="sign-in">
<label for="password">Password</label>
<input type="password" name="password" id="password">
<input type="submit" value="Create site">
</form>
<script src="js/vendor/OpenCrypto.js"></script>
<script src="js/script.js"></script>
</body>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<h1>Welcome to Igent</h1>
<p>Please register a new domain</p>
<form action="register" method="post" id="register">
<label for="domain">Domain</label>
<input type="text" name="domain" id="domain">
<label for="password">Password</label>
<input type="password" name="password" id="password">
<input type="submit" value="Create site">
</form>
<script src="js/vendor/OpenCrypto.js"></script>
<script src="js/script.js"></script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment