commit 4a8203c6d62ab90aee4a2b0087d5dff1274a4e44 Author: Keplyx Date: Sun Mar 25 13:22:28 2018 +0200 First commit diff --git a/assets/css/hamburger.css b/assets/css/hamburger.css new file mode 100644 index 0000000..2ff427d --- /dev/null +++ b/assets/css/hamburger.css @@ -0,0 +1,37 @@ +#hamburger { + display: inline-block; + cursor: pointer; + z-index: 2; + color: white; + font-size: 32px; + margin: 5px; +} + +.bar1, .bar2, .bar3 { + width: 35px; + height: 5px; + background-color: #fff; + margin: 6px 0; + transition: 0.4s; + box-shadow: 1px 1px 3px #333; +} + +/* Rotate first bar */ + +.change .bar1 { + -webkit-transform: rotate(-45deg) translate(-9px, 6px); + transform: rotate(-45deg) translate(-9px, 6px); +} + +/* Fade out the second bar */ + +.change .bar2 { + opacity: 0; +} + +/* Rotate last bar */ + +.change .bar3 { + -webkit-transform: rotate(45deg) translate(-8px, -8px); + transform: rotate(45deg) translate(-8px, -8px); +} diff --git a/assets/css/photos.css b/assets/css/photos.css new file mode 100644 index 0000000..5fe4f3f --- /dev/null +++ b/assets/css/photos.css @@ -0,0 +1,132 @@ +.photos_folder { + width: 100%; + display: flex; + border: 1px solid #212121; + border-radius: 10px; +} + +.photos_folder a:hover, .photos_path a:hover { + box-shadow: 0px 0px 10px #000; + background-color: white; + color: black; +} + +.photos_folder a { + font-size: 25px; + text-decoration: none; + border-radius: 10px; + min-width: 100px; + height: 100px; + padding: 10px; + margin: 5px; + display: flex; + align-items: center; + justify-content: center; + background-color: #212121; + box-shadow: 0px 0px 2px #212121; + transition: 0.3s; + color: white; +} + +.photos img { + display: inline-flex; + width: 25%; + opacity: 1; + cursor: pointer; + transition: 0.3s; +} + +.photos img:hover { + opacity: 0.5; +} + +.photos img:active { + opacity: 0.1; +} + +.no_photo { + font-size: 25px; + text-decoration: none; + border-radius: 10px; + width: 100%; + display: flex; + align-items: center; + justify-content: center; +} + +.photos_path { + margin: 5px; + width: 100%; + display: flex; + list-style: none; +} + +.photos_path a { + font-size: 15px; + text-decoration: none; + border-radius: 5px; + padding: 5px; + margin: 5px; + display: flex; + align-items: center; + justify-content: center; + background-color: #212121; + box-shadow: 0px 0px 2px #212121; + transition: 0.3s; + color: white; +} + +#img_big { + position: fixed; + max-width: 100%; + max-height: 70%; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); +} + +#close, #right, #left { + color: white; + position: fixed; + width: 50px; + height: 50px; + transition: 0.3s; + cursor: pointer; +} + +#right { + right: 0; + bottom: 0; +} + +#left { + left: 0; + bottom: 0; +} + +#close { + top: 50px; + right: 0; +} + +#close_back{ + position: fixed; + width: 100%; + height: 100%; +} + +#close:hover, #right:hover, #left:hover { + width: 70px; +} + +#close:active, #right:active, #left:active { + width: 55px; +} + +@media screen and (max-width: 480px) { + .photos_folder a { + font-size: 15px; + min-width: 50px; + height: 50px; + } +} diff --git a/assets/css/planning_events.css b/assets/css/planning_events.css new file mode 100644 index 0000000..b98a726 --- /dev/null +++ b/assets/css/planning_events.css @@ -0,0 +1,75 @@ +/******************************************************************************* +General +*******************************************************************************/ + +#table_planning { + width: 100%; + border: none; + border-collapse: separate; + border-spacing: 10px; +} + +#table_planning th { + border: none; + border-radius: 10px; + background: #414141; + font-weight: bold; +} + +.horaires { + background: none; + border: none; + border-top: 1px solid #000; + text-align: right; + vertical-align: top; +} + +.event { + border-radius: 20px; + border: none; + color: white; + vertical-align: middle; + transition: 0.3s; + cursor: pointer; + text-align: center; +} + +/******************************************************************************* +Events Specific +*******************************************************************************/ + +.discours { + background-color: #212121; +} + +.remise_niveau { + background-color: #d2a000; +} + +.barbecue, .banquet, .act_prev { + background-color: #7fa1b3; +} + +.fabcamp { + background-color: #004568; +} + +.soir { + background-color: #2696a2; +} + +.escape_game { + background-color: #929ba8; +} + +.com_ville { + background-color: #bbe19e; +} + +.com_walle { + background-color: #a20000; +} + +.wini { + background-color: #b7472a; +} diff --git a/assets/css/sidenav.css b/assets/css/sidenav.css new file mode 100644 index 0000000..f1ba6d7 --- /dev/null +++ b/assets/css/sidenav.css @@ -0,0 +1,50 @@ +/* The side navigation menu */ + +.sidenav { + height: 100%; + width: 250px; + margin-left: -250px; /* change margin with JavaScript */ + position: fixed; /* Stay in place */ + z-index: 10; + top: 0; + left: 0; + background-color: #111111; + overflow-x: hidden; /* Disable horizontal scroll */ + padding-top: 80px; + transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */ + box-shadow: none; /* change shadow with JavaScript */ +} + +/* The navigation menu links */ + +.sidenav a { + padding: 8px 8px 8px 32px; + text-decoration: none; + font-size: 20px; + font-family: 'Rubik', sans-serif; + color: #f0f0f0; + display: block; + transition: 0.3s; +} + +.sidenav a:hover { + color: white; + text-shadow: 2px 2px 5px #fff; +} + +/* Style page content - use this if you want to push the page content to the right when you open the side navigation */ + +#main { + transition: margin-left .5s; +} + +/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */ + +@media screen and (max-height: 450px) { + .sidenav { + padding-top: 15px; + } + .sidenav a { + font-size: 18px; + } +} diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..eeb4bb8 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,423 @@ +/******************************************************************************* +MeyerWeb Reset +*******************************************************************************/ + +html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font: inherit; + vertical-align: baseline; +} + +/* HTML5 display-role reset for older browsers */ + +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { + display: block; +} + +ol, ul { + list-style: none; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +/******************************************************************************* +Theme Styles +*******************************************************************************/ + +body { + /*Full page background*/ + background-image: url("../images/header_bg.jpg"); + background-repeat: no-repeat; + background-position: center; + background-size: cover; + background-attachment: fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + + box-sizing: border-box; + color: #373737; + font-size: 16px; + font-family: 'Nunito Sans', sans-serif; + line-height: 1.5; + -webkit-font-smoothing: antialiased; +} + +h1, h2, h3, h4, h5, h6 { + margin: 10px 0; + color: #222222; + font-family: 'Rubik', sans-serif; + letter-spacing: -1px; + border-bottom: 1px solid #ccc; +} + +h1 { + font-size: 36px; +} + +h2 { + padding-bottom: 10px; + font-size: 32px; +} + +h3 { + font-size: 24px; +} + +h4 { + font-size: 21px; +} + +h5 { + font-size: 18px; +} + +h6 { + font-size: 16px; +} + +p { + margin: 10px 0 15px 0; +} + +footer p { + color: #f2f2f2; +} + +a { + text-decoration: none; + color: #0F79D0; + text-shadow: none; + transition: color 0.5s ease; + transition: text-shadow 0.5s ease; + -webkit-transition: color 0.5s ease; + -webkit-transition: text-shadow 0.5s ease; + -moz-transition: color 0.5s ease; + -moz-transition: text-shadow 0.5s ease; + -o-transition: color 0.5s ease; + -o-transition: text-shadow 0.5s ease; + -ms-transition: color 0.5s ease; + -ms-transition: text-shadow 0.5s ease; +} + +a:hover, a:focus { + text-decoration: underline; +} + +footer a { + color: #F2F2F2; + text-decoration: underline; +} + +em, cite { + font-style: italic; +} + +strong { + font-weight: bold; +} + +img { + position: relative; + margin: 0 auto; + max-width: 739px; + padding: 5px; + margin: 10px 0 10px 0; // border: 1px solid #ebebeb; +} + +p img { + display: inline; + margin: 0; + padding: 0; + vertical-align: middle; + text-align: center; + border: none; +} + +ul, ol, dl { + margin-bottom: 15px +} + +ul { + list-style-position: inside; + list-style: disc; + padding-left: 20px; +} + +ol { + list-style-position: inside; + list-style: decimal; + padding-left: 20px; +} + +table { + border: 1px solid #d5d5d5; + margin-bottom: 20px; + text-align: center; +} + +th { + font-family: Arial, sans-serif; + padding: 10px; + background: #373737; + color: #fff; +} + +td { + padding: 10px; + border: 1px solid #212121; +} + +.copyright{ + color: #ccc; + font-size: 14px; +} + +/******************************************************************************* +Full-Width Styles +*******************************************************************************/ + +.outer { + width: 100%; +} + +.inner { + position: relative; + max-width: 900px; + padding: 20px 10px; + margin: 0 auto; +} + +#header_wrap { + background-position: top; +} + +#header_top { + display: flex; + color: white; + background: #212121; + position: fixed; + width: 100%; + height: 50px; + z-index: 15; + box-shadow: 0px 2px 5px #222; +} + +#header_top h4 { + color: white; +} + +#header_wrap .inner { + padding: 100px 10px 100px 10px; +} + +#menu_title { + border-bottom: none; + margin-left: 30px; +} + +#title { + margin: 0; + color: #fff; + font-size: 42px; + font-weight: 700; + text-shadow: #111 0px 0px 10px; + border-bottom: none; +} + +#description { + color: #fff; + font-size: 24px; + font-weight: 300; + background: none; + text-shadow: #111 0px 0px 10px; + border-bottom: none; +} + +#home_content_wrap { + background: none; +} + +#home_content { + padding-top: 100px; + background-color: #212121aa; + border-radius: 0px 0px 60px 60px; +} + +#home_content h1 { + color: white; + font-size: 70px; + border: none; + text-align: center; + text-shadow: 0px 0px 10px #000; +} + +#home_content p { + color: white; + font-size: 30px; + text-align: center; + text-shadow: 0px 0px 5px #000; +} + +#main_content_wrap { + background: #f2f2f2; + box-shadow: 0px 0px 10px #222; +} + +#main_content { + padding-top: 40px; +} + +#footer_wrap { + padding: 50px 0px 50px 0px; +} + +#table_wrapper { + width: 100%; + overflow: auto; +} + +#table_coms{ + width: 100%; + table-layout: auto; + text-align: left; + border: none; +} + +#table_coms td{ + vertical-align: middle; + border: none; + padding: 0px 0px 0px 10px; +} + +.com_description{ + width: 100%; + font-weight: bold; +} + +.com_logo{ + width: 100px; + min-width: 50px; +} + +#back_button{ + top: 0; + left: 0; + position: fixed; + width: 100%; + height: 100%; + background-color: #212121; + opacity: 0; + z-index: -1; + transition: 0.3s; +} + +#photo_back_button{ + top: 0; + left: 0; + position: fixed; + width: 100%; + height: 100%; + background-color: #212121cc; + z-index: 5; + transition: 0.3s; +} + +.active_background { + z-index: 5 !important; + opacity: 0.7 !important; +} + + +/******************************************************************************* +Small Device Styles +*******************************************************************************/ + +@media screen and (max-width: 992px) { + img { + max-width: 100%; + } +} + +@media screen and (max-width: 480px) { + body { + font-size: 14px; + } + .inner { + min-width: 320px; + max-width: 480px; + } + #title { + font-size: 32px; + } + h1 { + font-size: 28px; + } + h2 { + font-size: 24px; + } + h3 { + font-size: 21px; + } + h4 { + font-size: 18px; + } + h5 { + font-size: 14px; + } + h6 { + font-size: 12px; + } + code, pre { + font-size: 11px; + } + #table_wrapper { + width: 100%; + overflow: scroll; + } +} + +@media screen and (max-width: 320px) { + body { + font-size: 14px; + } + .inner { + min-width: 240px; + max-width: 320px; + } + #title { + font-size: 28px; + } + h1 { + font-size: 24px; + } + h2 { + font-size: 21px; + } + h3 { + font-size: 18px; + } + h4 { + font-size: 16px; + } + h5 { + font-size: 14px; + } + h6 { + font-size: 12px; + } + code, pre { + min-width: 240px; + max-width: 320px; + font-size: 11px; + } + #table_wrapper { + width: 100%; + overflow: scroll; + } +} diff --git a/assets/images/bg.jpg b/assets/images/bg.jpg new file mode 100644 index 0000000..ff8706e Binary files /dev/null and b/assets/images/bg.jpg differ diff --git a/assets/images/coms/logo.png b/assets/images/coms/logo.png new file mode 100644 index 0000000..6e076bd Binary files /dev/null and b/assets/images/coms/logo.png differ diff --git a/assets/images/header_bg.jpg b/assets/images/header_bg.jpg new file mode 100644 index 0000000..ff8706e Binary files /dev/null and b/assets/images/header_bg.jpg differ diff --git a/assets/images/planning.png b/assets/images/planning.png new file mode 100644 index 0000000..a7b8189 Binary files /dev/null and b/assets/images/planning.png differ diff --git a/assets/scripts/photosScript.js b/assets/scripts/photosScript.js new file mode 100644 index 0000000..fa51615 --- /dev/null +++ b/assets/scripts/photosScript.js @@ -0,0 +1,34 @@ +var showcase = $("#img_big"); +var showcaseLink = $("#img_big_link"); +var photoBackButton = $("#photo_back_button"); +function displayBig(elem){ + showcase.attr("src", $(elem).attr('src')); + showcaseLink.attr("href", $(elem).attr('src')); + photoBackButton.css("display", "block"); + console.log("yop"); +} +function closeBig() { + photoBackButton.css("display", "none") +} +function displayNext(direction) { + var currentSrc = showcase.attr('src'); + var photos = document.getElementsByClassName("photo"); + var current = 0; + for (i = 0; i < photos.length; i++){ + if ($(photos[i]).attr('src') == currentSrc){ + current = i; + } + } + var next = current + direction; + var nextId = ""; + if (direction > 0) { + nextId = "#photo-0"; + } else { + nextId = "#photo-" + (photos.length - 1); + } + if (document.getElementById("photo-" + next) != null){ + nextId = "#photo-" + next; + } + var nextSrc = $(nextId).attr('src'); + showcase.attr('src', nextSrc); +} diff --git a/assets/scripts/planningScript.js b/assets/scripts/planningScript.js new file mode 100644 index 0000000..85176fb --- /dev/null +++ b/assets/scripts/planningScript.js @@ -0,0 +1,39 @@ +var current = null; +var classes = null; +$(document).ready(function() { + $(".event").click(function() { + /* Reset last selected items */ + if (current != null) { + setEventShadow(current, "none"); + } + /* Set style for currently selected items */ + current = this.className.split(" ")[1]; + setEventShadow(current, "0px 0px 10px #000"); + /* Load info box text and smoothly scroll to it */ + $("#infoBox").load("includes/planning_events/" + current + ".html"); + $('html, body').animate({ + scrollTop: $("#infoBox").offset().top + }, 300); + }); + $(".event").hover(function() { + var element = this.className.split(" ")[1]; + if (element != current) { + setEventShadow(element, "0px 0px 5px #444"); + } + }, function() { + var element = this.className.split(" ")[1]; + if (element != current) { + setEventShadow(element, "none"); + } + }); + + function setEventShadow(eventName, shadow){ + classes = document.getElementsByClassName(eventName); + for (var i = 0; i < classes.length; i++) { + classes[i].style.boxShadow = shadow; + + } + } + + +}); diff --git a/assets/scripts/sidenavScript.js b/assets/scripts/sidenavScript.js new file mode 100644 index 0000000..2e313bc --- /dev/null +++ b/assets/scripts/sidenavScript.js @@ -0,0 +1,36 @@ +var menuOpen = false; +var sidenav = $("#menuSidenav"); +var hamburger = $("#hamburger"); +var backButton = $("#back_button"); + +function openNav() { + sidenav.css("margin-left", "0"); + sidenav.css("box-shadow", "5px 5px 10px #151515"); + backButton.addClass("active_background"); + enableHamburger(); /* Enables hamburger icon */ + menuOpen = true; +} + +function closeNav() { + sidenav.css("margin-left", "-250px"); + sidenav.css("box-shadow", "none"); + backButton.removeClass("active_background"); + disableHamburger(); /* Disables hamburger icon */ + menuOpen = false; +} + +function toggleNav() { + if (menuOpen) { + closeNav(); + } else { + openNav(); + } +} + +function disableHamburger(){ + hamburger.removeClass("change"); +} + +function enableHamburger(){ + hamburger.addClass("change"); +} diff --git a/coms.php b/coms.php new file mode 100644 index 0000000..7ddeb88 --- /dev/null +++ b/coms.php @@ -0,0 +1,83 @@ + +

