|
21 | 21 | <li>netcdf {{ filePath|e }} {
|
22 | 22 | <ul>
|
23 | 23 | {%- if dimensions is defined %}
|
24 |
| - <li>dimensions: //<a href="#dimensions_list" class="btn btn-default btn-xs" data-toggle="collapse">↓</a> |
| 24 | + <li>dimensions: // <a href="#dimensions_list" class="btn btn-default btn-xs" data-toggle="collapse">↓</a> |
25 | 25 | <ul class="collapse in" id="dimensions_list">
|
26 | 26 | {%- for dimension in dimensions %}
|
27 | 27 | <li>{{ dimension.name|e }} = {{ dimension.value|e }} ;
|
|
32 | 32 | </li>
|
33 | 33 | {%- endif %}
|
34 | 34 | {%- if variables is defined %}
|
35 |
| - <li>variables: //<a href="#variables_list" class="btn btn-default btn-xs" data-toggle="collapse">↓</a> |
| 35 | + <li>variables: // <a href="#variables_list" class="btn btn-default btn-xs" data-toggle="collapse">↓</a> |
36 | 36 | <ul class="collapse in" id="variables_list">
|
37 | 37 | {%- for variable in variables %}
|
38 |
| - <li id="variable_{{ variable.name }}">{{ variable.type|e }} |
| 38 | + <li id="variable_{{ variable.name }}">{{ variable.type|e }} |
39 | 39 | {%- if variable.url is defined -%}
|
40 | 40 | <a href="{{ variable.url }}" target="_blank">{{ variable.name }}</a>
|
41 | 41 | {%- else -%}
|
42 | 42 | {{ variable.name }}
|
43 | 43 | {%- endif -%}
|
44 | 44 | {%- if variable.dimensions is defined -%}
|
45 | 45 | ({{ variable.dimensions|join(', ')|e }})
|
46 |
| - {%- endif -%} ; // |
47 |
| - <a href="#variable_{{ variable.name }}_attrs" class="btn btn-default btn-xs" data-toggle="collapse">↓</a> |
| 46 | + {%- endif -%} |
| 47 | + ; // <a href="#variable_{{ variable.name }}_attrs" class="btn btn-default btn-xs" data-toggle="collapse">↓</a> |
48 | 48 | {%- if variable.attributes is defined %}
|
49 |
| - <ul class="collapse in" id="variable_{{ variable.name }}_attrs"> |
| 49 | + <ul class="collapse in" id="variable_{{ variable.name }}_attrs"> |
50 | 50 | {%- for attribute in variable.attributes %}
|
51 |
| - <li>{{ variable.name }}: |
| 51 | + <li>{{ variable.name }}: |
52 | 52 | {%- if attribute.url is defined -%}
|
53 | 53 | <a href="{{ attribute.url }}" target="_blank">{{ attribute.name }}</a>
|
54 | 54 | {%- else -%}
|
|
68 | 68 | {%- endif -%}
|
69 | 69 | {%- endfor -%}
|
70 | 70 | ;
|
71 |
| - </li> |
| 71 | + </li> |
72 | 72 | {%- endfor %}
|
73 | 73 | </ul>
|
74 | 74 | {% endif -%}
|
|
83 | 83 | <ul class="collapse in" id="attribute_list">
|
84 | 84 | {%- for attribute in attributes %}
|
85 | 85 | <li>:
|
86 |
| - {%- if attribute.url is defined -%} |
87 |
| - <a href="{{ attribute.url }}" target="_blank">{{ attribute.name }}</a> |
| 86 | + {%- if attribute.url is defined -%} |
| 87 | + <a href="{{ attribute.url }}" target="_blank">{{ attribute.name }}</a> |
| 88 | + {%- else -%} |
| 89 | + {{ attribute.name }} |
| 90 | + {%- endif -%} |
| 91 | + = |
| 92 | + {%- for value in attribute.value -%} |
| 93 | + |
| 94 | + {%- if value.url is defined -%} |
| 95 | + <a href="{{ value.url }}" target="_blank">{{ value.element }}</a> |
88 | 96 | {%- else -%}
|
89 |
| - {{ attribute.name }} |
| 97 | + {{ value.element }} |
90 | 98 | {%- endif -%}
|
91 |
| - = |
92 |
| - {%- for value in attribute.value -%} |
93 |
| - |
94 |
| - {%- if value.url is defined -%} |
95 |
| - <a href="{{ value.url }}" target="_blank">{{ value.element }}</a> |
96 |
| - {%- else -%} |
97 |
| - {{ value.element }} |
98 |
| - {%- endif -%} |
99 |
| - {{ attribute.type }} |
100 |
| - {%- if not loop.last -%} |
101 |
| - , |
102 |
| - {%- endif -%} |
103 |
| - {%- endfor -%} |
104 |
| - ; |
| 99 | + {{ attribute.type }} |
| 100 | + {%- if not loop.last -%} |
| 101 | + , |
| 102 | + {%- endif -%} |
| 103 | + {%- endfor -%} |
| 104 | + ; |
105 | 105 | </li>
|
106 | 106 | {%- endfor %}
|
107 | 107 | </ul>
|
|
0 commit comments