templates/theme.html
author stetrabby <info@trabucchi.de>
Sat, 18 Jan 2014 11:29:01 +0100
changeset 108 c75d501c5601
parent 102 d1524a27c8be
child 122 cafae4de01b3
permissions -rw-r--r--
navigation for languages modifed, flags deleted. Content index changed
     1 <!DOCTYPE html>
     2 <html lang="en"><head>
     3 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     4 <meta charset="utf-8">
     5 <!--meta http-equiv="X-UA-Compatible" content="IE=edge"-->
     6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
     7 <meta name="description" content="">
     8 <meta name="author" content="">
     9 <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico')}}">
    10 
    11 <title>PyMove3D -- 2014</title>
    12 
    13 <!-- Bootstrap core CSS -->
    14 <link href="/static/css/bootstrap.css" rel="stylesheet">
    15 
    16 <!-- Just for debugging purposes. Don't actually copy this line! -->
    17 <!--[if lt IE 9]><script src="/static/js/ie8-responsive-file-warning.js"></script><![endif]-->
    18 
    19 <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    20     <!--[if lt IE 9]>
    21       <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    22       <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    23       <![endif]-->
    24     </head>
    25 
    26     <body>
    27       <div id="wrap">
    28         <header>
    29          <!-- Fixed navbar -->
    30          <div class="navbar navbar-default" role="navigation">
    31           <div class="container">
    32             <div class="navbar-header">
    33               <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
    34                 <span class="sr-only">Toggle navigation</span>
    35                 <span class="icon-bar"></span>
    36                 <span class="icon-bar"></span>
    37                 <span class="icon-bar"></span>
    38               </button>
    39               <a class="navbar-brand" href="/"><img class="logo" src="/static/images/PyMove3D.png" title="PyMove3D" alt="logo pymove3d" /></a>
    40             </div>
    41             <div class="collapse navbar-collapse">
    42               <ul class="nav navbar-nav navbar-right">
    43                {% for href, caption in [('/competition', 'Competition'),
    44                ('/task', 'Task'),
    45                ('/submission', 'Submission'),
    46                ('/coursematerial', 'Coursematerial'),
    47                ]:
    48                %}
    49                {%- if href[1:] == act -%} 
    50                <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ caption }}</a></li>
    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>
    54              </ul>
    55           </div><!--/.nav-collapse -->
    56         </div>
    57       </div>
    58     </header>
    59     <div id="main">
    60 
    61       {% block body %}{% endblock %}
    62     </div><!-- /main -->
    63   </div> <!-- /wrap -->
    64   {% include "footer.html" %}
    65     <!-- Bootstrap core JavaScript
    66     ================================================== -->
    67     <!-- Placed at the end of the document so the pages load faster -->
    68     <script src="/static/js/jquery-1.10.2.min.js"></script>
    69     <script src="static/js/bootstrap.js"></script>
    70      <script type="text/javascript">
    71       $(document).ready(function() {
    72       $('#myCarousel').carousel({
    73       interval: 5000
    74       })
    75       $('#myCarousel').on('slid.bs.carousel', function() {
    76       //alert("slid");
    77       });   
    78       });
    79     </script>
    80 
    81   </body>
    82   </html>
Impressum Datenschutzerklärung