diff --git a/includes/routes.php b/includes/routes.php index f6340fc..812eca3 100755 --- a/includes/routes.php +++ b/includes/routes.php @@ -20,12 +20,15 @@ $controller->prefix = "d."; $notfound = 0; $session = 1; +if($controller->splitted_url[0]=="") $controller->splitted_url[0]="index"; + // Routing to the correct page from the correct link switch ($controller->splitted_url[0]) { - case "index": case "" : + case "index": + case "community" : $controller->name=""; - $view->name="index"; + $view->name=$controller->splitted_url[0]; break; case "user" : $controller->name="users"; diff --git a/views/css/d.index.css b/views/css/d.index.css index 0268230..467f05e 100755 --- a/views/css/d.index.css +++ b/views/css/d.index.css @@ -346,4 +346,40 @@ footer a:hover { section .thumb { margin: 0 10px; border: 1px solid #aaa; +} + +/*********************************/ +/** Community portal page **/ +/*********************************/ + +.action { + clear: both; + margin: 50px auto 0 auto; + width: 90%; + background: #efefef; + border: 1px solid #ccc; + border-bottom: 3px solid #ccc; +} +.action p { + margin: 0; +} + +.action .title { + background: #ccc; + cursor: pointer; + font-weight: 500; + font-size: 1.1em; +} +.action .title a, .action .title p { + padding: 15px 10px; + margin: 0; + color: inherit; + display: block; +} + +.action .description { + display: none; +} +.action .description p { + padding: 10px 20px; } \ No newline at end of file diff --git a/views/d.community.html b/views/d.community.html new file mode 100755 index 0000000..ac89755 --- /dev/null +++ b/views/d.community.html @@ -0,0 +1,53 @@ + + + + + + + + + +
+

Contribuer au projet Kabano.

+

Étant un projet collaboratif, Kabano se repose sur vos contributions pour diffuser des informations au plus proche de la réalité. En participant au projet Kabano, vous acceptez de placer vos collaborations sous nos licences libres.

+
+ +
+ +
+ +
+
+

Ajouter un commentaire sur un hébergement

+
+
+

Rendez-vous sur la page hébergement où vous souhaitez laisser un commentaire, puis ajoutez un commentaire en bas de page.

+
+
+ +
+
+

Faire une demande de travaux

+
+
+

Cette fonctionnalité n'est pas encore disponible.

+
+
+ +
+ + + + + + +