├── .idea
├── Microgrid.iml
├── misc.xml
├── modules.xml
├── vcs.xml
└── workspace.xml
├── Microgrid
├── __init__.py
├── __pycache__
│ ├── __init__.cpython-36.pyc
│ ├── settings.cpython-36.pyc
│ ├── urls.cpython-36.pyc
│ └── wsgi.cpython-36.pyc
├── settings.py
├── urls.py
└── wsgi.py
├── README.md
├── apps
├── __init__.py
├── microgrids
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── admin.cpython-36.pyc
│ │ ├── adminx.cpython-36.pyc
│ │ ├── models.cpython-36.pyc
│ │ └── views.cpython-36.pyc
│ ├── admin.py
│ ├── adminx.py
│ ├── apps.py
│ ├── migrations
│ │ ├── 0001_initial.py
│ │ ├── 0002_auto_20180620_1136.py
│ │ ├── 0003_auto_20180620_1901.py
│ │ ├── __init__.py
│ │ └── __pycache__
│ │ │ ├── 0001_initial.cpython-36.pyc
│ │ │ ├── 0002_auto_20180419_2034.cpython-36.pyc
│ │ │ ├── 0002_auto_20180423_2318.cpython-36.pyc
│ │ │ ├── 0002_switchgroup.cpython-36.pyc
│ │ │ ├── 0003_auto_20180419_2035.cpython-36.pyc
│ │ │ ├── 0003_auto_20180422_2124.cpython-36.pyc
│ │ │ ├── 0003_auto_20180423_2327.cpython-36.pyc
│ │ │ ├── 0004_auto_20180421_1640.cpython-36.pyc
│ │ │ ├── 0004_auto_20180422_2215.cpython-36.pyc
│ │ │ ├── 0004_auto_20180423_2334.cpython-36.pyc
│ │ │ ├── 0005_auto_20180422_1706.cpython-36.pyc
│ │ │ ├── 0005_auto_20180422_2219.cpython-36.pyc
│ │ │ ├── 0005_auto_20180423_2339.cpython-36.pyc
│ │ │ ├── 0006_auto_20180422_1858.cpython-36.pyc
│ │ │ ├── 0006_auto_20180422_2311.cpython-36.pyc
│ │ │ ├── 0006_auto_20180424_1002.cpython-36.pyc
│ │ │ ├── 0007_auto_20180422_1912.cpython-36.pyc
│ │ │ ├── 0007_auto_20180422_2327.cpython-36.pyc
│ │ │ ├── 0007_auto_20180424_1033.cpython-36.pyc
│ │ │ ├── 0008_auto_20180422_1920.cpython-36.pyc
│ │ │ ├── 0008_auto_20180422_2346.cpython-36.pyc
│ │ │ ├── 0008_auto_20180424_1557.cpython-36.pyc
│ │ │ ├── 0009_auto_20180422_2008.cpython-36.pyc
│ │ │ ├── 0009_auto_20180423_1101.cpython-36.pyc
│ │ │ ├── 0009_auto_20180424_1603.cpython-36.pyc
│ │ │ ├── 0010_auto_20180423_1333.cpython-36.pyc
│ │ │ ├── 0010_auto_20180424_1606.cpython-36.pyc
│ │ │ ├── 0011_auto_20180423_1340.cpython-36.pyc
│ │ │ ├── 0011_auto_20180424_1612.cpython-36.pyc
│ │ │ ├── 0012_webmicrogrid.cpython-36.pyc
│ │ │ └── __init__.cpython-36.pyc
│ ├── models.py
│ ├── tests.py
│ └── views.py
└── users
│ ├── __init__.py
│ ├── __pycache__
│ ├── __init__.cpython-36.pyc
│ ├── admin.cpython-36.pyc
│ ├── adminx.cpython-36.pyc
│ ├── forms.cpython-36.pyc
│ ├── models.cpython-36.pyc
│ └── views.cpython-36.pyc
│ ├── admin.py
│ ├── adminx.py
│ ├── apps.py
│ ├── forms.py
│ ├── migrations
│ ├── 0001_initial.py
│ ├── __init__.py
│ └── __pycache__
│ │ ├── 0001_initial.cpython-36.pyc
│ │ └── __init__.cpython-36.pyc
│ ├── models.py
│ ├── tests.py
│ └── views.py
├── extra_apps
└── xadmin
│ ├── __init__.py
│ ├── __pycache__
│ ├── __init__.cpython-36.pyc
│ ├── adminx.cpython-36.pyc
│ ├── apps.cpython-36.pyc
│ ├── filters.cpython-36.pyc
│ ├── forms.cpython-36.pyc
│ ├── layout.cpython-36.pyc
│ ├── models.cpython-36.pyc
│ ├── sites.cpython-36.pyc
│ ├── util.cpython-36.pyc
│ ├── vendors.cpython-36.pyc
│ └── widgets.cpython-36.pyc
│ ├── adminx.py
│ ├── apps.py
│ ├── filters.py
│ ├── forms.py
│ ├── layout.py
│ ├── locale
│ ├── de_DE
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── en
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── es_MX
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── eu
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── id_ID
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── ja
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── lt
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── nl_NL
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── pl
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── pt_BR
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ ├── ru_RU
│ │ └── LC_MESSAGES
│ │ │ ├── django.mo
│ │ │ ├── django.po
│ │ │ ├── djangojs.mo
│ │ │ └── djangojs.po
│ └── zh_Hans
│ │ └── LC_MESSAGES
│ │ ├── django.mo
│ │ ├── django.po
│ │ ├── djangojs.mo
│ │ └── djangojs.po
│ ├── migrations
│ ├── 0001_initial.py
│ ├── __init__.py
│ └── __pycache__
│ │ ├── 0001_initial.cpython-36.pyc
│ │ └── __init__.cpython-36.pyc
│ ├── models.py
│ ├── plugins
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── actions.cpython-36.pyc
│ │ ├── aggregation.cpython-36.pyc
│ │ ├── ajax.cpython-36.pyc
│ │ ├── auth.cpython-36.pyc
│ │ ├── bookmark.cpython-36.pyc
│ │ ├── chart.cpython-36.pyc
│ │ ├── details.cpython-36.pyc
│ │ ├── editable.cpython-36.pyc
│ │ ├── export.cpython-36.pyc
│ │ ├── filters.cpython-36.pyc
│ │ ├── images.cpython-36.pyc
│ │ ├── importexport.cpython-36.pyc
│ │ ├── inline.cpython-36.pyc
│ │ ├── language.cpython-36.pyc
│ │ ├── layout.cpython-36.pyc
│ │ ├── mobile.cpython-36.pyc
│ │ ├── multiselect.cpython-36.pyc
│ │ ├── passwords.cpython-36.pyc
│ │ ├── portal.cpython-36.pyc
│ │ ├── quickfilter.cpython-36.pyc
│ │ ├── quickform.cpython-36.pyc
│ │ ├── refresh.cpython-36.pyc
│ │ ├── relate.cpython-36.pyc
│ │ ├── relfield.cpython-36.pyc
│ │ ├── sitemenu.cpython-36.pyc
│ │ ├── sortablelist.cpython-36.pyc
│ │ ├── themes.cpython-36.pyc
│ │ ├── topnav.cpython-36.pyc
│ │ ├── utils.cpython-36.pyc
│ │ └── wizard.cpython-36.pyc
│ ├── actions.py
│ ├── aggregation.py
│ ├── ajax.py
│ ├── auth.py
│ ├── batch.py
│ ├── bookmark.py
│ ├── chart.py
│ ├── comments.py
│ ├── details.py
│ ├── editable.py
│ ├── export.py
│ ├── filters.py
│ ├── images.py
│ ├── importexport.py
│ ├── inline.py
│ ├── language.py
│ ├── layout.py
│ ├── mobile.py
│ ├── multiselect.py
│ ├── passwords.py
│ ├── portal.py
│ ├── quickfilter.py
│ ├── quickform.py
│ ├── refresh.py
│ ├── relate.py
│ ├── relfield.py
│ ├── sitemenu.py
│ ├── sortablelist.py
│ ├── themes.py
│ ├── topnav.py
│ ├── utils.py
│ ├── wizard.py
│ └── xversion.py
│ ├── sites.py
│ ├── static
│ └── xadmin
│ │ ├── css
│ │ ├── themes
│ │ │ ├── bootstrap-theme.css
│ │ │ ├── bootstrap-theme.min.css
│ │ │ └── bootstrap-xadmin.css
│ │ ├── xadmin.form.css
│ │ ├── xadmin.main.css
│ │ ├── xadmin.mobile.css
│ │ ├── xadmin.page.dashboard.css
│ │ ├── xadmin.plugin.aggregation.css
│ │ ├── xadmin.plugin.formset.css
│ │ ├── xadmin.plugin.importexport.css
│ │ ├── xadmin.plugin.quickfilter.css
│ │ ├── xadmin.plugins.css
│ │ ├── xadmin.responsive.css
│ │ ├── xadmin.widget.editable.css
│ │ └── xadmin.widget.select-transfer.css
│ │ ├── js
│ │ ├── xadmin.main.js
│ │ ├── xadmin.page.dashboard.js
│ │ ├── xadmin.page.form.js
│ │ ├── xadmin.page.list.js
│ │ ├── xadmin.plugin.actions.js
│ │ ├── xadmin.plugin.batch.js
│ │ ├── xadmin.plugin.bookmark.js
│ │ ├── xadmin.plugin.charts.js
│ │ ├── xadmin.plugin.details.js
│ │ ├── xadmin.plugin.editable.js
│ │ ├── xadmin.plugin.filters.js
│ │ ├── xadmin.plugin.formset.js
│ │ ├── xadmin.plugin.importexport.js
│ │ ├── xadmin.plugin.portal.js
│ │ ├── xadmin.plugin.quick-form.js
│ │ ├── xadmin.plugin.quickfilter.js
│ │ ├── xadmin.plugin.refresh.js
│ │ ├── xadmin.plugin.revision.js
│ │ ├── xadmin.plugin.sortablelist.js
│ │ ├── xadmin.plugin.themes.js
│ │ ├── xadmin.responsive.js
│ │ ├── xadmin.widget.datetime.js
│ │ ├── xadmin.widget.multiselect.js
│ │ ├── xadmin.widget.select-transfer.js
│ │ └── xadmin.widget.select.js
│ │ └── vendor
│ │ ├── autotype
│ │ └── index.js
│ │ ├── bootstrap-clockpicker
│ │ ├── bootstrap-clockpicker.css
│ │ ├── bootstrap-clockpicker.js
│ │ ├── bootstrap-clockpicker.min.css
│ │ └── bootstrap-clockpicker.min.js
│ │ ├── bootstrap-datepicker
│ │ ├── css
│ │ │ └── datepicker.css
│ │ └── js
│ │ │ ├── bootstrap-datepicker.js
│ │ │ └── locales
│ │ │ ├── bootstrap-datepicker.bg.js
│ │ │ ├── bootstrap-datepicker.ca.js
│ │ │ ├── bootstrap-datepicker.cs.js
│ │ │ ├── bootstrap-datepicker.da.js
│ │ │ ├── bootstrap-datepicker.de.js
│ │ │ ├── bootstrap-datepicker.el.js
│ │ │ ├── bootstrap-datepicker.es.js
│ │ │ ├── bootstrap-datepicker.fi.js
│ │ │ ├── bootstrap-datepicker.fr.js
│ │ │ ├── bootstrap-datepicker.he.js
│ │ │ ├── bootstrap-datepicker.hr.js
│ │ │ ├── bootstrap-datepicker.hu.js
│ │ │ ├── bootstrap-datepicker.id.js
│ │ │ ├── bootstrap-datepicker.is.js
│ │ │ ├── bootstrap-datepicker.it.js
│ │ │ ├── bootstrap-datepicker.ja.js
│ │ │ ├── bootstrap-datepicker.kr.js
│ │ │ ├── bootstrap-datepicker.lt.js
│ │ │ ├── bootstrap-datepicker.lv.js
│ │ │ ├── bootstrap-datepicker.ms.js
│ │ │ ├── bootstrap-datepicker.nb.js
│ │ │ ├── bootstrap-datepicker.nl.js
│ │ │ ├── bootstrap-datepicker.pl.js
│ │ │ ├── bootstrap-datepicker.pt-BR.js
│ │ │ ├── bootstrap-datepicker.pt.js
│ │ │ ├── bootstrap-datepicker.ro.js
│ │ │ ├── bootstrap-datepicker.rs-latin.js
│ │ │ ├── bootstrap-datepicker.rs.js
│ │ │ ├── bootstrap-datepicker.ru.js
│ │ │ ├── bootstrap-datepicker.sk.js
│ │ │ ├── bootstrap-datepicker.sl.js
│ │ │ ├── bootstrap-datepicker.sv.js
│ │ │ ├── bootstrap-datepicker.sw.js
│ │ │ ├── bootstrap-datepicker.th.js
│ │ │ ├── bootstrap-datepicker.tr.js
│ │ │ ├── bootstrap-datepicker.uk.js
│ │ │ ├── bootstrap-datepicker.zh-CN.js
│ │ │ └── bootstrap-datepicker.zh-TW.js
│ │ ├── bootstrap-image-gallery
│ │ ├── css
│ │ │ ├── bootstrap-image-gallery.css
│ │ │ └── bootstrap-image-gallery.min.css
│ │ ├── img
│ │ │ └── loading.gif
│ │ └── js
│ │ │ ├── bootstrap-image-gallery.js
│ │ │ └── bootstrap-image-gallery.min.js
│ │ ├── bootstrap-modal
│ │ ├── css
│ │ │ └── bootstrap-modal.css
│ │ ├── img
│ │ │ └── ajax-loader.gif
│ │ └── js
│ │ │ ├── bootstrap-modal.js
│ │ │ └── bootstrap-modalmanager.js
│ │ ├── bootstrap-multiselect
│ │ ├── css
│ │ │ └── bootstrap-multiselect.css
│ │ └── js
│ │ │ └── bootstrap-multiselect.js
│ │ ├── bootstrap-timepicker
│ │ ├── css
│ │ │ ├── bootstrap-timepicker.css
│ │ │ └── bootstrap-timepicker.min.css
│ │ └── js
│ │ │ ├── bootstrap-timepicker.js
│ │ │ └── bootstrap-timepicker.min.js
│ │ ├── bootstrap
│ │ ├── css
│ │ │ ├── bootstrap.css
│ │ │ └── bootstrap.min.css
│ │ ├── fonts
│ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ └── glyphicons-halflings-regular.woff
│ │ └── js
│ │ │ ├── bootstrap.js
│ │ │ └── bootstrap.min.js
│ │ ├── flot
│ │ ├── excanvas.js
│ │ ├── excanvas.min.js
│ │ ├── jquery.colorhelpers.js
│ │ ├── jquery.flot.aggregate.js
│ │ ├── jquery.flot.canvas.js
│ │ ├── jquery.flot.categories.js
│ │ ├── jquery.flot.crosshair.js
│ │ ├── jquery.flot.errorbars.js
│ │ ├── jquery.flot.fillbetween.js
│ │ ├── jquery.flot.image.js
│ │ ├── jquery.flot.js
│ │ ├── jquery.flot.navigate.js
│ │ ├── jquery.flot.pie.js
│ │ ├── jquery.flot.resize.js
│ │ ├── jquery.flot.selection.js
│ │ ├── jquery.flot.stack.js
│ │ ├── jquery.flot.symbol.js
│ │ ├── jquery.flot.threshold.js
│ │ └── jquery.flot.time.js
│ │ ├── font-awesome
│ │ ├── css
│ │ │ ├── font-awesome.css
│ │ │ └── font-awesome.min.css
│ │ └── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.svg
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ └── fontawesome-webfont.woff
│ │ ├── jquery-ui
│ │ ├── jquery.ui.core.js
│ │ ├── jquery.ui.core.min.js
│ │ ├── jquery.ui.effect.js
│ │ ├── jquery.ui.effect.min.js
│ │ ├── jquery.ui.mouse.js
│ │ ├── jquery.ui.mouse.min.js
│ │ ├── jquery.ui.sortable.js
│ │ ├── jquery.ui.sortable.min.js
│ │ ├── jquery.ui.widget.js
│ │ └── jquery.ui.widget.min.js
│ │ ├── jquery
│ │ ├── jquery.js
│ │ └── jquery.min.js
│ │ ├── load-image
│ │ ├── load-image.js
│ │ └── load-image.min.js
│ │ ├── select2
│ │ ├── select2-spinner.gif
│ │ ├── select2.css
│ │ ├── select2.js
│ │ ├── select2.min.js
│ │ ├── select2.png
│ │ ├── select2_locale_de.js
│ │ ├── select2_locale_en.js
│ │ ├── select2_locale_es.js
│ │ ├── select2_locale_eu.js
│ │ ├── select2_locale_fr.js
│ │ ├── select2_locale_hr.js
│ │ ├── select2_locale_hu.js
│ │ ├── select2_locale_it.js
│ │ ├── select2_locale_nl.js
│ │ ├── select2_locale_pt-BR.js
│ │ ├── select2_locale_pt-PT.js
│ │ ├── select2_locale_ro.js
│ │ ├── select2_locale_ru.js
│ │ ├── select2_locale_sk.js
│ │ ├── select2_locale_sv.js
│ │ ├── select2_locale_tr.js
│ │ ├── select2_locale_ua.js
│ │ ├── select2_locale_zh-CN.js
│ │ ├── select2_locale_zh-hans.js
│ │ └── select2x2.png
│ │ ├── selectize
│ │ ├── selectize.bootstrap2.css
│ │ ├── selectize.bootstrap3.css
│ │ ├── selectize.css
│ │ ├── selectize.default.css
│ │ ├── selectize.js
│ │ ├── selectize.legacy.css
│ │ └── selectize.min.js
│ │ └── snapjs
│ │ ├── snap.css
│ │ ├── snap.js
│ │ └── snap.min.js
│ ├── templates
│ └── xadmin
│ │ ├── 404.html
│ │ ├── 500.html
│ │ ├── auth
│ │ ├── password_reset
│ │ │ ├── complete.html
│ │ │ ├── confirm.html
│ │ │ ├── done.html
│ │ │ ├── email.html
│ │ │ └── form.html
│ │ └── user
│ │ │ ├── add_form.html
│ │ │ └── change_password.html
│ │ ├── base.html
│ │ ├── base_site.html
│ │ ├── blocks
│ │ ├── comm.top.setlang.html
│ │ ├── comm.top.theme.html
│ │ ├── comm.top.topnav.html
│ │ ├── modal_list.left_navbar.quickfilter.html
│ │ ├── model_form.before_fieldsets.wizard.html
│ │ ├── model_form.submit_line.wizard.html
│ │ ├── model_list.nav_form.search_form.html
│ │ ├── model_list.nav_menu.bookmarks.html
│ │ ├── model_list.nav_menu.filters.html
│ │ ├── model_list.results_bottom.actions.html
│ │ ├── model_list.results_top.charts.html
│ │ ├── model_list.results_top.date_hierarchy.html
│ │ ├── model_list.top_toolbar.exports.html
│ │ ├── model_list.top_toolbar.importexport.export.html
│ │ ├── model_list.top_toolbar.importexport.import.html
│ │ ├── model_list.top_toolbar.layouts.html
│ │ ├── model_list.top_toolbar.refresh.html
│ │ └── model_list.top_toolbar.saveorder.html
│ │ ├── edit_inline
│ │ ├── accordion.html
│ │ ├── base.html
│ │ ├── blank.html
│ │ ├── one.html
│ │ ├── stacked.html
│ │ ├── tab.html
│ │ └── tabular.html
│ │ ├── filters
│ │ ├── char.html
│ │ ├── checklist.html
│ │ ├── date.html
│ │ ├── fk_search.html
│ │ ├── list.html
│ │ ├── number.html
│ │ ├── quickfilter.html
│ │ └── rel.html
│ │ ├── forms
│ │ └── transfer.html
│ │ ├── grids
│ │ └── thumbnails.html
│ │ ├── import_export
│ │ ├── export_action.html
│ │ └── import.html
│ │ ├── includes
│ │ ├── box.html
│ │ ├── pagination.html
│ │ ├── sitemenu_accordion.html
│ │ ├── sitemenu_default.html
│ │ ├── submit_line.html
│ │ ├── toggle_back.html
│ │ └── toggle_menu.html
│ │ ├── layout
│ │ ├── field_value.html
│ │ ├── field_value_td.html
│ │ ├── fieldset.html
│ │ ├── input_group.html
│ │ └── td-field.html
│ │ ├── views
│ │ ├── app_index.html
│ │ ├── batch_change_form.html
│ │ ├── dashboard.html
│ │ ├── form.html
│ │ ├── invalid_setup.html
│ │ ├── logged_out.html
│ │ ├── login.html
│ │ ├── model_dashboard.html
│ │ ├── model_delete_confirm.html
│ │ ├── model_delete_selected_confirm.html
│ │ ├── model_detail.html
│ │ ├── model_form.html
│ │ ├── model_history.html
│ │ ├── model_list.html
│ │ ├── quick_detail.html
│ │ ├── quick_form.html
│ │ ├── recover_form.html
│ │ ├── recover_list.html
│ │ ├── revision_diff.html
│ │ └── revision_form.html
│ │ └── widgets
│ │ ├── addform.html
│ │ ├── base.html
│ │ ├── chart.html
│ │ ├── list.html
│ │ └── qbutton.html
│ ├── templatetags
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ └── xadmin_tags.cpython-36.pyc
│ └── xadmin_tags.py
│ ├── util.py
│ ├── vendors.py
│ ├── views
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── base.cpython-36.pyc
│ │ ├── dashboard.cpython-36.pyc
│ │ ├── delete.cpython-36.pyc
│ │ ├── detail.cpython-36.pyc
│ │ ├── edit.cpython-36.pyc
│ │ ├── form.cpython-36.pyc
│ │ ├── list.cpython-36.pyc
│ │ └── website.cpython-36.pyc
│ ├── base.py
│ ├── dashboard.py
│ ├── delete.py
│ ├── detail.py
│ ├── edit.py
│ ├── form.py
│ ├── list.py
│ └── website.py
│ └── widgets.py
├── manage.py
├── media
└── img
│ ├── BI.jpg
│ ├── PV.jpg
│ ├── PVI.jpg
│ ├── battery.jpg
│ ├── green.jpg
│ ├── load.png
│ ├── load_TlrnuoP.png
│ ├── power_grid.jpg
│ └── red.jpg
├── projectInstruction
└── picture
│ ├── Web设备管理界面.png
│ ├── Web设备管理逻辑框架.png
│ ├── 微电网管理系统总框架图.png
│ └── 数据库逻辑设计.png
├── static
├── css
│ ├── bootstrap-datetimepicker.min.css
│ ├── bootstrap-theme.css
│ ├── bootstrap-theme.css.map
│ ├── bootstrap-theme.min.css
│ ├── bootstrap-theme.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ └── mic.css
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── img
│ ├── money.png
│ └── output.jpg
└── js
│ ├── bootstrap-datetimepicker.min.js
│ ├── bootstrap-datetimepicker.zh-CN.js
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── moment-with-locales.min.js
│ └── npm.js
└── templates
├── base.html
├── dev_add.html
├── dev_info_battary.html
├── dev_info_load.html
├── dev_info_pv.html
├── device_manage.html
├── login.html
├── overview.html
└── pso.html
/.idea/Microgrid.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Microgrid/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/Microgrid/__init__.py
--------------------------------------------------------------------------------
/Microgrid/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/Microgrid/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/Microgrid/__pycache__/settings.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/Microgrid/__pycache__/settings.cpython-36.pyc
--------------------------------------------------------------------------------
/Microgrid/__pycache__/urls.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/Microgrid/__pycache__/urls.cpython-36.pyc
--------------------------------------------------------------------------------
/Microgrid/__pycache__/wsgi.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/Microgrid/__pycache__/wsgi.cpython-36.pyc
--------------------------------------------------------------------------------
/Microgrid/wsgi.py:
--------------------------------------------------------------------------------
1 | """
2 | WSGI config for Microgrid project.
3 |
4 | It exposes the WSGI callable as a module-level variable named ``application``.
5 |
6 | For more information on this file, see
7 | https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
8 | """
9 |
10 | import os
11 |
12 | from django.core.wsgi import get_wsgi_application
13 |
14 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Microgrid.settings")
15 |
16 | application = get_wsgi_application()
17 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Microgrid(微电网能量管理系统)
2 | ## 一、开发环境
3 | - **web管理系统** HTML+CSS+JS+Bootstrap(*前端*)+ Python3.6+Django1.11(*后端*)+ mysql5.6(*数据库*)
4 | - **iec104主站客户端** Java1.8 + mysql5.6
5 | ## 二、项目简介
6 | #### 微电网管理系统总框架图
7 | 
8 | 本项目为微电网能量系统管理系统,实现通过Web界面对微电网系统进行实时管控。
9 | * [**Microgird工程**](https://github.com/msun1996/Microgrid)完成Web管控部分功能,主要包括设备逻辑管理与视图化展示、设备数据实时显示功能、设备远程命令控制与参数下发功能;
10 | * [**IEC104_microgrid工程**](https://github.com/msun1996/IEC104_microgrid)完成104主站部分功能,主要包括IEC104主站通讯功能(遥信、遥测、遥控、遥调)与数据库数据存储与提取功能。
11 | #### 数据库逻辑设计图
12 | 
13 | #### Web设备管理控制逻辑框架
14 | 
15 | - 设备区:
16 | > 设备区为四层树结构。
17 | > 设备区下包括光伏区、蓄电池区、风电区等等大区域。(逻辑分区)
18 | >> 光伏区(大区以光伏为例)下包括光伏子区,光伏子区控制部分。(逻辑分区)
19 | >> 光伏子区下包括逆变器设备相关控制部分。(物理存在,逻辑管理)
20 | >> 逆变器下包括光伏阵列设备及其相关控制部分。(物理存在,逻辑管理)
21 | - 间隔区:
22 | > 间隔区主要是对PCC等(区域并网)的控制部分区域保存。(物理存在,逻辑管理)
23 | - 控制区:
24 | > 控制区贯穿整个设备区和间隔区,主要将两个区域的控制部分映射到此区域,再将开关等具体控制单元添加到映射区,方便对所有控制部分直接管理。
25 | #### Web设备管理界面
26 | 
27 | - **电站管理左侧栏:**
28 | > 可以对子区,逆变器设备、光伏设备等等进行添加、删除操作。(添加设备,开关元件时,该设备必须真实存在,设备号已存在到数据库,才可搜索到,进行添加)
29 | - **管理模型:**
30 | > 会在管理栏对设备进行修改后,自动生成对应模型,方便视图化管理。点击具体设备或控制单元,会自动跳转到对应设备或单元的控制管理部分界面。
31 | - **控制管理:**
32 | > 此区域会在管理模型点击对应设备后自动展示其对应控制相关的部分,可在此修改设备状态或参数(会修改数据库,下发命令给具体设备)。也可点击设备信息具体查看设备相关信息。
33 |
--------------------------------------------------------------------------------
/apps/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/__init__.py
--------------------------------------------------------------------------------
/apps/microgrids/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/__init__.py
--------------------------------------------------------------------------------
/apps/microgrids/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/__pycache__/admin.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/__pycache__/admin.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/__pycache__/adminx.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/__pycache__/adminx.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/__pycache__/models.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/__pycache__/models.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/__pycache__/views.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/__pycache__/views.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/admin.py:
--------------------------------------------------------------------------------
1 | from django.contrib import admin
2 |
3 | # Register your models here.
4 |
--------------------------------------------------------------------------------
/apps/microgrids/adminx.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf8 -*-
2 |
3 | import xadmin
4 |
5 | from microgrids.models import DevControl,EnvAddressC,PVAnalogQuantityData1,PVAnalogQuantityData2,PVDigitalQuantityData,EnvironmentData,WebMicrogrid,Img
6 |
7 |
8 | # 本地主要管理上传数据
9 | class DevControlAdmin(object):
10 | list_display = ['num']
11 | search_fields = ['num']
12 | list_filter = ['num']
13 |
14 |
15 | class EnvAddressCAdmin(object):
16 | list_display = ['env_num']
17 | search_fields = ['env_num']
18 | list_filter = ['env_num']
19 |
20 |
21 | class PVDigitalQuantityDataAdmin(object):
22 | list_display = ['pv_num']
23 | search_fields = ['pv_num']
24 | list_filter = ['pv_num']
25 |
26 |
27 | class PVAnalogQuantityData1Admin(object):
28 | list_display = ['pv_num']
29 | search_fields = ['pv_num']
30 | list_filter = ['pv_num']
31 |
32 |
33 | class PVAnalogQuantityData2Admin(object):
34 | list_display = ['pv_num']
35 | search_fields = ['pv_num']
36 | list_filter = ['pv_num']
37 |
38 |
39 | class EnvAdressDataAdmin(object):
40 | list_display = ['env_num']
41 | search_fields = ['env_num']
42 | list_filter = ['env_num']
43 |
44 |
45 | # Web 管理库
46 | class WebMicrogridAdmin(object):
47 | list_display = ['num']
48 | search_fields = ['num']
49 | list_filter = ['num']
50 |
51 |
52 | class ImgAdmin(object):
53 | list_display = ['name']
54 | search_fields = ['name']
55 | list_filter = ['name']
56 |
57 |
58 | xadmin.site.register(DevControl, DevControlAdmin)
59 | xadmin.site.register(EnvAddressC, EnvAddressCAdmin)
60 | xadmin.site.register(PVAnalogQuantityData1, PVAnalogQuantityData1Admin)
61 | xadmin.site.register(PVAnalogQuantityData2, PVAnalogQuantityData2Admin)
62 | xadmin.site.register(PVDigitalQuantityData, PVDigitalQuantityDataAdmin)
63 | xadmin.site.register(EnvironmentData, EnvAdressDataAdmin)
64 | xadmin.site.register(WebMicrogrid, WebMicrogridAdmin)
65 | xadmin.site.register(Img, ImgAdmin)
66 |
--------------------------------------------------------------------------------
/apps/microgrids/apps.py:
--------------------------------------------------------------------------------
1 | from django.apps import AppConfig
2 |
3 |
4 | class MicrogridsConfig(AppConfig):
5 | name = 'microgrids'
6 |
--------------------------------------------------------------------------------
/apps/microgrids/migrations/0003_auto_20180620_1901.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | # Generated by Django 1.11 on 2018-06-20 19:01
3 | from __future__ import unicode_literals
4 |
5 | from django.db import migrations, models
6 |
7 |
8 | class Migration(migrations.Migration):
9 |
10 | dependencies = [
11 | ('microgrids', '0002_auto_20180620_1136'),
12 | ]
13 |
14 | operations = [
15 | migrations.AlterModelOptions(
16 | name='battarydata',
17 | options={'verbose_name': '蓄电池数据', 'verbose_name_plural': '蓄电池数据'},
18 | ),
19 | migrations.AlterModelOptions(
20 | name='battatyproperty',
21 | options={'verbose_name': '蓄电池属性', 'verbose_name_plural': '蓄电池属性'},
22 | ),
23 | migrations.AddField(
24 | model_name='battatyproperty',
25 | name='battary_num',
26 | field=models.CharField(default=1, max_length=20, unique=True, verbose_name='电池编号'),
27 | preserve_default=False,
28 | ),
29 | ]
30 |
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__init__.py
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0001_initial.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0001_initial.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0002_auto_20180419_2034.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0002_auto_20180419_2034.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0002_auto_20180423_2318.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0002_auto_20180423_2318.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0002_switchgroup.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0002_switchgroup.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0003_auto_20180419_2035.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0003_auto_20180419_2035.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0003_auto_20180422_2124.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0003_auto_20180422_2124.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0003_auto_20180423_2327.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0003_auto_20180423_2327.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0004_auto_20180421_1640.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0004_auto_20180421_1640.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0004_auto_20180422_2215.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0004_auto_20180422_2215.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0004_auto_20180423_2334.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0004_auto_20180423_2334.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0005_auto_20180422_1706.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0005_auto_20180422_1706.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0005_auto_20180422_2219.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0005_auto_20180422_2219.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0005_auto_20180423_2339.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0005_auto_20180423_2339.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0006_auto_20180422_1858.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0006_auto_20180422_1858.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0006_auto_20180422_2311.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0006_auto_20180422_2311.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0006_auto_20180424_1002.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0006_auto_20180424_1002.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0007_auto_20180422_1912.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0007_auto_20180422_1912.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0007_auto_20180422_2327.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0007_auto_20180422_2327.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0007_auto_20180424_1033.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0007_auto_20180424_1033.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0008_auto_20180422_1920.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0008_auto_20180422_1920.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0008_auto_20180422_2346.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0008_auto_20180422_2346.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0008_auto_20180424_1557.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0008_auto_20180424_1557.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0009_auto_20180422_2008.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0009_auto_20180422_2008.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0009_auto_20180423_1101.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0009_auto_20180423_1101.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0009_auto_20180424_1603.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0009_auto_20180424_1603.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0010_auto_20180423_1333.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0010_auto_20180423_1333.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0010_auto_20180424_1606.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0010_auto_20180424_1606.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0011_auto_20180423_1340.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0011_auto_20180423_1340.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0011_auto_20180424_1612.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0011_auto_20180424_1612.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/0012_webmicrogrid.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/0012_webmicrogrid.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/migrations/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/microgrids/migrations/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/microgrids/tests.py:
--------------------------------------------------------------------------------
1 | from django.test import TestCase
2 |
3 | # Create your tests here.
4 |
--------------------------------------------------------------------------------
/apps/users/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__init__.py
--------------------------------------------------------------------------------
/apps/users/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/__pycache__/admin.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__pycache__/admin.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/__pycache__/adminx.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__pycache__/adminx.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/__pycache__/forms.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__pycache__/forms.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/__pycache__/models.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__pycache__/models.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/__pycache__/views.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/__pycache__/views.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/admin.py:
--------------------------------------------------------------------------------
1 | from django.contrib import admin
2 |
3 | # Register your models here.
4 |
--------------------------------------------------------------------------------
/apps/users/adminx.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf8 -*-
2 |
3 | import xadmin
4 |
5 | from xadmin import views
6 |
7 |
8 | # 允许用新主题样式
9 | class BaseSettings(object):
10 | enable_themes = True
11 | use_bootswatch = True
12 |
13 |
14 | # 管理系统页头页脚设置
15 | class GlobalSettings(object):
16 | site_title = '微电网能量管理系统后台'
17 | site_footer = '微电网能量管理系统'
18 | menu_style = 'accordion'
19 |
20 |
21 | # xadmin注册
22 | xadmin.site.register(views.BaseAdminView, BaseSettings)
23 | xadmin.site.register(views.CommAdminView, GlobalSettings)
--------------------------------------------------------------------------------
/apps/users/apps.py:
--------------------------------------------------------------------------------
1 | from django.apps import AppConfig
2 |
3 |
4 | class UsersConfig(AppConfig):
5 | name = 'users'
6 |
--------------------------------------------------------------------------------
/apps/users/forms.py:
--------------------------------------------------------------------------------
1 | # -*- coding:utf8 -*-
2 | from django import forms
3 |
4 |
5 | class LoginForm(forms.Form):
6 | username = forms.CharField(required=True)
7 | password = forms.CharField(required=True, min_length=6)
--------------------------------------------------------------------------------
/apps/users/migrations/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/migrations/__init__.py
--------------------------------------------------------------------------------
/apps/users/migrations/__pycache__/0001_initial.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/migrations/__pycache__/0001_initial.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/migrations/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/apps/users/migrations/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/apps/users/models.py:
--------------------------------------------------------------------------------
1 | # -*- coding:utf8 -*-
2 | from django.db import models
3 |
4 | # Create your models here.
5 | from django.contrib.auth.models import AbstractUser
6 |
7 |
8 | class UserProfile(AbstractUser):
9 | class Meta:
10 | verbose_name = u'用户'
11 | verbose_name_plural = verbose_name
12 |
13 | def __str__(self):
14 | return self.username
--------------------------------------------------------------------------------
/apps/users/tests.py:
--------------------------------------------------------------------------------
1 | from django.test import TestCase
2 |
3 | # Create your tests here.
4 |
--------------------------------------------------------------------------------
/apps/users/views.py:
--------------------------------------------------------------------------------
1 | from django.shortcuts import render
2 | from django.http import HttpResponseRedirect
3 | from django.core.urlresolvers import reverse
4 | from django.views import View
5 | from django.contrib.auth import authenticate,login,logout
6 |
7 | from users.forms import LoginForm
8 |
9 | # Create your views here.
10 |
11 |
12 | #登录
13 | class LoginView(View):
14 | def get(self, request):
15 | # 用户登录状态直接跳转(cookie)
16 | if request.user.is_authenticated:
17 | return HttpResponseRedirect(reverse('overview'))
18 | login_form = LoginForm()
19 | return render(request, 'login.html', {})
20 |
21 | def post(self, request):
22 | login_form = LoginForm(request.POST)
23 | # form验证是否正确
24 | if login_form.is_valid():
25 | user_name = request.POST.get('username', '')
26 | pass_word = request.POST.get('password', '')
27 | user = authenticate(username=user_name, password=pass_word)
28 | # 用户是否存在
29 | if user is not None:
30 | login(request, user)
31 | return HttpResponseRedirect(reverse('overview'))
32 | else:
33 | return render(request, 'login.html', {'msg': u'密码错误或用户不存在', 'login_form': login_form})
34 | else:
35 | return render(request, 'login.html', {'login_form': login_form})
36 |
37 |
38 | # 登出
39 | class LogoutView(View):
40 | def get(self, request):
41 | logout(request)
42 | return render(request, 'login.html', {})
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/adminx.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/adminx.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/apps.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/apps.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/filters.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/filters.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/forms.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/forms.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/layout.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/layout.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/models.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/models.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/sites.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/sites.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/util.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/util.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/vendors.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/vendors.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/__pycache__/widgets.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/__pycache__/widgets.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/adminx.py:
--------------------------------------------------------------------------------
1 | from __future__ import absolute_import
2 | import xadmin
3 | from .models import UserSettings, Log
4 | from xadmin.layout import *
5 |
6 | from django.utils.translation import ugettext_lazy as _, ugettext
7 |
8 | class UserSettingsAdmin(object):
9 | model_icon = 'fa fa-cog'
10 | hidden_menu = True
11 |
12 | xadmin.site.register(UserSettings, UserSettingsAdmin)
13 |
14 | class LogAdmin(object):
15 |
16 | def link(self, instance):
17 | if instance.content_type and instance.object_id and instance.action_flag != 'delete':
18 | admin_url = self.get_admin_url('%s_%s_change' % (instance.content_type.app_label, instance.content_type.model),
19 | instance.object_id)
20 | return "%s " % (admin_url, _('Admin Object'))
21 | else:
22 | return ''
23 | link.short_description = ""
24 | link.allow_tags = True
25 | link.is_column = False
26 |
27 | list_display = ('action_time', 'user', 'ip_addr', '__str__', 'link')
28 | list_filter = ['user', 'action_time']
29 | search_fields = ['ip_addr', 'message']
30 | model_icon = 'fa fa-cog'
31 |
32 | xadmin.site.register(Log, LogAdmin)
33 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/apps.py:
--------------------------------------------------------------------------------
1 | from django.apps import AppConfig
2 | from django.core import checks
3 | from django.utils.translation import ugettext_lazy as _
4 | import xadmin
5 |
6 |
7 | class XAdminConfig(AppConfig):
8 | """Simple AppConfig which does not do automatic discovery."""
9 |
10 | name = 'xadmin'
11 | verbose_name = _("Administration")
12 |
13 | def ready(self):
14 | self.module.autodiscover()
15 | setattr(xadmin,'site',xadmin.site)
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/de_DE/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/de_DE/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/de_DE/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/de_DE/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/en/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/en/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/en/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/en/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/es_MX/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/es_MX/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/es_MX/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/es_MX/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/eu/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/eu/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/eu/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/eu/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/id_ID/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/id_ID/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/id_ID/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/id_ID/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/ja/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/ja/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/ja/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/ja/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/lt/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/lt/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/lt/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/lt/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/nl_NL/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/nl_NL/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/nl_NL/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/nl_NL/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/pl/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/pl/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/pl/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/pl/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/pt_BR/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/pt_BR/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/pt_BR/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/pt_BR/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/ru_RU/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/ru_RU/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/ru_RU/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/ru_RU/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/zh_Hans/LC_MESSAGES/django.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/zh_Hans/LC_MESSAGES/django.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/locale/zh_Hans/LC_MESSAGES/djangojs.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/locale/zh_Hans/LC_MESSAGES/djangojs.mo
--------------------------------------------------------------------------------
/extra_apps/xadmin/migrations/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/migrations/__init__.py
--------------------------------------------------------------------------------
/extra_apps/xadmin/migrations/__pycache__/0001_initial.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/migrations/__pycache__/0001_initial.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/migrations/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/migrations/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__init__.py:
--------------------------------------------------------------------------------
1 |
2 | PLUGINS = (
3 | 'actions',
4 | 'filters',
5 | 'bookmark',
6 | 'export',
7 | 'layout',
8 | 'refresh',
9 | 'details',
10 | 'editable',
11 | 'relate',
12 | 'chart',
13 | 'ajax',
14 | 'relfield',
15 | 'inline',
16 | 'topnav',
17 | 'portal',
18 | 'quickform',
19 | 'wizard',
20 | 'images',
21 | 'auth',
22 | 'multiselect',
23 | 'themes',
24 | 'aggregation',
25 | 'mobile',
26 | 'passwords',
27 | 'sitemenu',
28 | 'language',
29 | 'quickfilter',
30 | 'sortablelist',
31 | 'importexport'
32 | )
33 |
34 |
35 | def register_builtin_plugins(site):
36 | from importlib import import_module
37 | from django.conf import settings
38 |
39 | exclude_plugins = getattr(settings, 'XADMIN_EXCLUDE_PLUGINS', [])
40 |
41 | [import_module('xadmin.plugins.%s' % plugin) for plugin in PLUGINS if plugin not in exclude_plugins]
42 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/actions.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/actions.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/aggregation.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/aggregation.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/ajax.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/ajax.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/auth.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/auth.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/bookmark.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/bookmark.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/chart.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/chart.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/details.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/details.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/editable.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/editable.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/export.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/export.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/filters.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/filters.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/images.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/images.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/importexport.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/importexport.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/inline.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/inline.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/language.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/language.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/layout.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/layout.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/mobile.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/mobile.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/multiselect.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/multiselect.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/passwords.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/passwords.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/portal.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/portal.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/quickfilter.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/quickfilter.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/quickform.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/quickform.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/refresh.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/refresh.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/relate.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/relate.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/relfield.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/relfield.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/sitemenu.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/sitemenu.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/sortablelist.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/sortablelist.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/themes.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/themes.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/topnav.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/topnav.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/utils.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/utils.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/__pycache__/wizard.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/plugins/__pycache__/wizard.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/language.py:
--------------------------------------------------------------------------------
1 |
2 | from django.conf import settings
3 | from django.template import loader
4 | from django.views.i18n import set_language
5 | from xadmin.plugins.utils import get_context_dict
6 | from xadmin.sites import site
7 | from xadmin.views import BaseAdminPlugin, CommAdminView, BaseAdminView
8 |
9 |
10 | class SetLangNavPlugin(BaseAdminPlugin):
11 |
12 | def block_top_navmenu(self, context, nodes):
13 | context = get_context_dict(context)
14 | context['redirect_to'] = self.request.get_full_path()
15 | nodes.append(loader.render_to_string('xadmin/blocks/comm.top.setlang.html', context=context))
16 |
17 | class SetLangView(BaseAdminView):
18 |
19 | def post(self, request, *args, **kwargs):
20 | if 'nav_menu' in request.session:
21 | del request.session['nav_menu']
22 | return set_language(request)
23 |
24 | if settings.LANGUAGES and 'django.middleware.locale.LocaleMiddleware' in settings.MIDDLEWARE_CLASSES:
25 | site.register_plugin(SetLangNavPlugin, CommAdminView)
26 | site.register_view(r'^i18n/setlang/$', SetLangView, 'set_language')
27 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/mobile.py:
--------------------------------------------------------------------------------
1 | #coding:utf-8
2 | from xadmin.sites import site
3 | from xadmin.views import BaseAdminPlugin, CommAdminView
4 |
5 |
6 | class MobilePlugin(BaseAdminPlugin):
7 |
8 | def _test_mobile(self):
9 | try:
10 | return self.request.META['HTTP_USER_AGENT'].find('Android') >= 0 or \
11 | self.request.META['HTTP_USER_AGENT'].find('iPhone') >= 0
12 | except Exception:
13 | return False
14 |
15 | def init_request(self, *args, **kwargs):
16 | return self._test_mobile()
17 |
18 | def get_context(self, context):
19 | #context['base_template'] = 'xadmin/base_mobile.html'
20 | context['is_mob'] = True
21 | return context
22 |
23 | # Media
24 | # def get_media(self, media):
25 | # return media + self.vendor('xadmin.mobile.css', )
26 |
27 | def block_extrahead(self, context, nodes):
28 | nodes.append('')
29 |
30 | site.register_plugin(MobilePlugin, CommAdminView)
31 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/refresh.py:
--------------------------------------------------------------------------------
1 | # coding=utf-8
2 | from django.template import loader
3 |
4 | from xadmin.plugins.utils import get_context_dict
5 | from xadmin.sites import site
6 | from xadmin.views import BaseAdminPlugin, ListAdminView
7 |
8 | REFRESH_VAR = '_refresh'
9 |
10 |
11 | class RefreshPlugin(BaseAdminPlugin):
12 |
13 | refresh_times = []
14 |
15 | # Media
16 | def get_media(self, media):
17 | if self.refresh_times and self.request.GET.get(REFRESH_VAR):
18 | media = media + self.vendor('xadmin.plugin.refresh.js')
19 | return media
20 |
21 | # Block Views
22 | def block_top_toolbar(self, context, nodes):
23 | if self.refresh_times:
24 | current_refresh = self.request.GET.get(REFRESH_VAR)
25 | context.update({
26 | 'has_refresh': bool(current_refresh),
27 | 'clean_refresh_url': self.admin_view.get_query_string(remove=(REFRESH_VAR,)),
28 | 'current_refresh': current_refresh,
29 | 'refresh_times': [{
30 | 'time': r,
31 | 'url': self.admin_view.get_query_string({REFRESH_VAR: r}),
32 | 'selected': str(r) == current_refresh,
33 | } for r in self.refresh_times],
34 | })
35 | nodes.append(loader.render_to_string('xadmin/blocks/model_list.top_toolbar.refresh.html',
36 | get_context_dict(context)))
37 |
38 |
39 | site.register_plugin(RefreshPlugin, ListAdminView)
40 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/sitemenu.py:
--------------------------------------------------------------------------------
1 |
2 | from xadmin.sites import site
3 | from xadmin.views import BaseAdminPlugin, CommAdminView
4 |
5 | BUILDIN_STYLES = {
6 | 'default': 'xadmin/includes/sitemenu_default.html',
7 | 'accordion': 'xadmin/includes/sitemenu_accordion.html',
8 | }
9 |
10 |
11 | class SiteMenuStylePlugin(BaseAdminPlugin):
12 |
13 | menu_style = None
14 |
15 | def init_request(self, *args, **kwargs):
16 | return bool(self.menu_style) and self.menu_style in BUILDIN_STYLES
17 |
18 | def get_context(self, context):
19 | context['menu_template'] = BUILDIN_STYLES[self.menu_style]
20 | return context
21 |
22 | site.register_plugin(SiteMenuStylePlugin, CommAdminView)
23 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/plugins/utils.py:
--------------------------------------------------------------------------------
1 | from django.template.context import RequestContext
2 |
3 |
4 | def get_context_dict(context):
5 | """
6 | Contexts in django version 1.9+ must be dictionaries. As xadmin has a legacy with older versions of django,
7 | the function helps the transition by converting the [RequestContext] object to the dictionary when necessary.
8 | :param context: RequestContext
9 | :return: dict
10 | """
11 | if isinstance(context, RequestContext):
12 | ctx = context.flatten()
13 | else:
14 | ctx = context
15 | return ctx
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.page.dashboard.css:
--------------------------------------------------------------------------------
1 |
2 | .dashboard.container-fluid {
3 | padding-left: 0px;
4 | }
5 | .dashboard .column{
6 | min-height: 60px;
7 | }
8 |
9 | .widget {
10 | }
11 | .widget_options {
12 | }
13 |
14 | /* Quick Buttons
15 | =================================================================== */
16 | .qbutton .panel-body {
17 | padding-top: 5px;
18 | }
19 | .btn-quick {
20 | margin-top: 10px;
21 | padding: 20px 0px 0px 0px;
22 | font-size: 15px;
23 | display:block;
24 | text-align: center;
25 | cursor: pointer;
26 | position: relative;
27 | }
28 | .btn-quick i {
29 | font-size: 32px;
30 | }
31 |
32 | /* Quick Buttons Small
33 | =================================================================== */
34 |
35 | .btn-quick-small {
36 | border-radius: 3px;
37 | padding: 15px 0px 0px 0px;
38 | font-size: 10px;
39 | display:block;
40 | text-align: center;
41 | cursor: pointer;
42 | position: relative;
43 | }
44 |
45 | .btn-quick-small i {
46 | font-size: 20px;
47 | }
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.plugin.aggregation.css:
--------------------------------------------------------------------------------
1 | td.aggregate {
2 | font-weight: bold;
3 | }
4 | td.aggregate span.aggregate_title {
5 | float: right;
6 | }
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.plugin.formset.css:
--------------------------------------------------------------------------------
1 |
2 | .empty-form {
3 | display: none;
4 | }
5 | .formset:not(.one) > .panel-body {
6 | padding-top: 0px !important;
7 | }
8 | .formset .row-deleted{
9 | background: #fff0f0 !important;
10 | }
11 | .formset .row-added {
12 | background: #d1ffdd !important;
13 | }
14 | .formset .formset-heading{
15 | padding: 10px;
16 | border-bottom: 1px solid #EEE;
17 | }
18 | .formset .row-deleted .formset-form {
19 | display: none;
20 | }
21 | .formset .box-content.accordion {
22 | margin: 0px;
23 | padding: 5px 5px 3px;
24 | }
25 | .formset .formset-form {
26 | padding-left: 15px;
27 | padding-right: 15px;
28 | }
29 | .formset .accordion-heading .delete-row {
30 | float: right;
31 | margin: 8px;
32 | }
33 | .formset .nav{
34 | margin-bottom: 5px;
35 | }
36 | .formset .nav.nav-tabs{
37 | padding: 10px 10px 0px;
38 | }
39 | .formset .panel-body.tabs {
40 | padding-left: 0px;
41 | padding-right: 0px;
42 | }
43 | .formset .box-content.tabs{
44 | padding: 5px 0px 0px;
45 | }
46 | .formset .tabs .tab-content{
47 | overflow: hidden;
48 | }
49 | .formset .tabs .delete-row{
50 | float: right;
51 | margin: 8px 8px;
52 | }
53 | .formset .table{
54 | margin-bottom: 0px;
55 | }
56 | .formset .table td{
57 | padding: 4px;
58 | }
59 |
60 | .formset .table td .delete-row{
61 | margin-top: 4px;
62 | display: block;
63 | }
64 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.plugin.importexport.css:
--------------------------------------------------------------------------------
1 | /* FORM ROWS */
2 |
3 | .form-row {
4 | overflow: hidden;
5 | padding: 10px;
6 | font-size: 13px;
7 | border-bottom: 1px solid #eee;
8 | }
9 |
10 | .form-row img, .form-row input {
11 | vertical-align: middle;
12 | }
13 |
14 | .form-row label input[type="checkbox"] {
15 | margin-top: 0;
16 | vertical-align: 0;
17 | }
18 |
19 | form .form-row p {
20 | padding-left: 0;
21 | }
22 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.plugin.quickfilter.css:
--------------------------------------------------------------------------------
1 | .nav-quickfilter .filter-item {
2 | white-space: nowrap;
3 | overflow: hidden;
4 | padding: 5px;
5 | }
6 |
7 | .nav-quickfilter .filter-col-1 {
8 | margin: 3px 2px 0 -2px;
9 | float: left;
10 | }
11 |
12 | .nav-quickfilter .filter-col-2 {
13 | }
14 |
15 | .nav-quickfilter .nav-expand {
16 | z-index:100;
17 | }
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.plugins.css:
--------------------------------------------------------------------------------
1 | /** Action **/
2 | .action-checkbox-column {
3 | width: 14px;
4 | }
5 |
6 | /** quick-form **/
7 | .quick-form .modal-body {
8 | padding-bottom: 0px;
9 | }
10 | .quick-form .modal-footer {
11 | margin-top: 0px;
12 | }
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/css/xadmin.widget.editable.css:
--------------------------------------------------------------------------------
1 | .editable-handler .popover{
2 | width: auto;
3 | }
4 | .editable .popover-title{
5 | white-space:nowrap;
6 | }
7 | .editable .popover-title .close {
8 | margin: -4px 0px 0px 10px;
9 | }
10 | .editable form .btn-ajax{
11 | display: none;
12 | }
13 | .editable form .control-wrap{
14 | padding-right: 0px;
15 | }
16 | .editable form{
17 | margin-bottom: 0px;
18 | }
19 | .editable form .controls{
20 | margin: 0px;
21 | padding: 0px !important;
22 | border: 0px;
23 | }
24 | .editable form .form-group {
25 | margin: 0px 0px 10px !important;
26 | }
27 | .editable form .control-label{
28 | display: none;
29 | }
30 | .editable form .controls label {
31 | white-space:nowrap;
32 | }
33 |
34 | @media (min-width: 768px) {
35 | .editable form .text-field,
36 | .editable form .textinput {
37 | width: 200px;
38 | }
39 | .editable form .int-field {
40 | width: 150px;
41 | }
42 | .editable form .textarea-field{
43 | width: 250px;
44 | height: 50px;
45 | }
46 |
47 | .editable form select,
48 | .editable form .select2-container {
49 | max-width: 200px;
50 | min-width: 100px;
51 | width: 100%;
52 | }
53 | }
54 | @media (max-width: 767px) {
55 | .popover.editpop{
56 | position: fixed;
57 | top: 30px !important;
58 | left: 10px !important;
59 | right: 10px !important;
60 | z-index: 1040;
61 | max-width: none;
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.page.list.js:
--------------------------------------------------------------------------------
1 | jQuery(function($){
2 | //full screen btn
3 | $('.layout-btns .layout-full').click(function(e){
4 | var icon = $(this).find('i')
5 | if($(this).hasClass('active')){
6 | // reset
7 | $('#left-side, ul.breadcrumb').show('fast');
8 | $('#content-block').removeClass('col-md-12 col-sm-12 full-content').addClass('col-sm-11 col-md-10');
9 | icon.removeClass('fa-compress').addClass('fa-expand');
10 | $(window).trigger('resize');
11 | } else {
12 | // full screen
13 | $('#left-side, ul.breadcrumb').hide('fast', function(){
14 | $('#content-block').removeClass('col-sm-11 col-md-10').addClass('col-md-12 col-sm-12 full-content');
15 | icon.removeClass('fa-expand').addClass('fa-compress');
16 | $(window).trigger('resize');
17 | });
18 | }
19 | });
20 |
21 | $('.layout-btns .layout-normal').click(function(e){
22 | $('.results table').removeClass('table-condensed');
23 | });
24 |
25 | $('.layout-btns .layout-condensed').click(function(e){
26 | $('.results table').addClass('table-condensed');
27 | });
28 |
29 | });
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.plugin.batch.js:
--------------------------------------------------------------------------------
1 |
2 | ;(function($){
3 |
4 | $('.batch-field-checkbox').bind('click', function(event){
5 | if (!event) { var event = window.event; }
6 | var target = event.target ? event.target : event.srcElement;
7 |
8 | var wrap = $(this).parent().parent().find('.control-wrap');
9 | if(target.checked){
10 | wrap.show('fast');
11 | } else {
12 | wrap.hide('fast');
13 | }
14 | });
15 |
16 | })(jQuery)
17 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.plugin.bookmark.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 |
3 | $(function(){
4 | $('#bookmark_form').each(function(){
5 | var f = $(this);
6 | f.submit(function(e){
7 | f.find('button[type=submit]').button('loading');
8 | $.post(f.attr('action'), f.serialize(), function(data){
9 | $('#bookmark-menu .add-bookmark').remove();
10 | $('#bookmark-menu').append('
'+ data.title +' ');
11 | }, 'json');
12 | return false;
13 | });
14 | });
15 | });
16 |
17 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.plugin.importexport.js:
--------------------------------------------------------------------------------
1 | $("#export-menu").click(function () {
2 | $("input[name='_select_across']").val($("input[name='select_across']").val());
3 | if (0 == $("input[name='select_across']").val()) {
4 | var selectedRecords = [];
5 | $.each($('.action-select'), function () {
6 | if (true == $(this).prop('checked')) {
7 | selectedRecords.push($(this).val());
8 | }
9 | });
10 | $("input[name='_selected_actions']").val(selectedRecords.join(','));
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.plugin.portal.js:
--------------------------------------------------------------------------------
1 | jQuery(function() {
2 | $( ".column" ).sortable({
3 | connectWith: ".column",
4 | handle: '.panel-heading',
5 | forcePlaceholderSize: true,
6 | cursor: "move",
7 | cancel: ".unsort, .tab-content",
8 | stop: function( event, ui ) {
9 | var pos = [];
10 | $('.column').each(function(){
11 | var col = [];
12 | $(this).find('.panel').each(function(){
13 | col.push($(this).attr('id'));
14 | });
15 | pos.push(col.join(','));
16 | });
17 | var pos_val = pos.join('|');
18 | var key = $('#_portal_key').val();
19 | $.save_user_settings(key, pos_val, function(){
20 | //alert('success');
21 | });
22 | }
23 | });
24 |
25 | $( ".panel-heading .icon.chevron" ).click(function() {
26 | $( this ).toggleClass( "fa fa-chevron-up" ).toggleClass( "fa fa-chevron-down" );
27 | $( this ).parents( ".panel:first" ).find( ".panel-body" ).toggle('fast');
28 | });
29 |
30 | });
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.plugin.refresh.js:
--------------------------------------------------------------------------------
1 | (function($) {
2 |
3 | $.dofresh = function(){
4 | var refresh_el = $('#refresh_time');
5 | var time = parseInt(refresh_el.text());
6 | if(time == 1){
7 | refresh_el.text(0);
8 | window.location.reload();
9 | } else {
10 | refresh_el.text(time-1);
11 | setTimeout("$.dofresh()",1000)
12 | }
13 | };
14 |
15 | $(function(){
16 | var refresh_el = $('#refresh_time');
17 | if(refresh_el){
18 | setTimeout("$.dofresh()",1000)
19 | }
20 | });
21 |
22 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.plugin.revision.js:
--------------------------------------------------------------------------------
1 | jQuery(function($){
2 | $('.diff_field').each(function(){
3 | var el = $(this);
4 | var textarea = el.find('textarea.org-data');
5 | var title = el.data('org-data') || el.attr('title');
6 | if(textarea.length){
7 | title = textarea.val();
8 | }
9 | el.find('.controls').tooltip({
10 | title: title,
11 | html: true
12 | })
13 | });
14 |
15 | $('.formset-content .formset-row').each(function(){
16 | var row = $(this);
17 | var del = row.find('input[id $= "-DELETE"]');
18 | if(del.val() == 'on' || del.val() == 'True'){
19 | row.addClass('row-deleted');
20 | del.val('on');
21 | }
22 | var idinput = row.find('input[id $= "-id"]');
23 | if(idinput.val() == '' || idinput.val() == undefined){
24 | row.addClass('row-added');
25 | row.find('.formset-num').html(gettext('New Item'));
26 | }
27 | });
28 | });
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.widget.multiselect.js:
--------------------------------------------------------------------------------
1 |
2 | ;(function($){
3 |
4 | $.fn.exform.renders.push(function(f){
5 | if($.fn.multiselect){
6 | f.find('.selectmultiple.selectdropdown').multiselect({
7 |
8 | });
9 | }
10 | });
11 |
12 | })(jQuery)
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/js/xadmin.widget.select.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | // add select render
3 | $.fn.exform.renders.push(function(f){
4 | if($.fn.selectize){
5 | f.find('select:not(.select-search):not([multiple=multiple])').selectize();
6 | f.find('.select-search').each(function(){
7 | var $el = $(this);
8 | var preload = $el.hasClass('select-preload');
9 | $el.selectize({
10 | valueField: 'id',
11 | labelField: '__str__',
12 | searchField: '__str__',
13 | create: false,
14 | maxItems: 1,
15 | preload: preload,
16 | load: function(query, callback) {
17 | if(!preload && !query.length) return callback();
18 | $.ajax({
19 | url: $el.data('search-url')+$el.data('choices'),
20 | dataType: 'json',
21 | data: {
22 | '_q_' : query,
23 | '_cols': 'id.__str__'
24 | },
25 | type: 'GET',
26 | error: function() {
27 | callback();
28 | },
29 | success: function(res) {
30 | callback(res.objects);
31 | }
32 | });
33 | }
34 | });
35 | })
36 | }});
37 | })(jQuery)
38 |
39 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.bg.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Bulgarian translation for bootstrap-datepicker
3 | * Apostol Apostolov
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['bg'] = {
7 | days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"],
8 | daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"],
9 | daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"],
10 | months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
11 | monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
12 | today: "днес"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ca.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Catalan translation for bootstrap-datepicker
3 | * J. Garcia
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ca'] = {
7 | days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"],
8 | daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"],
9 | daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"],
10 | months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"],
11 | monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"],
12 | today: "Avui"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Czech translation for bootstrap-datepicker
3 | * Matěj Koubík
4 | * Fixes by Michal Remiš
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['cs'] = {
8 | days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"],
9 | daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"],
10 | daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"],
11 | months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"],
12 | monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"],
13 | today: "Dnes"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Danish translation for bootstrap-datepicker
3 | * Christian Pedersen
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['da'] = {
7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
10 | months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "I Dag"
13 | };
14 | }(jQuery));
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js:
--------------------------------------------------------------------------------
1 | /**
2 | * German translation for bootstrap-datepicker
3 | * Sam Zurcher
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['de'] = {
7 | days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"],
8 | daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"],
9 | daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"],
10 | months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
11 | monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
12 | today: "Heute",
13 | weekStart: 1,
14 | format: "dd.mm.yyyy"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.el.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Greek translation for bootstrap-datepicker
3 | */
4 | ;(function($){
5 | $.fn.datepicker.dates['el'] = {
6 | days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"],
7 | daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"],
8 | daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"],
9 | months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"],
10 | monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"],
11 | today: "Σήμερα"
12 | };
13 | }(jQuery));
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Spanish translation for bootstrap-datepicker
3 | * Bruno Bonamin
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['es'] = {
7 | days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
8 | daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
9 | daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
10 | months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
11 | monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
12 | today: "Hoy"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Finnish translation for bootstrap-datepicker
3 | * Jaakko Salonen
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['fi'] = {
7 | days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"],
8 | daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"],
9 | daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"],
10 | months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"],
11 | monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"],
12 | today: "tänään"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * French translation for bootstrap-datepicker
3 | * Nico Mollet
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['fr'] = {
7 | days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
8 | daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
9 | daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"],
10 | months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
11 | monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"],
12 | today: "Aujourd'hui",
13 | weekStart: 1,
14 | format: "dd/mm/yyyy"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.he.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Hebrew translation for bootstrap-datepicker
3 | * Sagie Maoz
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['he'] = {
7 | days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"],
8 | daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
9 | daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
10 | months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"],
11 | monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"],
12 | today: "היום",
13 | rtl: true
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.hr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Croatian localisation
3 | */
4 | ;(function($){
5 | $.fn.datepicker.dates['hr'] = {
6 | days: ["Nedjelja", "Ponedjelja", "Utorak", "Srijeda", "Četrtak", "Petak", "Subota", "Nedjelja"],
7 | daysShort: ["Ned", "Pon", "Uto", "Srr", "Čet", "Pet", "Sub", "Ned"],
8 | daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"],
9 | months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"],
10 | monthsShort: ["Sije", "Velj", "Ožu", "Tra", "Svi", "Lip", "Jul", "Kol", "Ruj", "Lis", "Stu", "Pro"],
11 | today: "Danas"
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.hu.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Hungarian translation for bootstrap-datepicker
3 | * Sotus László
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['hu'] = {
7 | days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"],
8 | daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"],
9 | daysMin: ["Va", "Hé", "Ke", "Sz", "Cs", "Pé", "Sz", "Va"],
10 | months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"],
12 | today: "Ma",
13 | weekStart: 1,
14 | format: "yyyy.mm.dd"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Bahasa translation for bootstrap-datepicker
3 | * Azwar Akbar
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['id'] = {
7 | days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"],
8 | daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"],
9 | daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"],
10 | months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"]
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Icelandic translation for bootstrap-datepicker
3 | * Hinrik Örn Sigurðsson
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['is'] = {
7 | days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
8 | daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
9 | daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
10 | months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"],
12 | today: "Í Dag"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Italian translation for bootstrap-datepicker
3 | * Enrico Rubboli
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['it'] = {
7 | days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"],
8 | daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
9 | daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"],
10 | months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
11 | monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
12 | today: "Oggi",
13 | weekStart: 1,
14 | format: "dd/mm/yyyy"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Japanese translation for bootstrap-datepicker
3 | * Norio Suzuki
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ja'] = {
7 | days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"],
8 | daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"],
9 | daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"],
10 | months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
11 | monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
12 | today: "今日",
13 | format: "yyyy/mm/dd"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Korean translation for bootstrap-datepicker
3 | * Gu Youn
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['kr'] = {
7 | days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"],
8 | daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"],
9 | daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"],
10 | months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
11 | monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Lithuanian translation for bootstrap-datepicker
3 | * Šarūnas Gliebus
4 | */
5 |
6 | ;(function($){
7 | $.fn.datepicker.dates['lt'] = {
8 | days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"],
9 | daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"],
10 | daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"],
11 | months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"],
12 | monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"],
13 | today: "Šiandien",
14 | weekStart: 1
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Latvian translation for bootstrap-datepicker
3 | * Artis Avotins
4 | */
5 |
6 | ;(function($){
7 | $.fn.datepicker.dates['lv'] = {
8 | days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"],
9 | daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"],
10 | daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "St", "Sv"],
11 | months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"],
12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec."],
13 | today: "Šodien",
14 | weekStart: 1
15 | };
16 | }(jQuery));
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Malay translation for bootstrap-datepicker
3 | * Ateman Faiz
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ms'] = {
7 | days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"],
8 | daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"],
9 | daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"],
10 | months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
12 | today: "Hari Ini"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Norwegian (bokmål) translation for bootstrap-datepicker
3 | * Fredrik Sundmyhr
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['nb'] = {
7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
10 | months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
12 | today: "I Dag"
13 | };
14 | }(jQuery));
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Dutch translation for bootstrap-datepicker
3 | * Reinier Goltstein
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['nl'] = {
7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Vandaag"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Polish translation for bootstrap-datepicker
3 | * Robert
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['pl'] = {
7 | days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"],
8 | daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"],
9 | daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"],
10 | months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"],
11 | monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"],
12 | today: "Dzisiaj",
13 | weekStart: 1
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Brazilian translation for bootstrap-datepicker
3 | * Cauan Cabral
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['pt-BR'] = {
7 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
8 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
9 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
10 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
11 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
12 | today: "Hoje"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Portuguese translation for bootstrap-datepicker
3 | * Original code: Cauan Cabral
4 | * Tiago Melo
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['pt'] = {
8 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
9 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
10 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
11 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
12 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"]
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ro.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Romanian translation for bootstrap-datepicker
3 | * Cristian Vasile
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ro'] = {
7 | days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"],
8 | daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"],
9 | daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
10 | months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
11 | monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"],
12 | today: "Astăzi",
13 | weekStart: 1
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs-latin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Serbian latin translation for bootstrap-datepicker
3 | * Bojan Milosavlević
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['rs'] = {
7 | days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
8 | daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
9 | daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
10 | months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Danas"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Serbian cyrillic translation for bootstrap-datepicker
3 | * Bojan Milosavlević
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['rs'] = {
7 | days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"],
8 | daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"],
9 | daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"],
10 | months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
11 | monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
12 | today: "Данас"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Russian translation for bootstrap-datepicker
3 | * Victor Taranenko
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ru'] = {
7 | days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
8 | daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
9 | daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
10 | months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
11 | monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
12 | today: "Сегодня"
13 | };
14 | }(jQuery));
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sk.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Slovak translation for bootstrap-datepicker
3 | * Marek Lichtner
4 | * Fixes by Michal Remiš
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates["sk"] = {
8 | days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
9 | daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"],
10 | daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"],
11 | months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"],
12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
13 | today: "Dnes"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Slovene translation for bootstrap-datepicker
3 | * Gregor Rudolf
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['sl'] = {
7 | days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
8 | daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
9 | daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
10 | months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Danes"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Swedish translation for bootstrap-datepicker
3 | * Patrik Ragnarsson
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['sv'] = {
7 | days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
8 | daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
9 | daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
10 | months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "I Dag"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sw.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Swahili translation for bootstrap-datepicker
3 | * Edwin Mugendi
4 | * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['sw'] = {
8 | days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"],
9 | daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"],
10 | daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"],
11 | months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"],
12 | monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"],
13 | today: "Leo"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Thai translation for bootstrap-datepicker
3 | * Suchau Jiraprapot
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['th'] = {
7 | days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
8 | daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
9 | daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
10 | months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
11 | monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
12 | today: "วันนี้"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Turkish translation for bootstrap-datepicker
3 | * Serkan Algur
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['tr'] = {
7 | days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
8 | daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
9 | daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
10 | months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
11 | monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
12 | today: "Bugün"
13 | };
14 | }(jQuery));
15 |
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.uk.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Ukrainian translation for bootstrap-datepicker
3 | * Andrey Vityuk
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['uk'] = {
7 | days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота", "Неділя"],
8 | daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"],
9 | daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
10 | months: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
11 | monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
12 | today: "Сьогодні"
13 | };
14 | }(jQuery));
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Simplified Chinese translation for bootstrap-datepicker
3 | * Yuan Cheung
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['zh-CN'] = {
7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12 | today: "今日"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Traditional Chinese translation for bootstrap-datepicker
3 | * Rung-Sheng Jang
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['zh-TW'] = {
7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"]
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-image-gallery/img/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/bootstrap-image-gallery/img/loading.gif
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-modal/img/ajax-loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/bootstrap-modal/img/ajax-loader.gif
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap-multiselect/css/bootstrap-multiselect.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/bootstrap-multiselect/css/bootstrap-multiselect.css
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2-spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/select2/select2-spinner.gif
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/select2/select2.png
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_de.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 German translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Keine Übereinstimmungen gefunden"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Bitte " + n + " Zeichen mehr eingeben"; },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Bitte " + n + " Zeichen weniger eingeben"; },
11 | formatSelectionTooBig: function (limit) { return "Sie können nur " + limit + " Eintr" + (limit === 1 ? "ag" : "äge") + " auswählen"; },
12 | formatLoadMore: function (pageNumber) { return "Lade mehr Ergebnisse..."; },
13 | formatSearching: function () { return "Suche..."; }
14 | });
15 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_en.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 English translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "No matches found"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Please enter " + n + " more character" + (n == 1 ? "" : "s"); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Please delete " + n + " character" + (n == 1 ? "" : "s"); },
11 | formatSelectionTooBig: function (limit) { return "You can only select " + limit + " item" + (limit == 1 ? "" : "s"); },
12 | formatLoadMore: function (pageNumber) { return "Loading more results..."; },
13 | formatSearching: function () { return "Searching..."; }
14 | });
15 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_es.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Spanish translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "No se encontraron resultados"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor adicione " + n + " caracter" + (n == 1? "" : "es"); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor elimine " + n + " caracter" + (n == 1? "" : "es"); },
11 | formatSelectionTooBig: function (limit) { return "Solo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
12 | formatLoadMore: function (pageNumber) { return "Cargando más resultados..."; },
13 | formatSearching: function () { return "Buscando..."; }
14 | });
15 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_eu.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Basque translation.
3 | *
4 | * Author: Julen Ruiz Aizpuru
5 | */
6 | (function ($) {
7 | "use strict";
8 |
9 | $.extend($.fn.select2.defaults, {
10 | formatNoMatches: function () {
11 | return "Ez da bat datorrenik aurkitu";
12 | },
13 | formatInputTooShort: function (input, min) {
14 | var n = min - input.length;
15 | if (n === 1) {
16 | return "Idatzi karaktere bat gehiago";
17 | } else {
18 | return "Idatzi " + n + " karaktere gehiago";
19 | }
20 | },
21 | formatInputTooLong: function (input, max) {
22 | var n = input.length - max;
23 | if (n === 1) {
24 | return "Idatzi karaktere bat gutxiago";
25 | } else {
26 | return "Idatzi " + n + " karaktere gutxiago";
27 | }
28 | },
29 | formatSelectionTooBig: function (limit) {
30 | if (limit === 1 ) {
31 | return "Elementu bakarra hauta dezakezu";
32 | } else {
33 | return limit + " elementu hauta ditzakezu soilik";
34 | }
35 | },
36 | formatLoadMore: function (pageNumber) {
37 | return "Emaitza gehiago kargatzen...";
38 | },
39 | formatSearching: function () {
40 | return "Bilatzen...";
41 | }
42 | });
43 | })(jQuery);
44 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_fr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 French translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Aucun résultat trouvé"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Merci de saisir " + n + " caractère" + (n == 1? "" : "s") + " de plus"; },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Merci de saisir " + n + " caractère" + (n == 1? "" : "s") + " de moins"; },
11 | formatSelectionTooBig: function (limit) { return "Vous pouvez seulement sélectionner " + limit + " élément" + (limit == 1 ? "" : "s"); },
12 | formatLoadMore: function (pageNumber) { return "Chargement de résultats supplémentaires..."; },
13 | formatSearching: function () { return "Recherche en cours..."; }
14 | });
15 | })(jQuery);
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_hr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Croatian translation.
3 | *
4 | * Author: Edi Modrić
5 | */
6 | (function ($) {
7 | "use strict";
8 |
9 | var specialNumbers = {
10 | 1: function(n) { return (n % 100 != 11 ? "znak" : "znakova"); },
11 | 2: function(n) { return (n % 100 != 12 ? "znaka" : "znakova"); },
12 | 3: function(n) { return (n % 100 != 13 ? "znaka" : "znakova"); },
13 | 4: function(n) { return (n % 100 != 14 ? "znaka" : "znakova"); }
14 | };
15 |
16 | $.extend($.fn.select2.defaults, {
17 | formatNoMatches: function () { return "Nema rezultata"; },
18 | formatInputTooShort: function (input, min) {
19 | var n = min - input.length;
20 | var nMod10 = n % 10;
21 |
22 | if (nMod10 > 0 && nMod10 < 5) {
23 | return "Unesite još " + n + " " + specialNumbers[nMod10](n);
24 | }
25 |
26 | return "Unesite još " + n + " znakova";
27 | },
28 | formatInputTooLong: function (input, max) {
29 | var n = input.length - max;
30 | var nMod10 = n % 10;
31 |
32 | if (nMod10 > 0 && nMod10 < 5) {
33 | return "Unesite " + n + " " + specialNumbers[nMod10](n) + " manje";
34 | }
35 |
36 | return "Unesite " + n + " znakova manje";
37 | },
38 | formatSelectionTooBig: function (limit) { return "Maksimalan broj odabranih stavki je " + limit; },
39 | formatLoadMore: function (pageNumber) { return "Učitavanje rezultata..."; },
40 | formatSearching: function () { return "Pretraga..."; }
41 | });
42 | })(jQuery);
43 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_hu.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Hungarian translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Nincs találat."; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Túl rövid. Még " + n + " karakter hiányzik."; },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Túl hosszú. " + n + " kerekterrel több mint kellene."; },
11 | formatSelectionTooBig: function (limit) { return "Csak " + limit + " elemet lehet kiválasztani."; },
12 | formatLoadMore: function (pageNumber) { return "Töltés..."; },
13 | formatSearching: function () { return "Keresés..."; }
14 | });
15 | })(jQuery);
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_it.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Italian translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Nessuna corrispondenza trovata"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Inserisci ancora " + n + " caratter" + (n == 1? "e" : "i"); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Inserisci " + n + " caratter" + (n == 1? "e" : "i") + " in meno"; },
11 | formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); },
12 | formatLoadMore: function (pageNumber) { return "Caricamento in corso..."; },
13 | formatSearching: function () { return "Ricerca..."; }
14 | });
15 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_nl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Dutch translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Geen resultaten gevonden"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Vul " + n + " karakter" + (n == 1? "" : "s") + " meer in"; },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Vul " + n + " karakter" + (n == 1? "" : "s") + " minder in"; },
11 | formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; },
12 | formatLoadMore: function (pageNumber) { return "Meer resultaten laden..."; },
13 | formatSearching: function () { return "Zoeken..."; },
14 | });
15 | })(jQuery);
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_pt-BR.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Brazilian Portuguese translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Nenhum resultado encontrado"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Informe " + n + " caracter" + (n == 1? "" : "es"); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); },
11 | formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
12 | formatLoadMore: function (pageNumber) { return "Carregando mais resultados..."; },
13 | formatSearching: function () { return "Buscando..."; }
14 | });
15 | })(jQuery);
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_pt-PT.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Portuguese (Portugal) translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Nenhum resultado encontrado"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduza " + n + " caracter" + (n == 1 ? "" : "es"); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1 ? "" : "es"); },
11 | formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
12 | formatLoadMore: function (pageNumber) { return "A carregar mais resultados..."; },
13 | formatSearching: function () { return "A pesquisar..."; }
14 | });
15 | })(jQuery);
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_ro.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Romanian translation.
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Nu a fost găsit nimic"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Vă rugăm să introduceți incă " + n + " caracter" + (n == 1 ? "" : "e"); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Vă rugăm să introduceți mai puțin de " + n + " caracter" + (n == 1? "" : "e"); },
11 | formatSelectionTooBig: function (limit) { return "Aveți voie să selectați cel mult " + limit + " element" + (limit == 1 ? "" : "e"); },
12 | formatLoadMore: function (pageNumber) { return "Se încarcă..."; },
13 | formatSearching: function () { return "Căutare..."; }
14 | });
15 | })(jQuery);
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_ru.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Russian translation
3 | */
4 | (function ($) {
5 | "use strict";
6 |
7 | $.extend($.fn.select2.defaults, {
8 | formatNoMatches: function () { return "Совпадений не найдено"; },
9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Пожалуйста, введите еще " + n + " символ" + (n == 1 ? "" : ((n > 1)&&(n < 5) ? "а" : "ов")); },
10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Пожалуйста, введите на " + n + " символ" + (n == 1 ? "" : ((n > 1)&&(n < 5)? "а" : "ов")) + " меньше"; },
11 | formatSelectionTooBig: function (limit) { return "Вы можете выбрать не более " + limit + " элемент" + (limit == 1 ? "" : ((limit > 1)&&(limit < 5)? "а" : "ов")); },
12 | formatLoadMore: function (pageNumber) { return "Загрузка данных..."; },
13 | formatSearching: function () { return "Поиск..."; }
14 | });
15 | })(jQuery);
16 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_sv.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Swedish translation.
3 | *
4 | * Author: Jens Rantil
5 | */
6 | (function ($) {
7 | "use strict";
8 |
9 | $.extend($.fn.select2.defaults, {
10 | formatNoMatches: function () { return "Inga träffar"; },
11 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Var god skriv in " + n + (n>1 ? " till tecken" : " tecken till"); },
12 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Var god sudda ut " + n + " tecken"; },
13 | formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; },
14 | formatLoadMore: function (pageNumber) { return "Laddar fler resultat..."; },
15 | formatSearching: function () { return "Söker..."; }
16 | });
17 | })(jQuery);
18 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_tr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 Turkish translation.
3 | *
4 | * Author: Salim KAYABAŞI
5 | */
6 | (function ($) {
7 | "use strict";
8 |
9 | $.extend($.fn.select2.defaults, {
10 | formatNoMatches: function () { return "Sonuç bulunamadı"; },
11 | formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; },
12 | formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; },
13 | formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; },
14 | formatLoadMore: function (pageNumber) { return "Daha fazla ..."; },
15 | formatSearching: function () { return "Aranıyor..."; }
16 | });
17 | })(jQuery);
18 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2_locale_ua.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Select2 translation.
3 | *
4 | * Author: bigmihail
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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/static/xadmin/vendor/select2/select2x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/static/xadmin/vendor/select2/select2x2.png
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/auth/password_reset/form.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n xadmin_tags %}
3 |
4 | {% load crispy_forms_tags %}
5 |
6 | {% block body %}
7 |
40 |
41 |
44 | {% endblock %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/comm.top.theme.html:
--------------------------------------------------------------------------------
1 | {% load i18n xadmin_tags %}
2 |
3 |
4 | {% trans "Themes" %}
5 |
10 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/modal_list.left_navbar.quickfilter.html:
--------------------------------------------------------------------------------
1 |
2 | {% for spec in cl.quickfilter.filter_specs %}{{ spec|safe }}{% endfor %}
3 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_form.before_fieldsets.wizard.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {{ wizard.management_form }}
3 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.nav_form.search_form.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {% if cl.search_fields %}
3 |
13 | {% endif %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.results_bottom.actions.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
25 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.results_top.date_hierarchy.html:
--------------------------------------------------------------------------------
1 | {% if show %}
2 |
10 | {% endif %}
11 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.top_toolbar.importexport.import.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.top_toolbar.layouts.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.top_toolbar.refresh.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/blocks/model_list.top_toolbar.saveorder.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
7 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/edit_inline/base.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/includes/box.html" %}
2 | {% load i18n xadmin_tags crispy_forms_tags %}
3 |
4 | {% block box_class %}formset fieldset{% if formset.css_class or inline_style %} {{ formset.css_class }} {{ inline_style }}{% endif %}{% endblock box_class %}
5 | {% block box_attrs %}id="{{ formset.css_id }}" {{ formset.flat_attrs|safe }}{% endblock box_attrs %}
6 |
7 | {% block box_title %}
8 | {% if not formset.formset.detail_page %}
9 | {% if has_add_permission %}
10 |
11 | {% endif %}
12 | {% endif %}
13 | {{ formset.opts.verbose_name_plural|title }}
14 | {% endblock box_title %}
15 |
16 | {% block box_content_class %}{{inline_style}} formset-content{% endblock box_content_class %}
17 | {% block box_content_attrs %}id="{{ formset.css_id }}-{{inline_style}}" data-prefix="{{ prefix }}" data-style="{{inline_style}}"{% endblock box_content_attrs %}
18 |
19 | {% block box_content %}
20 | {% if not formset.formset.detail_page %}
21 | {{ formset.formset.management_form }}
22 | {{ formset.formset.non_form_errors }}
23 | {% endif %}
24 | {% block formset_content %}
25 | {% for fs in formset.formset %}
26 | {% block formset_form %}{% endblock formset_form %}
27 | {% endfor %}
28 | {% endblock formset_content %}
29 | {% endblock box_content %}
30 |
31 | {% block box_extra %}
32 | {% if not formset.formset.detail_page %}
33 |
34 | {% blockcapture inline_html %}{% block formset_empty %}{% endblock formset_empty %}{% endblockcapture %}
35 | {{inline_html}} {# html escaped #}
36 |
37 | {% endif %}
38 | {% endblock box_extra %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/edit_inline/tabular.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/edit_inline/base.html" %}
2 | {% load i18n xadmin_tags crispy_forms_tags %}
3 |
4 | {% block box_content_class %}nopadding{% endblock box_content_class %}
5 | {% block box_content_attrs %}{% endblock box_content_attrs %}
6 |
7 | {% block formset_content %}
8 |
9 |
10 | {% for field in fields %}
11 | {% if not field.widget.is_hidden %}
12 | {{ field.label|capfirst }}
13 | {% if field.help_text %} {% endif %}
14 |
15 | {% endif %}
16 | {% endfor %}
17 | {% for field in readonly_fields %}
18 | {{ field.label }}
19 | {% endfor %}
20 | {% if formset.formset.can_delete %} {% endif %}
21 |
22 |
23 | {% for fs in formset.formset %}
24 |
25 | {% crispy fs formset.formset.helper %}
26 | {% for r_o_f in fs.readonly_fields %}
27 | {{ r_o_f.contents|safe }}
28 | {% endfor %}
29 | {% if formset.formset.can_delete %}
30 |
31 | {% endif %}
32 |
33 | {% endfor %}
34 |
35 |
36 | {% endblock formset_content %}
37 |
38 | {% block formset_empty %}
39 |
40 | {% crispy formset.formset.empty_form formset.formset.helper %}
41 | {% if formset.formset.can_delete %}
42 |
43 | {% endif %}
44 |
45 | {% endblock formset_empty %}
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/filters/char.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/filters/checklist.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/filters/fk_search.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
32 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/filters/list.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/filters/rel.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/import_export/export_action.html:
--------------------------------------------------------------------------------
1 | {% extends 'xadmin/base_site.html' %}
2 | {% load i18n %}
3 | {% load admin_urls %}
4 | {% load import_export_tags %}
5 |
6 | {% block breadcrumbs_last %}
7 | {% trans "Export" %}
8 | {% endblock %}
9 | {% load xadmin_tags %}
10 |
11 | {% block breadcrumbs %}
12 |
17 | {% endblock %}
18 | {% block nav_title %}
19 | {{title}}
20 | {% endblock %}
21 |
22 | {% block content %}
23 |
46 | {% endblock %}
47 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/includes/submit_line.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {% load xadmin_tags %}
3 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/includes/toggle_back.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/includes/toggle_menu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/layout/field_value.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/layout/field_value_td.html:
--------------------------------------------------------------------------------
1 |
2 | {{ result.val }}
3 |
4 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/views/batch_change_form.html:
--------------------------------------------------------------------------------
1 | {% extends base_template %}
2 | {% load i18n l10n %}
3 |
4 | {% load xadmin_tags %}
5 | {% load crispy_forms_tags %}
6 |
7 | {% block breadcrumbs %}
8 |
13 | {% endblock %}
14 |
15 | {% block nav_title %}{% if model_icon %} {% endif %}
16 | {% blocktrans count counter=count %}Change one {{ objects_name }}{% plural %}Batch change {{ counter }} {{ objects_name }}{% endblocktrans %}
17 | {% endblock %}
18 |
19 | {% block content %}
20 |
41 | {% endblock %}
42 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/views/quick_detail.html:
--------------------------------------------------------------------------------
1 | {% load i18n %}
2 | {% load xadmin_tags %}
3 | {% load crispy_forms_tags %}
4 | {% crispy form %}
--------------------------------------------------------------------------------
/extra_apps/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 }}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/xadmin/templates/xadmin/widgets/base.html:
--------------------------------------------------------------------------------
1 | {% extends "xadmin/includes/box.html" %}
2 | {% load i18n xadmin_tags %}
3 | {% load crispy_forms_tags %}
4 |
5 | {% block box_attrs %}id="{{ widget_id }}"{% endblock box_attrs %}
6 | {% block box_class %}widget {{widget_type}}{% endblock box_class %}
7 |
8 | {% block box_title %}
9 | {% if widget.dashboard.widget_customiz %}
10 |
11 | {% endif %}
12 | {% block title %}
13 |
14 | {{ widget_title }}
15 | {% endblock title %}
16 | {% endblock box_title %}
17 |
18 | {% block box_content %}
19 | {% block content %}
20 | {{ content|safe }}
21 | {% endblock content %}
22 | {% endblock box_content %}
23 |
24 | {% block box_extra %}
25 |
47 | {% endblock box_extra %}
48 |
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 %}
--------------------------------------------------------------------------------
/extra_apps/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 |
--------------------------------------------------------------------------------
/extra_apps/xadmin/templatetags/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/templatetags/__init__.py
--------------------------------------------------------------------------------
/extra_apps/xadmin/templatetags/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/templatetags/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/templatetags/__pycache__/xadmin_tags.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/templatetags/__pycache__/xadmin_tags.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__init__.py:
--------------------------------------------------------------------------------
1 | from __future__ import absolute_import
2 |
3 | from .base import BaseAdminPlugin, BaseAdminView, CommAdminView, ModelAdminView, filter_hook, csrf_protect_m, BaseAdminObject
4 |
5 | from .list import ListAdminView
6 | from .edit import CreateAdminView, UpdateAdminView, ModelFormAdminView
7 | from .delete import DeleteAdminView
8 | from .detail import DetailAdminView
9 | from .form import FormAdminView
10 | from .dashboard import Dashboard, BaseWidget, widget_manager, ModelDashboard
11 | from .website import IndexView, LoginView, LogoutView, UserSettingView
12 |
13 | __all__ = (
14 | 'BaseAdminObject',
15 | 'BaseAdminPlugin', 'BaseAdminView', 'CommAdminView', 'ModelAdminView', 'ListAdminView',
16 | 'ModelFormAdminView', 'CreateAdminView', 'UpdateAdminView', 'DeleteAdminView', 'DetailAdminView', 'FormAdminView',
17 | 'Dashboard', 'BaseWidget',
18 | 'IndexView', 'LoginView', 'LogoutView',
19 | 'filter_hook', 'csrf_protect_m'
20 | )
21 |
22 | # admin site-wide views
23 | def register_builtin_views(site):
24 | site.register_view(r'^$', IndexView, name='index')
25 | site.register_view(r'^login/$', LoginView, name='login')
26 | site.register_view(r'^logout/$', LogoutView, name='logout')
27 |
28 | site.register_view(r'^settings/user$', UserSettingView, name='user_settings')
29 |
30 | site.register_modelview(r'^$', ListAdminView, name='%s_%s_changelist')
31 | site.register_modelview(r'^add/$', CreateAdminView, name='%s_%s_add')
32 | site.register_modelview(
33 | r'^(.+)/delete/$', DeleteAdminView, name='%s_%s_delete')
34 | site.register_modelview(
35 | r'^(.+)/update/$', UpdateAdminView, name='%s_%s_change')
36 | site.register_modelview(
37 | r'^(.+)/detail/$', DetailAdminView, name='%s_%s_detail')
38 | site.register_modelview(
39 | r'^(.+)/dashboard/$', ModelDashboard, name='%s_%s_dashboard')
40 |
41 | site.set_loginview(LoginView)
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/base.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/base.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/dashboard.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/dashboard.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/delete.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/delete.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/detail.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/detail.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/edit.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/edit.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/form.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/form.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/list.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/list.cpython-36.pyc
--------------------------------------------------------------------------------
/extra_apps/xadmin/views/__pycache__/website.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/extra_apps/xadmin/views/__pycache__/website.cpython-36.pyc
--------------------------------------------------------------------------------
/manage.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | import os
3 | import sys
4 |
5 | if __name__ == "__main__":
6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Microgrid.settings")
7 | try:
8 | from django.core.management import execute_from_command_line
9 | except ImportError:
10 | # The above import may fail for some other reason. Ensure that the
11 | # issue is really that Django is missing to avoid masking other
12 | # exceptions on Python 2.
13 | try:
14 | import django
15 | except ImportError:
16 | raise ImportError(
17 | "Couldn't import Django. Are you sure it's installed and "
18 | "available on your PYTHONPATH environment variable? Did you "
19 | "forget to activate a virtual environment?"
20 | )
21 | raise
22 | execute_from_command_line(sys.argv)
23 |
--------------------------------------------------------------------------------
/media/img/BI.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/BI.jpg
--------------------------------------------------------------------------------
/media/img/PV.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/PV.jpg
--------------------------------------------------------------------------------
/media/img/PVI.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/PVI.jpg
--------------------------------------------------------------------------------
/media/img/battery.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/battery.jpg
--------------------------------------------------------------------------------
/media/img/green.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/green.jpg
--------------------------------------------------------------------------------
/media/img/load.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/load.png
--------------------------------------------------------------------------------
/media/img/load_TlrnuoP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/load_TlrnuoP.png
--------------------------------------------------------------------------------
/media/img/power_grid.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/power_grid.jpg
--------------------------------------------------------------------------------
/media/img/red.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/media/img/red.jpg
--------------------------------------------------------------------------------
/projectInstruction/picture/Web设备管理界面.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/projectInstruction/picture/Web设备管理界面.png
--------------------------------------------------------------------------------
/projectInstruction/picture/Web设备管理逻辑框架.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/projectInstruction/picture/Web设备管理逻辑框架.png
--------------------------------------------------------------------------------
/projectInstruction/picture/微电网管理系统总框架图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/projectInstruction/picture/微电网管理系统总框架图.png
--------------------------------------------------------------------------------
/projectInstruction/picture/数据库逻辑设计.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/projectInstruction/picture/数据库逻辑设计.png
--------------------------------------------------------------------------------
/static/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/static/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/static/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/static/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/static/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/static/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/static/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/static/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/static/img/money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/static/img/money.png
--------------------------------------------------------------------------------
/static/img/output.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/msun1996/Microgrid/65780befca0ec31dd42bec10c1bd05c95b80bebf/static/img/output.jpg
--------------------------------------------------------------------------------
/static/js/bootstrap-datetimepicker.zh-CN.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Simplified Chinese translation for bootstrap-datetimepicker
3 | * Yuan Cheung
4 | */
5 | ;(function($){
6 | $.fn.datetimepicker.dates['zh-CN'] = {
7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12 | today: "今天",
13 | suffix: [],
14 | meridiem: ["上午", "下午"]
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/static/js/npm.js:
--------------------------------------------------------------------------------
1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
2 | require('../../js/transition.js')
3 | require('../../js/alert.js')
4 | require('../../js/button.js')
5 | require('../../js/carousel.js')
6 | require('../../js/collapse.js')
7 | require('../../js/dropdown.js')
8 | require('../../js/modal.js')
9 | require('../../js/tooltip.js')
10 | require('../../js/popover.js')
11 | require('../../js/scrollspy.js')
12 | require('../../js/tab.js')
13 | require('../../js/affix.js')
--------------------------------------------------------------------------------
/templates/dev_info_load.html:
--------------------------------------------------------------------------------
1 | {% extends 'base.html' %}
2 | {% load staticfiles %}
3 | {% block title %}负载信息{% endblock %}
4 | {% block custom_css %}
5 |
6 | {% endblock %}
7 | {% block custom_js %}
8 | {% endblock %}
9 | {% block content %}
10 |
11 |
12 |
15 |
16 |
17 |
状态信息
18 |
19 | 有功功率:
20 |
21 | 无功功率:
22 |
23 |
24 |
25 |
26 | {% endblock %}
--------------------------------------------------------------------------------
/templates/login.html:
--------------------------------------------------------------------------------
1 | {% extends 'base.html' %}
2 | {% load staticfiles %}
3 | {% block custom_css %}
4 |
14 | {% endblock %}
15 | {% block title %}
16 | 微电网登录界面
17 | {% endblock %}
18 | {% block nav2 %}{% endblock %}
19 | {% block content %}
20 |
42 | {% endblock %}
--------------------------------------------------------------------------------