Compare commits

..

2 Commits

2 changed files with 21 additions and 2 deletions

View File

@ -33,6 +33,8 @@ DATABASES = {
}
}
MEDIA_ROOT = os.path.join(VAR_DIR, 'media')
NGINX_DIR = os.environ['NGINX_DIRECTORY']
STATIC_ROOT = os.path.join(VAR_DIR, 'staticfiles')
MEDIA_ROOT = os.path.join(NGINX_DIR, 'media')
STATIC_ROOT = os.path.join(NGINX_DIR, 'staticfiles')

View File

@ -154,4 +154,21 @@
</div>
{% include "common_files/contact.html" with responsable="Nathalie ROHRBACH, Directrice" email="ecole@musique-meyenheim.fr" %}
<script type="text/javascript">
$(function () {
$('[data-toggle="popover"]').popover({trigger: "hover"})
})
appear({
elements: function elements(){
// work with all elements with the class "track"
return document.getElementsByClassName('track');
},
appear: function appear(el){
console.log('visible', el);
$(el).popover('show');
},
});
</script>
{% endblock %}