Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ckanext-odsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open-Data
ckanext-odsh
Commits
4e63dd6a
Commit
4e63dd6a
authored
6 years ago
by
anonymous
Browse files
Options
Downloads
Patches
Plain Diff
ODPSH-273: change layout
parent
67c098dc
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ckanext/odsh/public/odsh.css
+29
-2
29 additions, 2 deletions
ckanext/odsh/public/odsh.css
ckanext/odsh/templates/snippets/package_item.html
+9
-14
9 additions, 14 deletions
ckanext/odsh/templates/snippets/package_item.html
with
38 additions
and
16 deletions
ckanext/odsh/public/odsh.css
+
29
−
2
View file @
4e63dd6a
...
...
@@ -402,6 +402,7 @@ label.rangesearch.disabled {
.container-fluid.odsh-dataset-item
{
padding
:
20px
0px
20px
0px
;
border-bottom
:
2px
solid
#DBDBDB
;
display
:
table
;
}
.container-fluid.odsh-dataset-item
:hover
{
background-color
:
rgb
(
246
,
247
,
249
);
...
...
@@ -437,8 +438,9 @@ a:hover.organization-item ,a:focus.organization-item
}
.dataset-content
{
float
:
left
;
width
:
470px
;
display
:
table-cell
;
position
:
relative
;
}
.dataset-heading
{
...
...
@@ -446,6 +448,10 @@ a:hover.organization-item ,a:focus.organization-item
font-weight
:
normal
;
font-size
:
20px
;
}
.dataset-content
p
{
font-size
:
12px
;
margin
:
0
0
5px
;
}
.dataset-heading
a
{
text-decoration
:
none
;
}
...
...
@@ -456,9 +462,11 @@ a:hover.organization-item ,a:focus.organization-item
}
.dataset-meta
{
float
:
right
;
width
:
225px
;
/* width: 30%; */
height
:
100%
;
display
:
table-cell
;
position
:
relative
;
}
ul
.dataset-resources
{
...
...
@@ -541,6 +549,11 @@ a.odsh-star:hover {
white-space
:
nowrap
;
}
.dataset-info.issued
{
position
:
absolute
;
bottom
:
0px
;
}
.toolbar
.breadcrumb
>
li
a
{
font-weight
:
normal
!important
;
font-size
:
15px
;
...
...
@@ -1742,3 +1755,17 @@ span.clear {
width
:
225px
;
}
.package-info-pill
{
display
:
inline-block
;
padding
:
3px
10px
;
background-color
:
#dbdbdb
;
border-radius
:
5px
;
font-size
:
12px
;
}
p
.package-info-categorie
{
margin-top
:
15px
;
margin-bottom
:
0px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ckanext/odsh/templates/snippets/package_item.html
+
9
−
14
View file @
4e63dd6a
...
...
@@ -40,6 +40,7 @@ Example:
{% block content %}
<div
class=
"dataset-content"
>
{% block heading %}
<p>
{{org}}
</p>
<h3
class=
"dataset-heading"
>
{% block heading_private %}
{% if package.private %}
...
...
@@ -70,11 +71,13 @@ Example:
{% endif %}
{% endblock %}
{% block notes %}
{% if notes %}
<div>
{{ notes|urlize }}
</div>
{% else %}
<p
class=
"dataset-empty"
>
{{ _("This dataset has no description") }}
</p>
{% endif %}
<div
class=
'package-info-pill'
>
{{timerange}}
</div>
<div
class=
'package-info-pill'
>
{{h.odsh_get_spatial_text(package) }}
</div>
<p
class=
'package-info-categorie'
>
{{ _('Kategorie') }}: {{ categories}}
</p>
{% endblock %}
</div>
<div
class=
"dataset-meta"
>
...
...
@@ -97,20 +100,12 @@ Example:
{% snippet "qa/stars.html", stars=stars %}
</div>
<div
class=
"dataset-info"
>
<p>
{{ _('Kategorie') }}: {{ categories}}
</p>
<p>
{{_('Lizenz')}}: {{license}}
</p>
<p>
{{_('Herausgeber')}}: {{org}}
</p>
<p>
{{timerange_label}}: {{timerange}}
</p>
<div
class=
"dataset-info issued"
>
<p>
{{ _('issued') }}: {{issued}}
</p>
</div>
{% endblock %}
{% endblock %}
</div>
{% block package_openness %}
<div
class=
"module module-narrow module-shallow context-info"
>
</div>
{% endblock %}
{% endblock %}
</div>
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment