siddhartharya commited on
Commit
c4c5fcc
·
verified ·
1 Parent(s): ad8e10f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -749,21 +749,7 @@ def export_bookmarks():
749
  href = f'data:text/html;base64,{b64}'
750
 
751
  logger.info("Bookmarks exported successfully")
752
- return f'''
753
- <div style="text-align: center;">
754
- <a href="{href}"
755
- download="bookmarks.html"
756
- style="display: inline-block;
757
- padding: 10px 20px;
758
- background-color: #4CAF50;
759
- color: white;
760
- text-decoration: none;
761
- border-radius: 5px;
762
- margin: 10px;">
763
- 💾 Download Exported Bookmarks
764
- </a>
765
- </div>
766
- '''
767
  except Exception as e:
768
  logger.error(f"Error exporting bookmarks: {e}")
769
  return "⚠️ Error exporting bookmarks."
 
749
  href = f'data:text/html;base64,{b64}'
750
 
751
  logger.info("Bookmarks exported successfully")
752
+ return f'<div style="text-align: center;"><a href="{href}" download="bookmarks.html" style="display: inline-block; padding: 10px 20px; background-color: #4CAF50; color: white; text-decoration: none; border-radius: 5px; margin: 10px;">💾 Download Exported Bookmarks</a></div>'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
  except Exception as e:
754
  logger.error(f"Error exporting bookmarks: {e}")
755
  return "⚠️ Error exporting bookmarks."