Abhinav commited on
Commit
f3c9f44
·
unverified ·
1 Parent(s): 140c24b

feat: UI improvements

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -6,6 +6,19 @@ from typing import List
6
  api = Wolvesville()
7
 
8
  roles: List[Role] = api.getRoleRoleIcons()
 
 
 
9
  for role in roles[:5]:
10
  st.markdown(f"<img src=\"{role.image.url}\" style=\"height: 100px; width:100px;\"/>", unsafe_allow_html=True)
11
-
 
 
 
 
 
 
 
 
 
 
 
6
  api = Wolvesville()
7
 
8
  roles: List[Role] = api.getRoleRoleIcons()
9
+
10
+ st.title("Roles")
11
+
12
  for role in roles[:5]:
13
  st.markdown(f"<img src=\"{role.image.url}\" style=\"height: 100px; width:100px;\"/>", unsafe_allow_html=True)
14
+
15
+ st.subheader(role.name)
16
+ st.text(role.aura)
17
+ st.text(role.description)
18
+
19
+ if role.icons != []:
20
+ with st.expander("See role icons"):
21
+ for icon in role.icons:
22
+ st.markdown(f"<img src=\"{icon}\" style=\"height: 100px; width:100px;\"/>", unsafe_allow_html=True)
23
+
24
+ st.divider()