templates/theme.html
author Reimar Bauer <rb.proj AT googlemail DOT com>
Sat, 18 Jan 2014 14:59:44 +0100
changeset 122 cafae4de01b3
parent 108 c75d501c5601
child 123 9eb7837f7332
permissions -rw-r--r--
until english is implemented, remove language selection
     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               <!-- ToDo add after translation finished
    53                <li class="module-language"><a class="link-yellow" href="./de">DE</a></li>
    54 
    55                <li><a class="link-yellow" href="./en">EN</a></li>
    56               -->
    57              </ul>
    58           </div><!--/.nav-collapse -->
    59         </div>
    60       </div>
    61     </header>
    62     <div id="main">
    63 
    64       {% block body %}{% endblock %}
    65     </div><!-- /main -->
    66   </div> <!-- /wrap -->
    67   {% include "footer.html" %}
    68     <!-- Bootstrap core JavaScript
    69     ================================================== -->
    70     <!-- Placed at the end of the document so the pages load faster -->
    71     <script src="/static/js/jquery-1.10.2.min.js"></script>
    72     <script src="static/js/bootstrap.js"></script>
    73      <script type="text/javascript">
    74       $(document).ready(function() {
    75       $('#myCarousel').carousel({
    76       interval: 5000
    77       })
    78       $('#myCarousel').on('slid.bs.carousel', function() {
    79       //alert("slid");
    80       });   
    81       });
    82     </script>
    83 
    84   </body>
    85   </html>
Impressum Datenschutzerklärung