Commits

Ihar Niamilentsau  committed ada8a46

remove

  • Participants
  • Parent commits 14dbd31
  • Tags 24Oct2011

Comments (0)

Files changed (26)

File admin_tools/adminboard/templates/admin_tools/adminboard/css.html

+<link rel="stylesheet" href="{{ media_url }}/admin_tools/css/jquery/jquery-ui.css" type="text/css" media="screen, projection"/>
+<link rel="stylesheet" href="{{ media_url }}/admin_tools/css/dashboard.css" type="text/css" media="screen, projection"/>
+<!--[if lt IE 8]>
+<link rel="stylesheet" href="{{ media_url }}/admin_tools/css/dashboard-ie.css" type="text/css" media="screen, projection"/>
+<![endif]-->
+{% for css in css_files %}
+<link rel="stylesheet" href="{{ media_url }}/{{ css }}" type="text/css" media="screen, projection"/>{% endfor %}

File admin_tools/adminboard/templates/admin_tools/adminboard/dashboard.html

+{% load i18n admin_tools_dashboard_tags %}
+<script type="text/javascript" src="{{ media_url }}/admin_tools/js/utils.js"></script>
+
+<script type="text/javascript" charset="utf-8">
+    // Load js files syncronously and conditionally
+
+    var js_files = [
+        {
+            src : '{{ media_url }}/admin_tools/js/jquery/jquery.min.js',
+            test: function() { return typeof(jQuery) == 'undefined'; }
+        },
+        {
+            src : '{{ media_url }}/admin_tools/js/jquery/jquery-ui.min.js',
+            test: function() { return typeof(jQuery.ui) == 'undefined'; }
+        },
+        {
+            src : '{{ media_url }}/admin_tools/js/json.min.js',
+            test: function() { return typeof(JSON.stringify) == 'undefined'; }
+        },
+        {
+            src : '{{ media_url }}/admin_tools/js/jquery/jquery.cookie.min.js',
+            test: function() { return typeof(jQuery.cookie) == 'undefined'; }
+        },
+        {
+            src : '{{ media_url }}/admin_tools/js/jquery/jquery.dashboard.js',
+            test: function() { return true; }
+        },
+        {
+            src : '{{ media_url }}/admin_tools/js/dashboard.js',
+            test: function() { return true; }
+        }{% for js in dashboard.Media.js %},
+        {
+            src : '{{ media_url }}/{{ js }}',
+            test: function() { return true; }
+        }{% endfor %}
+    ];
+
+    loadScripts(js_files, function(){
+        jQuery(function($) {
+            init_dashboard(
+                '{{ dashboard.get_id }}',
+                {{ dashboard.columns }},
+                {% autoescape off %}{{ dashboard_preferences }}{% endautoescape %},
+                '{% url admin-tools-dashboard-set-preferences dashboard.get_id %}'
+            );
+        });
+    });
+</script>
+
+{% if dashboard.title %}
+<h1 class="dashboard-title">{{ dashboard.title }}</h1>
+{% endif %}
+
+<div id="dashboard-panel">
+    <h3><a href="#">{% trans "Modules" %}</a></h3>
+    {% if has_disabled_modules %}
+    <ul>
+        {% spaceless %}
+        {% for module in dashboard.children %}
+        {% if not module.enabled %}
+        <li><a href="#" rel="module_{{ module.id }}" class="addlink add-dashboard-module">{{ module.title }}</a></li>
+        {% endif %}
+        {% endfor %}
+        {% endspaceless %}
+    </ul>
+    {% endif %}
+</div>
+<div id="{{ dashboard.get_id }}" class="dashboard-container">
+    {% for module in dashboard.children %}
+{% admin_tools_render_dashboard_module module %}{% endfor %}
+</div>

File admin_tools/adminboard/templates/admin_tools/adminboard/dashboard.txt

