Skip to content

Commit

Permalink
TOOLCM-2143 - fix favicon errors (#46)
Browse files Browse the repository at this point in the history
* TOOLCM-2143 - fix favicon errors

Minor change to webapp ui templates to stop logging favicon 404 errors

* Add LABEL for base image
  • Loading branch information
mikespharss authored Jul 9, 2024
1 parent 35b29b7 commit c04dc21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN python3 -m venv /venv \
&& /venv/bin/pip install uwsgi && /venv/bin/pip install --no-deps --compile -r /tmp/requirements.txt

FROM 412335208158.dkr.ecr.us-east-1.amazonaws.com/python:3.11-slim
LABEL com.sproutsocial.docker.base-image="412335208158.dkr.ecr.us-east-1.amazonaws.com/python:3.11-slim"

ENV r=/botanist

Expand Down
3 changes: 3 additions & 0 deletions webapp/ui/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'ui.css' %}"/>
<link rel="shortcut icon" type="image/x-icon" href="{% static 'favicon.ico' %}" />
<!-- other browsers -->
<link rel="icon" type="image/x-icon" href="{% static 'favicon.ico' %}" />
<div id="spacer" style="padding-top: 25px;"></div>
<div id="search-main">
<div style="width:450px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',sans-serif;line-height:1.15;border:1px solid rgb(43, 135, 211);background-color:rgb(220, 242, 255);border-radius:8px;padding:8px 12px;margin:0 auto 24px;">
Expand Down
3 changes: 3 additions & 0 deletions webapp/ui/templates/search.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'ui.css' %}"/>
<link rel="shortcut icon" type="image/x-icon" href="{% static 'favicon.ico' %}" />
<!-- other browsers -->
<link rel="icon" type="image/x-icon" href="{% static 'favicon.ico' %}" />
{#<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/default.min.css">#}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/mono-blue.min.css">
{#<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/ascetic.min.css">#}
Expand Down

0 comments on commit c04dc21

Please sign in to comment.