1 {% extends "::base.html.twig" %}
3 {% block title %}{{ parent() }}home{% endblock %}
7 <link rel="stylesheet" href="{{ asset('mixstore/css/static/home.css') }}">
12 <div id="home-carousel" class="carousel slide borderbottom" data-ride="carousel">
14 <div class="carousel-playpause">
15 <span class="glyphicon glyphicon-play" id="playbutton"></span>
16 <span class="glyphicon glyphicon-pause" id="pausebutton"></span>
19 <!-- Wrapper for slides -->
20 <div class="carousel-inner">
22 <img src="{{ asset('mixstore/images/banner.png') }}" alt="mixstore main banner">
24 {% for key,value in bannersArray %}
26 <a href="{{ path('mixstore_store_package_view', { id: key }) }}">
27 <img src="{{ asset('mixstore/images/pkg_banners/' ~ value) }}" alt="some package banner">
34 <a class="left carousel-control" href="#home-carousel" data-slide="prev">
35 <span class="glyphicon glyphicon-chevron-left"></span>
37 <a class="right carousel-control" href="#home-carousel" data-slide="next">
38 <span class="glyphicon glyphicon-chevron-right"></span>
42 <div class="row borderbottom">
44 <div class="col-xs-12 col-sm-6 column">
46 <p class="justify">Every software, library or package referenced here attempts to <span class="bold">cluster data</span>
47 into groups defined as the components of a <span class="bold">mixture of probabilistic models</span>.
48 The resulting classes can be used e.g. for supervised classification or regression.</p>
49 <p class="center-txt"><a href="{{ path('mixstore_static_about') }}">Read more details</a>.</p>
52 <div class="col-xs-12 col-sm-6 column grey-bg xs-shrink">
54 <a href="{{ path('mixstore_store_package_list') }}" class="btn btn-primary btn-lg">In the store !</a>
61 <div class="col-xs-12 col-sm-6 column grey-bg xs-shrink">
63 <p class="center-txt"><a href="{{ path('mixstore_static_policy') }}">Policy</a> to add a package or feedback.</p>
66 <div class="col-xs-12 col-sm-6 column">
69 {% for newsItem in news %}
71 <td class="bold">{{ newsItem.created | date('Y-m-d / H:i:s') }}</td>
72 <td><a href="{{ path('mixstore_store_package_view', { id: newsItem.id }) }}">{{ newsItem.name }}</a></td>
82 {% block javascripts %}
85 $('.glyphicon-play').click(function() {
86 $('#home-carousel').carousel('cycle');
87 $('#playbutton').hide();
88 $('#pausebutton').show();
90 $('.glyphicon-pause').click(function() {
91 $('#home-carousel').carousel('pause');
92 $('#playbutton').show();
93 $('#pausebutton').hide();
95 $( document ).ready(function() {
96 $('.carousel-inner .item').eq(0).addClass('active');
97 $('#playbutton').hide();