Skip to content

Commit 0c35267

Browse files
committed
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-WebApp into idc-test
2 parents 606757e + 71766d5 commit 0c35267

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

static/css/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ ul, ol {
164164
-webkit-font-smoothing: antialiased;
165165
-moz-osx-font-smoothing: grayscale; }
166166

167-
.main-content {
168-
margin-top: 56px; }
169-
170167
/*
171168
Calc the space displayed minus headers and footers to produce a min-height for
172169
pages that are lacking content to appropriately extend the page
@@ -1971,6 +1968,10 @@ section .min-max {
19711968
.page-heading .page-action-group {
19721969
margin-bottom: 0; }
19731970

1971+
#landing .page-heading {
1972+
margin-bottom: 0px;
1973+
}
1974+
19741975
.page-heading .heading-cohort {
19751976
background-color: #608aa3;
19761977
}

static/css/vendor.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3768,7 +3768,7 @@ tbody.collapse.in {
37683768

37693769
.navbar-fixed-top,
37703770
.navbar-fixed-bottom {
3771-
position: fixed;
3771+
/*position: fixed;*/
37723772
right: 0;
37733773
left: 0;
37743774
z-index: 1030; }
@@ -3778,7 +3778,7 @@ tbody.collapse.in {
37783778
border-radius: 0; } }
37793779

37803780
.navbar-fixed-top {
3781-
top: 0;
3781+
/*top: 0;*/
37823782
border-width: 0 0 1px; }
37833783

37843784
.navbar-fixed-bottom {

static/js/base.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ require([
222222
sessionStorage.removeItem("reloadMsg");
223223

224224
utils.checkForManifest();
225-
226-
if($('#liveText').siblings()[1].shadowRoot !== null) {
227-
$('.main-content').css("margin-top", "0px");
228-
$($('#liveText').siblings()[1]).css("margin-top", "56px");
229-
}
230225
});
231226
});
232227

templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
const CHECK_MANIFEST_URL = "{% url 'check_user_manifest_base' %}";
6363
</script>
6464
<!-- OCPL Banner -->
65+
<script async src="https://assets.adobedtm.com/6a4249cd0a2c/785de09de161/launch-70d67a6a40a8.min.js"></script>
6566
</head>
6667
<body class="{% block body_class %}content{% endblock %}" id="body">
6768
<!--Include site main header-->

templates/share/site_header.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
{% load idc_collections_custom_tags %}
66

77
<header class="site-header">
8-
98
{% is_allowed user as has_access %}
109
<nav class="navbar navbar-default navbar-fixed-top idc-nav navbar-container">
1110
<div class="container-fluid">
@@ -108,7 +107,7 @@
108107
</button>
109108

110109
<button class="item" title="Discourse">
111-
<a href="" url="https://github.com/ImagingDataCommons/idc-index"
110+
<a href="" url="https://discourse.canceridc.dev"
112111
class="external-link" data-toggle="modal"
113112
data-target="#external-web-warning" title="Discourse"
114113
>
@@ -136,7 +135,7 @@
136135
</a>
137136
</button>
138137
<button class="item" title="MHub">
139-
<a href="" url="https://mhub.ai/" class="external-link" title="MHub">
138+
<a href="" url="https://mhub.ai/models" class="external-link" title="MHub">
140139
<img class="grid-icon" src="{% static 'img/mhub_2.svg' %}" alt="MHub Logo" />
141140
AI<br/> Models<i class="fa-solid fa-external-link external-link-icon" aria-hidden="true"></i>
142141
</a>
@@ -185,5 +184,4 @@
185184
</div>
186185
</div>
187186
</nav>
188-
<script async src="https://assets.adobedtm.com/6a4249cd0a2c/785de09de161/launch-70d67a6a40a8.min.js"></script>
189187
</header>

0 commit comments

Comments
 (0)