readme.md
This commit is contained in:
16
app/app.py
16
app/app.py
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2025 Martin Kayser (tebarius)
|
||||
# Licensed under the MIT License. See LICENSE file in the project root.
|
||||
import streamlit as st
|
||||
|
||||
import base64
|
||||
import tools
|
||||
|
||||
standard_output = ('#### Um den HILFE-Text zu einzelnen Funktionen aufzurufen bitte die Funktion mit leerem'
|
||||
@@ -11,15 +11,21 @@ st.set_page_config(
|
||||
# we do also patching static-files of streamlit in the docker-container so bookmarks will have
|
||||
# the same favicon and if posting links for example in whatsapp they will have the same title
|
||||
page_title="tebarius Mysteryhelfer (web)",
|
||||
page_icon="./favicon.ico",
|
||||
page_icon="images/favicon.ico",
|
||||
layout="wide"
|
||||
)
|
||||
|
||||
st.logo('./logo.png', size='large')
|
||||
st.logo('images/logo.png', size='large')
|
||||
|
||||
logo_col, title_col = st.columns([1,5])
|
||||
logo_col, title_col = st.columns([1,4])
|
||||
with logo_col:
|
||||
st.image('./logo-mit-tb.png', width=150)
|
||||
st.markdown(f'<a href="https://gitea.tebarius.duckdns.org/tebarius/Mysteryhelfer-web">'
|
||||
f'<img src="data:image/png;base64,'
|
||||
f'{base64.b64encode(open("images/logo-mit-tb.png", "rb").read()).decode()}" width="150">'
|
||||
f'<img src="data:image/png;base64,'
|
||||
f'{base64.b64encode(open("images/gitea.png", "rb").read()).decode()}" width="70">'
|
||||
f'</a>',
|
||||
unsafe_allow_html=True)
|
||||
with title_col:
|
||||
st.write('### tebarius Mysteryhelfer (web)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user