127 lines
4.9 KiB
HTML
127 lines
4.9 KiB
HTML
{% load staticfiles i18n %}
|
|
{% load avatar_tags %}
|
|
{% load tags %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en" ng-app>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>SatNOGS - Network - {% block title %}{% endblock title %}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
|
|
<!-- Latest compiled and minified CSS -->
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
|
|
|
|
<!-- Optional theme -->
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
|
|
|
|
<!-- Your stuff: Third-party css libraries go here -->
|
|
|
|
<!-- This file store project specific CSS -->
|
|
<link href="{% static 'css/project.css' %}" rel="stylesheet">
|
|
{% block css %}
|
|
{% endblock %}
|
|
|
|
<link rel="shortcut icon" href="{% static 'images/favicon.ico' %}">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
{% block prenav-content %}{% endblock %}
|
|
<div class="container">
|
|
<nav class="navbar navbar-default" role="navigation" id="main-navbar">
|
|
<div class="container-fluid">
|
|
<!-- Brand and toggle get grouped for better mobile display -->
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="{% url 'home' %}">
|
|
<img id="navbar-logo" src="{% static 'images/satnogs_net.png' %}" alt="SatNOGS net">
|
|
</a>
|
|
</div>
|
|
|
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
<ul class="nav navbar-nav">
|
|
<li class="{% active request '^/$' %}"><a href="{% url 'home' %}">Home</a></li>
|
|
<li class="{% active request '^/observations/$' %}"><a href="{% url 'observations' %}">Observations</a></li>
|
|
<li class="{% active request '^/stations/$' %}"><a href="{% url 'stations' %}">Ground Stations</a></li>
|
|
<li class="{% active request '^/about/$' %}"><a href="{% url 'about' %}">About</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
{% if request.user.is_authenticated %}
|
|
<li class="dropdown">
|
|
<a href="#"
|
|
class="dropdown-toggle"
|
|
data-toggle="dropdown">{% avatar user 35 %} {{ request.user.username }}
|
|
<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu" role="menu">
|
|
<li><a href="{% url 'users:detail' request.user.username %}">{% trans "My Profile" %}</a></li>
|
|
<li><a href="{% url 'account_logout' %}">{% trans "Logout" %}</a></li>
|
|
</ul>
|
|
</li>
|
|
{% else %}
|
|
<li><a href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a></li>
|
|
<li><a href="{% url 'account_login' %}">{% trans "Log In" %}</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div><!-- /.navbar-collapse -->
|
|
</div><!-- /.container-fluid -->
|
|
</nav>
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
<div class="alert {% if message.tags %}alert-{{ message.tags }}"{% endif %}>{{ message }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% block content %}{% endblock content %}
|
|
|
|
</div> <!-- /container -->
|
|
|
|
{% block modal %}{% endblock modal %}
|
|
|
|
<footer>
|
|
<div class="container">
|
|
<hr>
|
|
<p class="pull-right">
|
|
<a href="https://github.com/satnogs/satnogs-network">Contribute</a> |
|
|
<a href="#">Back to top</a>
|
|
</p>
|
|
<p>© 2014 SatNOGS Team ·</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Le javascript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<!-- Latest JQuery -->
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
|
|
|
<!-- Latest compiled and minified JavaScript -->
|
|
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
|
|
|
<!-- Your stuff: Third-party javascript libraries go here -->
|
|
|
|
<!-- place project specific Javascript in this file -->
|
|
<script src="{% static 'js/project.js' %}"></script>
|
|
{% block javascript %}
|
|
{% endblock javascript %}
|
|
</body>
|
|
</html>
|
|
|