-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Portfolio page creation, start of big picture popup
- Loading branch information
Showing
22 changed files
with
361 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
# website | ||
Site de l'asso @ http://assos.utc.fr/utcoupe | ||
|
||
## Comment ajouter un album photo ? | ||
Mais oui Jamy, comment on fait ça ? | ||
- ajouter les photos dans le dossier qui va bien (`/images/[annee]/`). De préférence en jpg, 1000 px sur le plus long côté, 80% de qualité. | ||
- modifier la page `pictures.html` en ajoutant un item au menu et une section. Bien modifier le `section id` et vérifier qu'il correspond avec le `a href="#machin"` dans le menu. | ||
- ajoutez les photos toutes fraîches à la nouvelle section. Ajouter autant d'`article` que nécessaire, en essayant d'équilibrer les colonnes (`<div class="4u 12u$(mobile)">`). Pensez à mettre à jours la légende et le texte d'intro en cas de copier collé. | ||
- voir partie suivante pour pousser les changements | ||
|
||
## Mise à jours du site | ||
D'une extrême simplicité : | ||
- faire les modifs chez vous bien au chaud | ||
- pousser les commit sur Github | ||
- ssh sur le serveur des assos (avec un ptit VPN si nécessaire) | ||
- `cd public_html/website && git pull` | ||
- boire un coup, ça a faillit être fatigant ! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
(function($){ | ||
$(function(){ | ||
function closeBigPicture () { | ||
$("#overlay").fadeOut(); | ||
return false; | ||
} | ||
|
||
function openBigPicture (evt) { | ||
$("#overlay").fadeIn(); | ||
} | ||
|
||
function updateBigPicture (article) { | ||
// TODO | ||
} | ||
|
||
function previousBigPicture (evt) { | ||
// TODO | ||
// updateBigPicture (article); | ||
} | ||
|
||
function nextBigPicture (evt) { | ||
// TODO | ||
// updateBigPicture (article); | ||
} | ||
|
||
$("#close-big-picture").click(closeBigPicture); | ||
$("#previous-big-picture").click(previousBigPicture); | ||
$("#next-big-picture").click(nextBigPicture); | ||
$("#overlay").click(closeBigPicture); | ||
$("#big-picture").on("click", function(evt) { | ||
evt.stopPropagation(); | ||
}); | ||
|
||
$("a.open-big-picture").click(function (evt) { | ||
updateBigPicture(evt); | ||
openBigPicture(evt); | ||
return false; | ||
}); | ||
|
||
|
||
}); // end of document ready | ||
})(jQuery); // end of jQuery name space |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.