--- /dev/null
+.container{
+ background:url("../img/dotted_background.png"
+ ) repeat;
+}
\ No newline at end of file
--- /dev/null
+<!doctype html>
+<html lang="{{ LANGUAGE_CODE }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}>
+{% load pages_tags mezzanine_tags i18n staticfiles %}
+
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
+<meta name="description" content="{% block meta_description %}{% endblock %}">
+<title>{% block meta_title %}{% endblock %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}</title>
+<link rel="shortcut icon" href="{% static "img/favicon.ico" %}">
+
+{% ifinstalled mezzanine.blog %}
+<link rel="alternate" type="application/rss+xml" title="RSS" href="{% url "blog_post_feed" "rss" %}">
+<link rel="alternate" type="application/atom+xml" title="Atom" href="{% url "blog_post_feed" "atom" %}">
+{% endifinstalled %}
+
+{% compress css %}
+<link rel="stylesheet" href="{% static "css/bootstrap.css" %}">
+<link rel="stylesheet" href="{% static "css/mezzanine.css" %}">
+<link rel="stylesheet" href="{% static "css/bootstrap-theme.css" %}">
+<link rel="stylesheet" href="{% static "css/dig2.css" %}">
+{% if LANGUAGE_BIDI %}
+<link rel="stylesheet" href="{% static "css/bootstrap-rtl.css" %}">
+{% endif %}
+{% ifinstalled cartridge.shop %}
+<link rel="stylesheet" href="{% static "css/cartridge.css" %}">
+{% if LANGUAGE_BIDI %}
+<link rel="stylesheet" href="{% static "css/cartridge.rtl.css" %}">
+{% endif %}
+{% endifinstalled %}
+{% block extra_css %}{% endblock %}
+{% endcompress %}
+
+{% compress js %}
+<script src="{% static "mezzanine/js/"|add:settings.JQUERY_FILENAME %}"></script>
+<script src="{% static "js/bootstrap.js" %}"></script>
+<script src="{% static "js/bootstrap-extras.js" %}"></script>
+{% block extra_js %}{% endblock %}
+{% endcompress %}
+
+<!--[if lt IE 9]>
+<script src="{% static "js/html5shiv.js" %}"></script>
+<script src="{% static "js/respond.min.js" %}"></script>
+<![endif]-->
+
+{% block extra_head %}{% endblock %}
+</head>
+
+<body id="{% block body_id %}body{% endblock %}">
+
+<div class="navbar navbar-default navbar-fixed-top" role="navigation">
+<div class="container dotted_bg ">
+<div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="sr-only">{% trans "Toggle Navigation" %}</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ {% if settings.SITE_TITLE %}<a class="navbar-brand" href="/"><img class="pull-left" src="{% static "img/diggersdigest_400.png" %}"alt={{ settings.SITE_TITLE }} ></a>{% endif %}
+ {% if settings.SITE_TAGLINE %}<p class="navbar-text visible-lg">{{ settings.SITE_TAGLINE }}</p>{% endif %}
+</div>
+<div class="navbar-collapse collapse">
+ {% search_form "all" %}
+ {% page_menu "pages/menus/dropdown.html" %}
+</div>
+</div>
+</div>
+
+<div class="container">
+
+{% nevercache %}
+{% if messages %}
+<div class="messages">
+{% for message in messages %}
+<div class="alert alert-dismissable alert-{{ message.tags }}" data-alert="alert">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
+ {{ message }}
+</div>
+{% endfor %}
+</div>
+{% endif %}
+{% endnevercache %}
+
+<h1>{% block title %}{% endblock %}</h1>
+
+<ul class="breadcrumb">
+{% spaceless %}
+{% block breadcrumb_menu %}{% page_menu "pages/menus/breadcrumb.html" %}{% endblock %}
+{% endspaceless %}
+</ul>
+
+</div>
+
+<div class="container">
+<div class="row">
+
+<div class="col-md-2 left">
+ {% block left_panel %}
+ <div class="panel panel-default tree">{% page_menu "pages/menus/tree.html" %}</div>
+ {% endblock %}
+</div>
+
+<div class="col-md-7 middle">
+ {% block main %}{% endblock %}
+</div>
+
+<div class="col-md-3 right">
+ {% nevercache %}
+ {% include "includes/language_selector.html" %}
+ {% include "includes/user_panel.html" %}
+ {% endnevercache %}
+ <div class="panel panel-default">
+ <div class="panel-body">
+ {% block right_panel %}
+ {% ifinstalled mezzanine.twitter %}
+ {% include "twitter/tweets.html" %}
+ {% endifinstalled %}
+ {% endblock %}
+ </div>
+ </div>
+</div>
+
+</div>
+</div>
+
+<footer>
+<div class="container">
+{% page_menu "pages/menus/footer.html" %}
+
+<div class="row">
+<p class="site-info text-center">
+ {% trans "Powered by" %}
+ <a href="http://mezzanine.jupo.org">Mezzanine</a>{% ifinstalled cartridge.shop %},
+ <a href="http://cartridge.jupo.org">Cartridge</a>{% endifinstalled %}
+ {% trans "and" %}
+ <a href="http://www.djangoproject.com">Django</a>
+ <span class="separator">|</span>
+ {% trans "Theme by" %} <a target="_blank" href="http://getbootstrap.com">Bootstrap</a>
+ {% ifinstalled mezzanine.mobile %}
+ <span class="separator">|</span>
+ <a href="{% url "set_device" "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a>
+ {% endifinstalled %}
+</p>
+</div>
+</div>
+</footer>
+
+{% include "includes/footer_scripts.html" %}
+
+</body>
+</html>
--- /dev/null
+{% block main %}{% endblock %}
+
+<br><a href="http://{{ request.get_host }}">http://{{ request.get_host }}</a>
--- /dev/null
+{% block main %}{% endblock %}
+
+http://{{ request.get_host }}
--- /dev/null
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block meta_title %}
+{% trans "Page not found" %}
+{% endblock %}
+
+{% block title %}
+{% trans "Page not found" %}
+{% endblock %}
+
+{% block main %}
+<div class="panel panel-danger">
+ <div class="panel-heading"><h3 class="panel-title">{% trans "Page not found" %}</h3></div>
+ <div class="panel-body">{% trans "The page you requested does not exist." %}</div>
+</div>
+{% endblock %}
--- /dev/null
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block meta_title %}
+{% trans "Error" %}
+{% endblock %}
+
+{% block title %}
+{% trans "Error" %}
+{% endblock %}
+
+{% block main %}
+<div class="panel panel-danger">
+ <div class="panel-heading"><h3 class="panel-title">{% trans "Error" %}</h3></div>
+ <div class="panel-body">{% trans "Sorry, an error occurred." %}</div>
+</div>
+{% endblock %}
--- /dev/null
+{% load i18n %}
+
+{# Edit form #}
+<form style="display:none;" class="editable-form" method="post"
+ action="{% url "edit" %}" id="{{ editable_form.uuid }}"
+ {% if editable_form.is_multipart %} enctype="multipart/form-data"{% endif %}>
+ {% csrf_token %}
+ {% for field in editable_form %}
+ <p{% if field.is_hidden %} style="display:none;"{% endif %}>
+ {{ field.label_tag }}<br />{{ field }}{{ field.errors }}
+ {% if field.help_text %}
+ <span class="helptext">{{ field.help_text }}</span>
+ {% endif %}
+ </p>
+ {% endfor %}
+ <input type="submit" value="{% trans "Save" %}" class="btn btn-primary btn-lg">
+ <input type="button" value="{% trans "Cancel" %}" class="btn btn-default btn-lg">
+</form>
+
+{# Original content wrapped in span #}
+<div class="editable-original">{{ original }}</div>
+
+{# Edit link #}
+<a style="visibility:hidden;" class="editable-link" href="#"
+ rel="#{{ editable_form.uuid }}">{% trans "Edit" %}</a>
+
+{# Edit highlight #}
+<div style="visibility:hidden;" class="editable-highlight"></div>
--- /dev/null
+{% load i18n staticfiles %}
+
+{% if has_site_permission %}
+<link rel="stylesheet" href="{% static "mezzanine/css/editable.css" %}">
+{{ richtext_media|safe }}
+<script>
+{% url "fb_browse" as fb_browse_url %}
+{% url "static_proxy" as static_proxy_url %}
+{% get_current_language as LANGUAGE_CODE %}
+window.__filebrowser_url = '{{ fb_browse_url }}';
+window.__toolbar_html = '{{ toolbar|escapejs }}';
+window.__static_proxy = '{{ static_proxy_url }}';
+window.__language_code = '{{ LANGUAGE_CODE }}';
+window.__tinymce_css = '{% static "mezzanine/css/tinymce.css" %}';
+</script>
+<script src="{% static "mezzanine/js/jquery.tools.toolbox.expose.js" %}"></script>
+<script src="{% static "mezzanine/js/jquery.tools.overlay.js" %}"></script>
+<script src="{% static "mezzanine/js/jquery.form.js" %}"></script>
+<script src="{% static "mezzanine/js/editable.js" %}"></script>
+{% endif %}
--- /dev/null
+{% load i18n staticfiles %}
+
+<div id="editable-toolbar" method="POST" action="{% url "admin:logout" %}">
+ {% url "admin:index" as admin_index_url %}
+ {% url "admin:logout" as admin_logout_url %}
+ {% url "logout" as accounts_logout_url %}
+ <a id="editable-toolbar-toggle" href="#"></a>
+ <a href="{{ editable_obj.get_admin_url|default:admin_index_url }}">{% trans "Admin" %}</a>
+ <a href="{{ accounts_logout_url|default:admin_logout_url }}?{{ REDIRECT_FIELD_NAME }}={{ request.path }}">{% trans "Log out" %}</a>
+</div>
+
+<img id="editable-loading" src="{% static "mezzanine/img/loadingAnimation.gif" %}">
+
--- /dev/null
+{% load mezzanine_tags %}
+
+{% editable_loader %}
+
+<script>
+{% if settings.GOOGLE_ANALYTICS_ID and not request.user.is_staff %}
+var _gaq = _gaq || [['_trackPageview']];
+_gaq.unshift(['_setAccount', '{{ settings.GOOGLE_ANALYTICS_ID }}']);
+(function(d, t) {
+ var g = d.createElement(t),
+ s = d.getElementsByTagName(t)[0];
+ g.async = true;
+ g.src = '//www.google-analytics.com/ga.js';
+ s.parentNode.insertBefore(g, s);
+})(document, 'script');
+{% endif %}
+</script>
--- /dev/null
+{% load i18n %}
+
+{% if form.non_field_errors or form.errors %}
+<div class="form-errors">
+ {% for error in form.non_field_errors %}
+ <div class="alert alert-danger non-field-error">{{ error }}</div>
+ {% empty %}
+ <div class="alert alert-danger field-error">{% trans "Please correct the errors below." %}</div>
+ {% endfor %}
+</div>
+{% endif %}
--- /dev/null
+{% load mezzanine_tags %}
+
+{% nevercache %}
+<input type="hidden" name="referrer" value="{{ request.META.HTTP_REFERER }}">
+{% csrf_token %}
+{% endnevercache %}
+
+{% for field in form_for_fields %}
+{% if field.is_hidden %}
+{{ field }}
+{% else %}
+<div class="form-group input_{{ field.id_for_label }} {{ field.field.type }}
+ {% if field.errors %} has-error{% endif %}">
+ {% if field.label %}<label class="control-label" for="{{ field.auto_id }}">{{ field.label }}</label>{% endif %}
+ {{ field }}
+ {% if field.errors %}
+ <p class="help-block">
+ {% for e in field.errors %}
+ {% if not forloop.first %} / {% endif %}{{ e }}
+ {% endfor %}
+ </p>
+ {% elif field.help_text %}
+ <p class="help-block">{{ field.help_text }}</p>
+ {% endif %}
+</div>
+{% endif %}
+{% endfor %}
--- /dev/null
+{% load i18n %}
+{% get_language_info_list for LANGUAGES as languages %}
+{% if settings.USE_MODELTRANSLATION and languages|length > 1 %}
+{# hide submit button if browser has javascript support and can react to onchange event #}
+<script>$(document).ready(function(){$('#language_selector_form').change(function(){this.submit();});$('#language_selector_form input').hide();});</script>
+<div>
+<form action="{% url "set_language" %}" method="post" id="language_selector_form">
+ {% csrf_token %}
+ <div class="form-group">
+ <select name="language" class="form-control">
+ {% for language in languages %}
+ <option value="{{ language.code }}"
+ {% if language.code == LANGUAGE_CODE %}selected="selected"{% endif %}>
+ {{ language.name_local }}
+ </option>
+ {% endfor %}
+ </select>
+ </div>
+ <input type="submit" class="btn btn-default" value="{% trans "Change" %}" />
+</form>
+</div>
+{% endif %}
--- /dev/null
+{% load i18n %}
+
+{% if current_page.has_previous or current_page.has_next %}
+<ul class="pagination">
+
+<li class="page-info">
+ <span>{% trans "Page" %} {{ current_page.number }} {% trans "of" %} {{ current_page.paginator.num_pages }}</span>
+</li>
+<li class="prev previous{% if not current_page.has_previous %} disabled{% endif %}">
+ <a{% if current_page.has_previous %} href="?{{ page_var }}={{ current_page.previous_page_number }}{% if querystring %}&{{ querystring }}{% endif %}"{% endif %}>←</a>
+</li>
+{% for page in current_page.visible_page_range %}
+<li{% if page == current_page.number %} class="active"{% endif %}>
+ <a href="?{{ page_var }}={{ page }}{% if querystring %}&{{ querystring }}{% endif %}">{{ page }}</a>
+</li>
+{% endfor %}
+<li class="next{% if not current_page.has_next %} disabled{% endif %}">
+ <a{% if current_page.has_next %} href="?{{ page_var }}={{ current_page.next_page_number }}{% if querystring %}&{{ querystring }}{% endif %}"{% endif %}>→</a>
+</li>
+
+</ul>
+{% endif %}
--- /dev/null
+{% load mezzanine_tags i18n %}
+<form action="{% url "search" %}" class="navbar-form navbar-right" role="search">
+
+<div class="form-group">
+ <input class="form-control" placeholder="{% trans "Search" %}" type="text" name="q" value="{{ request.REQUEST.q }}">
+</div>
+
+{% if search_model_choices %}
+ {% if search_model_choices|length == 1 %}
+ <input type="hidden" name="type" value="{{ search_model_choices.0.1 }}">
+ {% else %}
+ <div class="form-group">
+ <select class="form-control" name="type">
+ <option value="">{% trans "Everything" %}</option>
+ {% for verbose_name, model in search_model_choices %}
+ <option value="{{ model }}"
+ {% if model == request.REQUEST.type %}selected{% endif %}>
+ {{ verbose_name }}
+ </option>
+ {% endfor %}
+ </select>
+ </div>
+ {% endif %}
+{% endif %}
+
+<input type="submit" class="btn btn-default" value="{% trans "Go" %}">
+
+</form>
--- /dev/null
+{% load mezzanine_tags %}
+<div class="panel panel-default user-panel">
+<div class="panel-body">
+{% ifinstalled cartridge.shop %}
+{% include "shop/includes/user_panel.html" %}
+{% endifinstalled %}
+{% ifinstalled mezzanine.accounts %}
+{% ifinstalled cartridge.shop %}<br>{% endifinstalled %}
+{% include "accounts/includes/user_panel.html" %}
+{% endifinstalled %}
+</div>
+</div>
--- /dev/null
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block meta_title %}{% trans "Home" %}{% endblock %}
+{% block title %}{% trans "Home" %}{% endblock %}
+
+{% block breadcrumb_menu %}
+<li class="active">{% trans "Home" %}</li>
+{% endblock %}
+
+{% block main %}
+{% blocktrans %}
+<h2>Congratulations!</h2>
+<p>
+ Welcome to your new Mezzanine powered website.
+ Here are some quick links to get you started:
+</p>
+<ul>
+ <li><a href="/admin/">Log in to the admin interface</a></li>
+ <li><a href="http://mezzanine.jupo.org/docs/content-architecture.html">Creating custom page types</a></li>
+ <li><a href="http://mezzanine.jupo.org/docs/frequently-asked-questions.html#templates">Modifying HTML templates</a></li>
+ <li><a href="http://mezzanine.jupo.org/docs/frequently-asked-questions.html#why-isn-t-the-homepage-a-page-object-i-can-edit-via-the-admin">Changing this homepage</a></li>
+ <li><a href="http://mezzanine.jupo.org/docs/frequently-asked-questions.html">Other frequently asked questions</a></li>
+ <li><a href="http://mezzanine.jupo.org/docs/configuration.html#default-settings">Full list of settings</a></li>
+ <li><a href="http://mezzanine.jupo.org/docs/deployment.html">Deploying to a production server</a></li>
+</ul>
+{% endblocktrans %}
+<div><!-- Recent Posts -->
+{% load blog_tags keyword_tags i18n mezzanine_tags %}
+{% blog_recent_posts 5 as recent_posts %}
+{% if recent_posts %}
+<h2>{% trans "Recent Posts" %}</h2>
+{% for recent_post in recent_posts %}
+<h3><a href="{{ recent_post.get_absolute_url }}"
+ >{{ recent_post.title }}</a></h3>
+
+ <h4>{{ recent_post.publish_date|timesince }} {% trans "ago" %}</h4>
+<div class="recent-summary">
+{{ recent_post.description_from_content|safe }}
+
+ <a href="{{ recent_post.get_absolute_url }}" class="btn btn-info btn-mini">{% trans "read more" %}</a>
+ <hr>
+ {% if settings.BLOG_USE_FEATURED_IMAGE and recent_post.featured_image %}
+ {% block recent_post_list_post_featured_image %}
+ <a href="{{ recent_post.get_absolute_url }}">
+ <img class="img-thumbnail pull-left" src="{{ MEDIA_URL }}{% thumbnail recent_post.featured_image 90 90 %}">
+ </a>
+ {% endblock %}
+ {% endif %}
+</div><!-- /recent-summary -->
+{% endfor %}
+{% endif %}
+
+</div><!-- /Recent Posts -->
+
+
+{% endblock %}
--- /dev/null
+{% extends "base.html" %}
+
+{% load i18n mezzanine_tags %}
+
+{% block meta_title %}{% trans "Search Results" %}{% endblock %}
+{% block title %}{% trans "Search Results" %}{% endblock %}
+{% block extra_head %}
+<meta name="robots" content="noindex">
+{% endblock %}
+
+{% block breadcrumb_menu %}
+<li>
+ <a href="{% url "home" %}">{% trans "Home" %}</a>
+</li>
+<li class="active">{% trans "Search Results" %}</li>
+{% endblock %}
+
+{% block main %}
+
+<p>
+{% if results.paginator.count == 0 %}
+{% blocktrans %}
+No results were found in {{ search_type }} matching your query: {{ query }}
+{% endblocktrans %}
+{% else %}
+{% blocktrans with start=results.start_index end=results.end_index total=results.paginator.count %}
+Showing {{ start }} to {{ end }} of {{ total }} results in {{ search_type }} matching your query: {{ query }}
+{% endblocktrans %}
+{% endif %}
+</p>
+
+<div id="search-results">
+{% for result in results.object_list %}
+{% with result.get_absolute_url as result_url %}
+ <h5>
+ {{ forloop.counter0|add:results.start_index }})
+ {% if result_url %}
+ <a href="{{ result_url }}">{{ result }}</a>
+ {% else %}
+ {{ result }}
+ {% endif %}
+ </h5>
+ {% if result.description != result|stringformat:"s" %}
+ <p>{{ result.description|truncatewords_html:20|safe }}</p>
+ {% endif %}
+ {% if result_url %}
+ <a href="{{ result_url }}">{% trans "read more" %}</a>
+ {% endif %}
+{% endwith %}
+{% endfor %}
+</div>
+
+{% pagination_for results %}
+
+{% endblock %}