Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

118 lines (107 sloc) 4.354 kB
# richard -- video index system
# Copyright (C) 2012 richard contributors. See AUTHORS.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <>.
<!DOCTYPE html>
<link rel="stylesheet" href="{{ settings.STATIC_URL }}bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ settings.STATIC_URL }}css/richard.css">
<link rel="search" type="application/opensearchdescription+xml" title="{{ settings.SITE_TITLE }} search" href="{{ url('videos-opensearch') }}">
<title>{% block title %}{{ page_title() }}{% endblock %}</title>
{% if meta %}
{% for meta_name, meta_content in meta %}
<meta name="{{ meta_name }}" content="{{ meta_content }}">
{% endfor %}
{% endif %}
{% block additional_head %}{% endblock %}
{{ browserid_info()|safe }}
<div class="navbar navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="{{ url('home') }}">{{ settings.SITE_TITLE }}</a>
<ul class="nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Browse <b class="caret"></b>
<ul class="dropdown-menu">
<li><a href="{{ url('videos-category-list') }}">Categories</a></li>
<li><a href="{{ url('videos-speaker-list') }}">Speakers</a></li>
<form class="navbar-search pull-left" action="{{ url('videos-search') }}">
<input type="hidden" name="models" value="">
<input type="text" class="search-query span2" name="q" placeholder="Search" value="{{ query }}">
<ul class="nav pull-right">
<li><a href="{{ url('sitenews-list') }}">News</a></li>
<li><a href="{{ url('suggestions-list') }}">Submit</a></li>
<li><a href="{{ url('stats') }}">Stats</a></li>
<li><a href="{{ url('pages-page', page='about') }}">About</a></li>
{% if user.is_authenticated() %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Greetings {{ user.username }}! <b class="caret"></b>
<ul class="dropdown-menu">
{% if user.is_superuser %}
<li><a href="{{ url('admin:index') }}">Admin</a></li>
{% endif %}
<li>{{ browserid_logout(text='Sign out')|safe }}</li>
{% else %}
<li>{{ browserid_login(text='Sign in')|safe }}</li>
{% endif %}
<div id="content" class="container">
{% if notifications -%}
<div class="row">
<div class="span12">
{% for n in notifications -%}
<div class="alert alert-info">
<i class="icon-info-sign"></i> <strong>{{ n.interjection }}</strong>
{{ n.text|md }}
{%- endfor %}
{%- endif %}
{# TODO: messages #}
{# TODO: breadcrumbs #}
{% block content %}{% endblock %}
<div id="footer">
This site is powered by
<a href="">richard</a>.
{% block additional_body %}
{% endblock %}
{% block site_js %}
<script type="text/javascript" src="{{ settings.STATIC_URL }}js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="{{ settings.STATIC_URL }}bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{ settings.STATIC_URL }}browserid/browserid.js"></script>
<script type="text/javascript" src=""></script>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.