Source

django-pim / sitetracker / templates / sitetracker / base.html

Full commit
Kevin Veroneau fffb63b 
























































































































{% load cache %}
{% load server_list %}
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>myServers</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Le styles -->
    <link href="{{STATIC_URL}}css/bootstrap.min.css" rel="stylesheet">
    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>
    <link href="{{STATIC_URL}}css/bootstrap-responsive.min.css" rel="stylesheet">
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>

  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">

          <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="{% url servers-home %}">sitetracker</a>
          <div class="nav-collapse">
            <ul class="nav">
              <li><a href="{% url servers-home %}">Home</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">New<b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="{% url hostingprovider-add %}">Hosting Provider</a></li>
                  <li><a href="{% url server-add %}">Server</a></li>
                  <li><a href="{% url domain-add %}">Domain</a></li>
                </ul>
              </li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Administrate<b class="caret"></b></a>
                <ul class="dropdown-menu">
                  {% cache 3600 domain-admin %}
                  {% admin_list %}
                  {% endcache %}
                </ul>
              </li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span3">
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
              <li class="nav-header">Servers</li>
              {% cache 3600 server-list %}
              {% if server %}
              {% server_list server %}
              {% else %}
              {% server_list %}
              {% endif %}
              {% endcache %}
            </ul>
          </div>
        </div>
        <div class="span9">
          <div id="messages">
		    {% if messages %}
			{% for message in messages %}
		    <div class="alert alert-{{message.tags}}">
			{{message|safe}}
		    </div>
			{% endfor %}
			{% endif %}
		  </div>
          <div class="well">
          {% block body %}Body{% endblock %}
          </div>
        </div>
      </div>
      <div class="row-fluid">
        <div class="span12">
        <center><address>
<a href="http://www.python.org/">Python</a> Powered | &copy; 2012 Kevin Veroneau
        </address></center>
        </div>
      </div>
    </div> <!-- /container -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script>
    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster
    <script src="../assets/js/jquery.js"></script>
    <script src="../assets/js/bootstrap-transition.js"></script>
    <script src="../assets/js/bootstrap-alert.js"></script>
    <script src="../assets/js/bootstrap-modal.js"></script>

    <script src="http://c286041.r41.cf1.rackcdn.com/js/bootstrap-dropdown.js"></script>
    <script src="../assets/js/bootstrap-scrollspy.js"></script>
    <script src="../assets/js/bootstrap-tab.js"></script>
    <script src="../assets/js/bootstrap-tooltip.js"></script>
    <script src="../assets/js/bootstrap-popover.js"></script>
    <script src="../assets/js/bootstrap-button.js"></script>

    <script src="../assets/js/bootstrap-collapse.js"></script>
    <script src="../assets/js/bootstrap-carousel.js"></script>
    <script src="../assets/js/bootstrap-typeahead.js"></script>
 -->
  </body>
</html>