yaTuhan semoga bener
This commit is contained in:
@ -49,15 +49,17 @@ def navbar():
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}}
|
}}
|
||||||
.stButton > button {{
|
.stButton > button {{
|
||||||
background-color: #264CBE !important;
|
background-color: #264CBE;
|
||||||
color: white !important;
|
color: white;
|
||||||
border-radius: 10px !important;
|
font-family: 'Inter', sans-serif;
|
||||||
font-size: 12px !important;
|
font-size: 16px;
|
||||||
font-weight: bold !important;
|
font-weight: 600;
|
||||||
padding: 10px 15px !important;
|
border: none;
|
||||||
margin-top:6px !important;
|
border-radius: 5px;
|
||||||
border: none !important;
|
padding: 10px;
|
||||||
cursor: pointer !important;
|
cursor: pointer;
|
||||||
|
margin-top: 8px;
|
||||||
|
width: 100%;
|
||||||
}}
|
}}
|
||||||
.stButton > button:hover {{
|
.stButton > button:hover {{
|
||||||
background-color: #1D3A8A !important;
|
background-color: #1D3A8A !important;
|
||||||
@ -75,7 +77,7 @@ def navbar():
|
|||||||
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-center">
|
<div class="navbar-center">
|
||||||
Halaman Dashboard
|
Halaman Prediksi
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
@ -44,15 +44,17 @@ def navbar():
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}}
|
}}
|
||||||
.stButton > button {{
|
.stButton > button {{
|
||||||
background-color: #264CBE !important;
|
background-color: #264CBE;
|
||||||
color: white !important;
|
color: white;
|
||||||
border-radius: 10px !important;
|
font-family: 'Inter', sans-serif;
|
||||||
font-size: 12px !important;
|
font-size: 16px;
|
||||||
font-weight: bold !important;
|
font-weight: 600;
|
||||||
padding: 10px 15px !important;
|
border: none;
|
||||||
margin-top:6px !important;
|
border-radius: 5px;
|
||||||
border: none !important;
|
padding: 10px;
|
||||||
cursor: pointer !important;
|
cursor: pointer;
|
||||||
|
margin-top: 8px;
|
||||||
|
width: 100%;
|
||||||
}}
|
}}
|
||||||
.stButton > button:hover {{
|
.stButton > button:hover {{
|
||||||
background-color: #1D3A8A !important;
|
background-color: #1D3A8A !important;
|
||||||
@ -70,7 +72,7 @@ def navbar():
|
|||||||
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-center">
|
<div class="navbar-center">
|
||||||
Halaman Dashboard
|
Halaman Prediksi
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
@ -103,15 +103,17 @@ def navbar():
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}}
|
}}
|
||||||
.stButton > button {{
|
.stButton > button {{
|
||||||
background-color: #264CBE !important;
|
background-color: #264CBE;
|
||||||
color: white !important;
|
color: white;
|
||||||
border-radius: 10px !important;
|
font-family: 'Inter', sans-serif;
|
||||||
font-size: 12px !important;
|
font-size: 16px;
|
||||||
font-weight: bold !important;
|
font-weight: 600;
|
||||||
padding: 10px 15px !important;
|
border: none;
|
||||||
margin-top:6px !important;
|
border-radius: 5px;
|
||||||
border: none !important;
|
padding: 10px;
|
||||||
cursor: pointer !important;
|
cursor: pointer;
|
||||||
|
margin-top: 8px;
|
||||||
|
width: 100%;
|
||||||
}}
|
}}
|
||||||
.stButton > button:hover {{
|
.stButton > button:hover {{
|
||||||
background-color: #1D3A8A !important;
|
background-color: #1D3A8A !important;
|
||||||
@ -129,7 +131,7 @@ def navbar():
|
|||||||
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-center">
|
<div class="navbar-center">
|
||||||
Form Keluhan
|
Halaman Prediksi
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
@ -44,15 +44,17 @@ def navbar():
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}}
|
}}
|
||||||
.stButton > button {{
|
.stButton > button {{
|
||||||
background-color: #264CBE !important;
|
background-color: #264CBE;
|
||||||
color: white !important;
|
color: white;
|
||||||
border-radius: 10px !important;
|
font-family: 'Inter', sans-serif;
|
||||||
font-size: 12px !important;
|
font-size: 16px;
|
||||||
font-weight: bold !important;
|
font-weight: 600;
|
||||||
padding: 10px 15px !important;
|
border: none;
|
||||||
margin-top:6px !important;
|
border-radius: 5px;
|
||||||
border: none !important;
|
padding: 10px;
|
||||||
cursor: pointer !important;
|
cursor: pointer;
|
||||||
|
margin-top: 8px;
|
||||||
|
width: 100%;
|
||||||
}}
|
}}
|
||||||
.stButton > button:hover {{
|
.stButton > button:hover {{
|
||||||
background-color: #1D3A8A !important;
|
background-color: #1D3A8A !important;
|
||||||
@ -70,7 +72,7 @@ def navbar():
|
|||||||
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-center">
|
<div class="navbar-center">
|
||||||
Form Kepuasan Kerja
|
Halaman Prediksi
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
@ -46,15 +46,17 @@ def navbar():
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}}
|
}}
|
||||||
.stButton > button {{
|
.stButton > button {{
|
||||||
background-color: #264CBE !important;
|
background-color: #264CBE;
|
||||||
color: white !important;
|
color: white;
|
||||||
border-radius: 10px !important;
|
font-family: 'Inter', sans-serif;
|
||||||
font-size: 12px !important;
|
font-size: 16px;
|
||||||
font-weight: bold !important;
|
font-weight: 600;
|
||||||
padding: 10px 15px !important;
|
border: none;
|
||||||
margin-top:6px !important;
|
border-radius: 5px;
|
||||||
border: none !important;
|
padding: 10px;
|
||||||
cursor: pointer !important;
|
cursor: pointer;
|
||||||
|
margin-top: 8px;
|
||||||
|
width: 100%;
|
||||||
}}
|
}}
|
||||||
.stButton > button:hover {{
|
.stButton > button:hover {{
|
||||||
background-color: #1D3A8A !important;
|
background-color: #1D3A8A !important;
|
||||||
@ -72,7 +74,7 @@ def navbar():
|
|||||||
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-center">
|
<div class="navbar-center">
|
||||||
Form Penilaian Kinerja Karyawan
|
Halaman Prediksi
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
@ -87,7 +89,7 @@ def navbar():
|
|||||||
st.switch_page("pages/login.py")
|
st.switch_page("pages/login.py")
|
||||||
|
|
||||||
st.markdown("</div></div>", unsafe_allow_html=True)
|
st.markdown("</div></div>", unsafe_allow_html=True)
|
||||||
|
|
||||||
def menu():
|
def menu():
|
||||||
# **Pastikan Streamlit Session State Sudah Punya `page`**
|
# **Pastikan Streamlit Session State Sudah Punya `page`**
|
||||||
if "page" not in st.session_state:
|
if "page" not in st.session_state:
|
||||||
|
@ -126,15 +126,17 @@ def navbar():
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}}
|
}}
|
||||||
.stButton > button {{
|
.stButton > button {{
|
||||||
background-color: #264CBE !important;
|
background-color: #264CBE;
|
||||||
color: white !important;
|
color: white;
|
||||||
border-radius: 10px !important;
|
font-family: 'Inter', sans-serif;
|
||||||
font-size: 12px !important;
|
font-size: 16px;
|
||||||
font-weight: bold !important;
|
font-weight: 600;
|
||||||
padding: 10px 15px !important;
|
border: none;
|
||||||
margin-top:6px !important;
|
border-radius: 5px;
|
||||||
border: none !important;
|
padding: 10px;
|
||||||
cursor: pointer !important;
|
cursor: pointer;
|
||||||
|
margin-top: 8px;
|
||||||
|
width: 100%;
|
||||||
}}
|
}}
|
||||||
.stButton > button:hover {{
|
.stButton > button:hover {{
|
||||||
background-color: #1D3A8A !important;
|
background-color: #1D3A8A !important;
|
||||||
@ -152,7 +154,7 @@ def navbar():
|
|||||||
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
<img src="data:image/png;base64,{get_image_as_base64(logo_path)}" alt="Logo">
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-center">
|
<div class="navbar-center">
|
||||||
Halaman Laporan
|
Halaman Prediksi
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-right">
|
<div class="navbar-right">
|
||||||
""", unsafe_allow_html=True)
|
""", unsafe_allow_html=True)
|
||||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user