layout fix

This commit is contained in:
Jesselyn Mu
2025-02-01 13:08:54 +07:00
parent 28a77e7a5b
commit 10d4817795
5 changed files with 13 additions and 47 deletions

View File

@ -168,11 +168,9 @@ def show_login():
</style>
""", unsafe_allow_html=True)
# Input form
username = st.text_input("Username", placeholder="Masukkan username")
password = st.text_input("Password", type="password", placeholder="Masukkan password")
# Validasi tombol login tetap tidak diubah
if st.button("Login", key="login_button"):
user = validate_login(username, password)
if user:
@ -183,10 +181,9 @@ def show_login():
else:
st.error("Username atau password salah.")
st.markdown('</div>', unsafe_allow_html=True) # Tutup container
st.markdown('</div>', unsafe_allow_html=True)
st.markdown('</div>', unsafe_allow_html=True)
# Footer
st.markdown(
"""
<div class="footer">