2015-07-22 05:16:15 -06:00
|
|
|
{% load staticfiles %}
|
2014-08-27 10:42:50 -06:00
|
|
|
{% load avatar_tags %}
|
2014-09-01 11:06:51 -06:00
|
|
|
{% load tags %}
|
2015-09-15 04:26:28 -06:00
|
|
|
{% load compress %}
|
2014-09-01 11:06:51 -06:00
|
|
|
|
2014-08-27 10:42:50 -06:00
|
|
|
<!DOCTYPE html>
|
2015-08-28 02:38:49 -06:00
|
|
|
<html lang="en">
|
2014-08-26 13:36:38 -06:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2015-08-13 12:21:24 -06:00
|
|
|
<title>SatNOGS Network{% block title %}{% endblock title %}</title>
|
2014-08-26 13:36:38 -06:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2015-09-15 04:26:28 -06:00
|
|
|
{% compress css %}
|
2016-10-28 05:49:00 -06:00
|
|
|
<link rel="stylesheet" href="{% static 'lib/bootstrap/dist/css/bootstrap.min.css' %}">
|
2017-12-24 12:17:37 -07:00
|
|
|
<link rel="stylesheet" type="text/scss" href="{% static 'css/app.scss' %}">
|
2015-09-15 04:26:28 -06:00
|
|
|
{% block css %}
|
|
|
|
{% endblock %}
|
|
|
|
{% endcompress %}
|
2014-08-26 13:36:38 -06:00
|
|
|
|
2015-08-06 02:43:16 -06:00
|
|
|
<link rel="shortcut icon" href="{% static 'favicon.ico' %}">
|
2014-08-26 13:36:38 -06:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2018-02-18 13:35:45 -07:00
|
|
|
<body {% block body-class %}{% endblock %}>
|
2015-05-10 04:31:10 -06:00
|
|
|
{{ stage_notice }}
|
2015-05-11 11:05:54 -06:00
|
|
|
{% block prenav-content %}{% endblock %}
|
2015-05-10 04:31:10 -06:00
|
|
|
|
2014-08-27 10:42:50 -06:00
|
|
|
<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>
|
2014-12-19 06:06:58 -07:00
|
|
|
<a class="navbar-brand" href="{% url 'base:home' %}">
|
2015-04-07 10:01:44 -06:00
|
|
|
<img id="navbar-logo" src="{% static 'img/satnogs_net.png' %}" alt="SatNOGS net">
|
2014-09-01 11:06:51 -06:00
|
|
|
</a>
|
2014-08-27 10:42:50 -06:00
|
|
|
</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">
|
2015-07-11 15:37:51 -06:00
|
|
|
<li class="{% active request 'base:home' %}"><a href="{% url 'base:home' %}">Home</a></li>
|
2015-07-21 02:43:01 -06:00
|
|
|
<li class="{% active request 'base:about' %}"><a href="{% url 'base:about' %}">About</a></li>
|
2015-07-11 15:37:51 -06:00
|
|
|
<li class="{% active request 'base:observations_list' %}"><a href="{% url 'base:observations_list' %}">Observations</a></li>
|
|
|
|
<li class="{% active request 'base:stations_list' %}"><a href="{% url 'base:stations_list' %}">Ground Stations</a></li>
|
2016-02-27 12:20:47 -07:00
|
|
|
<li><a href="https://community.satnogs.org/" target="_blank" class="hidden-sm">Community</a></li>
|
2014-08-27 10:42:50 -06:00
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
{% if request.user.is_authenticated %}
|
2017-12-14 12:28:15 -07:00
|
|
|
{% if owner_vetting_count %}
|
|
|
|
<li data-toggle="tooltip"
|
|
|
|
data-placement="bottom"
|
2017-12-17 12:20:08 -07:00
|
|
|
title="{{ owner_vetting_count }} observations need vetting">
|
2017-12-27 08:13:29 -07:00
|
|
|
<a href="{% url 'base:observations_list' %}?observer={{ request.user.id }}&future=0&good=0&bad=0&unvetted=1&failed=0">
|
2017-12-14 12:28:15 -07:00
|
|
|
<span class="glyphicon glyphicon-check" aria-hidden="true"></span>
|
|
|
|
<span class="badge badge-unvetted">{{ owner_vetting_count }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2014-08-27 10:42:50 -06:00
|
|
|
<li class="dropdown">
|
2014-09-18 07:07:43 -06:00
|
|
|
<a href="#"
|
|
|
|
class="dropdown-toggle"
|
2017-12-14 12:28:15 -07:00
|
|
|
data-toggle="dropdown">
|
|
|
|
{% avatar request.user 35 %}
|
|
|
|
<span class="caret"></span>
|
2014-08-27 10:42:50 -06:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
2014-12-19 06:06:58 -07:00
|
|
|
<li><a href="{% url 'users:view_user' username=request.user.username %}">My Profile</a></li>
|
2017-12-14 12:28:15 -07:00
|
|
|
<li role="separator" class="divider"></li>
|
2015-07-22 05:16:15 -06:00
|
|
|
{% if request.user.is_superuser %}
|
|
|
|
<li><a href="{% url 'base:settings_site' %}">Site Settings</a></li>
|
|
|
|
{% endif %}
|
2015-01-26 10:38:13 -07:00
|
|
|
<li><a href="{% url 'account_logout' %}">Logout</a></li>
|
2014-08-27 10:42:50 -06:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% else %}
|
2015-01-26 10:38:13 -07:00
|
|
|
<li><a href="{% url 'account_signup' %}">Sign Up</a></li>
|
|
|
|
<li><a href="{% url 'account_login' %}">Log In</a></li>
|
2014-08-27 10:42:50 -06:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div><!-- /.navbar-collapse -->
|
|
|
|
</div><!-- /.container-fluid -->
|
|
|
|
</nav>
|
2014-08-26 13:36:38 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container">
|
2014-09-18 07:07:43 -06:00
|
|
|
|
2014-08-26 13:36:38 -06:00
|
|
|
{% if messages %}
|
2015-04-11 11:14:47 -06:00
|
|
|
<div class="row messages">
|
|
|
|
<div class="col-md-12">
|
|
|
|
{% for notification in messages %}
|
|
|
|
<div class="alert alert-{{ notification.tags }}" role="alert">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
2016-04-23 09:05:57 -06:00
|
|
|
{{ notification.message|safe }}
|
2015-04-11 11:14:47 -06:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-26 13:36:38 -06:00
|
|
|
{% endif %}
|
|
|
|
|
2014-08-27 10:42:50 -06:00
|
|
|
{% block content %}{% endblock content %}
|
2014-08-26 13:36:38 -06:00
|
|
|
|
|
|
|
</div> <!-- /container -->
|
2014-09-18 07:07:43 -06:00
|
|
|
|
2014-08-26 13:36:38 -06:00
|
|
|
{% block modal %}{% endblock modal %}
|
|
|
|
|
2018-02-18 13:35:45 -07:00
|
|
|
{% block footer %}
|
|
|
|
<footer>
|
|
|
|
<div class="container">
|
|
|
|
<hr>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span> 2014<span id="copy"></span>
|
|
|
|
<a href="https://libre.space/" target="_blank">Libre Space Foundation</a>.<br>
|
|
|
|
<span class="glyphicon glyphicon-cloud" aria-hidden="true"></span>
|
|
|
|
Observation data are freely distributed under the
|
|
|
|
<a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">CC BY-SA</a> license.
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 text-right footer-options">
|
|
|
|
<a href="https://satnogs.org/" target="_blank">SatNOGS</a> |
|
|
|
|
<a href="#top">Back to top</a>
|
|
|
|
</div>
|
2015-05-06 02:52:49 -06:00
|
|
|
</div>
|
2015-04-11 11:14:47 -06:00
|
|
|
</div>
|
2018-02-18 13:35:45 -07:00
|
|
|
</footer>
|
|
|
|
{% endblock %}
|
2014-08-27 10:42:50 -06:00
|
|
|
|
2015-09-15 04:26:28 -06:00
|
|
|
{% compress js %}
|
2017-05-18 08:37:39 -06:00
|
|
|
<script src="{% static 'lib/jquery/dist/jquery.min.js' %}"></script>
|
2016-10-28 05:49:00 -06:00
|
|
|
<script src="{% static 'lib/bootstrap/dist/js/bootstrap.min.js' %}"></script>
|
2017-02-21 13:37:06 -07:00
|
|
|
<script src="{% static 'js/app.js' %}"></script>
|
2015-09-15 04:26:28 -06:00
|
|
|
{% block javascript %}
|
|
|
|
{% endblock javascript %}
|
2017-02-21 14:52:39 -07:00
|
|
|
{% endcompress %}
|
2018-03-10 06:57:16 -07:00
|
|
|
{{ analytics_code }}
|
2014-09-01 11:06:51 -06:00
|
|
|
</body>
|
2014-08-26 13:36:38 -06:00
|
|
|
</html>
|