+"""
+This file was generated with the customdashboard management command, it
+contains the two classes for the main dashboard and app index dashboard.
+You can customize these classes as you want.
+
+To activate your index dashboard add the following to your settings.py::
+    ADMIN_TOOLS_INDEX_DASHBOARD = '{{ project }}.{{ file }}.CustomIndexDashboard'
+
+And to activate the app index dashboard::
+    ADMIN_TOOLS_APP_INDEX_DASHBOARD = '{{ project }}.{{ file }}.CustomAppIndexDashboard'
+"""
+
+from django.utils.translation import ugettext_lazy as _
+from django.core.urlresolvers import reverse
+
+from admin_tools.dashboard import modules, Dashboard, AppIndexDashboard
+from admin_tools.utils import get_admin_site_name
+
+
+class CustomIndexDashboard(Dashboard):
+    """
+    Custom index dashboard for {{ project }}.
+    """
+    def init_with_context(self, context):
+        site_name = get_admin_site_name(context)
+        # append a link list module for "quick links"
+        self.children.append(modules.LinkList(
+            _('Quick links'),
+            layout='inline',
+            draggable=False,
+            deletable=False,
+            collapsible=False,
+            children=[
+                [_('Return to site'), '/'],
+                [_('Change password'),
+                 reverse('%s:password_change' % site_name)],
+                [_('Log out'), reverse('%s:logout' % site_name)],
+            ]
+        ))
+
+        # append an app list module for "Applications"
+        self.children.append(modules.AppList(
+            _('Applications'),
+            exclude=('django.contrib.*',),
+        ))
+
+        # append an app list module for "Administration"
+        self.children.append(modules.AppList(
+            _('Administration'),
+            models=('django.contrib.*',),
+        ))
+
+        # append a recent actions module
+        self.children.append(modules.RecentActions(_('Recent Actions'), 5))
+
+        # append a feed module
+        self.children.append(modules.Feed(
+            _('Latest Django News'),
+            feed_url='http://www.djangoproject.com/rss/weblog/',
+            limit=5
+        ))
+
+        # append another link list module for "support".
+        self.children.append(modules.LinkList(
+            _('Support'),
+            children=[
+                {
+                    'title': _('Django documentation'),
+                    'url': 'http://docs.djangoproject.com/',
+                    'external': True,
+                },
+                {
+                    'title': _('Django "django-users" mailing list'),
+                    'url': 'http://groups.google.com/group/django-users',
+                    'external': True,
+                },
+                {
+                    'title': _('Django irc channel'),
+                    'url': 'irc://irc.freenode.net/django',
+                    'external': True,
+                },
+            ]
+        ))
+
+
+class CustomAppIndexDashboard(AppIndexDashboard):
+    """
+    Custom app index dashboard for {{ project }}.
+    """
+
+    # we disable title because its redundant with the model list module
+    title = ''
+
+    def __init__(self, *args, **kwargs):
+        AppIndexDashboard.__init__(self, *args, **kwargs)
+
+        # append a model list module and a recent actions module
+        self.children += [
+            modules.ModelList(self.app_title, self.models),
+            modules.RecentActions(
+                _('Recent Actions'),
+                include_list=self.get_app_content_types(),
+                limit=5
+            )
+        ]
+
+    def init_with_context(self, context):
+        """
+        Use this method if you need to access the request context.
+        """
+        return super(CustomAppIndexDashboard, self).init_with_context(context)

File admin_tools/adminboard/templates/admin_tools/adminboard/dashboard_app_index.txt

