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
2e6f4307
Commit
2e6f4307
authored
May 23, 2022
by
Rosanny Sihombing
Browse files
Add comments
parent
76bb2c42
Pipeline
#6456
passed with stage
in 19 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ckanext-theme_hft/ckanext/theme_hft/templates/base.html
View file @
2e6f4307
{% ckan_extends %}
{# Add HFT assets (figures, footer, css, etc.) #}
{% block styles %}
{{ super() }}
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.8.2/css/all.css"
integrity=
"sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
crossorigin=
"anonymous"
>
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/footer.html
View file @
2e6f4307
{% ckan_extends %}
{# override footer.html #}
{# Override footer.html to put M4_LAB footer #}
{% block footer_content %}
<div
class=
"row"
>
<div
class=
"col-md-4 attribution"
>
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/home/snippets/search.html
View file @
2e6f4307
{% set placeholder = _('E.g. environment') %}
{# Remove tags #}
<div
class=
"module module-search module-narrow module-shallow box"
>
<form
class=
"module-content search-form"
method=
"get"
action=
"{% url_for 'dataset.search' %}"
>
<h3
class=
"heading"
>
{{ _("Search data") }}
</h3>
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/home/snippets/stats.html
View file @
2e6f4307
{% ckan_extends %}
{# Remove Organization #}
{% block stats_group %}
<li>
<a
href=
"{{ h.url_for('dataset.search') }}"
>
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/package/snippets/package_basic_fields.html
View file @
2e6f4307
{% ckan_extends %}
{# Simplifies the form for adding datasets by removing Tags. Titel field is marked as *Pflichtfeld (mandatory) #}
{% block package_basic_fields_title %}
{{ form.input('title', id='field-title', label=_('Title'), placeholder=_('eg. A descriptive title'), value=data.title, error=errors.title, classes=['control-full', 'control-large'], attrs={'data-module': 'slug-preview-target', 'class': 'form-control'}, is_required=true) }}
{% endblock %}
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/package/snippets/package_metadata_fields.html
View file @
2e6f4307
{% ckan_extends %}
{# Remove Custom Fields and marks Autor, Verantwortlicher, and their emails fields as *Pflichtfeld (mandatory) #}
{% block package_metadata_author %}
{{ form.input('author', label=_('Author'), id='field-author', placeholder=_('Joe Bloggs'), value=data.author, error=errors.author, classes=['control-medium'], is_required=true) }}
{{ form.input('author_email', label=_('Author Email'), id='field-author-email', placeholder=_('joe@example.com'), value=data.author_email, error=errors.author_email, classes=['control-medium'], is_required=true) }}
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/package/snippets/resource_form.html
View file @
2e6f4307
{% ckan_extends %}
{# Add a label: maximum data size #}
{% block basic_fields_url %}
{% set is_upload = (data.url_type == 'upload') %}
{{ form.image_upload(data, errors, field_url='url', field_upload='upload', field_clear='clear_upload',
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/snippets/activity_stream.html
View file @
2e6f4307
{% ckan_extends %}
{# Remove all activity records #}
{% macro actor(activity) %}
{% endmacro %}
...
...
ckanext-theme_hft/ckanext/theme_hft/templates/user/dashboard.html
View file @
2e6f4307
{% ckan_extends %}
{# Remove activity stream tab #}
{% block page_header %}
<header
class=
"module-content page-header hug"
>
{% block content_primary_nav %}
...
...
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