Source

MyHost / src / templates / base.html

Full commit
<!DOCTYPE html>
{% load compress %}
{% load i18n %}

<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>My Host reservation system</title>
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7.5">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Frank Becker <fb@alien8.de>">
    {% comment %}
    <meta name="description" content="{% page_attribute meta_description %}"/>
    <meta name="keywords" content="{% page_attribute meta_keywords %}"/>
    {% endcomment %}

    <link href="{{ STATIC_URL }}css/bootstrap.css" rel="stylesheet">
    <link href="{{ STATIC_URL }}css/bootstrap-responsive.css" rel="stylesheet">
      {% compress css %}
          <link rel="stylesheet" href="{{ STATIC_URL }}css/custom.scss" type="text/x-scss">
      {% endcompress css %}
    {% comment %}
      <link href="{{ STATIC_URL }}css/custom.css" rel="stylesheet">
    {% endcomment %}
      {% block head %}
      {% endblock head %}

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="{{ STATIC_URL }}ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ STATIC_URL }}ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ STATIC_URL }}ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ STATIC_URL }}ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="{{ STATIC_URL }}ico/apple-touch-icon-57-precomposed.png">

  </head>

  <body>
  <div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container-fluid">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a class="brand" href="#">MyHost</a>
        <div class="btn-group pull-right">
          <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
            <i class="icon-user"></i>
              {% if user.is_authenticated %}
                  {{ user.username }}
              {% else %}
                  <span class="alert-error">please log in</span>
              {% endif %}
            <span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <li><a href="#">Profile</a></li>
            <li class="divider"></li>
            <li><a href="#">Sign Out</a></li>
          </ul>
        </div>
        <div class="nav-collapse">
          <ul class="nav">
            <li class="active"><a href="/">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#contact">Contact</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>
  </div>
  <div class="container-fluid">
      <div class="row-fluid">
          {% block main_content %}
          {% endblock %}
      </div>{# upper logo row #}
  </div>{# content #}
        <!-- Footer
       ================================================== -->
    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  {% comment %}
    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  {% endcomment %}
  <script src="{{ STATIC_URL }}js/jquery.js"></script>
  <script src="{{ STATIC_URL }}js/bootstrap-transition.js"></script>
  <script src="{{ STATIC_URL }}js/bootstrap-typeahead.js"></script>
    {% comment %}
    <script src="{{ STATIC_URL }}js/bootstrap-carousel.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-alert.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-modal.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-dropdown.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-scrollspy.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-tab.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-tooltip.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-popover.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-button.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap-collapse.js"></script>
    <script src="{{ STATIC_URL }}js/application.js"></script>
    {% endcomment %}
    <script>
        $(document).ready(function(){
        });
    </script>

  {% block js_bottom %}
  {% endblock js_bottom %}

  </body>
</html>