diff --git a/config.php b/config.php
index b3ab033..da1df59 100644
--- a/config.php
+++ b/config.php
@@ -8,7 +8,7 @@ error_reporting(E_ALL);
session_start();
-define('DEFAULT_RADIUS', 10);
+define('DEFAULT_RADIUS', 100);
define('TAILLE_SPRITE', 32);
define('DEMI_TAILLE_SPRITE', (TAILLE_SPRITE/2));
diff --git a/header.php b/header.php
index 19ce74b..8884d72 100644
--- a/header.php
+++ b/header.php
@@ -2,6 +2,7 @@
La bureautique
+
+
+
+
+
-';
+
';
+';
diff --git a/lib/CesiumPlus.class.php b/lib/CesiumPlus.class.php
index 29efe68..57747d9 100644
--- a/lib/CesiumPlus.class.php
+++ b/lib/CesiumPlus.class.php
@@ -1,4 +1,7 @@
dao = DAO::getInstance();
}
+ public function
+ /*
public function getNearbyUsers ($lat, $lon, $radius) {
$n = 15;
@@ -47,4 +52,5 @@ class CesiumPlus {
return $result->hits->hits;
}
+ */
}
diff --git a/lib/DAO.class.php b/lib/DAO.class.php
index f95d515..dac8dac 100644
--- a/lib/DAO.class.php
+++ b/lib/DAO.class.php
@@ -1,4 +1,7 @@
';
+
';
+
+ include_once('footer.php');
}
\ No newline at end of file
diff --git a/themes/deco.css b/themes/deco.css
new file mode 100644
index 0000000..d3963c5
--- /dev/null
+++ b/themes/deco.css
@@ -0,0 +1,31 @@
+body#startpage {
+
+ background: hsl(0, 0%, 5%);
+ color: white;
+}
+
+
+body#startpage a,
+body#startpage a:visited {
+
+ color: white;
+ text-decoration: none;
+}
+
+body#startpage #games-list .game {
+
+ border-style: solid;
+ border-color: yellow;
+}
+
+
+body#startpage #games-list .game:hover {
+
+ background-color: yellow;
+}
+
+body#startpage #games-list .game:hover,
+body#startpage #games-list .game:hover a {
+
+ color: black;
+}
\ No newline at end of file
diff --git a/themes/layout.css b/themes/layout.css
new file mode 100644
index 0000000..9c95ef0
--- /dev/null
+++ b/themes/layout.css
@@ -0,0 +1,56 @@
+body#startpage
+{
+ text-align: center;
+}
+
+body#startpage ul#games-list {
+
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+body#startpage ul#games-list li {
+
+ margin: 0;
+ padding: 0;
+}
+
+body#startpage #games-list {
+
+ display: flex;
+ flex-wrap: wrap;
+ flex-direction: row;
+}
+
+body#startpage #games-list .game {
+
+ width: 31.333%;
+ margin-left: 1%;
+ margin-right: 1%;
+
+ border-width: 0.125rem ;
+ position: relative;
+}
+
+body#startpage #games-list .game h2 {
+
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
+
+body#startpage #games-list .game h2 a {
+
+ display: block;
+ width: 100%;
+ height: 100%;
+}
+
+body#startpage #games-list .game h2 + * {
+
+ margin-top: 4rem;
+}
\ No newline at end of file
diff --git a/themes/magie/game-icon.png b/themes/magie/game-icon.png
new file mode 100644
index 0000000..036c16b
Binary files /dev/null and b/themes/magie/game-icon.png differ
diff --git a/themes/spationaute/game-icon.png b/themes/spationaute/game-icon.png
new file mode 100644
index 0000000..c29cbf6
Binary files /dev/null and b/themes/spationaute/game-icon.png differ
diff --git a/themes/spationaute/layout.css b/themes/spationaute/layout.css
index 6dc0e1d..fde963f 100644
--- a/themes/spationaute/layout.css
+++ b/themes/spationaute/layout.css
@@ -276,3 +276,39 @@ main {
right: 0;
}
+
+#login-page input {
+
+ border-radius: 0;
+}
+
+#login-page {
+
+ height: 100vh;
+
+ display: flex;
+ flex-direction: column;
+
+ align-items: center;
+ flex-shrink: 1;
+ flex-basis: 100%;
+}
+
+#login-page footer {
+
+ justify-self: flex-end;
+}
+
+#login-page main {
+
+ flex-basis: 100vh;
+
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+}
+
+#login-page fieldset {
+
+ border-width: 0;
+}
\ No newline at end of file