From cdc1c13cb5d2a014e926a19ff1c143122c7abc9f Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Sat, 20 Jan 2024 15:46:47 +0200 Subject: [PATCH] removal: remove assets --- ckanext/drupal_api/assets/css/styles.css | 5 ----- ckanext/drupal_api/assets/webassets.yml | 10 +++++----- ckanext/drupal_api/plugin.py | 1 - setup.py | 2 +- 4 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 ckanext/drupal_api/assets/css/styles.css diff --git a/ckanext/drupal_api/assets/css/styles.css b/ckanext/drupal_api/assets/css/styles.css deleted file mode 100644 index cc5a695..0000000 --- a/ckanext/drupal_api/assets/css/styles.css +++ /dev/null @@ -1,5 +0,0 @@ -.table.table-bordered.table-drupal-api tr th, -.table.table-bordered.table-drupal-api .bg-info, -.table.table-bordered.table-drupal-api .help-block { - color: black; -} \ No newline at end of file diff --git a/ckanext/drupal_api/assets/webassets.yml b/ckanext/drupal_api/assets/webassets.yml index 9d4d047..ee0105e 100644 --- a/ckanext/drupal_api/assets/webassets.yml +++ b/ckanext/drupal_api/assets/webassets.yml @@ -1,5 +1,5 @@ -styles: - filters: cssrewrite - output: ckanext-drupal_api/%(version)s-styles.css - contents: - - css/styles.css +# styles: +# filters: cssrewrite +# output: ckanext-drupal_api/%(version)s-styles.css +# contents: +# - css/styles.css diff --git a/ckanext/drupal_api/plugin.py b/ckanext/drupal_api/plugin.py index ac8ae73..af86dea 100644 --- a/ckanext/drupal_api/plugin.py +++ b/ckanext/drupal_api/plugin.py @@ -18,7 +18,6 @@ def get_helpers(self): def update_config(self, config_): tk.add_template_directory(config_, "templates") - tk.add_resource("assets", "ckanext-drupal-api") tk.add_ckan_admin_tab(config_, "drupal_api.drupal_api_config", "Drupal API") # IBlueprint diff --git a/setup.py b/setup.py index 58c9212..7be6a2a 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # http://packaging.python.org/en/latest/tutorial.html#version - version='0.6.0', + version='0.6.1', description='''''', long_description=long_description,