imporved the DNS capabilities
Linked the logs and console to streamlit
This commit is contained in:
@@ -216,8 +216,8 @@ def render_list():
|
||||
with cols[2]:
|
||||
st.text(dns_status)
|
||||
|
||||
if pf.get('dns_hostname'):
|
||||
st.page_link(f"http://{pf['dns_hostname']}", label=f"http://{pf['dns_hostname']}")
|
||||
if pf.get('dns_record_hostname'):
|
||||
st.page_link(f"http://{pf['dns_record_hostname']}", label=f"http://{pf['dns_record_hostname']}")
|
||||
else:
|
||||
st.page_link(f"http://{pf['ip_address']}:{pf['external_port']}", label=f"http://{pf['ip_address']}:{pf['external_port']}")
|
||||
|
||||
@@ -240,6 +240,11 @@ def render_list():
|
||||
st.session_state.view_type = 'detail'
|
||||
st.session_state.selected_resource_type = 'container'
|
||||
st.rerun()
|
||||
st.page_link(
|
||||
f"http://127.0.0.5:5000/ui/container_logs/{container['container_id']}",
|
||||
label="Console & Logs",
|
||||
icon="🖥️"
|
||||
)
|
||||
st.markdown("---")
|
||||
|
||||
# Delete pod button
|
||||
|
||||
Reference in New Issue
Block a user