MiaadAlsulami commited on
Commit
e8e395f
·
verified ·
1 Parent(s): b1897a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -172,8 +172,8 @@ def main():
172
  employee_ticket_status_page()
173
 
174
  def submit_ticket_page():
175
- #st.image("logo.png", width=200)
176
- center_logo("logo.png") # Center the logo
177
  st.markdown('<h1 style="color: #084C3C;">Submit a Ticket</h1>', unsafe_allow_html=True)
178
  st.markdown('<p style="color: #084C3C;">Please fill out the form below to submit a ticket.</p>', unsafe_allow_html=True)
179
 
@@ -191,8 +191,8 @@ def submit_ticket_page():
191
  st.success(f"Your ticket has been submitted successfully. Customer ID: {customer_id}")
192
 
193
  def check_ticket_status_page():
194
- #st.image("logo.png", width=200)
195
- center_logo("logo.png") # Center the logo
196
  st.markdown('<h1 style="color: #084C3C;">Check Ticket Status</h1>', unsafe_allow_html=True)
197
  st.markdown('<p style="color: #084C3C;">Enter your Customer ID to view your tickets.</p>', unsafe_allow_html=True)
198
 
@@ -212,8 +212,8 @@ def check_ticket_status_page():
212
  st.warning("Please enter your Customer ID.")
213
 
214
  def faq_info_page():
215
- #st.image("logo.png", width=200)
216
- center_logo("logo.png") # Center the logo
217
  st.markdown('<h1 style="color: #084C3C;">FAQ & Information</h1>', unsafe_allow_html=True)
218
 
