Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • ckan theme ckan theme
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Rosanny Sihombing
  • ckan themeckan theme
  • Merge requests
  • !11
An error occurred while fetching the assigned milestone of the selected merge_request.

Testing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Wolfgang Knopki requested to merge testing into master 2 years ago
  • Overview 0
  • Commits 49
  • Pipelines 1
  • Changes 26

deploy hft theme to production environment

  • Wolfgang Knopki @knopkiwg assigned to @knopkiwg 2 years ago

    assigned to @knopkiwg

  • Wolfgang Knopki @knopkiwg merged 2 years ago

    merged

  • Wolfgang Knopki @knopkiwg mentioned in commit a565b977 2 years ago

    mentioned in commit a565b977

  • Loading
  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    fa162381
    49 commits, 2 years ago

26 files
+ 501
- 2

    Preferences

    File browser
    Compare changes
ckanext-‎theme_hft‎
ckanext/‎theme_hft‎
ass‎ets‎
them‎e.css‎ +54 -0
webass‎ets.yml‎ +3 -0
pub‎lic‎
heade‎r.jpg‎ +0 -0
logo‎.png‎ +0 -0
temp‎lates‎
gr‎oup‎
read_ba‎se.html‎ +7 -0
ho‎me‎
snip‎pets‎
promot‎ed.html‎ +4 -0
searc‎h.html‎ +16 -0
stats‎.html‎ +18 -0
layout‎2.html‎ +6 -0
pac‎kage‎
snip‎pets‎
package_basi‎c_fields.html‎ +10 -0
package_metada‎ta_fields.html‎ +16 -0
resource_‎form.html‎ +10 -0
group_l‎ist.html‎ +8 -0
read_ba‎se.html‎ +7 -0
snip‎pets‎
activity_s‎tream.html‎ +21 -0
facet_l‎ist.html‎ +17 -0
most_popular‎_groups.html‎ +29 -0
us‎er‎
dashboa‎rd.html‎ +14 -0
read_ba‎se.html‎ +30 -0
base‎.html‎ +9 -0
foote‎r.html‎ +44 -0
heade‎r.html‎ +12 -0
plug‎in.py‎ +14 -0
setu‎p.py‎ +97 -0
.gitlab‎-ci.yml‎ +30 -0
READ‎ME.md‎ +25 -2
ckanext-theme_hft/ckanext/theme_hft/assets/theme.css 0 → 100644
+ 54
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

/* ========================================================================
The main masthead bar that contains the site logo, nav links, and search
======================================================================== */
.masthead {
background-color: #ffffff;
color: black;
}
.masthead .nav > li > a {
color: black;
text-shadow: none;
}
/* The "navigation pills" in the masthead (the links to Datasets,
Organizations, etc) when the user's pointer hovers over them. */
.masthead .navigation .nav-pills li a:hover {
background-color: #C14531;
color: black;
}
/* The "active" navigation pill (for example, when you're on the /dataset page
the "Datasets" link is active). */
.masthead .navigation .nav-pills li.active a {
background-color: #C14531;
}
/* The "box shadow" effect that appears around the search box when it
has the keyboard cursor's focus. */
.masthead input[type="text"]:focus {
-webkit-box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
}
@media (min-width: 768px) {
.hero {
background: url("https://m4lab.hft-stuttgart.de/katalog/header.jpg");
}
}
/* ====================================
The footer at the bottom of the site
==================================== */
.site-footer,
body {
background-color: #ffffff;
}
/* The text in the footer. */
.site-footer,
.site-footer label,
.site-footer small {
color: rgba(128, 128, 128, 1);
}
/* The link texts in the footer. */
.site-footer a {
color: rgba(128, 128, 128, 1);
}
ckanext-theme_hft/ckanext/theme_hft/assets/theme.css 0 → 100644
+ 54
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

/* ========================================================================
The main masthead bar that contains the site logo, nav links, and search
======================================================================== */
.masthead {
background-color: #ffffff;
color: black;
}
.masthead .nav > li > a {
color: black;
text-shadow: none;
}
/* The "navigation pills" in the masthead (the links to Datasets,
Organizations, etc) when the user's pointer hovers over them. */
.masthead .navigation .nav-pills li a:hover {
background-color: #C14531;
color: black;
}
/* The "active" navigation pill (for example, when you're on the /dataset page
the "Datasets" link is active). */
.masthead .navigation .nav-pills li.active a {
background-color: #C14531;
}
/* The "box shadow" effect that appears around the search box when it
has the keyboard cursor's focus. */
.masthead input[type="text"]:focus {
-webkit-box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
}
@media (min-width: 768px) {
.hero {
background: url("https://m4lab.hft-stuttgart.de/katalog/header.jpg");
}
}
/* ====================================
The footer at the bottom of the site
==================================== */
.site-footer,
body {
background-color: #ffffff;
}
/* The text in the footer. */
.site-footer,
.site-footer label,
.site-footer small {
color: rgba(128, 128, 128, 1);
}
/* The link texts in the footer. */
.site-footer a {
color: rgba(128, 128, 128, 1);
}
ckanext-theme_hft/ckanext/theme_hft/assets/webassets.yml 0 → 100644
+ 3
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