+from django.utils.translation import ugettext_lazy as _
+from django.core.urlresolvers import reverse
+from admin_tools.dashboard import modules, AppIndexDashboard
+
+# create your custom modules here if you want, for example:
+#
+# class CustomDashboardModule(modules.DashboardModule):
+#     pass
+#
+{% if warning %}
+# WARNING: you've changed the default file name 'dashboard.py' to '{{ file }}.py',
+# so, you will need to tell django-admin-tools about this, just add this line
+# to your settings.py file:
+# ADMIN_TOOLS_APP_INDEX_DASHBOARD_MODULE = '{{ file }}'
+{% endif %}
+# Your {{ app }} dashboard class
+class {{ app|capfirst }}Dashboard(AppIndexDashboard):
+    """
+    Document your custom app index dashboard.
+    """
+    def __init__(self, app_title, models, *args, **kwargs):
+        super(CustomAppIndexDashboard, self).__init__(*args, **kwargs)
+
+        # append your modules here, example:
+        # self.append(modules.RecentActionsDashboardModule(
+        #     title=_('Recent Actions'),
+        #     limit=5,
+        #     include_list=models,
+        # ))

File admin_tools/adminboard/templates/admin_tools/adminboard/dummy.html

+{% extends template %}

File admin_tools/adminboard/templates/admin_tools/adminboard/module.html

+{% if not module.is_empty %}
+    <div id="module_{{ module.id }}" class="{{ module.render_css_classes }}">
+        {% if module.show_title %}<h2>{{ module.title }}</h2>{% endif %}
+        <div class="dashboard-module-content">
+            {% spaceless %}
+            {% if module.pre_content %}
+            <p>{{ module.pre_content }}</p>
+            {% endif %}
+            {% block module_content %}
+            {% for child in module.children %}
+            {{ child }}
+            {% endfor %}
+            {% endblock %}
+            {% if module.post_content %}
+            <p>{{ module.post_content }}</p>
+            {% endif %}
+            {% endspaceless %}
+        </div>
+    </div>
+{% endif %}

File admin_tools/adminboard/templates/admin_tools/adminboard/modules/app_list.html

+{% extends "admin_tools/adminboard/module.html" %}
+{% load i18n %}
+{% block module_content %}
+        {% for child in module.children %}
+        <h3><a href="{{ child.url }}">{{ child.title }}</a></h3>
+        <ul>
+            {% for model in child.models %}
+            {% spaceless %}
+            <li>
+                {% 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>
+                    {% if model.add_url %}<li><a class="addlink" href="{{ model.add_url }}"><span class="icon">{% trans "Add" %}</span></a></li>{% endif %}
+                    {% if model.change_url %}<li><a class="changelink" href="{{ model.change_url }}"><span class="icon">{% trans "Change" %}</span></a></li>{% endif %}
+                </ul>
+                {% endif %}
+            </li>
+            {% endspaceless %}
+            {% endfor %}
+        </ul>
+        {% endfor %}
+{% endblock %}

File admin_tools/adminboard/templates/admin_tools/adminboard/modules/feed.html

+{% extends "admin_tools/adminboard/module.html" %}
+{% block module_content %}
+<ul>
+    {% spaceless %}
+    {% for child in module.children %}
+    <li class="{% cycle 'odd' 'even' %}">
+        {% if child.date %}<span class="float-right">{{ child.date|date }}&nbsp;</span>{% endif %}
+        {% if child.warning %}<span class="warning">{{ child.title }}</span>{% else %}<a class="external-link" href="{{ child.url }}">{{ child.title }}</a>{% endif %}
+    </li>
+    {% endfor %}
+    {% endspaceless %}
+</ul>
+{% endblock %}

File admin_tools/adminboard/templates/admin_tools/adminboard/modules/group.html

+{% extends "admin_tools/adminboard/module.html" %}
+{% load admin_tools_dashboard_tags %}
+{% block module_content %}
+<div class="group group-{{ module.display }}">
+    {% spaceless %}
+    {% ifequal module.display "tabs" %}
+    <ul>
+    {% for sub_module in module.children %}
+        {% if not sub_module.is_empty %}<li class="group-tabs-link"><a href="#module_{{ sub_module.id }}">{{ sub_module.title }}</a></li>{% endif %}
+    {% endfor %}
+    </ul>
+    {% 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 %}
+    {% endfor %}
+    {% else %}
+    {% for sub_module in module.children %}
+        {% admin_tools_render_dashboard_module sub_module %}
+    {% endfor %}
+    {% endifequal %}
+    {% endspaceless %}
+</div>
+{% endblock %}

File admin_tools/adminboard/templates/admin_tools/adminboard/modules/model_list.html

+{% extends "admin_tools/adminboard/module.html" %}
+{% load i18n %}
+{% block module_content %}
+        <ul>
+            {% for child in module.children %}
+            {% spaceless %}
+            <li>
+                {% 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>
+                    {% if child.add_url %}<li><a class="addlink" href="{{ child.add_url }}"><span class="icon">{% trans "Add" %}</span></a></li>{% endif %}
+                    {% if child.change_url %}<li><a class="changelink" href="{{ child.change_url }}"><span class="icon">{% trans "Change" %}</span></a></li>{% endif %}
+                </ul>
+                {% endif %}
+            </li>
+            {% endspaceless %}
+            {% endfor %}
+        </ul>
+{% endblock %}

File admin_tools/adminboard/templates/admin_tools/adminboard/modules/recent_actions.html

+{% extends "admin_tools/adminboard/module.html" %}
+{% load i18n %}
+{% block module_content %}
+<ul>
+    {% spaceless %}
+    {% for child in module.children %}
+    <li class="{% cycle 'odd' 'even' %}">
+        <span class="float-right">{{ child.action_time|date }}</span>
+        {% if child.is_deletion %}
+        <span class="deletelink">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</span>
+        {% else %}
+        <a href="{{ admin_url }}{{ child.get_admin_url }}" class="{% if child.is_addition %} addlink{% endif %}{% if child.is_change %} changelink{% endif %}">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</a>
+        {% endif %}
+    </li>
+    {% endfor %}
+    {% endspaceless %}
+</ul>
+{% endblock %}

File admin_tools/adminboard/templates/admin_tools/adminboard/preferences_form.html

+{% extends "admin/base_site.html" %}
+
+{% block content %}
+
+<form action="." method="POST">
+    {{ form.as_p }}
+    <p><input type="submit" value="Save" /></p>
+</form>
+
+{% endblock %}

File admin_tools/adminboard/templates/admin_tools/dashboard/css.html

-<link rel="stylesheet" href="{{ media_url }}/admin_tools/css/jquery/jquery-ui.css" type="text/css" media="screen, projection"/>
-<link rel="stylesheet" href="{{ media_url }}/admin_tools/css/dashboard.css" type="text/css" media="screen, projection"/>
-<!--[if lt IE 8]>
-<link rel="stylesheet" href="{{ media_url }}/admin_tools/css/dashboard-ie.css" type="text/css" media="screen, projection"/>
-<![endif]-->
-{% for css in css_files %}
-<link rel="stylesheet" href="{{ media_url }}/{{ css }}" type="text/css" media="screen, projection"/>{% endfor %}

File admin_tools/adminboard/templates/admin_tools/dashboard/dashboard.html

-{% load i18n admin_tools_dashboard_tags %}
-<script type="text/javascript" src="{{ media_url }}/admin_tools/js/utils.js"></script>
-
-<script type="text/javascript" charset="utf-8">
-    // Load js files syncronously and conditionally
-
-    var js_files = [
-        {
-            src : '{{ media_url }}/admin_tools/js/jquery/jquery.min.js',
-            test: function() { return typeof(jQuery) == 'undefined'; }
-        },
-        {
-            src : '{{ media_url }}/admin_tools/js/jquery/jquery-ui.min.js',
-            test: function() { return typeof(jQuery.ui) == 'undefined'; }
-        },
-        {
-            src : '{{ media_url }}/admin_tools/js/json.min.js',
-            test: function() { return typeof(JSON.stringify) == 'undefined'; }
-        },
-        {
-            src : '{{ media_url }}/admin_tools/js/jquery/jquery.cookie.min.js',
-            test: function() { return typeof(jQuery.cookie) == 'undefined'; }
-        },
-        {
-            src : '{{ media_url }}/admin_tools/js/jquery/jquery.dashboard.js',
-            test: function() { return true; }
-        },
-        {
-            src : '{{ media_url }}/admin_tools/js/dashboard.js',
-            test: function() { return true; }
-        }{% for js in dashboard.Media.js %},
-        {
-            src : '{{ media_url }}/{{ js }}',
-            test: function() { return true; }
-        }{% endfor %}
-    ];
-
-    loadScripts(js_files, function(){
-        jQuery(function($) {
-            init_dashboard(
-                '{{ dashboard.get_id }}',
-                {{ dashboard.columns }},
-                {% autoescape off %}{{ dashboard_preferences }}{% endautoescape %},
-                '{% url admin-tools-dashboard-set-preferences dashboard.get_id %}'
-            );
-        });
-    });
-</script>
-
-{% if dashboard.title %}
-<h1 class="dashboard-title">{{ dashboard.title }}</h1>
-{% endif %}
-
-<div id="dashboard-panel">
-    <h3><a href="#">{% trans "Modules" %}</a></h3>
-    {% if has_disabled_modules %}
-    <ul>
-        {% spaceless %}
-        {% for module in dashboard.children %}
-        {% if not module.enabled %}
-        <li><a href="#" rel="module_{{ module.id }}" class="addlink add-dashboard-module">{{ module.title }}</a></li>
-        {% endif %}
-        {% endfor %}
-        {% endspaceless %}
-    </ul>
-    {% endif %}
-</div>
-<div id="{{ dashboard.get_id }}" class="dashboard-container">
-    {% for module in dashboard.children %}
-{% admin_tools_render_dashboard_module module %}{% endfor %}
-</div>

File admin_tools/adminboard/templates/admin_tools/dashboard/dashboard.txt

-"""
-This file was generated with the customdashboard management command, it
-contains the two classes for the main dashboard and app index dashboard.
-You can customize these classes as you want.
-
-To activate your index dashboard add the following to your settings.py::
-    ADMIN_TOOLS_INDEX_DASHBOARD = '{{ project }}.{{ file }}.CustomIndexDashboard'
-
-And to activate the app index dashboard::
-    ADMIN_TOOLS_APP_INDEX_DASHBOARD = '{{ project }}.{{ file }}.CustomAppIndexDashboard'
-"""
-
-from django.utils.translation import ugettext_lazy as _
-from django.core.urlresolvers import reverse
-
-from admin_tools.dashboard import modules, Dashboard, AppIndexDashboard
-from admin_tools.utils import get_admin_site_name
-
-
-class CustomIndexDashboard(Dashboard):
-    """
-    Custom index dashboard for {{ project }}.
-    """
-    def init_with_context(self, context):
-        site_name = get_admin_site_name(context)
-        # append a link list module for "quick links"
-        self.children.append(modules.LinkList(
-            _('Quick links'),
-            layout='inline',
-            draggable=False,
-            deletable=False,
-            collapsible=False,
-            children=[
-                [_('Return to site'), '/'],
-                [_('Change password'),
-                 reverse('%s:password_change' % site_name)],
-                [_('Log out'), reverse('%s:logout' % site_name)],
-            ]
-        ))
-
-        # append an app list module for "Applications"
-        self.children.append(modules.AppList(
-            _('Applications'),
-            exclude=('django.contrib.*',),
-        ))
-
-        # append an app list module for "Administration"
-        self.children.append(modules.AppList(
-            _('Administration'),
-            models=('django.contrib.*',),
-        ))
-
-        # append a recent actions module
-        self.children.append(modules.RecentActions(_('Recent Actions'), 5))
-
-        # append a feed module
-        self.children.append(modules.Feed(
-            _('Latest Django News'),
-            feed_url='http://www.djangoproject.com/rss/weblog/',
-            limit=5
-        ))
-
-        # append another link list module for "support".
-        self.children.append(modules.LinkList(
-            _('Support'),
-            children=[
-                {
-                    'title': _('Django documentation'),
-                    'url': 'http://docs.djangoproject.com/',
-                    'external': True,
-                },
-                {
-                    'title': _('Django "django-users" mailing list'),
-                    'url': 'http://groups.google.com/group/django-users',
-                    'external': True,
-                },
-                {
-                    'title': _('Django irc channel'),
-                    'url': 'irc://irc.freenode.net/django',
-                    'external': True,
-                },
-            ]
-        ))
-
-
-class CustomAppIndexDashboard(AppIndexDashboard):
-    """
-    Custom app index dashboard for {{ project }}.
-    """
-
-    # we disable title because its redundant with the model list module
-    title = ''
-
-    def __init__(self, *args, **kwargs):
-        AppIndexDashboard.__init__(self, *args, **kwargs)
-
-        # append a model list module and a recent actions module
-        self.children += [
-            modules.ModelList(self.app_title, self.models),
-            modules.RecentActions(
-                _('Recent Actions'),
-                include_list=self.get_app_content_types(),
-                limit=5
-            )
-        ]
-
-    def init_with_context(self, context):
-        """
-        Use this method if you need to access the request context.
-        """
-        return super(CustomAppIndexDashboard, self).init_with_context(context)

File admin_tools/adminboard/templates/admin_tools/dashboard/dashboard_app_index.txt

-from django.utils.translation import ugettext_lazy as _
-from django.core.urlresolvers import reverse
-from admin_tools.dashboard import modules, AppIndexDashboard
-
-# create your custom modules here if you want, for example:
-#
-# class CustomDashboardModule(modules.DashboardModule):
-#     pass
-#
-{% if warning %}
-# WARNING: you've changed the default file name 'dashboard.py' to '{{ file }}.py',
-# so, you will need to tell django-admin-tools about this, just add this line
-# to your settings.py file:
-# ADMIN_TOOLS_APP_INDEX_DASHBOARD_MODULE = '{{ file }}'
-{% endif %}
-# Your {{ app }} dashboard class
-class {{ app|capfirst }}Dashboard(AppIndexDashboard):
-    """
-    Document your custom app index dashboard.
-    """
-    def __init__(self, app_title, models, *args, **kwargs):
-        super(CustomAppIndexDashboard, self).__init__(*args, **kwargs)
-
-        # append your modules here, example:
-        # self.append(modules.RecentActionsDashboardModule(
-        #     title=_('Recent Actions'),
-        #     limit=5,
-        #     include_list=models,
-        # ))

File admin_tools/adminboard/templates/admin_tools/dashboard/dummy.html

-{% extends template %}

File admin_tools/adminboard/templates/admin_tools/dashboard/module.html

-{% if not module.is_empty %}
-    <div id="module_{{ module.id }}" class="{{ module.render_css_classes }}">
-        {% if module.show_title %}<h2>{{ module.title }}</h2>{% endif %}
-        <div class="dashboard-module-content">
-            {% spaceless %}
-            {% if module.pre_content %}
-            <p>{{ module.pre_content }}</p>
-            {% endif %}
-            {% block module_content %}
-            {% for child in module.children %}
-            {{ child }}
-            {% endfor %}
-            {% endblock %}
-            {% if module.post_content %}
-            <p>{{ module.post_content }}</p>
-            {% endif %}
-            {% endspaceless %}
-        </div>
-    </div>
-{% endif %}

File admin_tools/adminboard/templates/admin_tools/dashboard/modules/app_list.html

-{% extends "admin_tools/adminboard/module.html" %}
-{% load i18n %}
-{% block module_content %}
-        {% for child in module.children %}
-        <h3><a href="{{ child.url }}">{{ child.title }}</a></h3>
-        <ul>
-            {% for model in child.models %}
-            {% spaceless %}
-            <li>
-                {% 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>
-                    {% if model.add_url %}<li><a class="addlink" href="{{ model.add_url }}"><span class="icon">{% trans "Add" %}</span></a></li>{% endif %}
-                    {% if model.change_url %}<li><a class="changelink" href="{{ model.change_url }}"><span class="icon">{% trans "Change" %}</span></a></li>{% endif %}
-                </ul>
-                {% endif %}
-            </li>
-            {% endspaceless %}
-            {% endfor %}
-        </ul>
-        {% endfor %}
-{% endblock %}

File admin_tools/adminboard/templates/admin_tools/dashboard/modules/feed.html

-{% extends "admin_tools/adminboard/module.html" %}
-{% block module_content %}
-<ul>
-    {% spaceless %}
-    {% for child in module.children %}
-    <li class="{% cycle 'odd' 'even' %}">
-        {% if child.date %}<span class="float-right">{{ child.date|date }}&nbsp;</span>{% endif %}
-        {% if child.warning %}<span class="warning">{{ child.title }}</span>{% else %}<a class="external-link" href="{{ child.url }}">{{ child.title }}</a>{% endif %}
-    </li>
-    {% endfor %}
-    {% endspaceless %}
-</ul>
-{% endblock %}

File admin_tools/adminboard/templates/admin_tools/dashboard/modules/group.html

-{% extends "admin_tools/adminboard/module.html" %}
-{% load admin_tools_dashboard_tags %}
-{% block module_content %}
-<div class="group group-{{ module.display }}">
-    {% spaceless %}
-    {% ifequal module.display "tabs" %}
-    <ul>
-    {% for sub_module in module.children %}
-        {% if not sub_module.is_empty %}<li class="group-tabs-link"><a href="#module_{{ sub_module.id }}">{{ sub_module.title }}</a></li>{% endif %}
-    {% endfor %}
-    </ul>
-    {% 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 %}
-    {% endfor %}
-    {% else %}
-    {% for sub_module in module.children %}
-        {% admin_tools_render_dashboard_module sub_module %}
-    {% endfor %}
-    {% endifequal %}
-    {% endspaceless %}
-</div>
-{% endblock %}

File admin_tools/adminboard/templates/admin_tools/dashboard/modules/model_list.html

-{% extends "admin_tools/adminboard/module.html" %}
-{% load i18n %}
-{% block module_content %}
-        <ul>
-            {% for child in module.children %}
-            {% spaceless %}
-            <li>
-                {% 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>
-                    {% if child.add_url %}<li><a class="addlink" href="{{ child.add_url }}"><span class="icon">{% trans "Add" %}</span></a></li>{% endif %}
-                    {% if child.change_url %}<li><a class="changelink" href="{{ child.change_url }}"><span class="icon">{% trans "Change" %}</span></a></li>{% endif %}
-                </ul>
-                {% endif %}
-            </li>
-            {% endspaceless %}
-            {% endfor %}
-        </ul>
-{% endblock %}

File admin_tools/adminboard/templates/admin_tools/dashboard/modules/recent_actions.html

-{% extends "admin_tools/adminboard/module.html" %}
-{% load i18n %}
-{% block module_content %}
-<ul>
-    {% spaceless %}
-    {% for child in module.children %}
-    <li class="{% cycle 'odd' 'even' %}">
-        <span class="float-right">{{ child.action_time|date }}</span>
-        {% if child.is_deletion %}
-        <span class="deletelink">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</span>
-        {% else %}
-        <a href="{{ admin_url }}{{ child.get_admin_url }}" class="{% if child.is_addition %} addlink{% endif %}{% if child.is_change %} changelink{% endif %}">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</a>
-        {% endif %}
-    </li>
-    {% endfor %}
-    {% endspaceless %}
-</ul>
-{% endblock %}

File admin_tools/adminboard/templates/admin_tools/dashboard/preferences_form.html

-{% extends "admin/base_site.html" %}
-
-{% block content %}
-
-<form action="." method="POST">
-    {{ form.as_p }}
-    <p><input type="submit" value="Save" /></p>
-</form>
-
-{% endblock %}