Compare commits
17 Commits
v1
...
16f6e0778a
Author | SHA1 | Date | |
---|---|---|---|
16f6e0778a | |||
86bf57df0d | |||
31ba8358d1 | |||
c00d966fd7 | |||
ff2e32d2d9 | |||
56fd55d09d | |||
adbd09c060 | |||
aa3e4ffded | |||
67b9847587 | |||
8d39956724 | |||
5ed5aff945 | |||
f1849eccf0 | |||
e5d4f26fc2 | |||
5da19afed3 | |||
5540ba095d | |||
af82dac4bc | |||
aa693c7672 |
@ -35,7 +35,7 @@
|
||||
<h1>Biographie</h1>
|
||||
|
||||
<img src="images/ginou50.jpg" class="bio-img" alt="Ginou, peignant dans les années 50">
|
||||
<p>Ginou, née Geneviève Collignon, était une artiste-peintre qui a vécu la plus grande partie de sa vie à Dugny-sur-Meuse, village de la vallée de la Meuse où elle trouvera de nombreux sujets d’inspiration.</p>
|
||||
<p>Ginou, née Geneviève Collignon, était une artiste-peintre qui a vécu la plus grande partie de sa vie à Dugny-sur-Meuse, village de la vallée de la Meuse où elle trouvera de nombreux sujets d'inspiration.</p>
|
||||
|
||||
<p>Comme l'écrit Ginou en 2016 dans un texte sur sa jeunesse, « je suis née un jour de mars 1936 dans un petit village de la Meuse : Mouilly, le berceau des parents de mon père ». Elle a 4 ans quand la Seconde Guerre Mondiale éclate, et en garde des souvenirs très précis, même 75 ans après. Après avoir passé le certificat d'études avec succès, Geneviève apprend le métier de couturière de son père Eugène, tailleur installé dans le bas du petit village isolé dans la forêt meusienne, dans une maison sur les berges du petit ruisseau qui serpente au fond d'une vallée accrochée aux contreforts des côtes de Meuse.</p>
|
||||
|
||||
|
16
divers.html
16
divers.html
@ -8,12 +8,12 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="images/favicon.png">
|
||||
<link rel="stylesheet" href="styles/main.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/jquery.fancybox.min.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/chart.min.css" media="screen">
|
||||
<script src="plugins/jquery-3.5.1.min.js"></script>
|
||||
<script src="scripts/menu.js"></script>
|
||||
<link href="plugins/jquery.fancybox.min.css" rel="stylesheet">
|
||||
<script src="plugins/jquery.fancybox.min.js"></script>
|
||||
<link href="plugins/chart.min.css" rel="stylesheet">
|
||||
<script src="plugins/chart.bundle.min.js"></script>
|
||||
<script src="scripts/menu.js"></script>
|
||||
<script src="scripts/divers.js"></script>
|
||||
<script src="scripts/stats.js"></script>
|
||||
</head>
|
||||
@ -52,8 +52,8 @@
|
||||
<img src="photos/divers/mini/carnet.jpg" alt="Couverture du petit carnet qui nous a permis de lister l'intégralité des tableaux.">
|
||||
</a>
|
||||
|
||||
<a data-fancybox="divers" href="photos/divers/normal/carnetpremierepage.png" data-caption="Première page du petit carnet et les premiers tableaux à l’huile de Ginou.">
|
||||
<img src="photos/divers/mini/carnetpremierepage.jpg" alt="Première page du petit carnet et les premiers tableaux à l’huile de Ginou.">
|
||||
<a data-fancybox="divers" href="photos/divers/normal/carnetpremierepage.png" data-caption="Première page du petit carnet et les premiers tableaux à l'huile de Ginou.">
|
||||
<img src="photos/divers/mini/carnetpremierepage.jpg" alt="Première page du petit carnet et les premiers tableaux à l'huile de Ginou.">
|
||||
</a>
|
||||
|
||||
<a data-fancybox="divers" href="photos/divers/normal/carnetpage.png" data-caption="Pages du petit carnet dans les années 2001.">
|
||||
@ -75,8 +75,8 @@
|
||||
<img src="photos/divers/mini/atelier.jpg" alt="L'atelier dans lequel Ginou peignait (vers 2012).">
|
||||
</a>
|
||||
|
||||
<a data-fancybox="divers" href="photos/divers/normal/atelier2.jpg" data-caption="Trépied et tableau (nº375, Venise, le Cannareggio) dans l’atelier de Ginou (2015).">
|
||||
<img src="photos/divers/mini/atelier2.jpg" alt="Trépied et tableau (nº375, Venise, le Cannareggio) dans l’atelier de Ginou (2015).">
|
||||
<a data-fancybox="divers" href="photos/divers/normal/atelier2.jpg" data-caption="Trépied et tableau (nº375, Venise, le Cannareggio) dans l'atelier de Ginou (2015).">
|
||||
<img src="photos/divers/mini/atelier2.jpg" alt="Trépied et tableau (nº375, Venise, le Cannareggio) dans l'atelier de Ginou (2015).">
|
||||
</a>
|
||||
|
||||
<a data-fancybox="divers" href="photos/divers/normal/palette.jpg" data-caption="La palette de Ginou !">
|
||||
@ -156,7 +156,7 @@
|
||||
<p>
|
||||
De 1956 à 2016, soit sur une période de 60 ans, Ginou a peint plus de de 385 tableaux.<br>
|
||||
Parmi ceux-ci, elle a le plus souvent aimé travailler à la lumière printanière du mois de mai avec un total de 50 tableaux.<br>
|
||||
Son année la plus active fut 1988 où elle réalisa 23 œuvres. Enfin, le genre de tableau qu’elle préféra peindre était des paysages, plus particulièrement à la campagne.
|
||||
Son année la plus active fut 1988 où elle réalisa 23 œuvres. Enfin, le genre de tableau qu'elle préféra peindre était des paysages, plus particulièrement à la campagne.
|
||||
</p>
|
||||
|
||||
<div id="stats">
|
||||
|
@ -8,15 +8,15 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="images/favicon.png">
|
||||
<link rel="stylesheet" href="styles/main.css" media="screen">
|
||||
<script src="plugins/jquery-3.5.1.min.js"></script>
|
||||
<script src="scripts/menu.js"></script>
|
||||
<link rel="stylesheet" href="styles/fancybox.css" media="screen">
|
||||
<link rel="stylesheet" href="styles/pagination.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/jquery.fancybox.min.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/pagination.css" media="screen">
|
||||
<script src="plugins/jquery-3.5.1.min.js"></script>
|
||||
<link href="plugins/jquery.fancybox.min.css" rel="stylesheet">
|
||||
<script src="plugins/jquery.fancybox.min.js"></script>
|
||||
<script src="plugins/pagination.min.js"></script>
|
||||
<link rel="stylesheet" href="plugins/pagination.css" media="screen">
|
||||
<link rel="stylesheet" href="styles/pagination.css" media="screen">
|
||||
<script src="scripts/menu.js"></script>
|
||||
<script src="scripts/fancybox.js"></script>
|
||||
<script src="scripts/explorer.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@ -136,12 +136,13 @@
|
||||
</form>
|
||||
<p class="no-result"><strong>Aucun résultat.</strong> Veuillez réessayer avec d'autres paramètres.</p>
|
||||
<div id="style-container">
|
||||
<img class="style-select list active" src="styles/icons/list.svg" alt="liste">
|
||||
<img class="style-select frame" src="styles/icons/frame.svg" alt="galerie">
|
||||
<img class="style-select list" src="styles/icons/list.svg" alt="liste">
|
||||
</div>
|
||||
<div id="gallery">
|
||||
<div id="pagination" style="display:table; text-align:center; margin:auto;"></div>
|
||||
<div id="pagination"></div>
|
||||
<div class="gallery"></div>
|
||||
<div id="pagination-sec"></div>
|
||||
</div>
|
||||
<table>
|
||||
<thead>
|
||||
|
@ -10,12 +10,13 @@
|
||||
<link rel="stylesheet" href="styles/main.css" media="screen">
|
||||
<link rel="stylesheet" href="styles/fancybox.css" media="screen">
|
||||
<link rel="stylesheet" href="styles/pagination.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/pagination.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/jquery.fancybox.min.css" media="screen">
|
||||
<script src="plugins/jquery-3.5.1.min.js"></script>
|
||||
<script src="scripts/menu.js"></script>
|
||||
<link href="plugins/jquery.fancybox.min.css" rel="stylesheet">
|
||||
<script src="plugins/jquery.fancybox.min.js"></script>
|
||||
<script src="plugins/pagination.min.js"></script>
|
||||
<link rel="stylesheet" href="plugins/pagination.css" media="screen">
|
||||
<script src="scripts/menu.js"></script>
|
||||
<script src="scripts/fancybox.js"></script>
|
||||
<script src="scripts/exposition.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@ -44,8 +45,9 @@
|
||||
<p>Cette section présente une sélection de tableaux représentatifs de l'œuvre de Ginou. La section <a href="explorer.html">Explorer</a> permet de tous les consulter.</p>
|
||||
<p>Pour voir un tableau en haute résolution ainsi que ses informations, veuillez cliquer sur celui-ci.</p>
|
||||
</div>
|
||||
<div id="pagination" style="display:table; text-align:center; margin:auto;"></div>
|
||||
<div id="pagination"></div>
|
||||
<div class="gallery"></div>
|
||||
<div id="pagination-sec"></div>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 985 B |
@ -33,9 +33,9 @@
|
||||
|
||||
<article class="main">
|
||||
<h1>L'art de Ginou</h1>
|
||||
<p>Ginou était une artiste peintre autodidacte très appréciée dans son entourage et dans un cercle plus élargi grâce aux expositions de peinture annuelles dans sa région. Elle a réalisé de nombreuses œuvres, principalement des <strong>peintures à l’huile</strong>, plus rarement des <strong>aquarelles</strong>. Elle a également réalisé de nombreuses <strong>peintures sur soie</strong> et plus occasionnellement <strong>sur bois</strong>. Elle illustrait aussi ses <strong>cahiers de poèmes</strong>.</p>
|
||||
<p>Ginou était une artiste peintre autodidacte très appréciée dans son entourage et dans un cercle plus élargi grâce aux expositions de peinture annuelles dans sa région. Elle a réalisé de nombreuses œuvres, principalement des <strong>peintures à l'huile</strong>, plus rarement des <strong>aquarelles</strong>. Elle a également réalisé de nombreuses <strong>peintures sur soie</strong> et plus occasionnellement <strong>sur bois</strong>. Elle illustrait aussi ses <strong>cahiers de poèmes</strong>.</p>
|
||||
|
||||
<p>Tout au long de sa vie, Ginou a tenu à jour un petit carnet où elle consignait ses tableaux. Elle leur attribuait un numéro et un titre. Elle notait leurs dimensions ainsi que le nom de leur destinataires ou acheteurs. De <strong>de 1958 à 2017</strong> sont référencés 383 tableaux. Deux d'entre eux (nº33 et nº49) ont été recouverts par Ginou elle-même. Nous avons pour l'instant retrouvé quatre tableaux inédits, non listés dans ce carnet. Ginou a commencé à prendre en photos certains tableaux dans les années 1980 puis plus systématiquement à partir des années 2000. Pour compléter et améliorer cette base iconographique, nous avons photographié en haute résolution les tableaux en notre possession.
|
||||
<p>Tout au long de sa vie, Ginou a tenu à jour un petit carnet où elle consignait ses tableaux. Elle leur attribuait un numéro et un titre. Elle notait leurs dimensions ainsi que le nom de leur destinataires ou acheteurs. De <strong>1958 à 2017</strong> sont référencés 383 tableaux. Deux d'entre eux (nº33 et nº49) ont été recouverts par Ginou elle-même. Nous avons pour l'instant retrouvé quatre tableaux inédits, non listés dans ce carnet. Ginou a commencé à prendre en photos certains tableaux dans les années 1980 puis plus systématiquement à partir des années 2000. Pour compléter et améliorer cette base iconographique, nous avons photographié en haute résolution les tableaux en notre possession.
|
||||
|
||||
<p>Ce site comprend actuellement <strong>249 tableaux</strong> sur les <strong>385 peints à l'huile</strong>. Il est conçu pour présenter un aperçu de son talent et pour que tout le monde puisse apprécier son œuvre.</p>
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="images/favicon.png">
|
||||
<link rel="stylesheet" href="styles/main.css" media="screen">
|
||||
<link rel="stylesheet" href="plugins/chart.min.css" media="screen">
|
||||
<script src="plugins/jquery-3.5.1.min.js"></script>
|
||||
<link href="plugins/chart.min.css" rel="stylesheet">
|
||||
<script src="plugins/chart.bundle.min.js"></script>
|
||||
<script src="scripts/menu.js"></script>
|
||||
<script src="scripts/informations.js"></script>
|
||||
@ -70,7 +70,7 @@
|
||||
|
||||
<p>Le code source est librement disponible <em>via git</em> en <a href="https://git.n700.ovh/keb/ginou">cliquant ici</a>. Cela signifie qu'il est possible d'obtenir le site en local pour son utilisation personnelle, moyennant quelques connaissances techniques.</p>
|
||||
|
||||
<p>Site réalisé par <a href="https://theo.marchal.dev">Théo</a> et Denis Marchal avec la participation de toute la famille. Dernière mise à jour en avril 2021.</p>
|
||||
<p>Site réalisé par <a href="https://theo.marchal.dev">Théo</a> et Denis Marchal avec la participation de toute la famille. Dernière mise à jour en août 2022.</p>
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
@ -44,17 +44,17 @@
|
||||
|
||||
<div>
|
||||
<ul class="metadata">
|
||||
<li><span class="title">numéro :</span><span class="content number"> </span></li>
|
||||
<li><span class="title">date :</span><span class="content date"> </span></li>
|
||||
<li><span class="title">format :</span><span class="content dimension"> </span></li>
|
||||
<li><span class="title">support :</span><span class="content support"> </span></li>
|
||||
<li><span class="title">genre :</span><span class="content genre"> </span></li>
|
||||
<li><span class="title">thème :</span><span class="content theme"> </span></li>
|
||||
<li><span class="title">lieu :</span><span class="content place"> </span></li>
|
||||
<li><span class="title">état photo :</span><span class="content photo"> </span></li>
|
||||
<li><span class="title">aide requise :</span><span class="content help"> </span></li>
|
||||
<li><span class="title">tags :</span><span class="content tag"> </span></li>
|
||||
<li><span class="title">commentaire :</span><span class="content comment"> </span></li>
|
||||
<li><span class="title">numéro :</span><span class="content number"> </span></li>
|
||||
<li><span class="title">date :</span><span class="content date"> </span></li>
|
||||
<li><span class="title">format :</span><span class="content dimension"> </span></li>
|
||||
<li><span class="title">support :</span><span class="content support"> </span></li>
|
||||
<li><span class="title">genre :</span><span class="content genre"> </span></li>
|
||||
<li><span class="title">thème :</span><span class="content theme"> </span></li>
|
||||
<li><span class="title">lieu :</span><span class="content place"> </span></li>
|
||||
<li><span class="title">état photo :</span><span class="content photo"> </span></li>
|
||||
<li><span class="title">aide requise :</span><span class="content help"> </span></li>
|
||||
<li><span class="title">tags :</span><span class="content tag"> </span></li>
|
||||
<li><span class="title">commentaire :</span><span class="content comment"> </span></li>
|
||||
<li><span class="content original"><a href="photos/paintings/original/42.jpg">photo originale <img src="styles/icons/arrow.svg"></a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -32,6 +32,7 @@ jQuery(document).ready(function($)
|
||||
paramTag = (urlParams.get('tags') == null ? urlParams.getAll('tag') : urlParams.getAll('tags'));
|
||||
paramPhoto = (urlParams.get('photos') == null ? urlParams.getAll('photo') : urlParams.getAll('photos'));
|
||||
paramHelp = (urlParams.get('helps') == null ? urlParams.getAll('help') : urlParams.getAll('helps'));
|
||||
paramView = (urlParams.get('view'));
|
||||
params = { "year": paramYear, "month": paramMonth, "dimension": paramDimension, "genre": paramGenre, "theme": paramTheme, "place": paramPlace, "tag": paramTag, "photo": paramPhoto, "help": paramHelp }
|
||||
|
||||
$.getJSON("data.json", function(data)
|
||||
@ -41,6 +42,8 @@ jQuery(document).ready(function($)
|
||||
/** MENU **/
|
||||
/**********/
|
||||
|
||||
fancyboxInit(data, true);
|
||||
|
||||
var availableOptions = [];
|
||||
var selectedOptions = [];
|
||||
|
||||
@ -447,7 +450,7 @@ jQuery(document).ready(function($)
|
||||
else
|
||||
result += '<td> </td>'
|
||||
|
||||
result += '<td><a data-fancybox="exposition-list" href="';
|
||||
result += '<td><a class="list-preview" data-fancybox="exposition-list" href="';
|
||||
if (i.photo == "none")
|
||||
result += 'images/unknown.jpg';
|
||||
else
|
||||
@ -522,10 +525,38 @@ jQuery(document).ready(function($)
|
||||
$("article.explorer p.result").css("display", "none");
|
||||
}
|
||||
|
||||
function setGallery()
|
||||
{
|
||||
$("table").hide();
|
||||
$("#gallery").show();
|
||||
$(".style-select.frame").addClass('active');
|
||||
$(".style-select.list").removeClass('active');
|
||||
window.localStorage.setItem('explorer-view', 'gallery');
|
||||
}
|
||||
|
||||
// fancybox configuration
|
||||
$.getScript("scripts/fancybox.js", function() {
|
||||
fancyboxInit(data, true);
|
||||
});
|
||||
function setTable()
|
||||
{
|
||||
$("#gallery").hide();
|
||||
$("table").show();
|
||||
$(".style-select.frame").removeClass('active');
|
||||
$(".style-select.list").addClass('active');
|
||||
window.localStorage.setItem('explorer-view', 'table');
|
||||
}
|
||||
|
||||
if (paramView == "gallery")
|
||||
setGallery();
|
||||
else if (paramView == "table")
|
||||
setTable();
|
||||
else
|
||||
{
|
||||
if (res)
|
||||
{
|
||||
explorerView = window.localStorage.getItem('explorer-view');
|
||||
if (explorerView == "gallery")
|
||||
setGallery();
|
||||
else if (explorerView == "table")
|
||||
setTable();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
@ -335,16 +335,21 @@ function userActionHandle(availableOptions)
|
||||
}
|
||||
|
||||
|
||||
|
||||
// change display: gallery/table
|
||||
$(".style-select.frame").click(function()
|
||||
{
|
||||
$("table").hide();
|
||||
$("#gallery").show();
|
||||
$(".style-select.frame").addClass('active');
|
||||
$(".style-select.list").removeClass('active');
|
||||
window.localStorage.setItem('explorer-view', 'gallery');
|
||||
});
|
||||
$(".style-select.list").click(function()
|
||||
{
|
||||
$("#gallery").hide();
|
||||
$("table").show();
|
||||
$(".style-select.frame").removeClass('active');
|
||||
$(".style-select.list").addClass('active');
|
||||
window.localStorage.setItem('explorer-view', 'table');
|
||||
});
|
||||
}
|
@ -2,6 +2,8 @@ jQuery(document).ready(function($)
|
||||
{
|
||||
$.getJSON("data.json", function(data)
|
||||
{
|
||||
fancyboxInit(data, false);
|
||||
|
||||
window.pageSize = 14;
|
||||
var paintingList = [];
|
||||
|
||||
@ -18,12 +20,12 @@ jQuery(document).ready(function($)
|
||||
if (canDisplay)
|
||||
{
|
||||
paintingHtml += 'active"><a data-fancybox="exposition" href="photos/paintings/normal/' + i.number + '.jpg" data-fancybox-index="' + i.number + '">'
|
||||
paintingHtml += '<img src="photos/paintings/mini/" alt="Tableau ' + i.number + '"></a>';
|
||||
paintingHtml += '<img src="photos/paintings/mini/' + i.number + '.jpg" alt="Tableau ' + i.number + '"></a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
paintingHtml += 'inactive"><a data-fancybox="exposition" href="photos/paintings/normal/' + i.number + '.jpg" data-fancybox-index="' + i.number + '">'
|
||||
paintingHtml += '<img src="photos/paintings/mini/" alt="Tableau ' + i.number + '"></a>';
|
||||
paintingHtml += '<img src="photos/paintings/mini/' + i.number + '.jpg" alt="Tableau ' + i.number + '"></a>';
|
||||
}
|
||||
paintingHtml += '<span class="item-title">' + i.title;
|
||||
if (i.year != '—')
|
||||
@ -46,11 +48,7 @@ jQuery(document).ready(function($)
|
||||
|
||||
if (targetPage > 0)
|
||||
$("#pagination").pagination('go', targetPage);
|
||||
});
|
||||
|
||||
// fancybox configuration
|
||||
$.getScript("scripts/fancybox.js", function() {
|
||||
fancyboxInit(data, false);
|
||||
});
|
||||
});
|
||||
});
|
@ -1,6 +1,6 @@
|
||||
function fancyboxInit(data, explorer)
|
||||
{
|
||||
$('[data-fancybox="exposition"], [data-fancybox="exposition-list"]').fancybox(
|
||||
$('[data-fancybox="exposition"]').fancybox(
|
||||
{
|
||||
selector: '.gallery a',
|
||||
infobar: false,
|
||||
@ -14,7 +14,31 @@ function fancyboxInit(data, explorer)
|
||||
preventCaptionOverlap: true,
|
||||
},
|
||||
|
||||
caption: function(instance, item)
|
||||
caption: function(instance, item) { return caption(item, data); },
|
||||
beforeShow : function(instance, current) { return beforeShow(instance, current); },
|
||||
afterClose : function(instance) { return afterClose(instance); }
|
||||
});
|
||||
|
||||
$('[data-fancybox="exposition-list"]').fancybox(
|
||||
{
|
||||
selector: 'a.list-preview',
|
||||
infobar: false,
|
||||
toolbar: true,
|
||||
smallBtn: false,
|
||||
buttons: ["arrowLeft", "arrowRight", "close"],
|
||||
arrows: false,
|
||||
transitionEffect: "fade",
|
||||
baseClass: 'fancybox-custom-layout',
|
||||
mobile: {
|
||||
preventCaptionOverlap: true,
|
||||
},
|
||||
|
||||
caption: function(instance, item) { return caption(item, data); },
|
||||
beforeShow : function(instance, current) { return beforeShow(instance, current); },
|
||||
afterClose : function(instance) { return afterClose(instance); }
|
||||
});
|
||||
|
||||
function caption(item, data)
|
||||
{
|
||||
var idx = 0; // search the index of the painting of filtered data
|
||||
for (i = 0; i < data.length; i++)
|
||||
@ -39,22 +63,23 @@ function fancyboxInit(data, explorer)
|
||||
if (data[idx].comment != '—')
|
||||
cartel += '<span class="comment">' + data[idx].comment + '</span>';
|
||||
cartel += '</div>';
|
||||
|
||||
return cartel;
|
||||
}
|
||||
|
||||
return generateCartel();
|
||||
},
|
||||
}
|
||||
|
||||
beforeShow : function(instance, current)
|
||||
function beforeShow(instance, current)
|
||||
{
|
||||
if (current.opts.fancyboxIndex > previousArray[previousArray.length - 1])
|
||||
$('#pagination').pagination('next');
|
||||
|
||||
if (current.opts.fancyboxIndex < previousArray[0])
|
||||
$('#pagination').pagination('previous');
|
||||
},
|
||||
}
|
||||
|
||||
afterClose : function(instance)
|
||||
function afterClose(instance)
|
||||
{
|
||||
// after closing, changing the URL again. I guess there's no better way except by changing fancybox code...
|
||||
// (apparently fancybox changes back to the original url it had when starting)
|
||||
@ -67,5 +92,5 @@ function fancyboxInit(data, explorer)
|
||||
else
|
||||
window.history.replaceState('', '', window.location.pathname + '?page=' + currentPage + window.location.hash);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
@ -50,8 +50,8 @@ jQuery(document).ready(function($)
|
||||
gatherYear(tens, 2010, 2020);
|
||||
}
|
||||
|
||||
var canvasDimension = document.getElementById("photo").getContext('2d');
|
||||
var chartDimension = new Chart(canvasDimension, {
|
||||
var canvasPhoto = document.getElementById("photo").getContext('2d');
|
||||
var chartPhoto = new Chart(canvasPhoto, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ["1956 - 1959", "1960 - 1969", "1970 - 1979", "1980 - 1989", "1990 - 1999", "2000 - 2009", "2010 - 2016"],
|
||||
@ -111,7 +111,11 @@ jQuery(document).ready(function($)
|
||||
legend: {
|
||||
display: false,
|
||||
position: "bottom",
|
||||
}
|
||||
},
|
||||
animation: {
|
||||
duration: 0
|
||||
},
|
||||
responsiveAnimationDuration: 0
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -20,6 +20,12 @@ function paginationInit(data, paintingList, explorer)
|
||||
callback: function (response, pagination)
|
||||
{
|
||||
currentPage = pagination.pageNumber;
|
||||
|
||||
// fix to have two synced pagination bars
|
||||
var paginationClone = $("#pagination > *").clone(true);
|
||||
$("#pagination-sec").empty();
|
||||
paginationClone.appendTo("#pagination-sec");
|
||||
|
||||
// url handling
|
||||
if (explorer)
|
||||
{
|
||||
|
@ -45,23 +45,33 @@ jQuery(document).ready(function($)
|
||||
|
||||
$(".metadata .content.dimension").append(data[idx].dimension);
|
||||
$(".metadata .content.support").append(data[idx].support);
|
||||
$(".metadata .content.genre").append(data[idx].genre);
|
||||
$(".metadata .content.theme").append(data[idx].theme);
|
||||
$(".metadata .content.place").append(data[idx].place);
|
||||
$(".metadata .content.genre").append('<a href="explorer.html?genre='+ data[idx].genre +'">' + data[idx].genre + '</a>');
|
||||
$(".metadata .content.theme").append('<a href="explorer.html?theme='+ data[idx].theme +'">' + data[idx].theme + '</a>');
|
||||
$(".metadata .content.place").append('<a href="explorer.html?place='+ data[idx].place +'">' + data[idx].place + '</a>');
|
||||
|
||||
if (data[idx].photo == "none") photoState = "aucune";
|
||||
if (data[idx].photo == "bad") photoState = "mauvais";
|
||||
if (data[idx].photo == "ok") photoState = "acceptable";
|
||||
if (data[idx].photo == "good") photoState = "bon";
|
||||
$(".metadata .content.photo").append(photoState);
|
||||
$(".metadata .content.photo").append('<a href="explorer.html?photo='+ data[idx].photo +'">' + photoState + '</a>');
|
||||
|
||||
if (data[idx].help == "yes")
|
||||
$(".metadata .content.help").append('<a href="informations.html"><strong>oui (!)</strong></a>');
|
||||
$(".metadata .content.help").append('<a class="metadata-help" href="informations.html">oui (!)</a>');
|
||||
else
|
||||
$(".metadata .content.help").append("non");
|
||||
|
||||
// split tags to have a link to each one of them
|
||||
if (data[idx].tags != "—")
|
||||
$(".metadata .content.tag").append(data[idx].tags);
|
||||
{
|
||||
var splitTags = data[idx].tags.split(", ");
|
||||
splitTags.forEach(function(tag, idx, array)
|
||||
{
|
||||
$(".metadata .content.tag").append('<a href="explorer.html?tag='+ tag +'">' + tag + '</a>');
|
||||
|
||||
if (idx != array.length - 1)
|
||||
$(".metadata .content.tag").append(', ');
|
||||
});
|
||||
}
|
||||
else
|
||||
$(".metadata .content.tag").parent().css("display", "none");
|
||||
|
||||
|
@ -34,7 +34,11 @@ jQuery(document).ready(function($)
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
},
|
||||
animation: {
|
||||
duration: 0
|
||||
},
|
||||
responsiveAnimationDuration: 0
|
||||
}
|
||||
});
|
||||
|
||||
@ -72,7 +76,11 @@ jQuery(document).ready(function($)
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
},
|
||||
animation: {
|
||||
duration: 0
|
||||
},
|
||||
responsiveAnimationDuration: 0
|
||||
}
|
||||
});
|
||||
|
||||
@ -110,7 +118,11 @@ jQuery(document).ready(function($)
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
},
|
||||
animation: {
|
||||
duration: 0
|
||||
},
|
||||
responsiveAnimationDuration: 0
|
||||
}
|
||||
});
|
||||
});
|
@ -39,8 +39,8 @@ nav .hidden {
|
||||
}
|
||||
|
||||
.IE-header {
|
||||
font-size: 1.5rem;
|
||||
margin: 1rem;
|
||||
font-size:1.5rem;
|
||||
margin:1rem;
|
||||
}
|
||||
|
||||
header {
|
||||
@ -130,11 +130,11 @@ header nav ul li a {
|
||||
}
|
||||
|
||||
header nav #hamburger {
|
||||
display: inline-block;
|
||||
right: 1rem;
|
||||
font-size: 1.5rem;
|
||||
position: absolute;
|
||||
margin-top: 0.35rem;
|
||||
display:inline-block;
|
||||
right:1rem;
|
||||
font-size:1.5rem;
|
||||
position:absolute;
|
||||
margin-top:0.35rem;
|
||||
}
|
||||
|
||||
header nav #hamburger .container {
|
||||
@ -247,15 +247,20 @@ article.main .bio-img {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Exposition */
|
||||
|
||||
article #pagination {
|
||||
#pagination, #pagination-sec {
|
||||
display:table;
|
||||
text-align:center;
|
||||
margin:auto;
|
||||
}
|
||||
|
||||
#pagination-sec {
|
||||
margin-top:1rem;
|
||||
margin-bottom:1.5rem;
|
||||
}
|
||||
|
||||
|
||||
/* Exposition */
|
||||
|
||||
article .gallery .gallery-item.active {
|
||||
display:initial;
|
||||
}
|
||||
@ -271,7 +276,6 @@ article .gallery {
|
||||
justify-content:space-around;
|
||||
align-self:flex-end;
|
||||
flex-wrap:wrap;
|
||||
|
||||
margin:auto;
|
||||
margin-top:0;
|
||||
}
|
||||
@ -333,7 +337,7 @@ article .gallery img {
|
||||
|
||||
@media only screen and (max-width:600px) {
|
||||
#info {
|
||||
min-width:280px;
|
||||
min-width:85vw;
|
||||
}
|
||||
}
|
||||
|
||||
@ -395,6 +399,22 @@ article.painting .container ul.metadata {
|
||||
list-style-type:square;
|
||||
}
|
||||
|
||||
article.painting .container ul.metadata .metadata-help {
|
||||
font-weight:bold;
|
||||
color:#38686A;
|
||||
}
|
||||
|
||||
article.painting .container ul.metadata a {
|
||||
text-decoration:none;
|
||||
color:unset;
|
||||
}
|
||||
|
||||
article.painting .container ul li {
|
||||
-webkit-column-break-inside:avoid;
|
||||
page-break-inside:avoid;
|
||||
break-inside:avoid;
|
||||
}
|
||||
|
||||
article.painting .container .metadata span.title {
|
||||
font-variant:small-caps;
|
||||
}
|
||||
@ -430,9 +450,11 @@ article.painting .container .metadata span.content img {
|
||||
article.painting .container ul.metadata {
|
||||
position:relative;
|
||||
columns:2;
|
||||
width:80vw;
|
||||
width:95vw;
|
||||
margin:auto;
|
||||
margin-top:1rem;
|
||||
list-style-position:inside;
|
||||
padding:0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -496,9 +518,15 @@ article.explorer img.style-select {
|
||||
margin-bottom:0.25rem;
|
||||
margin-right:0.4rem;
|
||||
margin-left:0.4rem;
|
||||
padding-bottom:6px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
article.explorer img.style-select.active {
|
||||
border-bottom:2px solid black;
|
||||
padding-bottom:4px;
|
||||
}
|
||||
|
||||
article.explorer h3 {
|
||||
margin-bottom:0.3rem;
|
||||
}
|
||||
@ -828,9 +856,6 @@ article.infos h4 + p {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@media only screen and (max-width:1200px) {
|
||||
article, article.main {
|
||||
width:95vw;
|
||||
|
@ -4,6 +4,10 @@
|
||||
line-height:0.2rem;
|
||||
}
|
||||
|
||||
.paginationjs.paginationjs-theme-ginou .paginationjs-pages li:last-child {
|
||||
border-right: 1px solid #187795;
|
||||
}
|
||||
|
||||
.paginationjs.paginationjs-theme-ginou .paginationjs-go-input > input[type="text"], .paginationjs.paginationjs-theme-ginou .paginationjs-pages li {
|
||||
border-color:#187795;
|
||||
}
|
||||
|
Reference in New Issue
Block a user