Skip to content

Commit

Permalink
This commit addresses Issue # 253. "Adjust the "Look and Feel" of the…
Browse files Browse the repository at this point in the history
… Row and Form controls input and buttons with CSS. mbari-org#253".
  • Loading branch information
ksalamy committed Jun 5, 2024
1 parent 313e40b commit 22b3875
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions smdb/smdb/static/css/map_compilation_filter.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
html,
#map_compilation_filter {
width: 100%;
height: 85%;
margin-left: 3rem;
top: 200px;
}
th,
td {
Expand Down
4 changes: 2 additions & 2 deletions smdb/smdb/static/css/map_expedition_filter.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
margin-right: 20px;
} */
html,
#map_expedition_filter {
div#map_expedition_filter {
width: 100%;
height: 85%;
top: 200px;
}
th,
td {
Expand Down
2 changes: 1 addition & 1 deletion smdb/smdb/static/css/map_mission_filter.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
html,
#map_mission_filter {
width: 100%;
height: 85%;
top: 200px;
}
th,
td {
Expand Down
4 changes: 2 additions & 2 deletions smdb/smdb/static/js/SliderControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ L.Control.SliderControl = L.Control.extend({
"</div>" +
'<div class="row">' +
' <div class="col-2">' +
' <div id="slider-min" style="color: lightgrey;"></div>' +
' <div id="slider-min" style="color: darkblue;"></div>' +
" </div>" +
' <div class="col-8">' +
' <div id="slider-current" style="text-align: center;">' +
Expand All @@ -98,7 +98,7 @@ L.Control.SliderControl = L.Control.extend({
" </div>" +
" </div>" +
' <div class="col-2">' +
' <div id="slider-max" style="text-align: right; color: lightgrey;"></div>' +
' <div id="slider-max" style="text-align: right; color: darkblue;"></div>' +
" </div>" +
"</div>"
);
Expand Down
4 changes: 2 additions & 2 deletions smdb/smdb/templates/smdb/compilation_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block css %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'css/map_mission_filter.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/map_compilation_filter.css' %}">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/[email protected]/dist/leaflet.css">
{% endblock %}

Expand All @@ -28,7 +28,7 @@
{% endblock %}

{% block content %}
<h2>Compilations</h2>
<h2 id="compilation_h2">Compilations</h2>
{% if filter %}
{% crispy filter.form filter.form.helper %}
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions smdb/smdb/templates/smdb/expedition_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block css %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'css/map_mission_filter.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/map_expedition_filter.css' %}">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/[email protected]/dist/leaflet.css">
{% endblock %}

Expand All @@ -28,7 +28,7 @@
{% endblock %}

{% block content %}
<h2>Expeditions</h2>
<h2 id="expedition_h2">Expeditions</h2>
{% if filter %}
{% crispy filter.form filter.form.helper %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion smdb/smdb/templates/smdb/mission_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{% endblock %}

{% block content %}
<h2>Missions</h2>
<h2 id="mission_h2">Missions</h2>
{% if filter %}
{% crispy filter.form filter.form.helper %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion smdb/smdb/templates/smdb_tables2_bootstrap4.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load django_tables2 %}
{% load i18n %}
{% block table-wrapper %}
<div class="table-container">
<div id="tableContainers4" class="table-container">
{% block pagination_top %}
<nav aria-label="Table navigation">
<ul class="pagination justify-content-center">
Expand Down

0 comments on commit 22b3875

Please sign in to comment.