Skip to content

Commit

Permalink
Merge branch 'mbari-org:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ksalamy authored May 21, 2024
2 parents 51c48ad + 0a67a91 commit fa4ef0d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
11 changes: 7 additions & 4 deletions smdb/smdb/static/css/map_mission_filter.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@ td {
padding-left:20px;
}
.label-mission-name a:link {
color: #000000;
color: black;
}
.label-mission-name a:visited {
color: #000000;
.label-mission-name a:hover {
color: yellow;
}
/* .label-mission-name a:visited {
color: #0078a8;;
} */
.align-items-center {
-ms-flex-align: center!important;
align-items: center!important;
display: flex;
justify-content: center;
word-spacing: 2px;
padding: 3px;
}
}
17 changes: 9 additions & 8 deletions smdb/smdb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
<link rel="icon" type="image/png" href="{% static 'images/favicons/smdb_favicon_ship.ico' %}">

{% block css %}
{# Other Django packages depend on Bootstrap 4 #}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

{# Latest compiled and minified Bootstrap CSS #}
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
{# Add leaflet CSS #}
<link rel="stylesheet" type="text/css" href="https://unpkg.com/[email protected]/dist/leaflet.css">
<link rel="stylesheet" href="https://unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.css">
Expand All @@ -50,8 +49,8 @@
integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB"
crossorigin="anonymous"></script>

<script defer src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
crossorigin="anonymous"></script>

{# Your stuff: Third-party javascript libraries go here #}
Expand All @@ -72,6 +71,7 @@
{# Left Menu Items #}
<div class="navbar navbar-expand-md navbar-light navbar-fixed-top navbar-left"
style="background-color: #e9e9e9; width: 100%" id="navbar" role="navigation">

<a class="navbar-brand" href="{% url 'home' %}" id="smdb_navbrand">
<img src="{% static 'images/SMDB_logo.jpg' %}" class="img" id="smdbLogo"
aria-label="SeaFloor Mapping Database (SMDB)">
Expand Down Expand Up @@ -123,9 +123,9 @@
</ul>
{# Right Menu Items #}
<ul class="navbar-nav nav-pills mx-auto justify-content-right flex-column flex-md-row pull-right"
style="padding-left: 650px" width="50%" id="menuLinksRight">
style="flex-flow: row nowrap" width="50%" id="menuLinksRight">
{% if request.user.is_authenticated %}
<li class="nav-item mx-auto pull-right" style="padding-right: 15px">
<li class="nav-item mx-auto pull-right" style="padding-right: 1px">
{# URL provided by smdbango-allauth/account/urls.py #}
<a class="nav-link pull-right float-right" id="navAccount"
href="{% url 'users:detail' request.user.username %}" data-bs-toggle="tooltip" data-bs-placement="top"
Expand Down Expand Up @@ -166,6 +166,7 @@
</li>

</ul>

</div>

<div class="row" id="separator" style="color:darkgray">
Expand Down

0 comments on commit fa4ef0d

Please sign in to comment.