Skip to content

Commit e0a10b7

Browse files
authored
Review html templates (#2047)
1 parent 602144e commit e0a10b7

File tree

7 files changed

+1
-146
lines changed

7 files changed

+1
-146
lines changed

geonode_mapstore_client/client/themes/geonode/less/_brand-navbar.less

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -127,44 +127,6 @@
127127
}
128128
}
129129

130-
/*
131-
.gn-embed,
132-
.gn-catalogue {
133-
display: flex;
134-
position: absolute;
135-
overflow: auto;
136-
top: 0;
137-
left: 0;
138-
width: 100%;
139-
height: 100%;
140-
flex-direction: column;
141-
.gn-footer {
142-
position: relative;
143-
}
144-
.gn-main-header {
145-
z-index: 150;
146-
}
147-
#ms-container {
148-
flex: 1;
149-
position: relative;
150-
top: 0;
151-
left: 0;
152-
width: 100%;
153-
height: 100%;
154-
z-index: 0;
155-
overflow: hidden;
156-
}
157-
.gn-card-grid {
158-
padding-top: 0;
159-
}
160-
.gn-filters-menu {
161-
top: 0 !important;
162-
margin-bottom: 0;
163-
}
164-
.gn-resources-pagination {
165-
bottom: -1px !important;
166-
}
167-
}*/
168130
.gn-catalogue:has(.page-viewer) {
169131
display: flex;
170132
position: absolute;

geonode_mapstore_client/templates/geonode-mapstore-client/snippets/header.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@
1111
(function () {
1212
const mainHeader = document.querySelector('.gn-main-header');
1313
const mainHeaderPlaceholder = document.querySelector('.gn-main-header-placeholder');
14-
const topbar = document.querySelector('#gn-topbar');
1514
function resize() {
1615
if (mainHeaderPlaceholder && mainHeader) {
1716
mainHeaderPlaceholder.style.height = mainHeader.clientHeight + 'px';
1817
}
19-
if (topbar && mainHeader) {
20-
topbar.style.top = mainHeader.clientHeight + 'px';
21-
}
2218
}
2319
window.addEventListener('resize', resize);
2420
window.addEventListener('DOMContentLoaded', resize);

geonode_mapstore_client/templates/geonode-mapstore-client/snippets/loader.html

Whitespace-only changes.

geonode_mapstore_client/templates/geonode-mapstore-client/snippets/menu_item_compact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
<li role="separator" class="divider"></li>
3232
{% endif %}
3333
{% endif %}
34-
{% endif %}
34+
{% endif %}

geonode_mapstore_client/templates/geonode-mapstore-client/snippets/resource_card.html

Lines changed: 0 additions & 57 deletions
This file was deleted.

geonode_mapstore_client/templates/geonode-mapstore-client/snippets/resources_grid.html

Lines changed: 0 additions & 46 deletions
This file was deleted.

geonode_mapstore_client/templates/geonode-mapstore-client/snippets/topbar.html

Whitespace-only changes.

0 commit comments

Comments
 (0)