a",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
{% trans "Enter your username or email address and you'll receive an email with a link you need to click, in order to log in and change your password." %}
{% if request.user.is_authenticated %}
{% url "profile" request.user.username as profile_url %}
{% if not profile_url %}{% url "profile_update" as profile_url %}{% endif %}
{% if tag %}
{% trans "RSS" %} /
{% trans "Atom" %}
{% endif %}
{% if category %}
{% trans "RSS" %} /
{% trans "Atom" %}
{% endif %}
{% if author %}
{% trans "RSS" %} /
{% trans "Atom" %}
{% endif %}
{% if not tag and not category and not author %}
{% trans "RSS" %} /
{% trans "Atom" %}
{% endif %}
{% endblock %}
================================================
FILE: flat/templates/generic/comments.html
================================================
{% extends "base.html" %}
{% load mezzanine_tags comment_tags keyword_tags %}
{% block meta_title %}{{ obj }}{% endblock %}
{% block meta_keywords %}{% metablock %}
{% keywords_for obj as tags %}
{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
{% endmetablock %}{% endblock %}
{% block meta_description %}{% metablock %}
{{ obj.description }}
{% endmetablock %}{% endblock %}
{% block main %}
{% comments_for obj %}
{% endblock %}
================================================
FILE: flat/templates/generic/includes/comment.html
================================================
{% load i18n mezzanine_tags comment_tags rating_tags %}
{% for comment in comments_for_thread %}
{% editable comment.is_public comment.is_removed %}
{% if not comment.is_removed and comment.is_public or request.user.is_staff %}
{% if comment.url %}
{{ comment.user_name }}
{% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% if not comment.is_removed and comment.is_public %}
{% trans "Reply" %}
{% endif %}
{% else %}
{{ comment.user_name }}
{% endif %}
{% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% if not comment.is_removed and comment.is_public %}
{% trans "Reply" %}
{% endif %}
{{ comment.comment|comment_filter }}
{% endif %}
{% if not comment.is_removed and comment.is_public %}
{% trans "Link" %}
{% if settings.COMMENTS_USE_RATINGS %}
{% rating_for comment %}
{% endif %}
{% else %}
{% if comment.is_removed %}
{% trans "Comment deleted" %}
{% else %}
{% trans "Comment awaiting approval" %}
{% endif %}
{% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% endif %}
{% comment_thread comment %}
{% if not comment.is_removed and comment.is_public or request.user.is_staff %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %}
{% include "generic/includes/disqus_comments.html" %}
{% else %}
{% comment_thread object_for_comments %}
{% endif %}
{% trans "New Comment" %}
{% if not request.POST.replied_to %}
{% include "generic/includes/comment_form.html" with comment_form=posted_comment_form %}
{% else %}
{{% include "generic/includes/comment_form.html" with comment_form=unposted_comment_form %}
{% endif %}
================================================
FILE: flat/templates/generic/includes/disqus_comments.html
================================================
{% load disqus_tags %}
{% disqus_sso_script %}
================================================
FILE: flat/templates/generic/includes/disqus_counts.html
================================================
================================================
FILE: flat/templates/generic/includes/disqus_sso.html
================================================
================================================
FILE: flat/templates/generic/includes/rating.html
================================================
{% load mezzanine_tags rating_tags i18n %}
{% if rating_average %}
{% trans "Current rating" %}: {{ rating_average|floatformat }}
{% else %}
{% trans "Currently unrated" %}
{% endif %}
{% if not rated or request.user.is_authenticated %}
{% endif %}
================================================
FILE: flat/templates/includes/editable_form.html
================================================
{% load i18n %}
{# Edit form #}
{# Original content wrapped in span #}
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endspaceless %}
================================================
FILE: flat/templates/pages/menus/mobile.html
================================================
{% load i18n pages_tags %}
{% spaceless %}
{% if page_branch %}
{% for page in page_branch %}
{% if not has_home and page.is_primary and forloop.first %}
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endblock %}
{% block main %}
{% 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 %}
{% for result in results.object_list %}
{{ forloop.counter0|add:results.start_index }})
{{ result }}
';
},
helpers : {
title : { type: 'inside' },
}
});
//scroll to top
$(window).scroll(function(){
if ($(this).scrollTop() > 100) {
$('.scrollup').fadeIn();
} else {
$('.scrollup').fadeOut();
}
});
$('.scrollup').click(function(){
$("html, body").animate({ scrollTop: 0 }, 1000);
return false;
});
$('#post-slider').flexslider({
// Primary Controls
controlNav : false, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
directionNav : true, //Boolean: Create navigation for previous/next navigation? (true/false)
prevText : "Previous", //String: Set the text for the "previous" directionNav item
nextText : "Next", //String: Set the text for the "next" directionNav item
// Secondary Navigation
keyboard : true, //Boolean: Allow slider navigating via keyboard left/right keys
multipleKeyboard : false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present.
mousewheel : false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel
pausePlay : false, //Boolean: Create pause/play dynamic element
pauseText : 'Pause', //String: Set the text for the "pause" pausePlay item
playText : 'Play', //String: Set the text for the "play" pausePlay item
// Special properties
controlsContainer : "", //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found.
manualControls : "", //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.
sync : "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.
asNavFor : "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider
});
$('#main-slider').flexslider({
namespace : "flex-", //{NEW} String: Prefix string attached to the class of every element generated by the plugin
selector : ".slides > li", //{NEW} Selector: Must match a simple pattern. '{container} > {slide}' -- Ignore pattern at your own peril
animation : "fade", //String: Select your animation type, "fade" or "slide"
easing : "swing", //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported!
direction : "horizontal", //String: Select the sliding direction, "horizontal" or "vertical"
reverse : false, //{NEW} Boolean: Reverse the animation direction
animationLoop : true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end
smoothHeight : false, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode
startAt : 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide)
slideshow : true, //Boolean: Animate slider automatically
slideshowSpeed : 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds
animationSpeed : 600, //Integer: Set the speed of animations, in milliseconds
initDelay : 0, //{NEW} Integer: Set an initialization delay, in milliseconds
randomize : false, //Boolean: Randomize slide order
// Usability features
pauseOnAction : true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended.
pauseOnHover : false, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
useCSS : true, //{NEW} Boolean: Slider will use CSS3 transitions if available
touch : true, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices
video : false, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches
// Primary Controls
controlNav : true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
directionNav : true, //Boolean: Create navigation for previous/next navigation? (true/false)
prevText : "Previous", //String: Set the text for the "previous" directionNav item
nextText : "Next", //String: Set the text for the "next" directionNav item
// Secondary Navigation
keyboard : true, //Boolean: Allow slider navigating via keyboard left/right keys
multipleKeyboard : false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present.
mousewheel : false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel
pausePlay : false, //Boolean: Create pause/play dynamic element
pauseText : 'Pause', //String: Set the text for the "pause" pausePlay item
playText : 'Play', //String: Set the text for the "play" pausePlay item
// Special properties
controlsContainer : "", //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found.
manualControls : "", //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.
sync : "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.
asNavFor : "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider
});
});
================================================
FILE: moderna/static/js/flexslider/jquery.flexslider.js
================================================
/*
* jQuery FlexSlider v1.8
* http://www.woothemes.com/flexslider/
*
* Copyright 2012 WooThemes
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Contributing Author: Tyler Smith
*/
;(function ($) {
//FlexSlider: Object Instance
$.flexslider = function(el, options) {
var slider = $(el);
// slider DOM reference for use outside of the plugin
$.data(el, "flexslider", slider);
slider.init = function() {
slider.vars = $.extend({}, $.flexslider.defaults, options);
$.data(el, 'flexsliderInit', true);
slider.container = $('.slides', slider).eq(0);
slider.slides = $('.slides:first > li', slider);
slider.count = slider.slides.length;
slider.animating = false;
slider.currentSlide = slider.vars.slideToStart;
slider.animatingTo = slider.currentSlide;
slider.atEnd = (slider.currentSlide == 0) ? true : false;
slider.eventType = ('ontouchstart' in document.documentElement) ? 'touchstart' : 'click';
slider.cloneCount = 0;
slider.cloneOffset = 0;
slider.manualPause = false;
slider.vertical = (slider.vars.slideDirection == "vertical");
slider.prop = (slider.vertical) ? "top" : "marginLeft";
slider.args = {};
//Test for webbkit CSS3 Animations
slider.transitions = "webkitTransition" in document.body.style && slider.vars.useCSS;
if (slider.transitions) slider.prop = "-webkit-transform";
//Test for controlsContainer
if (slider.vars.controlsContainer != "") {
slider.controlsContainer = $(slider.vars.controlsContainer).eq($('.slides').index(slider.container));
slider.containerExists = slider.controlsContainer.length > 0;
}
//Test for manualControls
if (slider.vars.manualControls != "") {
slider.manualControls = $(slider.vars.manualControls, ((slider.containerExists) ? slider.controlsContainer : slider));
slider.manualExists = slider.manualControls.length > 0;
}
///////////////////////////////////////////////////////////////////
// FlexSlider: Randomize Slides
if (slider.vars.randomize) {
slider.slides.sort(function() { return (Math.round(Math.random())-0.5); });
slider.container.empty().append(slider.slides);
}
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
// FlexSlider: Slider Animation Initialize
if (slider.vars.animation.toLowerCase() == "slide") {
if (slider.transitions) {
slider.setTransition(0);
}
slider.css({"overflow": "hidden"});
if (slider.vars.animationLoop) {
slider.cloneCount = 2;
slider.cloneOffset = 1;
slider.container.append(slider.slides.filter(':first').clone().addClass('clone')).prepend(slider.slides.filter(':last').clone().addClass('clone'));
}
//create newSlides to capture possible clones
slider.newSlides = $('.slides:first > li', slider);
var sliderOffset = (-1 * (slider.currentSlide + slider.cloneOffset));
if (slider.vertical) {
slider.newSlides.css({"display": "block", "width": "100%", "float": "left"});
slider.container.height((slider.count + slider.cloneCount) * 200 + "%").css("position", "absolute").width("100%");
//Timeout function to give browser enough time to get proper height initially
setTimeout(function() {
slider.css({"position": "relative"}).height(slider.slides.filter(':first').height());
slider.args[slider.prop] = (slider.transitions) ? "translate3d(0," + sliderOffset * slider.height() + "px,0)" : sliderOffset * slider.height() + "px";
slider.container.css(slider.args);
}, 100);
} else {
slider.args[slider.prop] = (slider.transitions) ? "translate3d(" + sliderOffset * slider.width() + "px,0,0)" : sliderOffset * slider.width() + "px";
slider.container.width((slider.count + slider.cloneCount) * 200 + "%").css(slider.args);
//Timeout function to give browser enough time to get proper width initially
setTimeout(function() {
slider.newSlides.width(slider.width()).css({"float": "left", "display": "block"});
}, 100);
}
} else { //Default to fade
//Not supporting fade CSS3 transitions right now
slider.transitions = false;
slider.slides.css({"width": "100%", "float": "left", "marginRight": "-100%"}).eq(slider.currentSlide).fadeIn(slider.vars.animationDuration);
}
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
// FlexSlider: Control Nav
if (slider.vars.controlNav) {
if (slider.manualExists) {
slider.controlNav = slider.manualControls;
} else {
var controlNavScaffold = $('');
var j = 1;
for (var i = 0; i < slider.count; i++) {
controlNavScaffold.append('
{% editable comment.is_public comment.is_removed %}
{% if not comment.is_removed and comment.is_public or request.user.is_staff %}
{% if comment.url %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %}
{% include "generic/includes/disqus_comments.html" %}
{% else %}
{% comment_thread object_for_comments %}
{% trans "New Comment" %}
{% if not request.POST.replied_to %}
{% include "generic/includes/comment_form.html" with comment_form=posted_comment_form %}
{% else %}
{{% include "generic/includes/comment_form.html" with comment_form=unposted_comment_form %}
{% endif %}
{% endif %}
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endspaceless %}
================================================
FILE: moderna/templates/pages/menus/mobile.html
================================================
{% load i18n pages_tags %}
{% spaceless %}
{% if page_branch %}
{% for page in page_branch %}
{% if not has_home and page.is_primary and forloop.first %}
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endblock %}
{% block main %}
{% 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 %}
{% for result in results.object_list %}
{{ forloop.counter0|add:results.start_index }})
{{ result }}
{% editable comment.is_public comment.is_removed %}
{% if not comment.is_removed and comment.is_public or request.user.is_staff %}
{% if comment.url %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %}
{% include "generic/includes/disqus_comments.html" %}
{% else %}
{% comment_thread object_for_comments %}
{% trans "New Comment" %}
{% if not request.POST.replied_to %}
{% include "generic/includes/comment_form.html" with comment_form=posted_comment_form %}
{% else %}
{{% include "generic/includes/comment_form.html" with comment_form=unposted_comment_form %}
{% endif %}
{% endif %}
Look at some of the recent projects we have completed for our valuble clients
Web Design
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Graphic Design
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Email Marketing
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Ecommerce Solution
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
SEO & Solution
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Bootstrap
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Our Recent Works
Look at some of the recent projects we have completed for our valuble clients
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
OUR PARTNERS
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endspaceless %}
================================================
FILE: nova/templates/pages/menus/mobile.html
================================================
{% load i18n pages_tags %}
{% spaceless %}
{% if page_branch %}
{% for page in page_branch %}
{% if not has_home and page.is_primary and forloop.first %}
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endblock %}
{% block main %}
{% 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 %}
{% for result in results.object_list %}
{{ forloop.counter0|add:results.start_index }})
{{ result }}
{% editable comment.is_public comment.is_removed %}
{% if not comment.is_removed and comment.is_public or request.user.is_staff %}
{% if comment.url %}
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
More Lorem Ipsum added here too.
Handsomely Crafted
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endspaceless %}
================================================
FILE: solid/templates/pages/menus/mobile.html
================================================
{% load i18n pages_tags %}
{% spaceless %}
{% if page_branch %}
{% for page in page_branch %}
{% if not has_home and page.is_primary and forloop.first %}
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endblock %}
{% block main %}
{% 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 %}
{% for result in results.object_list %}
{{ forloop.counter0|add:results.start_index }})
{{ result }}
{% endif %}
================================================
FILE: solid/tests.py
================================================
from django.test import TestCase
# Create your tests here.
================================================
FILE: solid/views.py
================================================
from django.shortcuts import render
# Create your views here.
================================================
FILE: urls.py
================================================
from __future__ import unicode_literals
from django.conf.urls import include, url
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
from mezzanine.core.views import direct_to_template
admin.autodiscover()
# Add the urlpatterns for any custom Django applications here.
# You can also change the ``home`` view to add your own functionality
# to the project's homepage.
urlpatterns = i18n_patterns(
# Change the admin prefix here to use an alternate URL for the
# admin interface, which would be marginally more secure.
url("^admin/", include(admin.site.urls)),
)
urlpatterns += [
# We don't want to presume how your homepage works, so here are a
# few patterns you can use to set it up.
# HOMEPAGE AS STATIC TEMPLATE
# ---------------------------
# This pattern simply loads the index.html template. It isn't
# commented out like the others, so it's the default. You only need
# one homepage pattern, so if you use a different one, comment this
# one out.
url("^$", direct_to_template, {"template": "index.html"}, name="home"),
# HOMEPAGE AS AN EDITABLE PAGE IN THE PAGE TREE
# ---------------------------------------------
# This pattern gives us a normal ``Page`` object, so that your
# homepage can be managed via the page tree in the admin. If you
# use this pattern, you'll need to create a page in the page tree,
# and specify its URL (in the Meta Data section) as "/", which
# is the value used below in the ``{"slug": "/"}`` part.
# Also note that the normal rule of adding a custom
# template per page with the template name using the page's slug
# doesn't apply here, since we can't have a template called
# "/.html" - so for this case, the template "pages/index.html"
# should be used if you want to customize the homepage's template.
# url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="home"),
# HOMEPAGE FOR A BLOG-ONLY SITE
# -----------------------------
# This pattern points the homepage to the blog post listing page,
# and is useful for sites that are primarily blogs. If you use this
# pattern, you'll also need to set BLOG_SLUG = "" in your
# ``settings.py`` module, and delete the blog page object from the
# page tree in the admin if it was installed.
# url("^$", "mezzanine.blog.views.blog_post_list", name="home"),
# MEZZANINE'S URLS
# ----------------
# ADD YOUR OWN URLPATTERNS *ABOVE* THE LINE BELOW.
# ``mezzanine.urls`` INCLUDES A *CATCH ALL* PATTERN
# FOR PAGES, SO URLPATTERNS ADDED BELOW ``mezzanine.urls``
# WILL NEVER BE MATCHED!
# If you'd like more granular control over the patterns in
# ``mezzanine.urls``, go right ahead and take the parts you want
# from it, and use them directly below instead of using
# ``mezzanine.urls``.
url("^", include("mezzanine.urls")),
# MOUNTING MEZZANINE UNDER A PREFIX
# ---------------------------------
# You can also mount all of Mezzanine's urlpatterns under a
# URL prefix if desired. When doing this, you need to define the
# ``SITE_PREFIX`` setting, which will contain the prefix. Eg:
# SITE_PREFIX = "my/site/prefix"
# For convenience, and to avoid repeating the prefix, use the
# commented out pattern below (commenting out the one above of course)
# which will make use of the ``SITE_PREFIX`` setting. Make sure to
# add the import ``from django.conf import settings`` to the top
# of this file as well.
# Note that for any of the various homepage patterns above, you'll
# need to use the ``SITE_PREFIX`` setting as well.
# ("^%s/" % settings.SITE_PREFIX, include("mezzanine.urls"))
]
# Adds ``STATIC_URL`` to the context of error pages, so that error
# pages can use JS, CSS and images.
handler404 = "mezzanine.core.views.page_not_found"
handler500 = "mezzanine.core.views.server_error"
================================================
FILE: wsgi.py
================================================
from __future__ import unicode_literals
import os
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
settings_module = "%s.settings" % PROJECT_ROOT.split(os.sep)[-1]
os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module)
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
{{ comment.comment|comment_filter }}
{% endif %} {% if not comment.is_removed and comment.is_public %} {% trans "Link" %} {% if settings.COMMENTS_USE_RATINGS %}{% if comment.is_removed %} {% trans "Comment deleted" %} {% else %} {% trans "Comment awaiting approval" %} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% endif %} {% comment_thread comment %} {% if not comment.is_removed and comment.is_public or request.user.is_staff %}{% trans "There are currently no comments" %}
{% endif %} ================================================ FILE: flat/templates/generic/includes/comment_form.html ================================================ {% load i18n mezzanine_tags comment_tags %} ================================================ FILE: flat/templates/generic/includes/comments.html ================================================ {% load i18n mezzanine_tags comment_tags %}{% trans "Comments" %}
{% trans "New Comment" %}
{% if not request.POST.replied_to %} {% include "generic/includes/comment_form.html" with comment_form=posted_comment_form %} {% else %} {{% include "generic/includes/comment_form.html" with comment_form=unposted_comment_form %} {% endif %}{% for e in field.errors %} {% if not forloop.first %} / {% endif %}{{ e }} {% endfor %}
{% elif field.help_text %}{{ field.help_text }}
{% endif %}-
{% trans "Page" %} {{ current_page.number }} {% trans "of" %} {{ current_page.paginator.num_pages }}
-
←
{% for page in current_page.visible_page_range %}
-
{{ page }}
{% endfor %}
-
→
{% endif %} ================================================ FILE: flat/templates/includes/search_form.html ================================================ {% load mezzanine_tags i18n %} ================================================ FILE: flat/templates/includes/user_panel.html ================================================ {% load mezzanine_tags %} {% ifinstalled mezzanine.accounts %}Powerful and Responsive Web Design
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Clean, Crisp, Powerful and Responsive Web Design
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Learn More
Powerful and Responsive Web Design Theme
Pellentesque habitant morbi tristique senectus et netus et malesuada fames
Learn MoreTwitter Marketing
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae.
Facebook Marketing
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae.
Google Plus Marketing
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae.
Our Latest Project
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Nova - Corporate site template
Fornax - Apps site template
Flat Theme - Business Theme
Flat Theme - Business Theme
Nova - Corporate site template
Fornax - Apps site template
What our clients say
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
{% for image in images %}-
{% endfor %}
{% endwith %}{{ image.description }}
{{slide.heading}}
{{slide.subheading}}
Learn More
{{slide.heading}}
{{slide.subheading}}
Learn More
{{page.homepage.heading}}
{{page.homepage.subheading}}
{{ page.homepage.content|richtext_filters|safe }}
Our Latest Project
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
{{item.title}}
Our Latest Project
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
{{agenda.title}}
{% for page in page_branch %}-
+
-
{% set_page_permissions page %}
{% if page.perms.delete %}
{% else %}
{% endif %}
{% if page.perms.change %}
{{ page.title }}
{% else %}
{{ page.title }}
{% endif %}
{% if page.perms.add %}
{% endif %}
{% endfor %}
================================================ FILE: flat/templates/pages/menus/breadcrumb.html ================================================ {% load i18n pages_tags %} {% if on_home %}{% if page.has_children %}{% page_menu page %}{% endif %}
{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% if page.has_children_in_menu %}{% endif %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% ifinstalled mezzanine.accounts %}
-
{% endifinstalled %}
{% else %}{% nevercache %} {% include "accounts/includes/user_panel.html" %} {% endnevercache %}
{% for page in page_branch %} {% if page.in_menu %}-
{{ page.title }}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endif %} {% endspaceless %} ================================================ FILE: flat/templates/pages/menus/footer.html ================================================ {% load i18n pages_tags blog_tags keyword_tags mezzanine_tags %}About Us
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante.
Pellentesque habitant morbi tristique senectus.
Address
Twitter, Inc.795 Folsom Ave, Suite 600
San Francisco, CA 94107
P: (123) 456-7890
{% trans "Recent Posts" %}
{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: flat/templates/pages/menus/mobile.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch %} {% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}- {% trans "Home" %}
{% endif %}
{% if page.is_current_or_ascendant and not page.is_current_child %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% if page.is_current_child %}
-
{{ page.title }}
{% endif %}
{% if page.is_primary and forloop.last %}
{% endif %} {% endfor %} {% endif %} {% endspaceless %} ================================================ FILE: flat/templates/pages/menus/primary.html ================================================ {% load pages_tags i18n %} {% spaceless %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% endif %}
{% endfor %}
{% endspaceless %} ================================================ FILE: flat/templates/pages/menus/tree.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: flat/templates/pages/page.html ================================================ {% extends "base.html" %} {% load mezzanine_tags keyword_tags %} {% block meta_title %}{{ page.meta_title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if not forloop.first %}, {% endif %} {{ keyword }} {% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ page.description }} {% endmetablock %}{% endblock %} {% block title %} {% editable page.title %}{{ page.title }}{% endeditable %} {% endblock %} {% block main %} {% endblock %} ================================================ FILE: flat/templates/pages/richtextpage.html ================================================ {% extends "pages/page.html" %} {% load mezzanine_tags %} {% block main %}{{ block.super }}{% 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 %}
{{ forloop.counter0|add:results.start_index }}) {{ result }}
{{ result.description|truncatewords_html:20|safe }}
{% trans "read more" %} {% endfor %}' + this.title + '
' + '' + $(this.element).parent().find('img').attr('alt') + '
'; }, helpers : { title : { type: 'inside' }, } }); //scroll to top $(window).scroll(function(){ if ($(this).scrollTop() > 100) { $('.scrollup').fadeIn(); } else { $('.scrollup').fadeOut(); } }); $('.scrollup').click(function(){ $("html, body").animate({ scrollTop: 0 }, 1000); return false; }); $('#post-slider').flexslider({ // Primary Controls controlNav : false, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav : true, //Boolean: Create navigation for previous/next navigation? (true/false) prevText : "Previous", //String: Set the text for the "previous" directionNav item nextText : "Next", //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard : true, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard : false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel : false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay : false, //Boolean: Create pause/play dynamic element pauseText : 'Pause', //String: Set the text for the "pause" pausePlay item playText : 'Play', //String: Set the text for the "play" pausePlay item // Special properties controlsContainer : "", //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found. manualControls : "", //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync : "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor : "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider }); $('#main-slider').flexslider({ namespace : "flex-", //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector : ".slides > li", //{NEW} Selector: Must match a simple pattern. '{container} > {slide}' -- Ignore pattern at your own peril animation : "fade", //String: Select your animation type, "fade" or "slide" easing : "swing", //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction : "horizontal", //String: Select the sliding direction, "horizontal" or "vertical" reverse : false, //{NEW} Boolean: Reverse the animation direction animationLoop : true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight : false, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt : 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow : true, //Boolean: Animate slider automatically slideshowSpeed : 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed : 600, //Integer: Set the speed of animations, in milliseconds initDelay : 0, //{NEW} Integer: Set an initialization delay, in milliseconds randomize : false, //Boolean: Randomize slide order // Usability features pauseOnAction : true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover : false, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering useCSS : true, //{NEW} Boolean: Slider will use CSS3 transitions if available touch : true, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video : false, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav : true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav : true, //Boolean: Create navigation for previous/next navigation? (true/false) prevText : "Previous", //String: Set the text for the "previous" directionNav item nextText : "Next", //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard : true, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard : false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel : false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay : false, //Boolean: Create pause/play dynamic element pauseText : 'Pause', //String: Set the text for the "pause" pausePlay item playText : 'Play', //String: Set the text for the "play" pausePlay item // Special properties controlsContainer : "", //{UPDATED} Selector: USE CLASS SELECTOR. Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be ".flexslider-container". Property is ignored if given element is not found. manualControls : "", //Selector: Declare custom control navigation. Examples would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync : "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor : "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider }); }); ================================================ FILE: moderna/static/js/flexslider/jquery.flexslider.js ================================================ /* * jQuery FlexSlider v1.8 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Contributing Author: Tyler Smith */ ;(function ($) { //FlexSlider: Object Instance $.flexslider = function(el, options) { var slider = $(el); // slider DOM reference for use outside of the plugin $.data(el, "flexslider", slider); slider.init = function() { slider.vars = $.extend({}, $.flexslider.defaults, options); $.data(el, 'flexsliderInit', true); slider.container = $('.slides', slider).eq(0); slider.slides = $('.slides:first > li', slider); slider.count = slider.slides.length; slider.animating = false; slider.currentSlide = slider.vars.slideToStart; slider.animatingTo = slider.currentSlide; slider.atEnd = (slider.currentSlide == 0) ? true : false; slider.eventType = ('ontouchstart' in document.documentElement) ? 'touchstart' : 'click'; slider.cloneCount = 0; slider.cloneOffset = 0; slider.manualPause = false; slider.vertical = (slider.vars.slideDirection == "vertical"); slider.prop = (slider.vertical) ? "top" : "marginLeft"; slider.args = {}; //Test for webbkit CSS3 Animations slider.transitions = "webkitTransition" in document.body.style && slider.vars.useCSS; if (slider.transitions) slider.prop = "-webkit-transform"; //Test for controlsContainer if (slider.vars.controlsContainer != "") { slider.controlsContainer = $(slider.vars.controlsContainer).eq($('.slides').index(slider.container)); slider.containerExists = slider.controlsContainer.length > 0; } //Test for manualControls if (slider.vars.manualControls != "") { slider.manualControls = $(slider.vars.manualControls, ((slider.containerExists) ? slider.controlsContainer : slider)); slider.manualExists = slider.manualControls.length > 0; } /////////////////////////////////////////////////////////////////// // FlexSlider: Randomize Slides if (slider.vars.randomize) { slider.slides.sort(function() { return (Math.round(Math.random())-0.5); }); slider.container.empty().append(slider.slides); } /////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// // FlexSlider: Slider Animation Initialize if (slider.vars.animation.toLowerCase() == "slide") { if (slider.transitions) { slider.setTransition(0); } slider.css({"overflow": "hidden"}); if (slider.vars.animationLoop) { slider.cloneCount = 2; slider.cloneOffset = 1; slider.container.append(slider.slides.filter(':first').clone().addClass('clone')).prepend(slider.slides.filter(':last').clone().addClass('clone')); } //create newSlides to capture possible clones slider.newSlides = $('.slides:first > li', slider); var sliderOffset = (-1 * (slider.currentSlide + slider.cloneOffset)); if (slider.vertical) { slider.newSlides.css({"display": "block", "width": "100%", "float": "left"}); slider.container.height((slider.count + slider.cloneCount) * 200 + "%").css("position", "absolute").width("100%"); //Timeout function to give browser enough time to get proper height initially setTimeout(function() { slider.css({"position": "relative"}).height(slider.slides.filter(':first').height()); slider.args[slider.prop] = (slider.transitions) ? "translate3d(0," + sliderOffset * slider.height() + "px,0)" : sliderOffset * slider.height() + "px"; slider.container.css(slider.args); }, 100); } else { slider.args[slider.prop] = (slider.transitions) ? "translate3d(" + sliderOffset * slider.width() + "px,0,0)" : sliderOffset * slider.width() + "px"; slider.container.width((slider.count + slider.cloneCount) * 200 + "%").css(slider.args); //Timeout function to give browser enough time to get proper width initially setTimeout(function() { slider.newSlides.width(slider.width()).css({"float": "left", "display": "block"}); }, 100); } } else { //Default to fade //Not supporting fade CSS3 transitions right now slider.transitions = false; slider.slides.css({"width": "100%", "float": "left", "marginRight": "-100%"}).eq(slider.currentSlide).fadeIn(slider.vars.animationDuration); } /////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// // FlexSlider: Control Nav if (slider.vars.controlNav) { if (slider.manualExists) { slider.controlNav = slider.manualControls; } else { var controlNavScaffold = $(''); var j = 1; for (var i = 0; i < slider.count; i++) { controlNavScaffold.append('
- ' + slider.vars.prevText + '
- ' + slider.vars.nextText + '
'); if (slider.containerExists) { $(slider.controlsContainer).append(directionNavScaffold); slider.directionNav = $('.flex-direction-nav li a', slider.controlsContainer); } else { slider.append(directionNavScaffold); slider.directionNav = $('.flex-direction-nav li a', slider); } //Set initial disable styles if necessary if (!slider.vars.animationLoop) { if (slider.currentSlide == 0) { slider.directionNav.filter('.prev').addClass('disabled'); } else if (slider.currentSlide == slider.count - 1) { slider.directionNav.filter('.next').addClass('disabled'); } } slider.directionNav.bind(slider.eventType, function(event) { event.preventDefault(); var target = ($(this).hasClass('next')) ? slider.getTarget('next') : slider.getTarget('prev'); if (slider.canAdvance(target)) { slider.flexAnimate(target, slider.vars.pauseOnAction); } }); } ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// //FlexSlider: Keyboard Nav if (slider.vars.keyboardNav && $('ul.slides').length == 1) { function keyboardMove(event) { if (slider.animating) { return; } else if (event.keyCode != 39 && event.keyCode != 37){ return; } else { if (event.keyCode == 39) { var target = slider.getTarget('next'); } else if (event.keyCode == 37){ var target = slider.getTarget('prev'); } if (slider.canAdvance(target)) { slider.flexAnimate(target, slider.vars.pauseOnAction); } } } $(document).bind('keyup', keyboardMove); } ////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// // FlexSlider: Mousewheel interaction if (slider.vars.mousewheel) { slider.mousewheelEvent = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; slider.bind(slider.mousewheelEvent, function(e) { e.preventDefault(); e = e ? e : window.event; var wheelData = e.detail ? e.detail * -1 : e.originalEvent.wheelDelta / 40, target = (wheelData < 0) ? slider.getTarget('next') : slider.getTarget('prev'); if (slider.canAdvance(target)) { slider.flexAnimate(target, slider.vars.pauseOnAction); } }); } /////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// //FlexSlider: Slideshow Setup if (slider.vars.slideshow) { //pauseOnHover if (slider.vars.pauseOnHover && slider.vars.slideshow) { slider.hover(function() { slider.pause(); }, function() { if (!slider.manualPause) { slider.resume(); } }); } //Initialize animation slider.animatedSlides = setInterval(slider.animateSlides, slider.vars.slideshowSpeed); } ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// //FlexSlider: Pause/Play if (slider.vars.pausePlay) { var pausePlayScaffold = $('{% spaceless %} {% block breadcrumb_menu %}{% page_menu "pages/menus/breadcrumb.html" %}{% endblock %} {% endspaceless %}
{% block title %}{% endblock %}
- {% trans "Tags" %}:
{% for tag in tags %}
- {{ tag }}
{% endfor %}
{% endspaceless %} {% endif %} {% endblock %} {% block blog_post_detail_rating %}{% with blog_post.get_previous_by_publish_date as previous %} {% if previous %}-
{{ previous }}
{% endif %}
{% endwith %}
{% with blog_post.get_next_by_publish_date as next %}
{% if next %}
-
{{ next }}
{% endif %}
{% endwith %}
{% endblock %} {% block blog_post_detail_related_posts %} {% if blog_post.related_posts.all %}{% trans 'Related posts' %}
{% for post in blog_post.related_posts.all %}- {{ post.title }}
{% endfor %}
{% if tag %} {% trans "Viewing posts tagged" %} {{ tag }} {% else %}{% if category %} {% trans "Viewing posts for the category" %} {{ category }} {% else %}{% if year or month %} {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %} {{ year }} {% else %}{% if author %} {% trans "Viewing posts by" %} {{ author.get_full_name|default:author.username }} {% endif %}{% endif %}{% endif %}{% endif %} {% endblock %}
{% else %} {% if page %} {% block blog_post_list_pagecontent %} {% if page.get_content_model.content %} {% editable page.get_content_model.content %} {{ page.get_content_model.content|richtext_filters|safe }} {% endeditable %} {% endif %} {% endblock %} {% endif %} {% endif %} {% for blog_post in blog_posts.object_list %} {% block blog_post_main%}{{ blog_post.title }}
{% endeditable %} {% endblock %}- {% blocktrans with sometime=blog_post.publish_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% with blog_post.user as author %}
- {{author.get_full_name|default:author.username}}
{% endwith %}
{% with blog_post.categories.all as categories %}
{% if categories %}
-
{% for category in categories %}
{{ category }}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% endif %}
{% endwith %}
{% if blog_post.allow_comments %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %}
-
{% trans "Comments" %}
{% else %}
{% blocktrans count comments_count=blog_post.comments_count %}{{ comments_count }} comment{% plural %}{{ comments_count }} comments{% endblocktrans %}
{% endif %}
{% endif %}
{% block read_more%} Continue reading {% endblock %} {% endeditable %} {% endblock %}{% trans "Recent Posts" %}
{% for recent_post in recent_posts %}-
{% endfor %}
{{ recent_post.title }}
{% trans "Categories" %}
{% for category in categories %}- {{ category }} ({{ category.post_count }})
{% endfor %}
{% trans "Tags" %}
{% for tag in tags %}-
{{ tag }} ({{ tag.item_count }})
{% endfor %}
{% trans "Authors" %}
{% for author in authors %}- {{ author.get_full_name|default:author.username }} ({{ author.post_count }})
{% endfor %}
{% trans "Archive" %}
{% for month in months %} {% ifchanged month.date.year %} {% if not forloop.first %}{% endif %}{% endifchanged %}- {{ month.date|date:"F" }} ({{ month.post_count }})
{% endfor %}
{% trans "Feeds" %}
{% if tag %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if category %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if not tag and not category and not author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %}{{ comment.user_name }} {% else %}
{% rating_for comment %}
{% endif %}
{% else %}
{% endif %}
{% endeditable %}
{{ comment.user_name }} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{{ comment.comment|comment_filter }}
{% endif %} {% if not comment.is_removed and comment.is_public %} {% trans "Link" %} | {% trans "Reply" %} {% if settings.COMMENTS_USE_RATINGS %}{% if comment.is_removed %} {% trans "Comment deleted" %} {% else %} {% trans "Comment awaiting approval" %} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% endif %} {% comment_thread comment %} {% if not comment.is_removed and comment.is_public or request.user.is_staff %}{% trans "There are currently no comments" %}
{% endif %} ================================================ FILE: moderna/templates/generic/includes/comment_form.html ================================================ {% load i18n mezzanine_tags comment_tags %} ================================================ FILE: moderna/templates/generic/includes/comments.html ================================================ {% load i18n mezzanine_tags comment_tags %}{% trans "Comments" %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %} {% include "generic/includes/disqus_comments.html" %} {% else %} {% comment_thread object_for_comments %}{% trans "New Comment" %}
{% if not request.POST.replied_to %} {% include "generic/includes/comment_form.html" with comment_form=posted_comment_form %} {% else %} {{% include "generic/includes/comment_form.html" with comment_form=unposted_comment_form %} {% endif %} {% endif %}Modern Design
Duis fermentum auctor ligula ac malesuada. Mauris et metus odio, in pulvinar urna
Learn MoreFully Responsive
Sodales neque vitae justo sollicitudin aliquet sit amet diam curabitur sed fermentum.
Learn MoreClean & Fast
Lorem ipsum dolor sit amet, consectetur adipiscing elit donec mer lacinia.
Learn MoreModerna Free Mezzanine Business theme
Fully responsive
Voluptatem accusantium doloremque laudantium sprea totam rem aperiam.
Modern Style
Voluptatem accusantium doloremque laudantium sprea totam rem aperiam.
Customizable
Voluptatem accusantium doloremque laudantium sprea totam rem aperiam.
Valid HTML5
Voluptatem accusantium doloremque laudantium sprea totam rem aperiam.
Recent Works
{% for image in images %}-
{% endfor %}
{% for page in page_branch %}-
+
-
{% set_page_permissions page %}
{% if page.perms.delete %}
{% else %}
{% endif %}
{% if page.perms.change %}
{{ page.title }}
{% else %}
{{ page.title }}
{% endif %}
{% if page.perms.add %}
{% endif %}
{% endfor %}
================================================ FILE: moderna/templates/pages/menus/breadcrumb.html ================================================ {% load i18n pages_tags %} {% if on_home %}{% if page.has_children %}{% page_menu page %}{% endif %}
{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% if page.has_children_in_menu %}{% endif %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% else %}{% for page in page_branch %} {% if page.in_menu %}-
{{ page.title }}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endif %} {% endspaceless %} ================================================ FILE: moderna/templates/pages/menus/footer.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %} {% for page in page_branch %} {% if page.is_primary %} {% if forloop.first %}{% endif %} {% endif %} {% if page.in_menu %} {% if forloop.first and not page.parent.in_menu and not page.is_primary %}
{% endif %} {% if forloop.last %}{% endif %}-
{{ page.title }}
{% endif %}
{% if page.in_menu and page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% if page.in_menu %}
{% if forloop.first and not page.parent.in_menu and not page.is_primary %}
{% endif %} {% endif %} {% if page.is_primary %} {% if page.in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: moderna/templates/pages/menus/mobile.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch %} {% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}- {% trans "Home" %}
{% endif %}
{% if page.is_current_or_ascendant and not page.is_current_child %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% if page.is_current_child %}
-
{{ page.title }}
{% endif %}
{% if page.is_primary and forloop.last %}
{% endif %} {% endfor %} {% endif %} {% endspaceless %} ================================================ FILE: moderna/templates/pages/menus/primary.html ================================================ {% load pages_tags i18n %} {% spaceless %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% endif %}
{% endfor %}
{% endspaceless %} ================================================ FILE: moderna/templates/pages/menus/tree.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: moderna/templates/pages/page.html ================================================ {% extends "base.html" %} {% load mezzanine_tags keyword_tags %} {% block meta_title %}{{ page.meta_title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if not forloop.first %}, {% endif %} {{ keyword }} {% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ page.description }} {% endmetablock %}{% endblock %} {% block title %} {% editable page.title %}{{ page.title }}{% endeditable %} {% endblock %} {% block main %} {% endblock %} ================================================ FILE: moderna/templates/pages/richtextpage.html ================================================ {% extends "pages/page.html" %} {% load mezzanine_tags %} {% block left_wrapper %} {% endblock %}{% 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 %}
{{ forloop.counter0|add:results.start_index }}) {{ result }}
{{ result.description|truncatewords_html:20|safe }}
{% trans "read more" %} {% endfor %}{% block title %}{% endblock %}
{% spaceless %} {% block breadcrumb_menu %}{% page_menu "pages/menus/breadcrumb.html" %}{% endblock %} {% endspaceless %}
ADDRESS
NY 11793
FLICKR GALLERY
{% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %} {% block blog_post_list_post_featured_image %} {{block.super}} {% endblock %} {% endif %}
{% block blog_post_list_post_content %} {% editable blog_post.content %} {{ blog_post.content|richtext_filters|safe }} {% endeditable %} {% endblock %} {% block blog_post_detail_content %} {% endblock %} {% block read_more%} {% endblock %} {% block blog_post_detail_keywords %} {% keywords_for blog_post as tags %} {% if tags %}{% with blog_post.get_previous_by_publish_date as previous %} {% if previous %}-
{{ previous }}
{% endif %}
{% endwith %}
{% with blog_post.get_next_by_publish_date as next %}
{% if next %}
-
{{ next }}
{% endif %}
{% endwith %}
{% endblock %} {% block blog_post_detail_related_posts %} {% if blog_post.related_posts.all %}{% trans 'Related posts' %}
{% for post in blog_post.related_posts.all %}- {{ post.title }}
{% endfor %}
{% if tag %} {% trans "Viewing posts tagged" %} {{ tag }} {% else %}{% if category %} {% trans "Viewing posts for the category" %} {{ category }} {% else %}{% if year or month %} {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %} {{ year }} {% else %}{% if author %} {% trans "Viewing posts by" %} {{ author.get_full_name|default:author.username }} {% endif %}{% endif %}{% endif %}{% endif %} {% endblock %}
{% else %} {% if page %} {% block blog_post_list_pagecontent %} {% if page.get_content_model.content %} {% editable page.get_content_model.content %} {{ page.get_content_model.content|richtext_filters|safe }} {% endeditable %} {% endif %} {% endblock %} {% endif %} {% endif %}{{ blog_post.title }}
{% endeditable %} {% endblock %}{% blocktrans with sometime=blog_post.publish_date|timesince %}{{ sometime }} ago{% endblocktrans %} {% with blog_post.user as author %} {{author.get_full_name|default:author.username}} {% endwith %} {% with blog_post.categories.all as categories %} {% if categories %} {% for category in categories %} {{ category }}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %} {% endwith %}
{% if blog_post.allow_comments %} {% if settings.COMMENTS_DISQUS_SHORTNAME %} {% trans "Comments" %} {% else %} {% blocktrans count comments_count=blog_post.comments_count %}{{ comments_count }} comment{% plural %}{{ comments_count }} comments{% endblocktrans %} {% endif %} {% endif %}
{% endeditable %} {% endblock %}{% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %} {% block blog_post_list_post_featured_image %}
{% endblock %}
{% endif %}
{% block blog_post_list_post_content %} {% editable blog_post.content %} {{ blog_post.description_from_content|safe }} {% endeditable %} {% endblock %} {% block read_more%} Read More {% endblock %}{% trans "Categories" %}
{% for category in categories %}- {{ category }} ({{ category.post_count }})
{% endfor %}
{% trans "Tags" %}
{% for tag in tags %}-
{{ tag }} ({{ tag.item_count }})
{% endfor %}
{% trans "Authors" %}
{% for author in authors %}- {{ author.get_full_name|default:author.username }} ({{ author.post_count }})
{% endfor %}
{% trans "Archive" %}
{% for month in months %} {% ifchanged month.date.year %} {% if not forloop.first %}{% endif %}{% endifchanged %}- {{ month.date|date:"F" }} ({{ month.post_count }})
{% endfor %}
{% trans "Feeds" %}
{% if tag %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if category %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if not tag and not category and not author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %}{% trans "Recent Posts" %}
{{ recent_post.title }}
{{ comment.user_name }} {% else %}
{% rating_for comment %}
{% endif %}
{% else %}
{% endif %}
{% endeditable %}
{{ comment.user_name }} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{{ comment.comment|comment_filter }}
{% endif %} {% if not comment.is_removed and comment.is_public %} {% trans "Link" %} | {% trans "Reply" %} {% if settings.COMMENTS_USE_RATINGS %}{% if comment.is_removed %} {% trans "Comment deleted" %} {% else %} {% trans "Comment awaiting approval" %} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% endif %} {% comment_thread comment %} {% if not comment.is_removed and comment.is_public or request.user.is_staff %}{% trans "There are currently no comments" %}
{% endif %} ================================================ FILE: nova/templates/generic/includes/comment_form.html ================================================ {% load i18n mezzanine_tags comment_tags %}Make sure you enter the (*) required information where indicated. HTML code is not allowed.
{% trans "Comments" %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %} {% include "generic/includes/disqus_comments.html" %} {% else %} {% comment_thread object_for_comments %}{% trans "New Comment" %}
{% if not request.POST.replied_to %} {% include "generic/includes/comment_form.html" with comment_form=posted_comment_form %} {% else %} {{% include "generic/includes/comment_form.html" with comment_form=unposted_comment_form %} {% endif %} {% endif %}Mezzanine CMS Theme
Free them for mezzanine CMS
Learn MoreCustom gallery page
Custom gallery
Learn MoreUnique Solutions
Breatures who have been utterly
Learn MorePellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas
Tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet
What We Offer
Look at some of the recent projects we have completed for our valuble clients
Web Design
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Graphic Design
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Email Marketing
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Ecommerce Solution
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
SEO & Solution
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Bootstrap
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
Our Recent Works
Look at some of the recent projects we have completed for our valuble clients
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
OUR PARTNERS
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
{% for image in images %}-
{% endfor %}
{% endwith %} {% endblock %}{{ image.description }}
{% for page in page_branch %}-
+
-
{% set_page_permissions page %}
{% if page.perms.delete %}
{% else %}
{% endif %}
{% if page.perms.change %}
{{ page.title }}
{% else %}
{{ page.title }}
{% endif %}
{% if page.perms.add %}
{% endif %}
{% endfor %}
================================================ FILE: nova/templates/pages/menus/breadcrumb.html ================================================ {% load i18n pages_tags %} {% if on_home %}{% if page.has_children %}{% page_menu page %}{% endif %}
{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% if page.has_children_in_menu %}{% endif %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% else %}{% for page in page_branch %} {% if page.in_menu %}-
{{ page.title }}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endif %} {% endspaceless %} ================================================ FILE: nova/templates/pages/menus/footer.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %} {% for page in page_branch %} {% if page.is_primary %} {% if forloop.first %}{% endif %} {% endif %} {% if page.in_menu %} {% if forloop.first and not page.parent.in_menu and not page.is_primary %}
{% endif %} {% if forloop.last %}{% endif %}-
{{ page.title }}
{% endif %}
{% if page.in_menu and page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% if page.in_menu %}
{% if forloop.first and not page.parent.in_menu and not page.is_primary %}
{% endif %} {% endif %} {% if page.is_primary %} {% if page.in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: nova/templates/pages/menus/mobile.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch %} {% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}- {% trans "Home" %}
{% endif %}
{% if page.is_current_or_ascendant and not page.is_current_child %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% if page.is_current_child %}
-
{{ page.title }}
{% endif %}
{% if page.is_primary and forloop.last %}
{% endif %} {% endfor %} {% endif %} {% endspaceless %} ================================================ FILE: nova/templates/pages/menus/primary.html ================================================ {% load pages_tags i18n %} {% spaceless %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% endif %}
{% endfor %}
{% endspaceless %} ================================================ FILE: nova/templates/pages/menus/tree.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: nova/templates/pages/page.html ================================================ {% extends "base.html" %} {% load mezzanine_tags keyword_tags %} {% block meta_title %}{{ page.meta_title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if not forloop.first %}, {% endif %} {{ keyword }} {% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ page.description }} {% endmetablock %}{% endblock %} {% block title %} {% editable page.title %}{{ page.title }}{% endeditable %} {% endblock %} {% block main %} {% endblock %} ================================================ FILE: nova/templates/pages/richtextpage.html ================================================ {% extends "pages/page.html" %} {% load mezzanine_tags %} {% block left_wrapper %} {% endblock %}{% 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 %}
{{ forloop.counter0|add:results.start_index }}) {{ result }}
{{ result.description|truncatewords_html:20|safe }}
{% trans "read more" %} {% endfor %}{% trans "Recent Tweets" %}
{{ tweet.full_name }} @{{ tweet.user_name }}
{% if tweet.is_retweet %}{{ tweet.retweeter_full_name }}
{% endif %}{{ tweet.text|safe }}
{% blocktrans with sometime=tweet.created_at|timesince %}{{ sometime }} ago{% endblocktrans %}
0/0
Next{gallery}
').css({width:settings.default_width}).wrapInner('
{{ settings.SITE_TAGLINE }}
{% endif %}{% block title %}{% endblock %}
Social Links
Our Bunker
Some Ave, 987,
23890, New York,
United States.
{% trans "Template by" %} Blacktie {% trans "Mezzanine theme by" %} CodingHouse
- {% trans "Tags" %}:
{% for tag in tags %}
- {{ tag }}
{% endfor %}
{% endspaceless %} {% endif %} {% endblock %} {% block blog_post_detail_rating %}{% with blog_post.get_previous_by_publish_date as previous %} {% if previous %}-
← {{ previous }}
{% endif %}
{% endwith %}
{% with blog_post.get_next_by_publish_date as next %}
{% if next %}
-
{{ next }} →
{% endif %}
{% endwith %}
{% endblock %} {% block blog_post_detail_related_posts %} {% if blog_post.related_posts.all %}{% trans 'Related posts' %}
{% for post in blog_post.related_posts.all %}- {{ post.title }}
{% endfor %}
{% if tag %} {% trans "Viewing posts tagged" %} {{ tag }} {% else %}{% if category %} {% trans "Viewing posts for the category" %} {{ category }} {% else %}{% if year or month %} {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %} {{ year }} {% else %}{% if author %} {% trans "Viewing posts by" %} {{ author.get_full_name|default:author.username }} {% endif %}{% endif %}{% endif %}{% endif %} {% endblock %}
{% else %} {% if page %} {% block blog_post_list_pagecontent %} {% if page.get_content_model.content %} {% editable page.get_content_model.content %} {{ page.get_content_model.content|richtext_filters|safe }} {% endeditable %} {% endif %} {% endblock %} {% endif %} {% endif %} {% for blog_post in blog_posts.object_list %} {% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %} {% block blog_post_list_post_featured_image %}
{% endblock %} {% endif %} {% block blog_post_list_post_title %} {% editable blog_post.title %}{{ blog_post.title }}
{% endeditable %} {% endblock %} {% block blog_post_list_post_metainfo %} {% editable blog_post.publish_date %}{% trans "Tags" %}: {% spaceless %} {% for tag in tags %}- {{ tag }}
{% endfor %}
{% endspaceless %}
{% endif %}{% trans "[read more]" %}
{% trans "Recent Posts" %}
{% for recent_post in recent_posts %}-
{% if settings.BLOG_USE_FEATURED_IMAGE and recent_post.featured_image %}
{% block blog_post_list_post_featured_image %}
{% endblock %}
{% endif %}
{% endfor %}
{% endif %} {% endblock %} {% block blog_months %} {% blog_months as months %} {% if months %}{{ recent_post.title }}
{% trans "Archive" %}
{% for month in months %} {% ifchanged month.date.year %} {% if not forloop.first %}{% endif %}{{ month.date.year }}
{% endifchanged %}- {{ month.date|date:"F" }} ({{ month.post_count }})
{% endfor %}
{% endif %} {% endblock %} {% block blog_categories %} {% blog_categories as categories %} {% if categories %}{% trans "Categories" %}
{% for category in categories %}{{ category }} {{ category.post_count }}
{% endfor %} {% endif %} {% endblock %} {% block blog_keywords %} {% keywords_for blog.blogpost as tags %} {% if tags %}{% trans "Tags" %}
{% for tag in tags %} {{ tag }}({{ tag.item_count }}) {% endfor %}
{% endif %} {% endblock %} {% block blog_authors %} {% blog_authors as authors %} {% if authors %}{% trans "Authors" %}
{% for author in authors %} {{ author.get_full_name|default:author.username }} ({{ author.post_count }}) {% endfor %}
{% endif %} {% endblock %} {% block blog_feeds %}{% trans "Feeds" %}
{% if tag %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if category %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if not tag and not category and not author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% endblock %} ================================================ FILE: solid/templates/email/base.html ================================================ {% block main %}{% endblock %}http://{{ request.get_host }} ================================================ FILE: solid/templates/email/base.txt ================================================ {% block main %}{% endblock %} http://{{ request.get_host }} ================================================ FILE: solid/templates/email/comment_notification.html ================================================ {% extends "email/base.html" %} {% load i18n %} {% block main %}
{% trans "A new comment has been posted on" %} {{ obj }}
{% blocktrans with submit_date=comment.submit_date user_name=comment.user_name %} At {{ submit_date }} {{ user_name }} wrote: {% endblocktrans %}
{{ comment.comment|linebreaksbr|urlize }}
{% endblock %} ================================================ FILE: solid/templates/email/comment_notification.txt ================================================ {% extends "email/base.txt" %} {% load i18n %} {% block main %} A new comment has been posted on {{ obj }} [http://{{ request.get_host }}{{ comment_url }}] {% blocktrans with submit_date=comment.submit_date user_name=comment.user_name %} At {{ submit_date }} {{ user_name }} wrote: {% endblocktrans %} {{ comment.comment }} {% endblock %} ================================================ FILE: solid/templates/email/form_response.html ================================================ {% extends "email/base.html" %} {% block main %} {% if message %}{{ message }}
{% endif %}{% trans "Page not found" %}
{% trans "Error" %}
{{ comment.user_name }} {% else %}
{% rating_for comment %}
{% endif %}
{% else %}
{% endif %}
{% endeditable %}
{{ comment.user_name }} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{{ comment.comment|comment_filter }}
{% endif %} {% if not comment.is_removed and comment.is_public %} {% trans "Link" %} | {% trans "Reply" %} {% if settings.COMMENTS_USE_RATINGS %}{% if comment.is_removed %} {% trans "Comment deleted" %} {% else %} {% trans "Comment awaiting approval" %} {% endif %} {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
{% endif %} {% comment_thread comment %} {% if not comment.is_removed and comment.is_public or request.user.is_staff %}{% trans "There are currently no comments" %}
{% endif %} ================================================ FILE: solid/templates/generic/includes/comments.html ================================================ {% load i18n mezzanine_tags comment_tags %}{% trans "Comments" %}
{% if settings.COMMENTS_DISQUS_SHORTNAME %} {% include "generic/includes/disqus_comments.html" %} {% else %} {% comment_thread object_for_comments %}{% trans "New Comment" %}
{% endif %}{% for e in field.errors %} {% if not forloop.first %} / {% endif %}{{ e }} {% endfor %}
{% elif field.help_text %}{{ field.help_text }}
{% endif %}-
{% trans "Page" %} {{ current_page.number }} {% trans "of" %} {{ current_page.paginator.num_pages }}
-
←
{% for page in current_page.visible_page_range %}
-
{{ page }}
{% endfor %}
-
→
{% endif %} ================================================ FILE: solid/templates/includes/search_form.html ================================================ {% load mezzanine_tags i18n %} ================================================ FILE: solid/templates/includes/user_panel.html ================================================ {% load mezzanine_tags %} {% ifinstalled mezzanine.accounts %}Show your work with this beautiful theme
Eyecatching Mezzanine Theme
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
More Lorem Ipsum added here too.
Handsomely Crafted
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
More Info
Retina Ready
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
More Info
Quality Theme
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
More Info
LATEST WORKS
A Graphic Design Item
A Web Design Item
A Graphic Design Item
A Graphic Design Item
A Book Design Item
A Graphic Design Item
A Book Design Item
A Graphic Design Item
A Web Design Item
A Book Design Item
More About Our Agency.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
More Info
Frequently Asked
How cool is this theme?
Need a nice good-looking site?
Is this theme retina ready?
Which version of Font Awesome uses?
Free support is integrated?
{% trans "Recent Posts" %}
{% for recent_post in recent_posts %}{{ recent_post.title }}
{% endfor %}Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
Marcel Newman
WEB DESIGNER - BLACKTIE.CO
OUR CLIENTS
{{ page.form.title }}
{% with page.form as page_form %} {% editable page_form.content %} {{ page_form.content|richtext_filters|safe }} {% endeditable %} {% endwith %} {% endblock %}A Graphic Design Item
{% for page in page_branch %}-
+
-
{% set_page_permissions page %}
{% if page.perms.delete %}
{% else %}
{% endif %}
{% if page.perms.change %}
{{ page.title }}
{% else %}
{{ page.title }}
{% endif %}
{% if page.perms.add %}
{% endif %}
{% endfor %}
================================================ FILE: solid/templates/pages/menus/breadcrumb.html ================================================ {% load i18n pages_tags %} {% if on_home %}{% if page.has_children %}{% page_menu page %}{% endif %}
{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% if page.has_children_in_menu %}{% endif %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% else %}{% for page in page_branch %} {% if page.in_menu %}-
{{ page.title }}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endif %} {% endspaceless %} ================================================ FILE: solid/templates/pages/menus/footer.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %} {% for page in page_branch %} {% if page.is_primary %} {% if forloop.first %}{% endif %} {% endif %} {% if page.in_menu %} {% if forloop.first and not page.parent.in_menu and not page.is_primary %}
{% endif %} {% if forloop.last %}{% endif %}-
{{ page.title }}
{% endif %}
{% if page.in_menu and page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% if page.in_menu %}
{% if forloop.first and not page.parent.in_menu and not page.is_primary %}
{% endif %} {% endif %} {% if page.is_primary %} {% if page.in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# remove this if tag to always show all nav items #}
{% if settings.PAGES_MENU_SHOW_ALL or page.is_current_or_ascendant %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: solid/templates/pages/menus/mobile.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch %} {% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}- {% trans "Home" %}
{% endif %}
{% if page.is_current_or_ascendant and not page.is_current_child %}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% if page.is_current_child %}
-
{{ page.title }}
{% endif %}
{% if page.is_primary and forloop.last %}
{% endif %} {% endfor %} {% endif %} {% endspaceless %} ================================================ FILE: solid/templates/pages/menus/primary.html ================================================ {% load pages_tags i18n %} {% spaceless %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{% endif %}
{% endfor %}
{% endspaceless %} ================================================ FILE: solid/templates/pages/menus/tree.html ================================================ {% load i18n pages_tags %} {% spaceless %} {% if page_branch_in_menu %}{% for page in page_branch %} {% if not has_home and page.is_primary and forloop.first %}-
{% trans "Home" %}
{% endif %}
{% if page.in_menu %}
-
{{ page.title }}
{# wrap the next line with 'if page.is_current_or_ascendant' #}
{# to only show child pages in the menu for the current page #}
{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% endspaceless %} ================================================ FILE: solid/templates/pages/page.html ================================================ {% extends "base.html" %} {% load mezzanine_tags keyword_tags %} {% block meta_title %}{{ page.meta_title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if not forloop.first %}, {% endif %} {{ keyword }} {% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ page.description }} {% endmetablock %}{% endblock %} {% block title %} {% editable page.title %}{{ page.title }}{% endeditable %} {% endblock %} {% block main %} {% endblock %} ================================================ FILE: solid/templates/pages/richtextpage.html ================================================ {% extends "pages/page.html" %} {% load mezzanine_tags %} {% block left_wrapper %} {% endblock %}{% 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 %}
{{ forloop.counter0|add:results.start_index }}) {{ result }}
{{ result.description|truncatewords_html:20|safe }}
{% trans "read more" %} {% endfor %}{% trans "Recent Tweets" %}
{% for tweet in tweets %}-
{% endfor %}
{% endif %} ================================================ FILE: solid/tests.py ================================================ from django.test import TestCase # Create your tests here. ================================================ FILE: solid/views.py ================================================ from django.shortcuts import render # Create your views here. ================================================ FILE: urls.py ================================================ from __future__ import unicode_literals from django.conf.urls import include, url from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from mezzanine.core.views import direct_to_template admin.autodiscover() # Add the urlpatterns for any custom Django applications here. # You can also change the ``home`` view to add your own functionality # to the project's homepage. urlpatterns = i18n_patterns( # Change the admin prefix here to use an alternate URL for the # admin interface, which would be marginally more secure. url("^admin/", include(admin.site.urls)), ) urlpatterns += [ # We don't want to presume how your homepage works, so here are a # few patterns you can use to set it up. # HOMEPAGE AS STATIC TEMPLATE # --------------------------- # This pattern simply loads the index.html template. It isn't # commented out like the others, so it's the default. You only need # one homepage pattern, so if you use a different one, comment this # one out. url("^$", direct_to_template, {"template": "index.html"}, name="home"), # HOMEPAGE AS AN EDITABLE PAGE IN THE PAGE TREE # --------------------------------------------- # This pattern gives us a normal ``Page`` object, so that your # homepage can be managed via the page tree in the admin. If you # use this pattern, you'll need to create a page in the page tree, # and specify its URL (in the Meta Data section) as "/", which # is the value used below in the ``{"slug": "/"}`` part. # Also note that the normal rule of adding a custom # template per page with the template name using the page's slug # doesn't apply here, since we can't have a template called # "/.html" - so for this case, the template "pages/index.html" # should be used if you want to customize the homepage's template. # url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="home"), # HOMEPAGE FOR A BLOG-ONLY SITE # ----------------------------- # This pattern points the homepage to the blog post listing page, # and is useful for sites that are primarily blogs. If you use this # pattern, you'll also need to set BLOG_SLUG = "" in your # ``settings.py`` module, and delete the blog page object from the # page tree in the admin if it was installed. # url("^$", "mezzanine.blog.views.blog_post_list", name="home"), # MEZZANINE'S URLS # ---------------- # ADD YOUR OWN URLPATTERNS *ABOVE* THE LINE BELOW. # ``mezzanine.urls`` INCLUDES A *CATCH ALL* PATTERN # FOR PAGES, SO URLPATTERNS ADDED BELOW ``mezzanine.urls`` # WILL NEVER BE MATCHED! # If you'd like more granular control over the patterns in # ``mezzanine.urls``, go right ahead and take the parts you want # from it, and use them directly below instead of using # ``mezzanine.urls``. url("^", include("mezzanine.urls")), # MOUNTING MEZZANINE UNDER A PREFIX # --------------------------------- # You can also mount all of Mezzanine's urlpatterns under a # URL prefix if desired. When doing this, you need to define the # ``SITE_PREFIX`` setting, which will contain the prefix. Eg: # SITE_PREFIX = "my/site/prefix" # For convenience, and to avoid repeating the prefix, use the # commented out pattern below (commenting out the one above of course) # which will make use of the ``SITE_PREFIX`` setting. Make sure to # add the import ``from django.conf import settings`` to the top # of this file as well. # Note that for any of the various homepage patterns above, you'll # need to use the ``SITE_PREFIX`` setting as well. # ("^%s/" % settings.SITE_PREFIX, include("mezzanine.urls")) ] # Adds ``STATIC_URL`` to the context of error pages, so that error # pages can use JS, CSS and images. handler404 = "mezzanine.core.views.page_not_found" handler500 = "mezzanine.core.views.server_error" ================================================ FILE: wsgi.py ================================================ from __future__ import unicode_literals import os PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) settings_module = "%s.settings" % PROJECT_ROOT.split(os.sep)[-1] os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module) from django.core.wsgi import get_wsgi_application application = get_wsgi_application(){{ tweet.full_name }} @{{ tweet.user_name }}
{% if tweet.is_retweet %}{{ tweet.retweeter_full_name }}
{% endif %}{{ tweet.text|safe }}
{% blocktrans with sometime=tweet.created_at|timesince %}{{ sometime }} ago{% endblocktrans %}