diff --git a/README.md b/README.md index 4fdcff5122bfdee1dfb580233446fe92dc39afaa..3c34d0d72921a169e50ab195965acfeff2f4dfd8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ The extension and files for the customization are structured as follows in the * 1. Run the following command to create a new extension and place its directory in the **`ckan`** source code's parent directory: > ckan generate extension - New extension name: _`ckanext-theme_hft`_ - - theme name: _`theme_hft`_ 1. Put the files in this repo to the their respective directories. 1. Go to **`ckanext-theme_hft`** directory and run the following command: > python setup.py develop diff --git a/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css b/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css index f85eb37f35ef3ebb817e8c5740fe03fb81ea8adb..7c476206a0efc69856bfdb71c643d06876c00495 100644 --- a/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css +++ b/ckanext-theme_hft/ckanext/theme_hft/assets/theme.css @@ -30,7 +30,7 @@ @media (min-width: 768px) { .hero { - background: url("/header.jpg"); + background: url("https://m4lab.hft-stuttgart.de/katalog/header.jpg"); } } diff --git a/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml b/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml index c1b5cc3862c0727e530f1f225214e943e9a76fea..ad0ffa039ddd2d9aca3e1488171f3b9f836cbe44 100644 --- a/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml +++ b/ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml @@ -1,4 +1,3 @@ theme: - filters: cssrewrite - output: katalog/assets/%(version)s_theme.css + output: theme_hft/theme.css contents: theme.css diff --git a/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html b/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html index 23f08fa5ca81863980eae1136ba49bf00a7770e7..9a38d97bbc71004294b3e3f06503f51494460971 100644 --- a/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html +++ b/ckanext-theme_hft/ckanext/theme_hft/templates/footer.html @@ -4,10 +4,10 @@ {% block footer_content %} <div class="row"> <div class="col-md-4 attribution"> - <img src="/Innovative_Hochschule_Initiative_BMBF_GWK_RGB.png" height='90'/> + <img src="https://m4lab.hft-stuttgart.de/img/footer/Innovative_Hochschule_Initiative_BMBF_GWK_RGB.png" height='90'/> </div> <div class="col-md-2 attribution"> - <img src="/M4_LAB_LOGO_Graustufen.png" height='80'/> + <img src="https://m4lab.hft-stuttgart.de/img/footer/M4_LAB_LOGO_Graustufen.png" height='80'/> </div> <div class="col-md-3 footer-links"> <a href="https://twitter.com/InnolabM4">