templates/theme.html
changeset 108 c75d501c5601
parent 102 d1524a27c8be
child 122 cafae4de01b3
equal deleted inserted replaced
107:92d284f1a457 108:c75d501c5601
    37                 <span class="icon-bar"></span>
    37                 <span class="icon-bar"></span>
    38               </button>
    38               </button>
    39               <a class="navbar-brand" href="/"><img class="logo" src="/static/images/PyMove3D.png" title="PyMove3D" alt="logo pymove3d" /></a>
    39               <a class="navbar-brand" href="/"><img class="logo" src="/static/images/PyMove3D.png" title="PyMove3D" alt="logo pymove3d" /></a>
    40             </div>
    40             </div>
    41             <div class="collapse navbar-collapse">
    41             <div class="collapse navbar-collapse">
    42               <ul class="nav navbar-nav">
    42               <ul class="nav navbar-nav navbar-right">
    43                {% for href, caption in [('/competition', 'Competition'),
    43                {% for href, caption in [('/competition', 'Competition'),
    44                ('/task', 'Task'),
    44                ('/task', 'Task'),
    45                ('/submission', 'Submission'),
    45                ('/submission', 'Submission'),
    46                ('/coursematerial', 'Coursematerial'),
    46                ('/coursematerial', 'Coursematerial'),
    47                ]:
    47                ]:
    48                %}
    48                %}
    49                {%- if href[1:] == act -%} 
    49                {%- if href[1:] == act -%} 
    50                <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ caption }}</a></li>
    50                <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ caption }}</a></li>
    51                {% endfor %}
    51                {% endfor %}
       
    52                <li class="module-language"><a class="link-yellow" href="./de">DE</a></li>
       
    53               <li><a class="link-yellow" href="./en">EN</a></li>
    52              </ul>
    54              </ul>
    53              <ul class="nav navbar-nav navbar-right">
       
    54               <li class="active"><a href="./"> <img class="flags" src="/static/images/flags/de.png" alt="deutsch" />
       
    55               </a></li>
       
    56               <li><a href="../navbar-static-top/"><img class ="flags" src="/static/images/flags/gb.png" alt="english" />
       
    57               </a></li>
       
    58               <li><a href="../navbar-fixed-top/"><img class="flags" src="/static/images/flags/it.png" alt="italiano" />
       
    59               </a></li>
       
    60             </ul>
       
    61           </div><!--/.nav-collapse -->
    55           </div><!--/.nav-collapse -->
    62         </div>
    56         </div>
    63       </div>
    57       </div>
    64     </header>
    58     </header>
    65     <div id="main">
    59     <div id="main">
Impressum Datenschutzerklärung