Skip to content

Commit

Permalink
fixed static logos
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hanke committed Jan 18, 2024
1 parent c25b035 commit 638933d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt

ADD . /src
WORKDIR /src

COPY ./static /src/static

# get qudt_units ontology
#RUN curl https://raw.githubusercontent.com/qudt/qudt-public-repo/main/vocab/unit/VOCAB_QUDT-UNITS-ALL-v2.1.ttl > ./ontologies/qudt_unit.ttl
COPY ./ontologies/qudt_unit.ttl ./ontologies/qudt_unit.ttl
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Setting(BaseSettings):
app_name: str = "CSVtoCSVW"
admin_email: str = os.environ.get("ADMIN_MAIL") or "[email protected]"
items_per_user: int = 50
version: str = "v1.2.9"
version: str = "v1.3.0"
config_name: str = os.environ.get("APP_MODE") or "development"
openapi_url: str ="/api/openapi.json"
docs_url: str = "/api/docs"
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% block content %}
<header class="pb-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center text-dark text-decoration-none m-3 pb-1">
<img class='me-3' src="{{ url_for('static', path='/resources/MatOLab-Logo.svg') }}" height="30" alt="mat-o-lab-logo"/>
<img class='me-3' src="{{ url_for('static', path='/resources/Logo.svg') }}" height="30" alt="mat-o-lab-logo"/>
</a>
</header>
<main class="bg-light rounded-3 px-3">
Expand Down Expand Up @@ -77,7 +77,7 @@ <h5 class="card-title">Result</h5>
</div>
</main>
<footer class="pt-3 my-4 text-center text-muted border-top">
<span class="site-footer-owner"><a href="https://github.com/Mat-O-Lab/CSVtoCSVW">CSVtoCSVW</a> is maintained by <a href="https://matolab.org"><img src="{{ url_for('static', path='/resources/MatOLab-Logo.svg') }}" width="5%" alt="mat-o-lab-logo"/></a>.</span>
<span class="site-footer-owner"><a href="https://github.com/Mat-O-Lab/CSVtoCSVW">CSVtoCSVW</a> is maintained by <a href="https://matolab.org"><img src="{{ url_for('static', path='/resources/Logo.svg') }}" width="5%" alt="mat-o-lab-logo"/></a>.</span>
</footer>
{% endblock %}

Expand Down

0 comments on commit 638933d

Please sign in to comment.