Skip to content

Commit 7c89267

Browse files
authored
Update SpecNec_executable_streamlit.py
1 parent 370aba0 commit 7c89267

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

fun_SPEC_NEC/SpecNec_executable_streamlit.py

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -106,43 +106,43 @@
106106
st.markdown("##### **Response Spectra [Elastic and Inelastic]**")
107107
st.write(Resul)
108108

109-
# def display_footer():
110-
# footer = """
111-
# <style>
112-
# .footer {
113-
# position: fixed;
114-
# left: 0;
115-
# bottom: 0;
116-
# width: 100%;
117-
# background-color: white;
118-
# color: black;
119-
# text-align: center;
120-
# padding: 10px;
121-
# border-top: 1px solid #eaeaea;
122-
# display: flex;
123-
# align-items: center;
124-
# justify-content: center;
125-
# }
126-
# .footer .logo {
127-
# height: 60px; /* Increased size */
128-
# margin-right: 5px;
129-
# }
130-
# .footer .separator {
131-
# border-left: 2px solid #eaeaea;
132-
# height: 50px;
133-
# margin-right: 5px;
134-
# }
135-
# </style>
136-
# <div class="footer">
137-
# <img class="logo" src="https://raw.githubusercontent.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/main/fun_SPEC_NEC/logo_TorreFuerte.png" alt="TorreFuerte Logo">
138-
# <div class="separator"></div>
139-
# <div>
140-
# <p>Developed by Carlos Celi | <a href="https://www.http://torrefuerte.ec" target="_blank">TORREFUERTE</a> | <a href="https://www.caceli.net" target="_blank">Carlos Celi</a> | <a href="https://github.com/Normando1945" target="_blank">GitHub</a></p>
141-
# <p>© Version 1.0.1 - July, 2024</p>
142-
# </div>
143-
# </div>
144-
# """
145-
# st.markdown(footer, unsafe_allow_html=True)
146-
147-
# display_footer()
109+
def display_footer():
110+
footer = """
111+
<style>
112+
.footer {
113+
position: fixed;
114+
left: 0;
115+
bottom: 0;
116+
width: 100%;
117+
background-color: white;
118+
color: black;
119+
text-align: center;
120+
padding: 10px;
121+
border-top: 1px solid #eaeaea;
122+
display: flex;
123+
align-items: center;
124+
justify-content: center;
125+
}
126+
.footer .logo {
127+
height: 60px; /* Increased size */
128+
margin-right: 5px;
129+
}
130+
.footer .separator {
131+
border-left: 2px solid #eaeaea;
132+
height: 50px;
133+
margin-right: 5px;
134+
}
135+
</style>
136+
<div class="footer">
137+
<img class="logo" src="https://raw.githubusercontent.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/main/fun_SPEC_NEC/logo_TorreFuerte.png" alt="TorreFuerte Logo">
138+
<div class="separator"></div>
139+
<div>
140+
<p>Developed by Carlos Celi | <a href="https://www.http://torrefuerte.ec" target="_blank">TORREFUERTE</a> | <a href="https://www.caceli.net" target="_blank">Carlos Celi</a> | <a href="https://github.com/Normando1945" target="_blank">GitHub</a></p>
141+
<p>© Version 1.0.1 - July, 2024</p>
142+
</div>
143+
</div>
144+
"""
145+
st.markdown(footer, unsafe_allow_html=True)
146+
147+
display_footer()
148148

0 commit comments

Comments
 (0)