theme:
output: theme_hft/theme.css
contents: theme.css
ckanext-theme_hft/ckanext/theme_hft/public/header.jpg 0 → 100644
+ 0
- 0
  • View file @ fa162381

274.93 KiB

ckanext-theme_hft/ckanext/theme_hft/public/logo.png 0 → 100644
+ 0
- 0
  • View file @ fa162381

182.66 KiB

ckanext-theme_hft/ckanext/theme_hft/templates/group/read_base.html 0 → 100644
+ 7
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% ckan_extends %}
{# Remove Activity Stream #}
{% block content_primary_nav %}
{{ h.build_nav_icon(group_type + '.read', _('Datasets'), id=group_dict.name, icon='sitemap') }}
{{ h.build_nav_icon(group_type + '.about', _('About'), id=group_dict.name, icon='info-circle') }}
{% endblock %}
ckanext-theme_hft/ckanext/theme_hft/templates/home/snippets/promoted.html 0 → 100644
+ 4
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% ckan_extends %}
{# remove promoted image #}
{% block home_image %}{% endblock %}
ckanext-theme_hft/ckanext/theme_hft/templates/home/snippets/search.html 0 → 100644
+ 16
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% 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>
<div class="search-input form-group search-giant">
<input aria-label="{% block header_site_search_label %}{{ _('Search datasets') }}{% endblock %}" id="field-main-search" type="text" class="form-control" name="q" value="" autocomplete="off" placeholder="{% block search_placeholder %}{{ placeholder }}{% endblock %}" />
<button type="submit" aria-labelledby="search-label">
<i class="fa fa-search"></i>
<span class="sr-only" id="search-label">{{ _('Search') }}</span>
</button>
</div>
</form>
</div>
ckanext-theme_hft/ckanext/theme_hft/templates/home/snippets/stats.html 0 → 100644
+ 18
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% ckan_extends %}
{# Remove Organization #}
{% block stats_group %}
<li>
<a href="{{ h.url_for('dataset.search') }}">
<strong>{{ h.SI_number_span(stats.dataset_count) }}</strong>
{{ _('dataset') if stats.dataset_count == 1 else _('datasets') }}
</a>
</li>
<li>
<a href="{{ h.url_for(controller='group', action='index') }}">
<strong>{{ h.SI_number_span(stats.group_count) }}</strong>
{{ _('group') if stats.group_count == 1 else _('groups') }}
</a>
</li>
{% endblock %}
ckanext-theme_hft/ckanext/theme_hft/templates/home/layout2.html 0 → 100644
+ 6
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% ckan_extends %}
{% block featured_group %}
{% snippet 'snippets/most_popular_groups.html',
groups=h.hft_theme_most_popular_groups() %}
{% endblock %}
ckanext-theme_hft/ckanext/theme_hft/templates/package/snippets/package_basic_fields.html 0 → 100644
+ 10
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% 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 %}
{% block package_basic_fields_tags %}
{% endblock %}
ckanext-theme_hft/ckanext/theme_hft/templates/package/snippets/package_metadata_fields.html 0 → 100644
+ 16
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% 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) }}
{% endblock %}
{% block package_metadata_fields_maintainer %}
{{ form.input('maintainer', label=_('Maintainer'), id='field-maintainer', placeholder=_('Joe Bloggs'), value=data.maintainer, error=errors.maintainer, classes=['control-medium'], is_required=true) }}
{{ form.input('maintainer_email', label=_('Maintainer Email'), id='field-maintainer-email', placeholder=_('joe@example.com'), value=data.maintainer_email, error=errors.maintainer_email, classes=['control-medium'], is_required=true) }}
{% endblock %}
{% block package_metadata_fields_custom %}
{% endblock %}
ckanext-theme_hft/ckanext/theme_hft/templates/package/snippets/resource_form.html 0 → 100644
+ 10
- 0
  • View file @ fa162381

  • Edit in single-file editor

  • Open in Web IDE

{% 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',
is_upload_enabled=h.uploads_enabled(), is_url=data.url and not is_upload, is_upload=is_upload,
upload_label=_('Data (max. 150MB)'), url_label=_('URL'), placeholder=_('http://example.com/external-data.csv'), field_name='name') }}
{% endblock %}
Assignee
Wolfgang Knopki's avatar
Wolfgang Knopki
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: testing

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal