SimpleDomControl 0.4.16__tar.gz → 0.4.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/PKG-INFO +1 -1
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/pyproject.toml +1 -1
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/package.json +1 -1
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_list_view/sdc_list_view.js +16 -12
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigator/sdc_navigator.js +0 -1
- simpledomcontrol-0.4.18/sdc_tools/templates/elements/form.html +51 -0
- simpledomcontrol-0.4.18/sdc_tools/templates/elements/inline_form.html +40 -0
- simpledomcontrol-0.4.16/sdc_tools/templates/elements/form.html +0 -99
- simpledomcontrol-0.4.16/sdc_tools/templates/elements/inline_form.html +0 -73
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/README.md +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/apps.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/consumers.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/_private.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/add_controller_manager.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/add_model_manager.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/options.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/sdc_core_manager.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/settings_manager.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/utils.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_cc.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_get_controller_infos.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_get_controller_url.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_get_model_infos.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_init.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_is_installed.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_new_model.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_shell_execute_script.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_update_links.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_update_url.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/forms.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/import_manager.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/models.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/response.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/search.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/views.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/.babelrc +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/gulpfile.jsx +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/src/index.organizer.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/src/index.style.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/tests/config/post-test-teardown.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/tests/config/pre-test-setup.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/tests/config/test-setup.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/webpack.config/webpack.default.config.jsx +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/webpack.config/webpack.development.config.jsx +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/webpack.config/webpack.production.config.jsx +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/apps/sdc_examples/Add_SDCUser.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/apps/sdc_examples/index.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/apps/sdc_examples/server_call.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/asgi.py.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/controller/templade_view.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/controller/template_controller.js.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/controller/template_css.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/controller/template_test.js.text +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/js_test.js.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/models/detail.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/models/list.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/routing.py.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/sdc_urls.py.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/sdc_views.py.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/settings_extension.py.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/templates/base.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/templates/index.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/urls.py.txt +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_alert_messenger/sdc_alert_messenger.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_alert_messenger/sdc_alert_messenger.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_auto_submit/sdc_auto_submit.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_detail_view/sdc_detail_view.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_detail_view/sdc_detail_view.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_dummy/sdc_dummy.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_dummy/sdc_dummy.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_error/sdc_error.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_error/sdc_error.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_list_view/sdc_list_view.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_model_form/sdc_model_form.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_model_form/sdc_model_form.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigation_client/sdc_navigation_client.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigator/sdc_navigator.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_search_view/sdc_search_view.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_search_view/sdc_search_view.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/controller/sdc_update_on_change/sdc_update_on_change.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/sdc_tools.organizer.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/src/sdc_tools/sdc_tools.style.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/tests/sdc_tools.test.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/admin.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/apps.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/migrations/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/models.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/sdc_urls.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/sdc_views.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/email/base.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/dummy_sdc.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_alert_messenger.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_detail_view.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_dummy.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_error.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_list_view.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_model_form.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_navigator.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_search_view.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templatetags/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templatetags/addclass.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templatetags/indexfilter.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templatetags/sdc_filter.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/tests.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/views.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/controller/sdc_login/sdc_login.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/controller/sdc_login/sdc_login.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/controller/sdc_logout/sdc_logout.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/controller/sdc_logout/sdc_logout.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/controller/sdc_user_nav_btn/sdc_user_nav_btn.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/controller/sdc_user_nav_btn/sdc_user_nav_btn.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/sdc_user.organizer.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/sdc_user.style.scss +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/tests/sdc_user.test.js +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/admin.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/apps.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/migrations/__init__.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/models.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/sdc_urls.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/sdc_views.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/templates/sdc_user/sdc/sdc_login.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/templates/sdc_user/sdc/sdc_logout.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/templates/sdc_user/sdc/sdc_user_nav_btn.html +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/tests.py +0 -0
- {simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/views.py +0 -0
|
@@ -27,36 +27,40 @@ export class SdcListViewController extends AbstractSDC {
|
|
|
27
27
|
// - onRemove //
|
|
28
28
|
//-------------------------------------------------//
|
|
29
29
|
|
|
30
|
-
onInit(model, filter, onUpdate
|
|
31
|
-
if(!this.model) {
|
|
30
|
+
onInit(model, filter, onUpdate) {
|
|
31
|
+
if (!this.model) {
|
|
32
32
|
if (this.model_name) {
|
|
33
33
|
model = this.model_name;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
this.model = this.newModel(model);
|
|
37
37
|
}
|
|
38
|
-
if(onUpdate) {
|
|
38
|
+
if (onUpdate) {
|
|
39
39
|
this.on_update = onUpdate;
|
|
40
40
|
}
|
|
41
|
-
if(typeof filter === 'function') {
|
|
41
|
+
if (typeof filter === 'function') {
|
|
42
42
|
filter = filter();
|
|
43
43
|
}
|
|
44
|
-
if(typeof filter === 'object') {
|
|
44
|
+
if (typeof filter === 'object') {
|
|
45
45
|
this.model.filter(filter);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
if(this.on_update) {
|
|
49
|
-
this.model.load().then(()=> {
|
|
48
|
+
if (this.on_update) {
|
|
49
|
+
this.model.load().then(() => {
|
|
50
50
|
this.on_update(this.model.values_list);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
onLoad($html) {
|
|
56
|
-
$html.filter('.list-container')
|
|
56
|
+
let lc = $html.filter('.list-container');
|
|
57
|
+
if (lc.length === 0) {
|
|
58
|
+
lc = $html.find('.list-container');
|
|
59
|
+
}
|
|
60
|
+
lc.append(this.model.listView(this.search_values));
|
|
57
61
|
this.model.on_update = this.model.on_create = () => {
|
|
58
|
-
if(this.on_update) {
|
|
59
|
-
this.model.load().then(()=> {
|
|
62
|
+
if (this.on_update) {
|
|
63
|
+
this.model.load().then(() => {
|
|
60
64
|
this.on_update(this.model.values_list);
|
|
61
65
|
});
|
|
62
66
|
}
|
|
@@ -71,7 +75,7 @@ export class SdcListViewController extends AbstractSDC {
|
|
|
71
75
|
|
|
72
76
|
onRefresh() {
|
|
73
77
|
const $tooltip = this.find('[data-toggle="tooltip"]');
|
|
74
|
-
if($tooltip.length > 0 && $tooltip.tooltip) {
|
|
78
|
+
if ($tooltip.length > 0 && $tooltip.tooltip) {
|
|
75
79
|
$tooltip.tooltip();
|
|
76
80
|
}
|
|
77
81
|
return super.onRefresh();
|
|
@@ -88,7 +92,7 @@ export class SdcListViewController extends AbstractSDC {
|
|
|
88
92
|
}
|
|
89
93
|
|
|
90
94
|
_updateView() {
|
|
91
|
-
const $div = this.model.listView(this.search_values, ()=> {
|
|
95
|
+
const $div = this.model.listView(this.search_values, () => {
|
|
92
96
|
const elems = $('.tooltip.fade.show');
|
|
93
97
|
elems.remove();
|
|
94
98
|
this.find('.list-container').safeEmpty().append($div);
|
|
@@ -225,7 +225,6 @@ export class SdcNavigatorController extends AbstractSDC {
|
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
navLoaded(controller) {
|
|
228
|
-
console.log(this._current_process, controller.controller_name(), this._previous_args);
|
|
229
228
|
let idx = this._history_path.length - 1;
|
|
230
229
|
let last_view_array = this._preparedLastViewContainer(idx);
|
|
231
230
|
last_view_array.active_container.removeClass('active loading').addClass('empty');
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{% load i18n %}
|
|
2
|
+
{% load sdc_filter %}
|
|
3
|
+
{{ form.media }}
|
|
4
|
+
|
|
5
|
+
<div class="hidden-form-fields">
|
|
6
|
+
{% for hidden in form.hidden_fields %}
|
|
7
|
+
{{ hidden }}
|
|
8
|
+
{% endfor %}
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
{% if form.non_field_errors %}
|
|
12
|
+
<div class="alert alert-danger non-field-errors">
|
|
13
|
+
{{ form.non_field_errors }}
|
|
14
|
+
</div>
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
<style>
|
|
18
|
+
.form-group {
|
|
19
|
+
margin: 5px 0;
|
|
20
|
+
}
|
|
21
|
+
</style>
|
|
22
|
+
|
|
23
|
+
{% for field in form.visible_fields %}
|
|
24
|
+
<div class="row form-group{% if field.errors %} has-error{% endif %} {{ field.auto_id }}"
|
|
25
|
+
data-auto-id="{{ field.auto_id }}">
|
|
26
|
+
<div class="col-md-4 label-container">
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
<label for="{{ field.auto_id }}" class="control-label">{{ field.label|safe }}</label>
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-md-8 form-input-container">
|
|
33
|
+
|
|
34
|
+
{{ field | addformclass}}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
{% if field.errors %}
|
|
38
|
+
<div class="alert alert-danger error-msg">
|
|
39
|
+
{{ field.errors }}
|
|
40
|
+
</div>
|
|
41
|
+
{% endif %}
|
|
42
|
+
</div>
|
|
43
|
+
{% if field.help_text %}
|
|
44
|
+
<div class="col-md-4 label-container">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="col-md-8 label-container">
|
|
47
|
+
<p class="help help_for_{{ field.auto_id }}">{{ field.help_text|safe }}</p>
|
|
48
|
+
</div>
|
|
49
|
+
{% endif %}
|
|
50
|
+
</div>
|
|
51
|
+
{% endfor %}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{% load i18n %}
|
|
2
|
+
{% load sdc_filter %}
|
|
3
|
+
{{ form.media }}
|
|
4
|
+
|
|
5
|
+
<div class="hidden-form-fields">
|
|
6
|
+
{% for hidden in form.hidden_fields %}
|
|
7
|
+
{{ hidden }}
|
|
8
|
+
{% endfor %}
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
{% if form.non_field_errors %}
|
|
12
|
+
<div class="alert alert-danger non-field-errors">
|
|
13
|
+
{{ form.non_field_errors }}
|
|
14
|
+
</div>
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
<div class="container-fluid">
|
|
18
|
+
<div class="row g-3 align-items-center">
|
|
19
|
+
{% for field in form.visible_fields %}
|
|
20
|
+
<div class="col-auto">
|
|
21
|
+
<label for="{{ field.auto_id }}" class="control-label">{{ field.label|safe }}</label>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-auto">
|
|
24
|
+
{{ field | addformclass }}
|
|
25
|
+
</div>
|
|
26
|
+
{% if field.help_text %}
|
|
27
|
+
<div class="col-auto">
|
|
28
|
+
<span class="help help_for_{{ field.auto_id }}">{{ field.help_text|safe }}</span>
|
|
29
|
+
</div>
|
|
30
|
+
{% endif %}
|
|
31
|
+
{% if field.errors %}
|
|
32
|
+
<div class="col-auto">
|
|
33
|
+
{{ field.errors }}
|
|
34
|
+
</div>
|
|
35
|
+
{% endif %}
|
|
36
|
+
{% endfor %}
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
{% load i18n %}
|
|
2
|
-
{% load sdc_filter %}
|
|
3
|
-
{{ form.media }}
|
|
4
|
-
|
|
5
|
-
<div class="hidden-form-fields">
|
|
6
|
-
{% for hidden in form.hidden_fields %}
|
|
7
|
-
{{ hidden }}
|
|
8
|
-
{% endfor %}
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
{% if form.non_field_errors %}
|
|
12
|
-
<div class="alert alert-danger non-field-errors">
|
|
13
|
-
{{ form.non_field_errors }}
|
|
14
|
-
</div>
|
|
15
|
-
{% endif %}
|
|
16
|
-
|
|
17
|
-
<style>
|
|
18
|
-
.non-field-errors {
|
|
19
|
-
margin: 10px 5px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.non-field-errors ul {
|
|
23
|
-
margin: 0;
|
|
24
|
-
}
|
|
25
|
-
.error-msg {
|
|
26
|
-
padding: 3px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.error-msg .errorlist {
|
|
30
|
-
margin: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
input[type="checkbox"] {
|
|
34
|
-
height: 30px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.label-container {
|
|
38
|
-
text-align: right;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.form-group .help {
|
|
42
|
-
text-align: left;
|
|
43
|
-
padding: 3px 5px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.label-container ul {
|
|
47
|
-
text-align: left;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.control-label:after {
|
|
51
|
-
content: ':';
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.picker__select--year {
|
|
55
|
-
min-width: 59px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.picker__select--month, .picker__select--year {
|
|
59
|
-
min-height: 42px !important;
|
|
60
|
-
padding: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@media only screen and (max-width: 600px) {
|
|
64
|
-
.label-container {
|
|
65
|
-
text-align: center;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
</style>
|
|
69
|
-
|
|
70
|
-
{% for field in form.visible_fields %}
|
|
71
|
-
<div style="border-bottom: 1px solid #cccccc"
|
|
72
|
-
class="row form-group{% if field.errors %} has-error{% endif %} {{ field.auto_id }}"
|
|
73
|
-
data-auto-id="{{ field.auto_id }}">
|
|
74
|
-
<div class="col-md-4 label-container">
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<label for="{{ field.auto_id }}" class="control-label">{{ field.label|safe }}</label>
|
|
78
|
-
|
|
79
|
-
</div>
|
|
80
|
-
<div class="col-md-8 form-input-container">
|
|
81
|
-
|
|
82
|
-
{{ field | addformclass}}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
{% if field.errors %}
|
|
86
|
-
<div class="alert alert-danger error-msg">
|
|
87
|
-
{{ field.errors }}
|
|
88
|
-
</div>
|
|
89
|
-
{% endif %}
|
|
90
|
-
</div>
|
|
91
|
-
{% if field.help_text %}
|
|
92
|
-
<div class="col-md-2 label-container">
|
|
93
|
-
</div>
|
|
94
|
-
<div class="col-md-9 label-container">
|
|
95
|
-
<p class="help help_for_{{ field.auto_id }}">{{ field.help_text|safe }}</p>
|
|
96
|
-
</div>
|
|
97
|
-
{% endif %}
|
|
98
|
-
</div>
|
|
99
|
-
{% endfor %}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
{% load i18n %}
|
|
2
|
-
{% load sdc_filter %}
|
|
3
|
-
{{ form.media }}
|
|
4
|
-
|
|
5
|
-
<div class="hidden-form-fields">
|
|
6
|
-
{% for hidden in form.hidden_fields %}
|
|
7
|
-
{{ hidden }}
|
|
8
|
-
{% endfor %}
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
{% if form.non_field_errors %}
|
|
12
|
-
<div class="alert alert-danger non-field-errors">
|
|
13
|
-
{{ form.non_field_errors }}
|
|
14
|
-
</div>
|
|
15
|
-
{% endif %}
|
|
16
|
-
|
|
17
|
-
<style>
|
|
18
|
-
|
|
19
|
-
input[type="checkbox"] {
|
|
20
|
-
height: 30px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.label-container {
|
|
24
|
-
text-align: right;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.label-container .help {
|
|
28
|
-
text-align: left;
|
|
29
|
-
padding-left: 5px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.label-container ul {
|
|
33
|
-
text-align: left;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.control-label:after {
|
|
37
|
-
content: ':';
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@media only screen and (max-width: 600px) {
|
|
41
|
-
.label-container {
|
|
42
|
-
text-align: center;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
</style>
|
|
46
|
-
<div class="container">
|
|
47
|
-
<div class="row align-items-end">
|
|
48
|
-
{% for field in form.visible_fields %}
|
|
49
|
-
<div class="col-md form-group{% if field.errors %} has-error{% endif %} {{ field.auto_id }}"
|
|
50
|
-
data-auto-id="{{ field.auto_id }}">
|
|
51
|
-
<div class="label-container">
|
|
52
|
-
<label for="{{ field.auto_id }}" class="control-label">{{ field.label|safe }}</label>
|
|
53
|
-
|
|
54
|
-
{% if field.help_text %}
|
|
55
|
-
<p class="help help_for_{{ field.auto_id }}">{{ field.help_text|safe }}</p>
|
|
56
|
-
{% endif %}
|
|
57
|
-
|
|
58
|
-
</div>
|
|
59
|
-
<div class="form-input-container">
|
|
60
|
-
|
|
61
|
-
{{ field | addformclass }}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
{% if field.errors %}
|
|
65
|
-
<div class="alert alert-danger">
|
|
66
|
-
{{ field.errors }}
|
|
67
|
-
</div>
|
|
68
|
-
{% endif %}
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
{% endfor %}
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/__init__.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/_private.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/options.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/init_add/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_init.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_is_installed.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_new_model.py
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_update_links.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/management/commands/sdc_update_url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/sdc_extentions/import_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/Assets/gulpfile.jsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/models/detail.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/models/list.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/sdc_views.py.txt
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/templates/base.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_core/template_files/templates/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/Assets/tests/sdc_tools.test.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/dummy_sdc.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_dummy.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_tools/templates/sdc_tools/sdc/sdc_error.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/Assets/src/sdc_user/sdc_user.style.scss
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/templates/sdc_user/sdc/sdc_login.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.4.16 → simpledomcontrol-0.4.18}/sdc_user/templates/sdc_user/sdc/sdc_logout.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|