Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rosanny Sihombing
ckan theme
Commits
9d73abf3
Commit
9d73abf3
authored
May 10, 2021
by
Rosanny Sihombing
Browse files
update path
parent
a58383c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9d73abf3
...
...
@@ -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
...
...
ckanext-theme_hft/ckanext/theme_hft/assets/theme.css
View file @
9d73abf3
...
...
@@ -30,7 +30,7 @@
@media
(
min-width
:
768px
)
{
.hero
{
background
:
url("/header.jpg")
;
background
:
url("
https://m4lab.hft-stuttgart.de/katalog
/header.jpg")
;
}
}
...
...
ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml
View file @
9d73abf3
theme
:
filters
:
cssrewrite
output
:
katalog/assets/%(version)s_theme.css
output
:
theme_hft/theme.css
contents
:
theme.css
ckanext-theme_hft/ckanext/theme_hft/templates/footer.html
View file @
9d73abf3
...
...
@@ -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"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment