Skip to content

Commit

Permalink
Merge pull request #45 from keitaroinc/design-improvements
Browse files Browse the repository at this point in the history
Style improvements
  • Loading branch information
blagojabozinovski authored Nov 14, 2024
2 parents 83f1efd + f54c6ea commit 2ad28bd
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ckanext/alisea/assets/css/alisea.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,23 @@ a.tag:hover {
opacity: 1;
}

#dataset-search-form {
margin-top: -24px !important;
}

#organization-search-form {
margin-top: -24px !important;
}

#custom_page_primary_action {
margin-bottom: 44px !important;
margin-top: -24px !important;
}

.page_primary_action {
margin-bottom: 44px !important;
}


@media (max-width: 1450px) {

Expand Down
9 changes: 9 additions & 0 deletions ckanext/alisea/templates/organization/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% ckan_extends %}

{% block page_primary_action %}
<div>
{% if h.check_access('organization_create') %}
{% link_for h.humanize_entity_type('organization', group_type, 'add link') or _('Add Organization'), named_route=group_type ~ '.new', class_='btn btn-primary', icon='plus-square' %}
{% endif %}
</div>
{% endblock %}
9 changes: 9 additions & 0 deletions ckanext/alisea/templates/package/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% ckan_extends %}

{% block page_primary_action %}
{% if h.check_access('package_create') %}
<div class="page_primary_action" id="custom_page_primary_action">
{{ h.snippet ('snippets/add_dataset.html', dataset_type=dataset_type) }}
</div>
{% endif %}
{% endblock %}

0 comments on commit 2ad28bd

Please sign in to comment.