5 | */
6 | (function ($) {
7 | "use strict";
8 |
9 | $.extend($.fn.select2.defaults, {
10 | formatNoMatches: function () { return "Нічого не знайдено"; },
11 | formatInputTooShort: function (input, min) { var n = min - input.length, s = ["", "и", "ів"], p = [2,0,1,1,1,2]; return "Введіть буль ласка ще " + n + " символ" + s[ (n%100>4 && n%100<=20)? 2 : p[Math.min(n%10, 5)] ]; },
12 | formatInputTooLong: function (input, max) { var n = input.length - max, s = ["", "и", "ів"], p = [2,0,1,1,1,2]; return "Введіть буль ласка на " + n + " символ" + s[ (n%100>4 && n%100<=20)? 2 : p[Math.min(n%10, 5)] ] + " менше"; },
13 | formatSelectionTooBig: function (limit) {var s = ["", "и", "ів"], p = [2,0,1,1,1,2]; return "Ви можете вибрати лише " + limit + " елемент" + s[ (limit%100>4 && limit%100<=20)? 2 : p[Math.min(limit%10, 5)] ]; },
14 | formatLoadMore: function (pageNumber) { return "Завантаження даних..."; },
15 | formatSearching: function () { return "Пошук..."; }
16 | });
17 | })(jQuery);
18 |
--------------------------------------------------------------------------------
/xadmin/static/xadmin/vendor/select2/select2_locale_zh-CN.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Chinese translation
3 | */
4 | (function ($) {
5 | "use strict";
6 | $.extend($.fn.select2.defaults, {
7 | formatNoMatches: function () { return "没有找到匹配项"; },
8 | formatInputTooShort: function (input, min) { var n = min - input.length; return "请再输入" + n + "个字符";},
9 | formatInputTooLong: function (input, max) { var n = input.length - max; return "请删掉" + n + "个字符";},
10 | formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; },
11 | formatLoadMore: function (pageNumber) { return "加载结果中..."; },
12 | formatSearching: function () { return "搜索中..."; }
13 | });
14 | })(jQuery);
15 |
--------------------------------------------------------------------------------
/xadmin/static/xadmin/vendor/select2/select2_locale_zh-hans.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Chinese translation
3 | */
4 | (function ($) {
5 | "use strict";
6 | $.extend($.fn.select2.defaults, {
7 | formatNoMatches: function () { return "没有找到匹配项"; },
8 | formatInputTooShort: function (input, min) { var n = min - input.length; return "请再输入" + n + "个字符";},
9 | formatInputTooLong: function (input, max) { var n = input.length - max; return "请删掉" + n + "个字符";},
10 | formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; },
11 | formatLoadMore: function (pageNumber) { return "加载结果中..."; },
12 | formatSearching: function () { return "搜索中..."; }
13 | });
14 | })(jQuery);
15 |
--------------------------------------------------------------------------------
/xadmin/static/xadmin/vendor/select2/select2x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/static/xadmin/vendor/select2/select2x2.png
--------------------------------------------------------------------------------
/xadmin/static/xadmin/vendor/snapjs/snap.css:
--------------------------------------------------------------------------------
1 |
2 | .snap-content {
3 | position: absolute;
4 | top: 0;
5 | right: 0;
6 | bottom: 0;
7 | left: 0;
8 | width: auto;
9 | height: auto;
10 | z-index: 2;
11 | overflow: auto;
12 | -webkit-overflow-scrolling: touch;
13 | -webkit-transform: translate3d(0, 0, 0);
14 | -moz-transform: translate3d(0, 0, 0);
15 | -ms-transform: translate3d(0, 0, 0);
16 | -o-transform: translate3d(0, 0, 0);
17 | transform: translate3d(0, 0, 0);
18 | }
19 |
20 | .snap-drawers {
21 | position: absolute;
22 | top: 0;
23 | right: 0;
24 | bottom: 0;
25 | left: 0;
26 | width: auto;
27 | height: auto;
28 | }
29 |
30 | .snap-drawer {
31 | position: absolute;
32 | top: 0;
33 | right: auto;
34 | bottom: 0;
35 | left: auto;
36 | width: 265px;
37 | height: auto;
38 | overflow: auto;
39 | -webkit-overflow-scrolling: touch;
40 | -webkit-transition: width 0.3s ease;
41 | -moz-transition: width 0.3s ease;
42 | -ms-transition: width 0.3s ease;
43 | -o-transition: width 0.3s ease;
44 | transition: width 0.3s ease;
45 | }
46 |
47 | .snap-drawer-left {
48 | left: 0;
49 | z-index: 1;
50 | }
51 |
52 | .snap-drawer-right {
53 | right: 0;
54 | z-index: 1;
55 | }
56 |
57 | .snapjs-left .snap-drawer-right,
58 | .snapjs-right .snap-drawer-left {
59 | display: none;
60 | }
61 |
62 | .snapjs-expand-left .snap-drawer-left,
63 | .snapjs-expand-right .snap-drawer-right {
64 | width: 100%;
65 | }
66 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/404.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 | {% block title %}{% trans 'Page not found' %}{% endblock %}
5 |
6 | {% block content %}
7 |
8 | {% trans 'Page not found' %}
9 |
10 | {% trans "We're sorry, but the requested page could not be found." %}
11 |
12 | {% endblock %}
13 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/500.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 |
5 | {% block breadcrumbs %}
6 |
10 | {% endblock %}
11 |
12 | {% block title %}{% trans 'Server error (500)' %}{% endblock %}
13 |
14 | {% block content %}
15 | {% trans 'Server Error (500) ' %}
16 | {% trans "There's been an error. It's been reported to the site administrators via e-mail and should be fixed shortly. Thanks for your patience." %}
17 |
18 | {% endblock %}
19 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/auth/password_reset/complete.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% load crispy_forms_tags %}
5 |
6 | {% block body %}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
{% trans "Your password has been set. You may go ahead and log in now." %}
15 |
{% trans 'Log in' %}
16 |
17 |
18 |
19 |
20 | {% endblock %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/auth/password_reset/confirm.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% load crispy_forms_tags %}
5 |
6 | {% block body %}
7 |
8 |
9 |
10 | {% if validlink %}
11 |
12 |
13 |
14 |
22 | {% else %}
23 |
24 |
25 |
26 |
27 |
{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}
28 |
29 | {% endif %}
30 |
31 |
32 |
33 | {% endblock %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/auth/password_reset/done.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% load crispy_forms_tags %}
5 |
6 | {% block body %}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
{% trans "We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly." %}
15 |
16 |
17 |
18 |
19 | {% endblock %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/auth/password_reset/email.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}{% autoescape off %}
2 | {% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
3 |
4 | {% trans "Please go to the following page and choose a new password:" %}
5 | {% block reset_link %}
6 | {{ protocol }}://{{ domain }}{% url 'xadmin:xadmin_password_reset_confirm' uidb36=uid token=token %}
7 | {% endblock %}
8 | {% trans "Your username, in case you've forgotten:" %} {{ user.username }}
9 |
10 | {% trans "Thanks for using our site!" %}
11 |
12 | {% blocktrans %}The {{ site_name }} team{% endblocktrans %}
13 |
14 | {% endautoescape %}
15 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/auth/user/add_form.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/views/model_form.html" %}
2 | {% load i18n %}
3 |
4 | {% block form_top %}
5 | {% if not is_popup %}
6 | {% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}
7 | {% else %}
8 | {% trans "Enter a username and password." %}
9 | {% endif %}
10 | {% endblock %}
11 |
12 | {% block after_field_sets %}
13 |
14 | {% endblock %}
15 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/comm.top.setlang.html:
--------------------------------------------------------------------------------
1 | {% load i18n xadmin_tags %}
2 |
3 |
4 |
5 |
6 | {% get_language_info for LANGUAGE_CODE as l %}{{ l.name_local }}
7 |
8 |
13 |
19 |
20 |
32 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/comm.top.theme.html:
--------------------------------------------------------------------------------
1 | {% load i18n xadmin_tags %}
2 |
3 |
4 | {% trans "Themes" %}
5 |
10 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/comm.top.topnav.html:
--------------------------------------------------------------------------------
1 | {% load i18n xadmin_tags %}
2 | {% autoescape off %}
3 | {% if search_models %}
4 |
19 | {% endif %}
20 | {% if add_models %}
21 |
22 |
23 | {% trans "Add" %}
24 |
29 |
30 | {% endif %}
31 | {% endautoescape %}
32 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/modal_list.left_navbar.quickfilter.html:
--------------------------------------------------------------------------------
1 |
2 | {% for spec in cl.quickfilter.filter_specs %}{{ spec|safe }}{% endfor %}
3 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_form.before_fieldsets.wizard.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {{ wizard.management_form }}
3 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_form.submit_line.wizard.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
3 |
← {% trans "Prev step" %}
10 |
11 |
12 | {% if wizard.steps.last != wizard.steps.current %}
13 | {% trans "Next step" %} →
14 | {% else %}
15 | {% trans "Save" %}
16 | {% endif %}
17 |
18 |
19 |
20 | ← {% trans "Prev step" %}
27 |
28 | {% if wizard.steps.last != wizard.steps.current %}
29 | {% trans "Next step" %} →
30 | {% else %}
31 | {% trans "Save" %}
32 | {% endif %}
33 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.nav_form.search_form.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {% if cl.search_fields %}
3 |
13 | {% endif %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.nav_menu.filters.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
3 |
4 | {% trans "Filters" %}{% if cl.used_filter_num > 0 %} {{cl.used_filter_num}} {% endif %}
5 |
6 |
13 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.results_bottom.actions.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
25 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.results_top.charts.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/includes/box.html" %}
2 | {% load i18n xadmin_tags %}
3 | {% block box_title %}
4 | {% trans "Charts" %}
5 | {% endblock box_title %}
6 |
7 | {% block box_content_class %}nopadding{% endblock box_content_class %}
8 | {% block box_content %}
9 |
10 | {% for c in charts %}
11 | {{c.title}}
12 | {% endfor %}
13 |
14 |
15 | {% for c in charts %}
16 |
18 | {% endfor %}
19 |
20 | {% endblock box_content %}
21 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.results_top.date_hierarchy.html:
--------------------------------------------------------------------------------
1 | {% if show %}
2 |
10 | {% endif %}
11 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.top_toolbar.layouts.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.top_toolbar.refresh.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/blocks/model_list.top_toolbar.saveorder.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
7 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/edit_inline/blank.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/edit_inline/base.html" %}
2 | {% load i18n xadmin_tags crispy_forms_tags %}
3 |
4 | {% block box_content_class %}formset-content{% endblock box_content_class %}
5 | {% block box_content %}{% trans "Null" %}
{% endblock box_content %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/edit_inline/one.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/edit_inline/base.html" %}
2 | {% load i18n xadmin_tags crispy_forms_tags %}
3 |
4 | {% block box_title %}{{ formset.opts.verbose_name_plural|title }}{% endblock box_title %}
5 | {% block box_content %}
6 | {{ formset.formset.management_form }}
7 | {{ formset.formset.non_form_errors }}
8 | {% crispy formset.formset.0 formset.formset.helper %}
9 | {% endblock box_content %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/edit_inline/stacked.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/edit_inline/base.html" %}
2 | {% load i18n xadmin_tags crispy_forms_tags %}
3 |
4 | {% block box_content_class %}{{ block.super }} panel-group{% endblock box_content_class %}
5 |
6 | {% block formset_form %}
7 |
18 | {% endblock formset_form %}
19 |
20 | {% block formset_empty %}
21 |
32 | {% endblock formset_empty %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/edit_inline/tab.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/edit_inline/base.html" %}
2 | {% load i18n xadmin_tags crispy_forms_tags %}
3 |
4 | {% block box_content_class %}tabs{% endblock box_content_class %}
5 | {% block box_content_attrs %}id="{{ formset.css_id }}-tabs"{% endblock box_content_attrs %}
6 |
7 | {% block formset_content %}
8 |
16 |
17 | {% for fs in formset.formset %}
18 |
19 | {% if formset.formset.can_delete %}
20 |
21 | {% endif %}
22 | {% crispy fs formset.formset.helper %}
23 |
24 | {% endfor %}
25 |
26 | {% endblock formset_content %}
27 |
28 | {% block formset_empty %}
29 |
35 | {% endblock formset_empty %}
36 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/filters/char.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/filters/checklist.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/filters/fk_search.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
32 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/filters/list.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/filters/quickfilter.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
3 | {% for choice in choices %}
4 |
5 |
6 |
7 | {{ choice.display }}
8 |
9 |
10 | {% endfor %}
11 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/filters/rel.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/forms/transfer.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
3 |
4 |
{% trans "Available" %} {{verbose_name}}
5 |
6 |
7 |
8 |
9 |
10 | {{available_options|safe}}
11 |
12 |
{% trans "Choose all" %}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
29 |
30 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/includes/box.html:
--------------------------------------------------------------------------------
1 |
2 |
{% block box_title %}{% endblock box_title %}
3 |
4 | {% block box_content %}{% endblock box_content %}
5 |
6 | {% block box_extra %}{% endblock box_extra %}
7 |
8 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/includes/pagination.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %}
3 | {% if pagination_required %}
4 | {% for num in page_range %}
5 | {{ num }}
6 | {% endfor %}
7 | {% endif %}
8 | {% if show_all_url %}
9 | {% trans 'Show all' %}
10 | {% endif %}
11 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/includes/sitemenu_accordion.html:
--------------------------------------------------------------------------------
1 | {% extends 'xadmin/includes/sitemenu_default.html' %}
2 | {% load i18n xadmin_tags %}
3 |
4 |
5 | {% block navbar_md %}
6 |
33 | {% endblock navbar_md %}
34 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/includes/toggle_back.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/includes/toggle_menu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/layout/field_value.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/layout/field_value_td.html:
--------------------------------------------------------------------------------
1 |
2 | {{ result.val }}
3 |
4 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/layout/fieldset.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/includes/box.html" %}
2 | {% block box_class %}fieldset{% if fieldset.css_class %} {{ fieldset.css_class }}{% endif %}{% endblock box_class %}
3 | {% block box_attrs %}{% if fieldset.css_id %}id="{{ fieldset.css_id }}"{% endif %} {{ fieldset.flat_attrs|safe }}{% endblock box_attrs %}
4 | {% block box_title %}{{ legend|safe }}{% if fieldset.description %} {{fieldset.description}} {% endif %}{% endblock box_title %}
5 | {% block box_content %}
6 | {{ fields|safe }}
7 | {% endblock box_content %}
8 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/layout/input_group.html:
--------------------------------------------------------------------------------
1 | {% load crispy_forms_field %}
2 |
3 | {% if field.is_hidden %}
4 | {{ field }}
5 | {% else %}
6 |
28 | {% endif %}
29 |
30 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/layout/td-field.html:
--------------------------------------------------------------------------------
1 | {% load crispy_forms_field %}
2 |
3 | {% if field.is_hidden %}
4 | {{ field }}
5 | {% else %}
6 |
7 | {% if field.is_readonly %}
8 | {{ field.contents }}
9 | {% else %}
10 | {% crispy_field field %}
11 | {% if field.errors %}
12 | {% for error in field.errors %}
13 | {{ error }}
14 | {% endfor %}
15 | {% endif %}
16 | {% endif %}
17 |
18 | {% endif %}
19 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/app_index.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/index.html" %}
2 | {% load i18n %}
3 |
4 |
5 | {% if not is_popup %}
6 | {% block breadcrumbs %}
7 |
8 |
9 | {% trans 'Home' %}
10 |
11 | {% for app in app_list %}
12 |
13 | {% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
14 |
15 | {% endfor %}
16 |
17 | {% endblock %}
18 | {% endif %}
19 |
20 | {% block sidebar %}{% endblock %}
21 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/dashboard.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n xadmin_tags %}
3 |
4 |
5 | {% block bodyclass %}dashboard{% endblock %}
6 | {% block breadcrumbs %}{% endblock %}
7 |
8 | {% block nav_title %}
9 | {% if icon %} {%endif%} {{ title }}
10 | {% endblock %}
11 |
12 | {% block nav_toggles %}
13 | {% include "xadmin/includes/toggle_menu.html" %}
14 | {% if has_add_widget_permission %}
15 |
16 |
17 | {% endif %}
18 | {% endblock %}
19 |
20 | {% block nav_btns %}
21 | {% if has_add_widget_permission %}
22 |
23 | {% trans "Add Widget" %}
24 | {% endif %}
25 | {% endblock %}
26 |
27 | {% block content %}
28 |
29 | {% for c in columns %}
30 |
31 | {% for widget in c.1 %}
32 | {{ widget.widget|safe }}
33 | {% endfor %}
34 |
35 | {% endfor %}
36 |
37 |
38 | {% endblock %}
39 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/form.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 | {% load xadmin_tags %}
5 | {% load crispy_forms_tags %}
6 |
7 | {% block nav_title %}{% if model_icon %} {% endif %}
8 | {{ title }}{% endblock %}
9 |
10 | {% block content %}
11 |
35 | {% endblock %}
36 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/invalid_setup.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 |
5 | {% block breadcrumbs %}
6 |
10 | {% endblock %}
11 |
12 | {% block content %}
13 | {% trans "Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user." %}
14 | {% endblock %}
15 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/logged_out.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 |
5 | {% block extrastyle %}{{ block.super }}
6 |
9 | {% endblock %}
10 |
11 | {% block body %}
12 |
26 |
27 | {% endblock %}
28 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/model_dashboard.html:
--------------------------------------------------------------------------------
1 | {% extends 'xadmin/views/dashboard.html' %}
2 | {% load i18n xadmin_tags %}
3 |
4 |
5 | {% block breadcrumbs %}
6 |
15 | {% endblock %}
16 |
17 | {% block nav_toggles %}
18 | {% include "xadmin/includes/toggle_back.html" %}
19 | {% if has_change_permission %}
20 |
21 | {% endif %}
22 | {% endblock %}
23 |
24 | {% block nav_btns %}
25 | {% if has_change_permission %}
26 | {% trans "Edit" %}
27 | {% endif %}
28 | {% endblock %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/model_detail.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 | {% load xadmin_tags %}
5 | {% load crispy_forms_tags %}
6 |
7 | {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} detail{% endblock %}
8 |
9 | {% block nav_title %}
10 | {% if model_icon %} {% endif %}{{ object|truncatewords:"18" }}
11 | {% endblock %}
12 |
13 | {% block nav_toggles %}
14 | {% include "xadmin/includes/toggle_back.html" %}
15 | {% if has_change_permission %}
16 |
17 | {% endif %}
18 | {% if has_delete_permission %}
19 |
20 | {% endif %}
21 | {% endblock %}
22 |
23 | {% block nav_btns %}
24 | {% if has_change_permission %}
25 | {% trans "Edit" %}
26 | {% endif %}
27 | {% if has_delete_permission %}
28 | {% trans "Delete" %}
29 | {% endif %}
30 | {% endblock %}
31 |
32 | {% block content %}
33 | {% view_block 'before_fieldsets' %}
34 | {% crispy form %}
35 | {% view_block 'after_fieldsets' %}
36 | {% endblock %}
37 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/model_form.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 | {% load xadmin_tags %}
5 | {% load crispy_forms_tags %}
6 |
7 | {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
8 |
9 | {% block nav_title %}{% if model_icon %} {% endif %}
10 | {{ title }}{% endblock %}
11 |
12 | {% block content %}
13 |
32 | {% endblock %}
33 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/quick_detail.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {% load xadmin_tags %}
3 | {% load crispy_forms_tags %}
4 | {% crispy form %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/quick_form.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {% load xadmin_tags %}
3 | {% load crispy_forms_tags %}
4 |
7 | {{ media.css }}
8 | {{ media.js }}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/recover_form.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/views/model_form.html" %}
2 | {% load i18n %}
3 |
4 | {% load xadmin_tags %}
5 |
6 | {% block breadcrumbs %}
7 |
17 | {% endblock %}
18 |
19 | {% block content %}
20 | {% blocktrans %}Press the recover button below to recover this version of the object.{% endblocktrans %}
21 | {{block.super}}
22 | {% endblock %}
23 |
24 | {% block submit_buttons_bottom %}
25 |
26 | {% trans 'Recover' %}
27 |
28 | {% endblock %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/recover_list.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n %}
3 |
4 | {% load xadmin_tags %}
5 |
6 | {% block breadcrumbs %}
7 |
12 | {% endblock %}
13 |
14 | {% block nav_title %}
15 | {{title}}
16 | {% endblock %}
17 |
18 | {% block content %}
19 | {% blocktrans %}Choose a date from the list below to recover a deleted version of an object.{% endblocktrans %}
20 |
21 | {% if deleted %}
22 |
23 |
24 |
25 | {% trans 'Date/time' %}
26 | {{opts.verbose_name|capfirst}}
27 |
28 |
29 |
30 | {% for deletion in deleted %}
31 |
32 | {{deletion.revision.date_created}}
33 | {{deletion.object_repr}}
34 |
35 | {% endfor %}
36 |
37 |
38 | {% else %}
39 |
{% trans "There are no deleted objects to recover." %}
40 | {% endif %}
41 |
42 | {% endblock %}
43 |
44 |
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/views/revision_form.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/views/model_form.html" %}
2 | {% load i18n %}
3 |
4 | {% load xadmin_tags %}
5 |
6 | {% block breadcrumbs %}
7 |
18 | {% endblock %}
19 |
20 | {% block content %}
21 | {% blocktrans %}Press the revert button below to revert to this version of the object.{% endblocktrans %}
22 | {{block.super}}
23 | {% endblock %}
24 |
25 | {% block submit_buttons_bottom %}
26 |
27 | {% trans 'Revert this revision' %}
28 |
29 | {% endblock %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/widgets/addform.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/widgets/base.html" %}
2 | {% load i18n xadmin_tags %}
3 | {% load crispy_forms_tags %}
4 |
5 | {% block box_class %}{{block.super}} form-horizontal short_label fieldset{% endblock box_class %}
6 |
7 | {% block content %}
8 |
22 | {% endblock content %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/widgets/chart.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/widgets/base.html" %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% block content_css %}tabs{% endblock content_css %}
5 | {% block content %}
6 | {% if not widget.one_chart %}
7 |
8 | {% for c in charts %}
9 | {{c.title}}
10 | {% endfor %}
11 |
12 | {% endif %}
13 |
14 | {% for c in charts %}
15 |
17 | {% endfor %}
18 |
19 | {% endblock content %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/widgets/list.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/widgets/base.html" %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% block title %}
5 | {{ result_count }}
6 | {{ block.super }}
7 | {% endblock title %}
8 |
9 | {% block box_content_class %}{% if results %}nopadding x-scroll{% endif %}{% endblock box_content_class %}
10 |
11 | {% block content %}
12 | {% if results %}
13 |
14 |
15 |
16 | {% for o in result_headers %}
17 | {{ o.text }}
18 | {% endfor %}
19 |
20 |
21 |
22 | {% for row in results %}
23 | {% for o in row %}
24 |
25 | {{ o.label }}
26 |
27 | {% endfor %}
28 |
29 | {% endfor %}
30 |
31 |
32 | {% else %}
33 | {% trans "Empty list" %}
34 | {% endif %}
35 | {% endblock content %}
--------------------------------------------------------------------------------
/xadmin/templates/xadmin/widgets/qbutton.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/widgets/base.html" %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% block content %}
5 |
6 | {% for btn in btns %}
7 |
13 | {% endfor %}
14 |
15 | {% endblock content %}
16 |
--------------------------------------------------------------------------------
/xadmin/templatetags/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/templatetags/__init__.py
--------------------------------------------------------------------------------
/xadmin/templatetags/__pycache__/__init__.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/templatetags/__pycache__/__init__.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/templatetags/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/templatetags/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/templatetags/__pycache__/xadmin_tags.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/templatetags/__pycache__/xadmin_tags.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/templatetags/__pycache__/xadmin_tags.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/templatetags/__pycache__/xadmin_tags.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/__init__.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/__init__.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/base.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/base.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/base.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/base.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/dashboard.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/dashboard.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/dashboard.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/dashboard.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/delete.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/delete.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/delete.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/delete.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/detail.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/detail.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/detail.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/detail.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/edit.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/edit.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/edit.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/edit.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/form.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/form.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/form.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/form.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/list.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/list.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/list.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/list.cpython-36.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/website.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/website.cpython-35.pyc
--------------------------------------------------------------------------------
/xadmin/views/__pycache__/website.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guowengen/HRM/2aae163b77afa82a1bafbc78210526fbfc865da5/xadmin/views/__pycache__/website.cpython-36.pyc
--------------------------------------------------------------------------------