diff --git a/wlts/templates/collection.html b/wlts/templates/collection.html index 119a8ea..eeb6691 100644 --- a/wlts/templates/collection.html +++ b/wlts/templates/collection.html @@ -19,7 +19,7 @@ Unit: {{collection.temporal_resolution['unit']}} Value: {{collection.temporal_resolution['value']}} -
+
Classification System:
Id: {{collection.classification_system['id']}} @@ -27,23 +27,27 @@ Name: {{collection.classification_system['name']}} Version: {{collection.classification_system['version']}}
-
+
Extent
- - - - - - - - - - - - - +
max_xmin_xmax_ymin_y
{{collection.spatial_extent['xmax']}}{{collection.spatial_extent['xmin']}}{{collection.spatial_extent['ymax']}}{{collection.spatial_extent['ymin']}}
+ + + + + + + + + + + + + + + +
max_xmin_xmax_ymin_y
{{collection.spatial_extent['xmax']}}{{collection.spatial_extent['xmin']}}{{collection.spatial_extent['ymax']}}{{collection.spatial_extent['ymin']}}
\ No newline at end of file diff --git a/wlts/templates/trajectory-item.html b/wlts/templates/trajectory-item.html index 46ad2a5..938afa0 100644 --- a/wlts/templates/trajectory-item.html +++ b/wlts/templates/trajectory-item.html @@ -19,12 +19,13 @@
  • Collections:
  • {% endif %} + {% if 'geometry' in tj.trajectory %}
    Geometry: {{tj.trajectory['geometry']}} @@ -32,44 +33,48 @@ Trajectory
    + + + + + + + + + + {% for traj in tj.trajectory['trajectory'] %} - - - - - - - - {% for tj in tj.trajectory['trajectory']%} - - - - - + + + + {% endfor %} +
    ClassCollectionDateGeometry
    ClassCollectionDateGeometry
    {{tj['class']}}{{tj['collection']}}{{tj['date']}}{{tj['geometry']}}{{ traj['class'] }}{{ traj['collection'] }}{{ traj['date'] }}{{ traj['geometry'] }}
    -
    +
    {% else %} Trajectory
    + + + + + + + + + {% for traj in tj.trajectory %} - - - - - - - {% for tj in tj.trajectory%} - - - - + + + {% endfor %} +
    ClassCollectionDate
    ClassCollectionDate
    {{tj['class']}}{{tj['collection']}}{{tj['date']}}{{ traj['class'] }}{{ traj['collection'] }}{{ traj['date'] }}
    -
    +
    {% endif %} \ No newline at end of file diff --git a/wlts/templates/trajectory.html b/wlts/templates/trajectory.html index 2856d98..0555c2a 100644 --- a/wlts/templates/trajectory.html +++ b/wlts/templates/trajectory.html @@ -1,63 +1,53 @@ - -{% for tj in trajectories['trajectories'] %} - -
    - {% include 'trajectory-item.html' %} -
    -{% endfor %} - - \ No newline at end of file + .collapsible { + background-color: #eee; + color: #444; + cursor: pointer; + padding: 18px; + width: 100%; + border: none; + text-align: left; + outline: none; + font-size: 15px; + } + + .active, .collapsible:hover { + background-color: #ccc; + } + + .content { + padding: 0 18px; + display: none; + overflow: hidden; + background-color: #ffffff; + } + + .collapsible:after { + content: '+'; /* Unicode character for "plus" sign (+) */ + font-size: 18px; + color: black; + float: right; + margin-left: 5px; + } + + .active:after { + content: "-"; /* Unicode character for "minus" sign (-) */ + } + + + {% for tj in trajectories['trajectories'] %} + +
    + {% include 'trajectory-item.html' %} +
    + {% endfor %} + + \ No newline at end of file diff --git a/wlts/templates/wlts.html b/wlts/templates/wlts.html index d10ad0f..59bae7b 100644 --- a/wlts/templates/wlts.html +++ b/wlts/templates/wlts.html @@ -3,8 +3,8 @@
  • URL: {{ url }}
  • Collections:
  • \ No newline at end of file