summaryrefslogtreecommitdiff
path: root/app/lib/grappelli/templates/admin_tools/dashboard/modules
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:37:52 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:37:52 -0400
commit52d5613672758ac6c8ebffc7f33d94d47bde6180 (patch)
tree0b6e1fbc4ed013b2ba701dedeb39be9781ff8204 /app/lib/grappelli/templates/admin_tools/dashboard/modules
parentefb623af0bcb47d510501c282e1326b11343a29c (diff)
moved outside dependencies to virtualenv and dumped some unused apps out of lib
Diffstat (limited to 'app/lib/grappelli/templates/admin_tools/dashboard/modules')
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html58
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/column.html9
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html21
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html33
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html21
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html26
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html10
-rw-r--r--app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html26
8 files changed, 0 insertions, 204 deletions
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html
deleted file mode 100644
index 8cbd4a7..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html
+++ /dev/null
@@ -1,58 +0,0 @@
-{% extends "admin_tools/dashboard/module.html" %}
-{% load i18n %}
-{% block module_content %}
- <div class="module {% for item in module.css_classes %}{{ item }} {% endfor %}"{% if index %} id="module_{{ index }}{% if subindex %}_{{ subindex }}{% endif %}"{% endif %}>
-
- {% if module.title %}
- {% if subindex %}
- <h3>{{ module.title }}</h3>
- {% else %}
- <h2>{{ module.title }}</h2>
- {% endif %}
- {% endif %}
-
-{% spaceless %}
- {% if module.pre_content %}
- <p>{{ module.pre_content }}</p>
- {% endif %}
- {% for child in module.children %}
-
- <div class="module">
- {% if subindex %}
- <h4><a href="{{ child.url }}">{{ child.title }}</a></h4>
- {% else %}
- <h3><a href="{{ child.url }}">{{ child.title }}</a></h3>
- {% endif %}
-
- {% for model in child.models %}
- <div class="row">
- {% if model.change_url %}
- <a href="{{ model.change_url }}">{{ model.title }}</a>
- {% else %}
- {{ model.title }}
- {% endif %}
- {% if model.add_url or model.change_url %}
- <ul class="actions">
- {% if model.add_url %}
- <li class="add-link">
- <a href="{{ model.add_url }}">{% trans "Add" %}</a>
- </li>
- {% endif %}
- {% if model.change_url %}
- <li class="change-link">
- <a href="{{ model.change_url }}">{% trans "Change" %}</a>
- </li>
- {% endif %}
- </ul>
- {% endif %}
- </div>
- {% endfor %}
-
- </div>
- {% endfor %}
- {% if module.post_content %}
- <p>{{ module.post_content }}</p>
- {% endif %}
-{% endspaceless %}
-</div>
-{% endblock %}
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/column.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/column.html
deleted file mode 100644
index 8df8268..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/column.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% extends "dashboard/module.html" %}
-{% load i18n admin_tools_dashboard_tags %}
-{% block module_content %}
- <div class="column {{ module.className }}">
- {% for child in module.children %}
- {% admin_tools_render_dashboard_module child forloop.counter %}
- {% endfor %}
- </div>
-{% endblock %} \ No newline at end of file
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html
deleted file mode 100644
index 3deec4e..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "admin_tools/dashboard/module.html" %}
-{% block module_content %}
-{% if subindex %}
- <div class="module feed {% for item in module.css_classes %}{{ item }} {% endfor %}">
- <h3>{{ module.title }}</h2>
-{% else %}
- <div class="module feed {% for item in module.css_classes %}{{ item }} {% endfor %}">
- <h2>{{ module.title }}</h2>
-{% endif %}
- <ul>
- {% spaceless %}
- {% for child in module.children %}
- <li>
- {% if child.date %}<span class="date mini quiet">{{ child.date|date }}&nbsp;</span>{% endif %}
- {% if child.warning %}<span class="warning">{{ child.title }}</span>{% else %}<a class="external" href="{{ child.url }}">{{ child.title }}</a>{% endif %}
- </li>
- {% endfor %}
- {% endspaceless %}
- </ul>
-</div>
-{% endblock %}
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html
deleted file mode 100644
index 144c82f..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/group.html
+++ /dev/null
@@ -1,33 +0,0 @@
-{% extends "admin_tools/dashboard/module.html" %}
-{% load admin_tools_dashboard_tags %}
-{% block module_content %}
-<div class="group group-{{ module.display }} {% for item in module.css_classes %}{{ item }} {% endfor %}">
- {% spaceless %}
- {% if module.title %}
- <h2>{{ module.title }}</h2>
- {% endif %}
- {% ifequal module.display "tabs" %}
- <div class="group-{{ module.display }}-container">
- <ul>
- {% for sub_module in module.children %}
- {% if not sub_module.is_empty %}<li class="group-tabs-link"><a href="#module_{{ index }}_{{ forloop.counter }}">{{ sub_module.title }}</a></li>{% endif %}
- {% endfor %}
- </ul>
- {% for sub_module in module.children %}
- {% admin_tools_render_dashboard_module sub_module index forloop.counter %}
- {% endfor %}
- </div>
- {% endifequal %}
- {% ifequal module.display "accordion" %}
- {% for sub_module in module.children %}
- {% if not sub_module.is_empty %}<span class="group-accordion-header"><a href="#">{{ sub_module.title }}</a></span>{% endif %}
- {% admin_tools_render_dashboard_module sub_module index forloop.counter %}
- {% endfor %}
- {% else %}
-
- {% endifequal %}
-
-
- {% endspaceless %}
-</div>
-{% endblock %}
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html
deleted file mode 100644
index 97b357e..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "admin_tools/dashboard/module.html" %}
-{% block module_content %}
- <div class="module link-list {% for item in module.css_classes %}{{ item }} {% endfor %}">
-{% if module.title %}
- {% if subindex %}
- <h3>{{ module.title }}</h3>
- {% else %}
- <h2>{{ module.title }}</h2>
- {% endif %}
-{% endif %}
- <ul>
- {% spaceless %}
- {% for child in module.children %}
- <li>
- <a class="{% if child.external %}external{% else %}internal{% endif %}" href="{{ child.url }}" {% if child.description %} title="{{ child.description }}"{% endif %}>{{ child.title }}</a>
- </li>
- {% endfor %}
- {% endspaceless %}
- </ul>
- </div>
-{% endblock %}
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html
deleted file mode 100644
index 7431f8f..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{% extends "admin_tools/dashboard/module.html" %}
-{% load i18n %}
-{% block module_content %}
- <div class="module {% for item in module.css_classes %}{{ item }} {% endfor %}">
- {% if module.title %}
- {% if subindex %}
- <h3>{{ module.title }}</h3>
- {% else %}
- <h2>{{ module.title }}</h2>
- {% endif %}
- {% endif %}
-
- {% for child in module.children %}
- <div class="row">
- {% if child.change_url %}<a href="{{ child.change_url }}">{{ child.title }}</a>{% else %}{{ child.title }}{% endif %}
-
- {% if child.add_url or child.change_url %}
- <ul class="actions">
- {% if child.add_url %}<li class="add-link"><a href="{{ child.add_url }}">{% trans "Add" %}</a></li>{% endif %}
- {% if child.change_url %}<li class="change-link"><a href="{{ child.change_url }}">{% trans "Change" %}</a></li>{% endif %}
- </ul>
- {% endif %}
- </div>
- {% endfor %}
- </div>
-{% endblock %}
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html
deleted file mode 100644
index 8e0f256..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends "dashboard/module.html" %}
-{% load i18n admin_tools_dashboard_tags %}
-{% block module_content %}
- <div class="group collapsible open">
- <h2 class="collapsible-handler">{{ module.title }}</h2>
- {% for sub_module in module.children %}
- {% admin_tools_render_dashboard_module sub_module forloop.counter %}
- {% endfor %}
- </div>
-{% endblock %}
diff --git a/app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html b/app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html
deleted file mode 100644
index 0b7bb9e..0000000
--- a/app/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{% extends "admin_tools/dashboard/module.html" %}
-{% load i18n %}
-{% block module_content %}
-{% if subindex %}
- <div class="module actions {% for item in module.css_classes %}{{ item }} {% endfor %}">
- <h3>{% trans 'Recent Actions' %}</h2>
- <div class="module">
- <h4>{% trans 'My Actions' %}</h3>
-{% else %}
- <div class="module actions {% for item in module.css_classes %}{{ item }} {% endfor %}">
- <h2>{% trans 'Recent Actions' %}</h2>
- <div class="module">
- <h3>{% trans 'My Actions' %}</h3>
-{% endif %}
- {% if module.children %}
- <ul>
- {% for entry in module.children %}
- <li class="{% if entry.is_addition %}add-link{% endif %}{% if entry.is_change %}change-link{% endif %}{% if entry.is_deletion %}delete-link{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span></li>
- {% endfor %}
- </ul>
- {% else %}
- <p>{% trans 'None Available' %}</p>
- {% endif %}
- </div>
-</div>
-{% endblock %}