parent
841d225452
commit
08aa653b93
14 changed files with 364 additions and 209 deletions
@ -0,0 +1,61 @@ |
||||
* { |
||||
background-color: #272727; |
||||
} |
||||
|
||||
body { |
||||
text-align: center; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
height: 100vh; |
||||
} |
||||
|
||||
.container-auth { |
||||
border-radius: 10px; |
||||
padding: 20px; |
||||
text-align: center; |
||||
max-width: 400px; |
||||
width: 100%; |
||||
} |
||||
|
||||
h1 { |
||||
font-weight: bold; |
||||
font-size: 24px; |
||||
line-height: 30px; |
||||
font-weight: 600; |
||||
} |
||||
|
||||
h2 { |
||||
font-weight: 400; |
||||
font-size: 16px; |
||||
line-height: 20px; |
||||
color: #fa777c; |
||||
} |
||||
|
||||
label { |
||||
font-weight: 700; |
||||
font-size: 12px; |
||||
color: #b5bac1; |
||||
line-height: 16px; |
||||
} |
||||
|
||||
input { |
||||
color: #fff; |
||||
width: 100%; |
||||
height: 30px; |
||||
border-radius: 5px; |
||||
padding: 5px; |
||||
} |
||||
|
||||
button { |
||||
font-weight: 500; |
||||
font-size: 16px; |
||||
line-height: 24px; |
||||
color: #fff; |
||||
margin-top: 10px; |
||||
padding: 10px 20px; |
||||
cursor: pointer; |
||||
border-radius: 10px; |
||||
width: 100%; |
||||
margin-bottom: 10px; |
||||
} |
@ -0,0 +1,8 @@ |
||||
#title{ |
||||
text-align: center; |
||||
margin-bottom: 100px; |
||||
} |
||||
.card{ |
||||
display: grid; |
||||
grid-template-columns: 1fr 1fr 1fr; |
||||
} |
@ -0,0 +1,114 @@ |
||||
* { |
||||
font-family: "Inter", sans-serif; |
||||
box-sizing: border-box; |
||||
overflow: hidden; |
||||
background-color: #272727; |
||||
} |
||||
|
||||
body, |
||||
html { |
||||
height: 100%; |
||||
display: flex; |
||||
flex-direction: column; |
||||
} |
||||
|
||||
.modal-header, |
||||
.modal-title, |
||||
.modal-body, |
||||
#contratID{ |
||||
color: black; |
||||
background-color: white; |
||||
} |
||||
|
||||
/* Menu */ |
||||
.menu { |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: space-between; |
||||
} |
||||
|
||||
.title-section { |
||||
color: white; |
||||
display: flex; |
||||
align-items: center; |
||||
padding-left: 10px; |
||||
} |
||||
|
||||
.title-section img { |
||||
max-width: 80px; |
||||
max-height: 50px; |
||||
} |
||||
|
||||
.page-change-a { |
||||
padding-right: 10px; |
||||
} |
||||
|
||||
.page-change-button a { |
||||
margin: 2px; |
||||
color: black; |
||||
background-color: white; |
||||
border: 2px solid white; |
||||
border-radius: 10px; |
||||
|
||||
text-decoration: none; |
||||
} |
||||
|
||||
.page-change-button a:hover { |
||||
border-color: #eab308; |
||||
background-color: #eab308; |
||||
transition: all 1s; |
||||
} |
||||
|
||||
main { |
||||
flex: 1; |
||||
} |
||||
|
||||
/* Footer */ |
||||
footer { |
||||
color: white; |
||||
} |
||||
|
||||
footer p { |
||||
display: flex; |
||||
justify-content: center; |
||||
margin-bottom: 0px; |
||||
} |
||||
|
||||
h5{ |
||||
color: red; |
||||
} |
||||
|
||||
/* Canvas system |
||||
#canvas-system { |
||||
border: 1px solid white; |
||||
} |
||||
|
||||
/* Login modal */ |
||||
/* #loginModal { |
||||
position: fixed; |
||||
top: 50%; |
||||
left: 50%; |
||||
transform: translate(-50%, -50%); |
||||
padding: 20px; |
||||
border-radius: 8px; |
||||
box-shadow: 0 0 10px black; |
||||
z-index: 1000; |
||||
|
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
} */ |
||||
|
||||
/* #loginModal p { |
||||
margin-top: -10px; |
||||
} |
||||
|
||||
#loginModal input { |
||||
margin-bottom: 10px; |
||||
} */ |
||||
|
||||
|
||||
.card-title{ |
||||
color: white; |
||||
} |
@ -1,87 +0,0 @@ |
||||
canvas { |
||||
width: 50%; |
||||
border: 2px solid black; |
||||
border-radius: 5px; |
||||
} |
||||
|
||||
|
||||
|
||||
* { |
||||
/* Pour que les tailles soient correctes */ |
||||
box-sizing: border-box; |
||||
} |
||||
|
||||
body { |
||||
/* Pour coller le menu au bord, sans espace */ |
||||
margin: 0; |
||||
} |
||||
|
||||
.menu { |
||||
/* Pour que le menu reste en place quand on scroll */ |
||||
position: fixed; |
||||
/* Pour que le menu ne soit pas sur le texte et que ce dernier puisse être sélectionné */ |
||||
width: 0px; |
||||
} |
||||
|
||||
main { |
||||
/* Pour que le texte ne soit pas sous le menu */ |
||||
margin-left: 50px; |
||||
width: 500px; |
||||
text-align: justify; |
||||
} |
||||
|
||||
#hamburger { |
||||
/* Pour que la checkbox ne s'affiche pas */ |
||||
display: none; |
||||
} |
||||
|
||||
#hamburger-logo { |
||||
/* Pour que le curseur soit un pointeur */ |
||||
cursor: pointer; |
||||
background: black; |
||||
width: 200px; |
||||
display: block; |
||||
color: white; |
||||
/* Pour que le menu hamburger s'affiche toujours */ |
||||
text-align: right; |
||||
/* Pour que le menu hamburger soit "rangé" par défaut */ |
||||
transform: translateX(-168px); |
||||
padding: 10px; |
||||
} |
||||
|
||||
nav { |
||||
display: flex; |
||||
flex-direction: column; |
||||
background: black; |
||||
overflow: hidden; |
||||
width: 200px; |
||||
/* Pour que les liens soient "rangés" par défaut */ |
||||
transform: translateX(-200px); |
||||
} |
||||
|
||||
#hamburger-logo, |
||||
nav { |
||||
/* Pour qu'il y ait une animation */ |
||||
transition: 0.7s; |
||||
} |
||||
|
||||
/* Lorsque #hamburger est coché, le #hamburger-logo et le nav qui sont dans le même parent changent de propriété */ |
||||
#hamburger:checked ~ #hamburger-logo, |
||||
#hamburger:checked ~ nav { |
||||
/* Changement de la position pour afficher les menus */ |
||||
transform: translate(0); |
||||
} |
||||
|
||||
nav a { |
||||
color: white; |
||||
text-decoration: none; |
||||
padding: 10px; |
||||
} |
||||
|
||||
nav a:hover { |
||||
background: #444; |
||||
} |
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 4.7 KiB |
@ -1,37 +1,77 @@ |
||||
<!--Copyright © 2023 Entreprise SpaceTarders --> |
||||
|
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<link rel="stylesheet" href="../css/style.css"> |
||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> |
||||
<script type="module" src="../js/main.js"></script> |
||||
<html lang="fr" class="html-index"> |
||||
<head> |
||||
<meta charset="UTF-8" /> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
||||
<link rel="preconnect" href="https://fonts.googleapis.com" /> |
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
||||
<link |
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap" |
||||
rel="stylesheet" |
||||
/> |
||||
<script |
||||
src="https://code.jquery.com/jquery-3.7.1.min.js" |
||||
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" |
||||
crossorigin="anonymous" |
||||
></script> |
||||
<script type="module" src="/js/contrat.js" defer></script> |
||||
<script type="module" src="/js/main.js" defer></script> |
||||
<link rel="stylesheet" href="/css/global.css"/> |
||||
<link rel="stylesheet" href="/css/contrats.css"/> |
||||
<link rel="icon" href="/img/logo.png" /> |
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> |
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script> |
||||
<title>Space traders</title> |
||||
</head> |
||||
<body> |
||||
<!-- Menu sur le côté --> |
||||
<div class="menu"> |
||||
<!-- Utilisation d'une checkbox --> |
||||
<input type="checkbox" id="hamburger"> |
||||
<!-- Label de la checkbox --> |
||||
<label id="hamburger-logo" for="hamburger">☰</label> |
||||
<!-- Le reste du menu --> |
||||
<nav> |
||||
<a href="index.html">Page d'accueil</a> |
||||
<a href="#">Mes contrats</a> |
||||
<a href="#">Mon agent</a> |
||||
<a href="#">A propos</a> |
||||
</nav> |
||||
</div> |
||||
<main class="main-window"> |
||||
|
||||
<title>SpaceTraders</title> |
||||
</head> |
||||
<body> |
||||
<header id="header"> |
||||
<div class="menu"> |
||||
<div class="title-section"> |
||||
<img src="/img/logo.png" alt="Logo AppleTech.svg" /> |
||||
<p>SpaceTraders</p> |
||||
</div> |
||||
<div class="page-change-button"> |
||||
<a id="btn-agent" href="http://127.0.0.1:5501/templates/agent.html">Mon agent</a> |
||||
<a id="btn-contract" href="http://127.0.0.1:5501/templates/contrats.html">Mes contrats</a> |
||||
<a id="btn-faction" href="http://blog.local/user/index">Ma faction</a> |
||||
<a id="btn-ship" href="http://blog.local/user/create">Mes vaiseaux</a> |
||||
<a id="btn-ship" href="http://blog.local/user/logout">Systeme</a> |
||||
</div> |
||||
</div> |
||||
<hr /> |
||||
</header> |
||||
|
||||
<h1 id="title">Mes contrats</h1> |
||||
<main id="main"> |
||||
<h1 style="color:white" id="title">Mes contrats</h1> |
||||
<ul id="contrats"></ul> |
||||
|
||||
|
||||
<!-- Modal --> |
||||
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> |
||||
<div class="modal-dialog"> |
||||
<div class="modal-content"> |
||||
<div class="modal-header"> |
||||
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1> |
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
||||
</div> |
||||
<div class="modal-body"> |
||||
<div id="contratID"></div> |
||||
<p></p> |
||||
</div> |
||||
<div class="modal-footer"> |
||||
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Close</button> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</main> |
||||
</body> |
||||
|
||||
<footer id="footer"> |
||||
<hr /> |
||||
<p>SpaceTrader © 2023</p> |
||||
</footer> |
||||
</body> |
||||
</html> |
@ -1,39 +1,55 @@ |
||||
<!--Copyright © 2023 Entreprise SpaceTarders --> |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<link rel="stylesheet" href="../css/style.css"> |
||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> |
||||
<script type="module" src="../js/main.js"></script> |
||||
<html lang="fr" class="html-index"> |
||||
<head> |
||||
<meta charset="UTF-8" /> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
||||
<link rel="preconnect" href="https://fonts.googleapis.com" /> |
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
||||
<link |
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap" |
||||
rel="stylesheet" |
||||
/> |
||||
<script |
||||
src="https://code.jquery.com/jquery-3.7.1.min.js" |
||||
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" |
||||
crossorigin="anonymous" |
||||
></script> |
||||
<script type="module" src="/js/agent.js" defer></script> |
||||
<script type="module" src="/js/contrat.js" defer></script> |
||||
<script type="module" src="/js/faction.js" defer></script> |
||||
<script type="module" src="/js/main.js" defer></script> |
||||
<script type="module" src="/js/system.js" defer></script> |
||||
<link rel="stylesheet" href="/css/global.css" /> |
||||
<link rel="icon" href="/img/logo.png" /> |
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> |
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script> |
||||
<title>Space traders</title> |
||||
</head> |
||||
<body> |
||||
<!-- Menu sur le côté --> |
||||
<div class="menu"> |
||||
<!-- Utilisation d'une checkbox --> |
||||
<input type="checkbox" id="hamburger"> |
||||
<!-- Label de la checkbox --> |
||||
<label id="hamburger-logo" for="hamburger">☰</label> |
||||
<!-- Le reste du menu --> |
||||
<nav> |
||||
<a href="index.html">Page d'accueil</a> |
||||
<a href="contrats.html">Mes contrats</a> |
||||
<a href="#">Mon agent</a> |
||||
<a href="#">A propos</a> |
||||
</nav> |
||||
</div> |
||||
<main class="main-window"> |
||||
|
||||
<input id="token" type="text"> |
||||
<br> |
||||
<canvas id="canvas"></canvas> |
||||
<title>SpaceTraders</title> |
||||
</head> |
||||
<body> |
||||
<header id="header"> |
||||
<div class="menu"> |
||||
<div class="title-section"> |
||||
<img src="/img/logo.png" alt="Logo AppleTech.svg" /> |
||||
<p>SpaceTraders</p> |
||||
</div> |
||||
<div class="page-change-button"> |
||||
<a id="btn-agent" href="http://127.0.0.1:5501/templates/agent.html">Mon agent</a> |
||||
<a id="btn-contract" href="http://127.0.0.1:5501/templates/contrats.html">Mes contrats</a> |
||||
<a id="btn-faction" href="http://blog.local/user/index">Ma faction</a> |
||||
<a id="btn-ship" href="http://blog.local/user/create">Mes vaiseaux</a> |
||||
<a id="btn-ship" href="http://blog.local/user/logout">Systeme</a> |
||||
</div> |
||||
</div> |
||||
<hr /> |
||||
</header> |
||||
|
||||
|
||||
</main> |
||||
</body> |
||||
</html> |
||||
<main><p>Page accueil</p></main> |
||||
|
||||
<footer id="footer"> |
||||
<hr /> |
||||
<p>SpaceTrader © 2023</p> |
||||
</footer> |
||||
</body> |
||||
</html> |
||||
|
@ -1 +1 @@ |
||||
eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZGVudGlmaWVyIjoiUlVCRU4iLCJ2ZXJzaW9uIjoidjIuMS4yIiwicmVzZXRfZGF0ZSI6IjIwMjMtMTEtMTgiLCJpYXQiOjE3MDE0MzUxMTAsInN1YiI6ImFnZW50LXRva2VuIn0.AKe66yRJWV457_U-C5w0z03zwoPJIOyFgnef_nQXjXLtacyYxeYkcilv-5nRcsk1BsI1NkV2mT6Hg_WbevvxJzfIVSq1ZDQAUyA-sxM7qro3-kFfHWgy7FrCGEoKRTGRbFSo6yuKhvygAY6cZFsEAW6i9ayq893JFWeFNM-xfXDrnNI52VOQzWVJzYdhyi7jSsmUfw3vXf9OuXjaMPP3qpmCLpuElWGnqSyQBdLs7y7rN3MmkYH0E5ZPrYmBmdqk10QkJ_bruf2AgU808Q9lgw013qMVoDHwb-83_LrWjzYuIBQQBpfRIyMQrLaum-uEHsIECBg5D3M_OTFmy7htqQ |
||||
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZGVudGlmaWVyIjoiUlVCRU4iLCJ2ZXJzaW9uIjoidjIuMS40IiwicmVzZXRfZGF0ZSI6IjIwMjMtMTItMDIiLCJpYXQiOjE3MDIwMzg1ODgsInN1YiI6ImFnZW50LXRva2VuIn0.Brl1Mm9K7bG7kLfWGiU6M0WFvOXy-sV3T_p9-c-v97XMFvsmA85lpdKzeaAyVpOPMF4uM08HqxWb9mEGbag5whX0LPk39B_vjKeQVB9cjpjDsaElQz2HuWIUlB33eOQTyt_LKdQYnY7Jqh2HLopMbzK5sjeaGYzjoWILCuZXjqQkp5b0M_0EvXqCgDn1PpEb_MXSLkTpSQ1xa6hCaGjf6fE3KfTgRxEGpIunAeLRq1edaN4fU7TFU0SWSJZ1HO9CMfxA7eZt274sw4Wiea6LpwlPsGOMf1HFVl2sWdpbdIwdaFHyKpUAHWOGORKBB4B9G77wFLcOukwQMOQYOFL48Q" |
Loading…
Reference in New Issue