Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project

This commit is contained in:
Roberto Rosario
2015-03-30 02:17:40 -04:00
parent 3131751b25
commit 5dabc0a34a
290 changed files with 298 additions and 298 deletions

View File

@@ -1,5 +0,0 @@
{% if link.disabled %}
<a class="{{ link.class }}" style="cursor: default;" href="#">{% if link.famfam %}<span class="famfam inactive famfam-{{ link.famfam|default:'link' }}"></span>{% endif %}{{ link.text }}{% if link.error %} - {{ link.error }}{% endif %}{% if link.active and not hide_active_anchor %}<span class="famfam active famfam-resultset_previous"></span>{% endif %}</a>{% if horizontal %}{% if not forloop.last %} | {% endif %}{% endif %}
{% else %}
<a class="{{ link.class }}" href="{{ link.url }}">{% if link.famfam %}<span class="famfam active famfam-{{ link.famfam|default:'link' }}"></span>{% endif %}{{ link.text }}{% if link.error %} - {{ link.error }}{% endif %}{% if link.active and not hide_active_anchor %}<span class="famfam active famfam-resultset_previous"></span>{% endif %}</a>{% if horizontal %}{% if not forloop.last %} | {% endif %}{% endif %}
{% endif %}

View File

@@ -1,3 +0,0 @@
{% for link in object_navigation_links %}
{% include 'generic_subnavigation.html' %}
{% endfor %}

View File

@@ -1,20 +0,0 @@
{% load permission_tags %}
{% load navigation_tags %}
{% load acl_tags %}
{% with link.permissions as permissions %}
{% check_permissions request.user permissions %}
{% check_access permissions request.user object %}
{% if permission or access %}
{% if as_li %}
<li class="{% if forloop.first and li_class_first %}{{ li_class_first }} {% endif %}{% if link.active and li_class_active %}{{ li_class_active }}{% endif %}">
{% endif %}
{% include link_template|default:'generic_link_instance.html' %}
{% if as_li %}
</li>
{% endif %}
{% endif %}
{% endwith %}

View File

@@ -232,7 +232,7 @@ def get_object_navigation_links(parser, token):
return GetNavigationLinks(menu_name=menu_name, var_name=var_name)
@register.inclusion_tag('generic_navigation.html', takes_context=True)
@register.inclusion_tag('navigation/generic_navigation.html', takes_context=True)
def object_navigation_template(context):
new_context = copy.copy(context)
new_context.update({

View File

@@ -1 +0,0 @@
# Create your views here.