Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
jsconfig.json
.git/
aide.txt
test_index.html
test_index.html
.SQL/
.localtest
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
## TODO list :
## TODO list :
- base sql
- accés au dossier public du rpi : upload/download
- file drop
- affichage de l'arborescence rpi/public/
- faire du css moche
-
61 changes: 61 additions & 0 deletions css/LoginRegister.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f2f5;
}

.container {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
width: 300px;
}

.form-toggle {
text-align: center;
margin-bottom: 1.5rem;
}

.toggle-btn {
cursor: pointer;
color: #1877f2;
border: none;
background: none;
font-size: 1.1rem;
}

.form-container {
position: relative;
}

.form {
display: flex;
flex-direction: column;
gap: 1rem;
}

input {
padding: 0.8rem;
border: 1px solid #dddfe2;
border-radius: 6px;
font-size: 1rem;
}

button[type="submit"] {
background: #1877f2;
color: white;
padding: 0.8rem;
border: none;
border-radius: 6px;
font-size: 1rem;
cursor: pointer;
}

.hidden {
display: none;
}
112 changes: 110 additions & 2 deletions css/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
html, body {
height:100%
}

body {
display: flex;
border: 0;
Expand Down Expand Up @@ -42,7 +46,7 @@ header>p {

.main-container>div {
display: flex;

height:100%
}

.side-bubble {
Expand All @@ -53,7 +57,6 @@ header>p {
}

.middle-pane {
align-self: center;
width: 70%;
}

Expand Down Expand Up @@ -189,4 +192,109 @@ header>p {
#server-adress>p {
position: absolute;
display: none;
}

.BIOS-div {
font-family: 'Courier New', Courier, monospace;
/* background-color: #00008b; */
color: #fff;
margin: 0;
padding: 0;
display: auto;
justify-content: center;
align-items: center ;
height: auto;
}

.bios-container {
width: auto;
background-color: #c0c0c0;
color: #000;
border: 2px solid #000;
padding: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
margin: 31px;
}

.header {
background-color: #00008b;
color: #fff;
padding: 10px;
font-size: 1.2em;
text-align: center;
}

.menu {
background-color: #6495ed;
padding: 5px;
display: flex;
justify-content: space-around;
font-size: 1.1em;
}

.menu span {
color: #000;
}

.content {
display: flex;
margin-top: 10px;
}

.left-section {
flex: 3;
padding: 10px;
background-color: #f0f0f0;
border-right: 2px solid #000;
}

.right-section {
flex: 2;
padding: 10px;
background-color: #e6e6e6;
}

.footer {
background-color: #00008b;
color: #fff;
text-align: center;
padding: 5px;
margin-top: 10px;
font-size: 0.9em;
}

.instructions {
font-size: 0.9em;
margin-top: 10px;
color: #000;
}

.left.side-pane {
background-color: #c0c0c0;
color: #000;
border-right: 2px solid #000;
padding: 5px;
height: 100%;
}

.sep {
height: 5px;
margin-top: 5px;
margin-bottom: 5px;
border-top: 2px black solid;
border-bottom: 2px black solid;
width: 100%;
align-self: center;
}

#qklogin input {
margin-bottom: 3px;
}

#qklogin button {
width:45%
}

#qklogin p {
display:inline
}
34 changes: 34 additions & 0 deletions html/LoginRegister.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Login/Register</title>

<!-- CSS SHEETS -->
<link rel="stylesheet" href="../css/LoginRegister.css"/>

<!-- JS SHEETS -->
<script text="text/javascript" src="../js/LoginRegister.js"></script>
</head>
<body>
<div class="container">
<div class="form-toggle">
<button class="toggle-btn" onclick="toggleForms()">Switch to Login</button>
</div>

<div class="form-container">
<form id="loginForm" class="form hidden">
<input type="text" placeholder="Username" required>
<input type="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>

<form id="registerForm" class="form">
<input type="text" placeholder="Username" required>
<input type="password" placeholder="Password" required>
<button type="submit">Register</button>
</form>
</div>
</div>
</body>
</html>
Loading