Rearrange code
This commit is contained in:
		
					parent
					
						
							
								9beacd6f6a
							
						
					
				
			
			
				commit
				
					
						f7c606906c
					
				
			
		
					 1 changed files with 17 additions and 17 deletions
				
			
		| 
						 | 
					@ -2,13 +2,13 @@
 | 
				
			||||||
<header class="header_slider">
 | 
					<header class="header_slider">
 | 
				
			||||||
  <div id="carousel-header-ungleich" class="carousel slide" data-interval="{{ instance.carousel_data_interval}}">
 | 
					  <div id="carousel-header-ungleich" class="carousel slide" data-interval="{{ instance.carousel_data_interval}}">
 | 
				
			||||||
    <!-- Indicators -->
 | 
					    <!-- Indicators -->
 | 
				
			||||||
      {% if instance.child_plugin_instances|length > 1  %}
 | 
					    {% if instance.child_plugin_instances|length > 1  %}
 | 
				
			||||||
        <ol class="carousel-indicators">
 | 
					      <ol class="carousel-indicators">
 | 
				
			||||||
          {% for plugin in instance.child_plugin_instances %}
 | 
					        {% for plugin in instance.child_plugin_instances %}
 | 
				
			||||||
              <li data-target="#carousel-header-ungleich" data-slide-to="{{forloop.counter0}}" {% if forloop.counter0 == 0 %}class="active" {% endif %}></li>
 | 
					            <li data-target="#carousel-header-ungleich" data-slide-to="{{forloop.counter0}}" {% if forloop.counter0 == 0 %}class="active" {% endif %}></li>
 | 
				
			||||||
          {% endfor %}
 | 
					        {% endfor %}
 | 
				
			||||||
        </ol>
 | 
					      </ol>
 | 
				
			||||||
      {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
    <!-- Wrapper for slides -->
 | 
					    <!-- Wrapper for slides -->
 | 
				
			||||||
    <div class="carousel-inner" role="listbox">
 | 
					    <div class="carousel-inner" role="listbox">
 | 
				
			||||||
        {% for plugin in instance.child_plugin_instances %}
 | 
					        {% for plugin in instance.child_plugin_instances %}
 | 
				
			||||||
| 
						 | 
					@ -17,15 +17,15 @@
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        {% endfor %}
 | 
					        {% endfor %}
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
      {% if instance.child_plugin_instances|length > 1  %}
 | 
					    {% if instance.child_plugin_instances|length > 1  %}
 | 
				
			||||||
    <a class="left carousel-control" href="#carousel-header-ungleich" role="button" data-slide="prev">
 | 
					      <a class="left carousel-control" href="#carousel-header-ungleich" role="button" data-slide="prev">
 | 
				
			||||||
      <span class="fa fa-angle-left" aria-hidden="true"></span>
 | 
					        <span class="fa fa-angle-left" aria-hidden="true"></span>
 | 
				
			||||||
      <span class="sr-only">Previous</span>
 | 
					        <span class="sr-only">Previous</span>
 | 
				
			||||||
    </a>
 | 
					      </a>
 | 
				
			||||||
    <a class="right carousel-control" href="#carousel-header-ungleich" role="button" data-slide="next">
 | 
					      <a class="right carousel-control" href="#carousel-header-ungleich" role="button" data-slide="next">
 | 
				
			||||||
      <span class="fa fa-angle-right" aria-hidden="true"></span>
 | 
					        <span class="fa fa-angle-right" aria-hidden="true"></span>
 | 
				
			||||||
      <span class="sr-only">Next</span>
 | 
					        <span class="sr-only">Next</span>
 | 
				
			||||||
    </a>
 | 
					      </a>
 | 
				
			||||||
      {% endif %}
 | 
					    {% endif %}
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</header>
 | 
					</header>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue