BenjiELCA commited on
Commit
9ef60c2
β€’
1 Parent(s): bb42123

new banner for mobile

Browse files
app.py CHANGED
@@ -290,9 +290,9 @@ def main():
290
 
291
  # Add your company logo banner
292
  if is_mobile:
293
- st.image("./images/banner.png", use_column_width=True)
294
  else:
295
- st.image("./images/banner.png", use_column_width=True)
296
 
297
  # Use is_mobile flag in your logic
298
  if is_mobile:
 
290
 
291
  # Add your company logo banner
292
  if is_mobile:
293
+ st.image("./images/banner_mobile.png", use_column_width=True)
294
  else:
295
+ st.image("./images/banner_desktop.png", use_column_width=True)
296
 
297
  # Use is_mobile flag in your logic
298
  if is_mobile:
images/{banner.png β†’ banner_desktop.png} RENAMED
File without changes
images/banner_mobile.png ADDED
modules/htlm_webpage.py CHANGED
@@ -65,7 +65,6 @@ def display_bpmn_xml(bpmn_xml, is_mobile=False):
65
  <div id="button-container">
66
  <button id="save-button">Save as BPMN</button>
67
  <button id="download-button">Save as XML</button>
68
- <button id="save-button">Save as Method&Style (not available now)</button>
69
  </div>
70
  <div id="canvas-container">
71
  <div id="canvas"></div>
 
65
  <div id="button-container">
66
  <button id="save-button">Save as BPMN</button>
67
  <button id="download-button">Save as XML</button>
 
68
  </div>
69
  <div id="canvas-container">
70
  <div id="canvas"></div>