219
  faq_data = [
@@ -228,8 +228,8 @@ def faq_info_page():
228
  st.markdown(f'<p style="color: #084C3C;">{answer}</p>', unsafe_allow_html=True)
229
 
230
  def respond_to_ticket_page():
231
- #st.image("logo.png", width=200)
232
- center_logo("logo.png") # Center the logo
233
  st.markdown('<h1 style="color: #084C3C;">Respond to a Ticket</h1>', unsafe_allow_html=True)
234
  ticket_data = {
235
  "Ticket Number": ["141", "565", "999"],
@@ -247,8 +247,8 @@ def respond_to_ticket_page():
247
  st.button("Submit Response")
248
 
249
  def employee_ticket_status_page():
250
- #st.image("logo.png", width=200)
251
- center_logo("logo.png") # Center the logo
252
  st.markdown('<h1 style="color: #084C3C;">Ticket Status</h1>', unsafe_allow_html=True)
253
  customer_id = st.text_input("Customer ID")
254
  if st.button("Check Ticket Status"):
@@ -260,8 +260,8 @@ def employee_ticket_status_page():
260
  st.dataframe(df)
261
 
262
  def ticket_dashboard_page():
263
- #st.image("logo.png", width=200)
264
- center_logo("logo.png") # Center the logo
265
  st.markdown('<h1 style="color: #084C3C;">Ticket Dashboard</h1>', unsafe_allow_html=True)
266
  st.components.v1.iframe(
267
  "https://app.powerbi.com/view?r=eyJrIjoiMDEwNzA2YjUtNGY0MC00NTFjLTg1ZTctYTZlZjQzOTUwNWUxIiwidCI6ImI0NTNkOTFiLTZhYzEtNGI2MS1iOGI4LTVlNjVlNDIyMjMzZiIsImMiOjl9",
@@ -271,8 +271,8 @@ def ticket_dashboard_page():
271
  )
272
 
273
  def customer_dashboard_page():
274
- #st.image("logo.png", width=200)
275
- center_logo("logo.png") # Center the logo
276
  st.markdown('<h1 style="color: #084C3C;">Customer Dashboard</h1>', unsafe_allow_html=True)
277
  customer_data = {
278
  "Customer ID": ["C001", "C002", "C003"],
@@ -289,8 +289,8 @@ def customer_dashboard_page():
289
  )
290
 
291
  def management_dashboard_page():
292
- #st.image("logo.png", width=200)
293
- center_logo("logo.png") # Center the logo
294
  st.markdown('<h1 style="color: #084C3C;">Management Dashboard</h1>', unsafe_allow_html=True)
295
 
296
  # Define employee data
 
172
  employee_ticket_status_page()
173
 
174
  def submit_ticket_page():
175
+ st.image("logo.png", width=200)
176
+ #center_logo("logo.png") # Center the logo
177
  st.markdown('<h1 style="color: #084C3C;">Submit a Ticket</h1>', unsafe_allow_html=True)
178
  st.markdown('<p style="color: #084C3C;">Please fill out the form below to submit a ticket.</p>', unsafe_allow_html=True)
179
 
 
191
  st.success(f"Your ticket has been submitted successfully. Customer ID: {customer_id}")
192
 
193
  def check_ticket_status_page():
194
+ st.image("logo.png", width=200)
195
+ #center_logo("logo.png") # Center the logo
196
  st.markdown('<h1 style="color: #084C3C;">Check Ticket Status</h1>', unsafe_allow_html=True)
197
  st.markdown('<p style="color: #084C3C;">Enter your Customer ID to view your tickets.</p>', unsafe_allow_html=True)
198
 
 
212
  st.warning("Please enter your Customer ID.")
213
 
214
  def faq_info_page():
215
+ st.image("logo.png", width=200)
216
+ #center_logo("logo.png") # Center the logo
217
  st.markdown('<h1 style="color: #084C3C;">FAQ & Information</h1>', unsafe_allow_html=True)
218
 
219
  faq_data = [
 
228
  st.markdown(f'<p style="color: #084C3C;">{answer}</p>', unsafe_allow_html=True)
229
 
230
  def respond_to_ticket_page():
231
+ st.image("logo.png", width=200)
232
+ #center_logo("logo.png") # Center the logo
233
  st.markdown('<h1 style="color: #084C3C;">Respond to a Ticket</h1>', unsafe_allow_html=True)
234
  ticket_data = {
235
  "Ticket Number": ["141", "565", "999"],
 
247
  st.button("Submit Response")
248
 
249
  def employee_ticket_status_page():
250
+ st.image("logo.png", width=200)
251
+ #center_logo("logo.png") # Center the logo
252
  st.markdown('<h1 style="color: #084C3C;">Ticket Status</h1>', unsafe_allow_html=True)
253
  customer_id = st.text_input("Customer ID")
254
  if st.button("Check Ticket Status"):
 
260
  st.dataframe(df)
261
 
262
  def ticket_dashboard_page():
263
+ st.image("logo.png", width=200)
264
+ #center_logo("logo.png") # Center the logo
265
  st.markdown('<h1 style="color: #084C3C;">Ticket Dashboard</h1>', unsafe_allow_html=True)
266
  st.components.v1.iframe(
267
  "https://app.powerbi.com/view?r=eyJrIjoiMDEwNzA2YjUtNGY0MC00NTFjLTg1ZTctYTZlZjQzOTUwNWUxIiwidCI6ImI0NTNkOTFiLTZhYzEtNGI2MS1iOGI4LTVlNjVlNDIyMjMzZiIsImMiOjl9",
 
271
  )
272
 
273
  def customer_dashboard_page():
274
+ st.image("logo.png", width=200)
275
+ #center_logo("logo.png") # Center the logo
276
  st.markdown('<h1 style="color: #084C3C;">Customer Dashboard</h1>', unsafe_allow_html=True)
277
  customer_data = {
278
  "Customer ID": ["C001", "C002", "C003"],
 
289
  )
290
 
291
  def management_dashboard_page():
292
+ st.image("logo.png", width=200)
293
+ #center_logo("logo.png") # Center the logo
294
  st.markdown('<h1 style="color: #084C3C;">Management Dashboard</h1>', unsafe_allow_html=True)
295
 
296
  # Define employee data