aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-24 13:53:58 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-07-02 01:21:59 +0100
commitde854ac0a8fe72a1b0d0137c351b39de25e0adfe (patch)
treeae1386ade7ebb65e2b269347b09c8ced87fb614f /index.html
parent420155e750c4b95dd4327d7adb4310a64eafb364 (diff)
downloadgpigeon-de854ac0a8fe72a1b0d0137c351b39de25e0adfe.tar.gz
gpigeon-de854ac0a8fe72a1b0d0137c351b39de25e0adfe.zip
Implemented very basic multi-user support
- the `gpigeonctl' script is used to initialize the database, add an user and delete it, clear cookies. More info in the readme about it. - tweaked gpigeon-template.cgi and link-template-tmpl.cgi to support multiusers - tweaked the Makefile - tweaked the config.def.mk and added WWWUSER and WWWDIR variables - made some ajustements in the styles.css file for responsivity. - added some headers for security in nginx-example.conf - added gpigeonctl.def which serves as a "blueprint" for gpigeonctl
Diffstat (limited to 'index.html')
-rw-r--r--index.html44
1 files changed, 19 insertions, 25 deletions
diff --git a/index.html b/index.html
index d6b2583..eccc4d2 100644
--- a/index.html
+++ b/index.html
@@ -1,38 +1,32 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<title>GPIGEON - Login</title>
+ <meta charset="utf-8">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="styles.css">
- <meta charset="utf-8">
- <style>
- td{border:none;}
- </style>
</head>
<body>
- <h1 style="text-align:center">GPIGEON - Login</h1>
+ <h1>GPIGEON - Login</h1>
<form action="/cgi-bin/gpigeon.cgi" method="POST">
- <table style="border:none;margin-right:auto;margin-left:auto">
- <tbody>
- <tr>
- <td>Username :</td>
- <td><input type="text" name="username"></td>
-
- </tr>
- <tr>
- <td>Password :</td>
- <td><input type="password" name="password"></td>
-
- </tr>
- <tr>
- <td></td>
- <td><input type="submit" value="S'authentifier"></td>
- </tr>
- </tbody>
+ <table id="loginbox">
+ <tbody>
+ <tr>
+ <td>Username :</td>
+ <td><input type="text" name="username"></td>
+ </tr>
+ <tr>
+ <td>Password :</td>
+ <td><input type="password" name="password"></td>
+ </tr>
+ <tr id="authbtn">
+ <td></td>
+ <td><input type="submit" value="S'authentifier"></td>
+ </tr>
+ </tbody>
</table>
</form>
- <p><a href="http://git.les-miquelots.net/gpigeon" title="gpigeon download link" alt="gpigeon download link">Source code here.</a> It is similar to <a href="https://hawkpost.co/">hawkpost.co</a>.</p>
-
+ <p><a href="http://git.les-miquelots.net/gpigeon" title="gpigeon download link">Source code here.</a> It is similar to <a href="https://hawkpost.co/">hawkpost.co</a>.</p>
</body>
</html>