Compare commits

...
4 Commits
Author SHA1 Message Date
fram3d 654dfceaf0 change language tag in template 2023-09-03 10:36:54 +02:00
fram3d d45dad4540 center captcha in template 2023-09-03 10:33:22 +02:00
fram3d 4e764e104a change style location in templates 2023-09-03 10:19:55 +02:00
fram3d 41553b2d74 autoenable service in .deb installation 2023-08-24 01:58:15 +02:00
6 changed files with 23 additions and 41 deletions

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ Priority: optional
Architecture: all
Essential: no
Installed-Size: 2000
Depends: python3-flask, python3-ldap3
Depends: python3-flask, python3-ldap3, gunicorn
Homepage: https://gitea.dmz.rs/fram3d/luser
Maintainer: fram3d <fram3d@dmz.rs>
Description: Web app that allows users to add,remove and change passwords in LDAP system
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/systemctl enable luser.service
/sbin/service luser start
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
/sbin/service luser stop
/usr/bin/systemdctl disable luser.service
+5 -13
View File
@@ -1,21 +1,13 @@
<!DOCTYPE html>
<html lang="sr">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/styles/reset.css">
<link rel="stylesheet" href="/styles/style.css">
<link rel="stylesheet" href="/styles/account.css">
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
<title>User password change in LDAP system</title>
<style>
.container {
max-width:900px;
margin: 0 auto;
font-family: Arial, Helvetica, sans-serif;
color: #3d3d3d;
}
body {
background-color: #e6e6e6;
}
</style>
</head>
<body>
<main class="container">
+6 -14
View File
@@ -1,21 +1,13 @@
<!DOCTYPE html>
<html lang="sr">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/styles/reset.css">
<link rel="stylesheet" href="/styles/style.css">
<link rel="stylesheet" href="/styles/account.css">
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
<title>User registration to LDAP system</title>
<style>
.container {
max-width:900px;
margin: 0 auto;
font-family: Arial, Helvetica, sans-serif;
color: #3d3d3d;
}
body {
background-color: #e6e6e6;
}
</style>
</head>
<body>
<main class="container">
@@ -27,7 +19,7 @@
<input type="password" name="password" id="password" placeholder="password" required>
<p>password must be at least 8 characters long<p>
<br>
<img src=/account/register/captcha_img/{{ imgsrc }} alt="{{ captchahash }}" style="width:200">
<img src=/account/register/captcha_img/{{ imgsrc }} alt="{{ captchahash }}" style="width:200;margin:auto;">
<p>
<label for="captcha answer">captcha answer</label>
<input type="text" name="captchaa" id="captchaa" placeholder="captcha answer" required>
+5 -13
View File
@@ -1,21 +1,13 @@
<!DOCTYPE html>
<html lang="sr">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/styles/reset.css">
<link rel="stylesheet" href="/styles/style.css">
<link rel="stylesheet" href="/styles/account.css">
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
<title>User unregistration to LDAP system</title>
<style>
.container {
max-width:900px;
margin: 0 auto;
font-family: Arial, Helvetica, sans-serif;
color: #3d3d3d;
}
body {
background-color: #e6e6e6;
}
</style>
</head>
<body>
<main class="container">