Coms

+

Voici la liste de toutes les coms de la semaine d'accueil, avec les contacts des responsables.

+

Tous les mails cités sur cette page se terminent par @etud.insa-toulouse.fr

+ + diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..bcc4c2b --- /dev/null +++ b/contact.php @@ -0,0 +1,12 @@ + +

Contact

+

Tous les mails cités sur cette page se terminent par @etud.insa-toulouse.fr

+

Pour toute demande concernant ce site, merci de me contacter par Mail : vergnet

+

Pour toute demande concernant la semaine d'accueil, merci de contacter le Prez par Mail : aaaaa

+

Pour toute demande concernant une activité/COM spécifique, allez sur la page des COMs pour contacter le responsable approprié.

+ diff --git a/includes/coms/com_template.php b/includes/coms/com_template.php new file mode 100644 index 0000000..5720568 --- /dev/null +++ b/includes/coms/com_template.php @@ -0,0 +1,13 @@ +

+ + + + + + + + + + + +
Responsable :
Mail :
diff --git a/includes/photos/folder_template.php b/includes/photos/folder_template.php new file mode 100644 index 0000000..21b1345 --- /dev/null +++ b/includes/photos/folder_template.php @@ -0,0 +1 @@ + diff --git a/includes/photos/path_template.php b/includes/photos/path_template.php new file mode 100644 index 0000000..3a4e526 --- /dev/null +++ b/includes/photos/path_template.php @@ -0,0 +1 @@ +
  • diff --git a/includes/photos/photo_template.php b/includes/photos/photo_template.php new file mode 100644 index 0000000..3f5bafc --- /dev/null +++ b/includes/photos/photo_template.php @@ -0,0 +1 @@ + diff --git a/includes/photos/place_holder.php b/includes/photos/place_holder.php new file mode 100644 index 0000000..d10ad2e --- /dev/null +++ b/includes/photos/place_holder.php @@ -0,0 +1 @@ +
    diff --git a/includes/planning_events/act_prev.html b/includes/planning_events/act_prev.html new file mode 100644 index 0000000..2285fe0 --- /dev/null +++ b/includes/planning_events/act_prev.html @@ -0,0 +1,2 @@ +

    Activités de Prévention

    +

    Text

    diff --git a/includes/planning_events/banquet.html b/includes/planning_events/banquet.html new file mode 100644 index 0000000..48b70a9 --- /dev/null +++ b/includes/planning_events/banquet.html @@ -0,0 +1,2 @@ +

    Banquet

    +

    Text

    diff --git a/includes/planning_events/barbecue.html b/includes/planning_events/barbecue.html new file mode 100644 index 0000000..2fdb3f3 --- /dev/null +++ b/includes/planning_events/barbecue.html @@ -0,0 +1,2 @@ +

    Barbecue

    +

    Text

    diff --git a/includes/planning_events/com_ville.html b/includes/planning_events/com_ville.html new file mode 100644 index 0000000..77713f4 --- /dev/null +++ b/includes/planning_events/com_ville.html @@ -0,0 +1,2 @@ +

    COM Ville

    +

    Text

    diff --git a/includes/planning_events/com_walle.html b/includes/planning_events/com_walle.html new file mode 100644 index 0000000..a9eada9 --- /dev/null +++ b/includes/planning_events/com_walle.html @@ -0,0 +1,2 @@ +

    COM Wall-E

    +

    Text

    diff --git a/includes/planning_events/discours.html b/includes/planning_events/discours.html new file mode 100644 index 0000000..c0f9da3 --- /dev/null +++ b/includes/planning_events/discours.html @@ -0,0 +1,2 @@ +

    Discours du Directeur

    +

    Text

    diff --git a/includes/planning_events/escape_game.html b/includes/planning_events/escape_game.html new file mode 100644 index 0000000..0017cfb --- /dev/null +++ b/includes/planning_events/escape_game.html @@ -0,0 +1,2 @@ +

    Escape Game

    +

    Text

    diff --git a/includes/planning_events/fabcamp.html b/includes/planning_events/fabcamp.html new file mode 100644 index 0000000..aa76797 --- /dev/null +++ b/includes/planning_events/fabcamp.html @@ -0,0 +1,2 @@ +

    FabCamp

    +

    Text

    diff --git a/includes/planning_events/remise_niveau.html b/includes/planning_events/remise_niveau.html new file mode 100644 index 0000000..ea0a26d --- /dev/null +++ b/includes/planning_events/remise_niveau.html @@ -0,0 +1,2 @@ +

    Cours de remise à niveau

    +

    Text

    diff --git a/includes/planning_events/soir.html b/includes/planning_events/soir.html new file mode 100644 index 0000000..373becb --- /dev/null +++ b/includes/planning_events/soir.html @@ -0,0 +1,2 @@ +

    Soirées

    +

    Text

    diff --git a/includes/planning_events/wini.html b/includes/planning_events/wini.html new file mode 100644 index 0000000..bc92e95 --- /dev/null +++ b/includes/planning_events/wini.html @@ -0,0 +1,2 @@ +

    WINI

    +

    Text

    diff --git a/includes/sidenav.html b/includes/sidenav.html new file mode 100644 index 0000000..2f9bf12 --- /dev/null +++ b/includes/sidenav.html @@ -0,0 +1,10 @@ + diff --git a/includes/top_bar.html b/includes/top_bar.html new file mode 100644 index 0000000..118ac9f --- /dev/null +++ b/includes/top_bar.html @@ -0,0 +1,8 @@ +
    +
    +
    +
    +
    +
    + +
    diff --git a/index.php b/index.php new file mode 100644 index 0000000..29ab248 --- /dev/null +++ b/index.php @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + +
    + +
    +
    +

    Semaine d'Accueil 2018

    +

    Ce site regroupe les informations les plus importantes pour que ta semaine d'accueil se déroule dans les meilleures conditions.

    +

    Utilise le menu en haut à gauche pour naviguer sur le site.

    +
    +
    + + + diff --git a/parrainage.php b/parrainage.php new file mode 100644 index 0000000..7c889fc --- /dev/null +++ b/parrainage.php @@ -0,0 +1,11 @@ + +

    Parrainage

    +

    Ce sont les GDAs qui vont t'aider tout au long de l'année et qui vont s'assurer que ton arrivée à l'INSA se passe dans les meilleures conditions.

    +

    Impossible d'envoyer ta fiche de parrainage par courrier ? Pas de problème, tu peux l'envoyer par mailetud.insa-toulouse.fr

    +

    Tu as perdu ta fiche de parrainage ? Télécharge la ici (PAS encore en ligne)

    + diff --git a/photos.php b/photos.php new file mode 100644 index 0000000..666ce01 --- /dev/null +++ b/photos.php @@ -0,0 +1,95 @@ + $value){ + $path = realpath($dir.DIRECTORY_SEPARATOR.$value); + if (is_dir($path) && $value != "." && $value != "..") { + $folderTitle = $value; + $folderLink = "?folder=".getActiveFolder().$value.DIRECTORY_SEPARATOR; + $folderClass = ""; + include("includes/photos/folder_template.php"); + $displayedItems++; + } + } + if ($displayedItems == 0) { + $placeHolder = "Pas d'autres albums !"; + include("includes/photos/place_holder.php"); + } + } + + function getPhotos($dir){ + $files = scandir($dir); + $displayedItems = 0; + foreach ($files as $key => $value){ + $path = realpath($dir.DIRECTORY_SEPARATOR.$value); + if (!is_dir($path)) { + $ext = pathinfo($path, PATHINFO_EXTENSION); + if ($ext == "bmp" || $ext == "jpg" || $ext == "jpeg" || $ext == "png"){ + $imageSrc = getActiveFolder().$value; + $imageId = "photo-".$displayedItems; + include("includes/photos/photo_template.php"); + $displayedItems++; + } + } + } + if ($displayedItems == 0) { + $placeHolder = "Pas de photos ici !"; + include("includes/photos/place_holder.php"); + } + } + + function generatePath($dir){ + $folders = explode(DIRECTORY_SEPARATOR, $dir); + $currentPath = ""; + foreach ($folders as $value){ + if ($value != ""){ + $pathTitle = $value; + $currentPath .= $value.DIRECTORY_SEPARATOR; + $pathLink = "?folder=".$currentPath; + include("includes/photos/path_template.php"); + } + } + } +?> + + +

    Photos

    +

    Cliquez sur le dossier de votre choix pour afficher les photos

    + +
    + +
    +
    + +
    + + diff --git a/photos/.htaccess b/photos/.htaccess new file mode 100644 index 0000000..cab4ed8 --- /dev/null +++ b/photos/.htaccess @@ -0,0 +1,12 @@ +AuthName "Entrez vos identifiants INSA pour voir les photos" +AuthType Basic +AuthLDAPURL ldap://srv-ldap1.insa-toulouse.fr:389/ou=People,dc=insa-toulouse,dc=fr +AuthBasicProvider ldap + +# Changer require avec propre login pour bloquer page pour tout le monde + + require valid-user + + +Options +FollowSymlinks +RewriteEngine on diff --git a/photos/2016/album1/11-sea-beach-sand-wallpaper.jpg b/photos/2016/album1/11-sea-beach-sand-wallpaper.jpg new file mode 100755 index 0000000..f47b7e2 Binary files /dev/null and b/photos/2016/album1/11-sea-beach-sand-wallpaper.jpg differ diff --git a/photos/2016/album1/Black-And-Yellow-Abstract-Wallpaper-Downloads.jpg b/photos/2016/album1/Black-And-Yellow-Abstract-Wallpaper-Downloads.jpg new file mode 100755 index 0000000..30d5598 Binary files /dev/null and b/photos/2016/album1/Black-And-Yellow-Abstract-Wallpaper-Downloads.jpg differ diff --git a/photos/2016/album1/chicken silouhette.bmp b/photos/2016/album1/chicken silouhette.bmp new file mode 100755 index 0000000..2592cd9 Binary files /dev/null and b/photos/2016/album1/chicken silouhette.bmp differ diff --git a/photos/2018/album1/chicken silouhette.bmp b/photos/2018/album1/chicken silouhette.bmp new file mode 100755 index 0000000..2592cd9 Binary files /dev/null and b/photos/2018/album1/chicken silouhette.bmp differ diff --git a/photos/2018/album1/chicken silouhette2.bmp b/photos/2018/album1/chicken silouhette2.bmp new file mode 100755 index 0000000..2592cd9 Binary files /dev/null and b/photos/2018/album1/chicken silouhette2.bmp differ diff --git a/planning.php b/planning.php new file mode 100644 index 0000000..e08849d --- /dev/null +++ b/planning.php @@ -0,0 +1,77 @@ + +

    Le Planning

    +

    Voici le planning de la semaine. Clique sur une activité pour avoir des informations.

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    HorairesLundiMardiMercrediJeudiVendrediSamediDimanche
    8h30Discours du DirecteurFabCampFabCampEscape GameCOM Wall-EWINIWINI
    10h30Activités de Prévention
    11hRemise à niveau
    12hBarbecueBarbecueBarbecueBarbecue
    14hFabCampFabCampFabCampCOM Ville
    18hBanquetBanquetBanquetBanquetBanquet
    20hSpace MeetingSoirée des ClubsSoirée Jeune PadawanSoirée PKConcert
    +
    +

    Informations

    +
    +

    Cliquez sur un évenement pour afficher ses Informations

    +
    + + diff --git a/prevs.php b/prevs.php new file mode 100644 index 0000000..d218f37 --- /dev/null +++ b/prevs.php @@ -0,0 +1,12 @@ + +

    Prevs

    +

    Ce sont les GDAs derrière la COM Atterrissage qui vont faire attention à ce qu'il n'y ait pas de débordements. + Un numéro d'urgence est mis à votre disposition, à contacter en cas de problème. (PAS encore dispo)

    +

    Les choses à éviter

    +

    Voici quelques conseils pour que ta semaine se passe au mieux.

    + diff --git a/site-accueil-insa b/site-accueil-insa new file mode 120000 index 0000000..4399e7a --- /dev/null +++ b/site-accueil-insa @@ -0,0 +1 @@ +/home/keplyx/web/site-accueil-insa \ No newline at end of file diff --git a/template.php b/template.php new file mode 100644 index 0000000..4cfe624 --- /dev/null +++ b/template.php @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    + +

    Semaine d'Accueil 2018

    +

    +
    +
    + +
    +
    + +
    +
    + + + + +