Improved index and security + added search engine files
This commit is contained in:
parent
e5dbb65341
commit
b04ed1b6cd
9 changed files with 40 additions and 20 deletions
1
assets/.htaccess
Normal file
1
assets/.htaccess
Normal file
|
@ -0,0 +1 @@
|
|||
Options -Indexes
|
|
@ -12,8 +12,8 @@
|
|||
.photos_folder a {
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
min-width: 100px;
|
||||
height: 100px;
|
||||
min-width: 150px;
|
||||
height: 120px;
|
||||
padding: 10px;
|
||||
margin: 5px;
|
||||
position: relative;
|
||||
|
@ -275,14 +275,15 @@
|
|||
|
||||
@media screen and (max-width: 480px) {
|
||||
.photos_folder a {
|
||||
min-width: 50px;
|
||||
height: 50px;
|
||||
min-width: 100px;
|
||||
height: 70px;
|
||||
}
|
||||
#folder_title {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
color: #e0e0e0;
|
||||
color: #73b795;
|
||||
font-size: 15px;
|
||||
text-shadow: 0 0 5px #1c1c1c;
|
||||
}
|
||||
|
||||
#folder_photos, #folder_albums {
|
||||
|
|
|
@ -311,19 +311,18 @@ Full-Width Styles
|
|||
}
|
||||
|
||||
.main_button {
|
||||
background: #1a1a1a;
|
||||
padding: 10px;
|
||||
border: 1px solid #5a5a5a;
|
||||
background-color: #1a1a1a;
|
||||
padding: 2px 2px 2px 2px;
|
||||
border-radius: 5px;
|
||||
text-shadow: 0 0 5px #1c1c1c;
|
||||
font-size: 25px;
|
||||
color: #b5b5b5;
|
||||
color: #73b795;
|
||||
box-shadow: 0 0 4px #000;
|
||||
}
|
||||
|
||||
.main_button:hover {
|
||||
box-shadow: 0 0 10px #000;
|
||||
background-color: #e0e0e0;
|
||||
color: black;
|
||||
background-color: #635247;
|
||||
}
|
||||
|
||||
#credits-list {
|
||||
|
|
6
coms.php
6
coms.php
|
@ -25,7 +25,7 @@ include("includes/coms/com_template.php");
|
|||
|
||||
$comTitle = "COM Walle-E";
|
||||
$comDescription = "Une journée dans la foret de Boucone, avec de nombreuses activités le matin ayant pour but de nettoyer la foret, et une piscine en accès libre l'après midi";
|
||||
$comRespo = "Nélia BAHRAOUI et Lucas PERRIN";
|
||||
$comRespo = "Nélia BAHRAOUI et Lucas PERIN";
|
||||
$comRespoId = "bahraoui ou lperin";
|
||||
include("includes/coms/com_template.php");
|
||||
|
||||
|
@ -35,7 +35,7 @@ $comRespo = "Léa LAXAGUE et Blaise MAUGARD";
|
|||
$comRespoId = "laxague ou bmaugard";
|
||||
include("includes/coms/com_template.php");
|
||||
|
||||
$comTitle = "COM Photos";
|
||||
$comTitle = "COM Hubble";
|
||||
$comDescription = "Souriez vous êtes filmés";
|
||||
$comRespo = "Lyana LETOURNEAU";
|
||||
$comRespoId = "lletourn";
|
||||
|
@ -61,7 +61,7 @@ $comRespo = "Zoé PHILIPPON";
|
|||
$comRespoId = "philippo";
|
||||
include("includes/coms/com_template.php");
|
||||
|
||||
$comTitle = "Spe Bar";
|
||||
$comTitle = "Spé Bar";
|
||||
$comDescription = "La boisson !";
|
||||
$comRespo = "Louis GALZIN";
|
||||
$comRespoId = "galzin";
|
||||
|
|
1
includes/.htaccess
Normal file
1
includes/.htaccess
Normal file
|
@ -0,0 +1 @@
|
|||
Options -Indexes
|
|
@ -25,10 +25,8 @@ include("includes/sidenav.html");
|
|||
<p>Ce site regroupe les informations les plus importantes pour que ta semaine d'accueil se déroule dans les
|
||||
meilleures conditions.</p>
|
||||
<br>
|
||||
<p>Utilise le menu en haut à gauche pour naviguer sur le site.</p>
|
||||
<p>Voici les pages les plus importantes :</p>
|
||||
<a class="main_button" href="planning.php">Planning</a>
|
||||
<a class="main_button" href="parrainage.php">Parrainage</a>
|
||||
<p>Le menu en haut à gauche te permet d'accéder aux différentes pages du site, comme le <a class="main_button" href="planning.php">Planning</a>,
|
||||
les informations sur le <a class="main_button" href="parrainage.php">Parrainage</a>, ou encore les <a class="main_button" href="photos.php">Photos</a> de la semaine !</p>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -8,5 +8,4 @@ AuthBasicProvider ldap
|
|||
require valid-user
|
||||
</limit>
|
||||
|
||||
Options +FollowSymlinks
|
||||
RewriteEngine on
|
||||
Options -Indexes
|
||||
|
|
3
robots.txt
Normal file
3
robots.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
User-agents: *
|
||||
Disallow: /photos/
|
18
sitemap.xml
Normal file
18
sitemap.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://etud.insa-toulouse.fr/~accueil_insa</loc>
|
||||
<lastmod>2018-05-17</lastmod>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://etud.insa-toulouse.fr/~accueil_insa/planning.php</loc>
|
||||
<lastmod>2018-05-17</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://etud.insa-toulouse.fr/~accueil_insa/photos.php</loc>
|
||||
<lastmod>2018-05-17</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
</urlset>
|
Loading…
Reference in a new issue