zavavan commited on
Commit
91bd078
·
verified ·
1 Parent(s): 3121ae1

Update dashboard.py

Browse files
Files changed (1) hide show
  1. dashboard.py +12 -0
dashboard.py CHANGED
@@ -331,6 +331,7 @@ button2.on_click(lambda event: show_page("Page2"))
331
  button3.on_click(lambda event: show_page("Page3"))
332
  button4.on_click(lambda event: show_page("Page4"))
333
  button5.on_click(lambda event: show_page("Page5"))
 
334
 
335
 
336
  ### CREATE PAGE LAYOUTS
@@ -389,18 +390,29 @@ def CreatePage5():
389
  pn.Row(region_radio_button, pn.bind(filter_region, region_radio_button)),
390
  align="center", )
391
 
 
 
 
 
 
 
 
 
 
392
  mapping = {
393
  "Page1": CreatePage1(),
394
  "Page2": CreatePage2(),
395
  "Page3": CreatePage3(),
396
  "Page4": CreatePage4(),
397
  "Page5": CreatePage5(),
 
398
  }
399
 
400
  #################### SIDEBAR LAYOUT ##########################
401
  sidebar = pn.Column(pn.pane.Markdown("## Pages"), button1,button2,button3,
402
  button4,
403
  button5,
 
404
  styles={"width": "100%", "padding": "15px"})
405
 
406
  #################### MAIN AREA LAYOUT ##########################
 
331
  button3.on_click(lambda event: show_page("Page3"))
332
  button4.on_click(lambda event: show_page("Page4"))
333
  button5.on_click(lambda event: show_page("Page5"))
334
+ button6.on_click(lambda event: show_page("Page6"))
335
 
336
 
337
  ### CREATE PAGE LAYOUTS
 
390
  pn.Row(region_radio_button, pn.bind(filter_region, region_radio_button)),
391
  align="center", )
392
 
393
+
394
+ def CreatePage6():
395
+ url = 'https://app.vosviewer.com/?json=https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D16q1oLQyEeMosAgeD9UkC9hSrpzAYX_-n'
396
+ return pn.Column(
397
+ pn.pane.Markdown("## VOSViewer Network "),
398
+ pn.Row(pn.panel(url))
399
+ )
400
+
401
+
402
  mapping = {
403
  "Page1": CreatePage1(),
404
  "Page2": CreatePage2(),
405
  "Page3": CreatePage3(),
406
  "Page4": CreatePage4(),
407
  "Page5": CreatePage5(),
408
+ "Page6": CreatePage6()
409
  }
410
 
411
  #################### SIDEBAR LAYOUT ##########################
412
  sidebar = pn.Column(pn.pane.Markdown("## Pages"), button1,button2,button3,
413
  button4,
414
  button5,
415
+ button6,
416
  styles={"width": "100%", "padding": "15px"})
417
 
418
  #################### MAIN AREA LAYOUT ##########################