Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
72 lines (66 sloc) 2.87 KB
{% load staticfiles %}
<!DOCTYPE html>
<html ng-app="messageApp">
<title>Stored Messages</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="//" rel="stylesheet">
body {
padding-top: 60px;
.starter-template {
padding: 40px 15px;
text-align: center;
<!-- Angularjs. It's here to avoid showing body before angular is fully loaded -->
<script src=""></script>
<script src="{% static "notification/notification.js" %}"></script>
<body ng-controller="MainCtrl">
<!-- navbar -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="navbar-brand" href="#">Stored Messages Example</a>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="{% block home_active %}{% endblock %}">
<a href="{% url 'home' %}">Home</a>
<li class="{% block messages_active %}{% endblock %}">
<a href="{% url 'messages' %}?unread">Messages
<span class="badge" ng-if="messages.length">{% verbatim %}{{ messages.length }}{% endverbatim %}</span></a>
{% if user.is_authenticated %}
<a href="{% url 'logout' %}">Logout</a>
{% endif %}
<!--/.nav-collapse -->
<div class="container">
{% block contents %}
{% endblock %}
<!-- /.container -->
{% block js %}
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="//"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="//"></script>
{% endblock %}