]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/static/features.html
fixed second navigation bug over main navigation
[people/shoehn/ipfire.org.git] / templates / static / features.html
index 25c415aa2571b6102b5a23710932e6600c6a2cdc..7750edcf5441b1ec65df71d3d71d4d68a2de3b13 100644 (file)
                
                                        <h4 class="secondHeadline">Web User-Interface screenshots</h4>
                
-                                       <div class="row">
-                                               <div class="col-sm-12 col-md-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/rules.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/rules.png") }}" alt="{{ _("Screenshot") }}">
+                                       <div class="row my-gallery" itemscope itemtype="http://schema.org/ImageGallery">
+                                               <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/rules.png") }}" itemprop="contentUrl" data-size="999x589">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/rules.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                                                
-                                               <div class="col-sm-12 col-md-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/new-rule.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/new-rule.png") }}" alt="{{ _("Screenshot") }}">
+                                               <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/new-rule.png") }}" itemprop="contentUrl" data-size="1033x1077">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/new-rule.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                
-                                               <div class="col-sm-12 col-md-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/service-groups.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/service-groups.png") }}" alt="{{ _("Screenshot") }}">
+                                               <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/service-groups.png") }}" itemprop="contentUrl" data-size="977x825">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/service-groups.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                                        </div>
                
-                                       <div class="row">
-                                               <div class="col-sm-12 col-md-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/host-groups.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/host-groups.png") }}" alt="{{ _("Screenshot") }}">
+                                       <div class="row my-gallery">
+                                               <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/host-groups.png") }}" itemprop="contentUrl" data-size="1029x675">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/host-groups.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                
-                                               <div class="col-sm-12 col-md-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/connections-1.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/connections-1.png") }}" alt="{{ _("Screenshot") }}">
+                                               <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/firewall/connections-1.png") }}" itemprop="contentUrl" data-size="776x686">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/firewall/connections-1.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                                        </div>
                        </section>
                        
                                {% end %}
                
                
-                               <div class="row">
-                                       <div class="col-sm-12 col-md-3">
-                                               <a class="thumbnail" href="{{ static_url("images/screenshots/en/pakfire/pakfire-overview-1.png") }}">
-                                                       <img class="img-fluid" src="{{ static_url("images/screenshots/en/pakfire/pakfire-overview-1.png") }}" alt="{{ _("Screenshot") }}">
+                               <div class="row my-gallery" itemscope itemtype="http://schema.org/ImageGallery">
+                                       <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                               <a class="thumbnail" href="{{ static_url("images/screenshots/en/pakfire/pakfire-overview-1.png") }}" itemprop="contentUrl" data-size="770x508">
+                                                       <img class="img-fluid" src="{{ static_url("images/screenshots/en/pakfire/pakfire-overview-1.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                </a>
-                                       </div>
+                                       </figure>
        
-                                       <div class="col-sm-12 col-md-3">
-                                               <a class="thumbnail" href="{{ static_url("images/screenshots/en/pakfire/addon-services-1.png") }}">
-                                                       <img class="img-fluid" src="{{ static_url("images/screenshots/en/pakfire/addon-services-1.png") }}" alt="{{ _("Screenshot") }}">
+                                       <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                               <a class="thumbnail" href="{{ static_url("images/screenshots/en/pakfire/addon-services-1.png") }}" itemprop="contentUrl" data-size="698x284">
+                                                       <img class="img-fluid" src="{{ static_url("images/screenshots/en/pakfire/addon-services-1.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                </a>
-                                       </div>
+                                       </figure>
                                </div>
                
                                {% if lang == "de" %}
                                                </p> -->
                                        {% end %}
                
-                                       <div class="row">
-                                               <div class="col-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/hardware/hwtemp-1.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/hardware/hwtemp-1_thumb.png") }}" alt="{{ _("Screenshot") }}">
+                                       <div class="row my-gallery" itemscope itemtype="http://schema.org/ImageGallery">
+                                               <figure class="col-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/hardware/hwtemp-1.png") }}" itemprop="contentUrl" data-size="756x432">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/hardware/hwtemp-1_thumb.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                                        </div>
                        </section>
                        
                                                </p>
                                        {% end %}
                
-                                       <div class="row">
-                                               <div class="col-sm-12 col-md-3">
-                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/virtualization/virt-manager-1.png") }}">
-                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/virtualization/virt-manager-1_thumb.png") }}" alt="{{ _("Screenshot") }}">
+                                       <div class="row my-gallery">
+                                               <figure class="col-sm-12 col-md-3" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
+                                                       <a class="thumbnail" href="{{ static_url("images/screenshots/en/virtualization/virt-manager-1.png") }}" itemprop="contentUrl" data-size="605x375">
+                                                               <img class="img-fluid" src="{{ static_url("images/screenshots/en/virtualization/virt-manager-1_thumb.png") }}" itemprop="thumbnail" alt="{{ _("Screenshot") }}">
                                                        </a>
-                                               </div>
+                                               </figure>
                                        </div>
                        </section>
                        
        });
 </script>
 
+<!-- Gallery Lightbox -->
+<!-- Root element of PhotoSwipe. Must have class pswp. -->
+<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
+
+    <!-- Background of PhotoSwipe. 
+         It's a separate element, as animating opacity is faster than rgba(). -->
+    <div class="pswp__bg"></div>
+
+    <!-- Slides wrapper with overflow:hidden. -->
+    <div class="pswp__scroll-wrap">
+
+        <!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
+        <!-- don't modify these 3 pswp__item elements, data is added later on. -->
+        <div class="pswp__container">
+            <div class="pswp__item"></div>
+            <div class="pswp__item"></div>
+            <div class="pswp__item"></div>
+        </div>
+
+        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
+        <div class="pswp__ui pswp__ui--hidden">
+            <div class="pswp__top-bar">
+
+                <!--  Controls are self-explanatory. Order can be changed. -->
+                <div class="pswp__counter"></div>
+                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
+                <button class="pswp__button pswp__button--share" title="Share"></button>
+                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
+                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
+
+                <!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
+                <!-- element will get class pswp__preloader--active when preloader is running -->
+                <div class="pswp__preloader">
+                    <div class="pswp__preloader__icn">
+                      <div class="pswp__preloader__cut">
+                        <div class="pswp__preloader__donut"></div>
+                      </div>
+                    </div>
+                </div>
+            </div>
+
+            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
+                <div class="pswp__share-tooltip"></div> 
+            </div>
+
+            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>
+            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>
+
+            <div class="pswp__caption">
+                <div class="pswp__caption__center"></div>
+            </div>
+        </div>
+    </div>
+</div>
+<script src="{{ static_url("js/photoswipe.min.js") }}"></script>
+<script src="{{ static_url("js/photoswipe-ui-default.min.js") }}"></script>
+<script src="{{ static_url("js/photoswipe-index.js") }}"></script>
+
 <!-- Icons -->
 <svg aria-hidden="true" style="display: none">
        <symbol id="verified" viewBox="0 0 24 24">