diff --git a/cps/static/css/style.css b/cps/static/css/style.css index e3da57cb3..1a0db6751 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -206,6 +206,14 @@ table .bg-dark-danger a { color: #fff; } box-shadow: 0 5px 8px -6px #777; } +.container-fluid .book .cover span .img, +.container-fluid .book .cover span img.bs5-cover-image { + height: 225px; + width: auto; + object-fit: cover; + display: block; +} + .container-fluid .book .meta { margin-top: 10px; } .media-body p { text-align: justify; } .container-fluid .book .meta p { margin: 0; } @@ -260,6 +268,22 @@ table .bg-dark-danger a { color: #fff; } filter: grayscale(100%) brightness(45%); } +.config-accordion .accordion-button .bi-plus-lg::before { + content: "\f4fe"; +} + +.config-accordion .accordion-button:not(.collapsed) .bi-plus-lg::before { + content: "\f2ea"; +} + +.config-accordion .accordion-button .bi-plus-lg { + font-size: 1.2rem; + line-height: 1; + width: 1.2rem; + display: inline-block; + text-align: center; +} + .config-accordion .accordion-body { padding: 1rem 1.25rem; background-color: #f5f5f5; diff --git a/cps/static/js/main.js b/cps/static/js/main.js index a6337f121..f7e366dea 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -450,7 +450,7 @@ $(function() { } data.files.forEach(function(entry) { if(entry.type === "dir") { - var type = ""; + var type = ""; } else { var type = ""; } diff --git a/cps/templates/image.html b/cps/templates/image.html index 62820b7ff..1bcf75a4e 100644 --- a/cps/templates/image.html +++ b/cps/templates/image.html @@ -3,6 +3,7 @@ {%- set image_alt = alt if alt else image_title -%} {% set srcset = book|get_cover_srcset %} {{ image_alt }} {%- endmacro %} diff --git a/cps/themes/standard/templates/config_edit.html b/cps/themes/standard/templates/config_edit.html index a90788108..21dd18f31 100644 --- a/cps/themes/standard/templates/config_edit.html +++ b/cps/themes/standard/templates/config_edit.html @@ -17,7 +17,7 @@ {{_('Server Configuration')}} -
+
@@ -406,7 +406,7 @@
{% endif %} -
+
{{_('Cancel')}}
diff --git a/cps/themes/standard/templates/config_view_edit.html b/cps/themes/standard/templates/config_view_edit.html index 759a9d35e..f7f03546c 100644 --- a/cps/themes/standard/templates/config_view_edit.html +++ b/cps/themes/standard/templates/config_view_edit.html @@ -16,7 +16,7 @@ {{_('View Configuration')}} -
+
@@ -165,7 +165,7 @@
-
+
{{_('Cancel')}}
diff --git a/cps/themes/standard/templates/grid.html b/cps/themes/standard/templates/grid.html index 216bc0c44..2236afaf6 100644 --- a/cps/themes/standard/templates/grid.html +++ b/cps/themes/standard/templates/grid.html @@ -2,41 +2,41 @@ {% extends theme("layout.html") %} {% block body %}
-

{{_(title)}}

+

{{_(title)}}

-