@@ -77,16 +77,15 @@ def fairy_url_single(run,sample,version,plot_path,tier,draw_opts="",h=250,w=200)
7777 return fairy_url
7878
7979#-------------------------------------------------------------------------------
80- style_location = "/cms-service-reldqm"
8180def get_page_header (directory = None , standalone = False , additional_header = "" ):
82- style_location = "/cms-service-reldqm"
83- if standalone :
84- style_location = "https://raw.githubusercontent.com/cms-PdmV/RelMonService2/77c534ec93401ca5de222ac62a6422f02389dafc/report_website/" #RelMonService2
81+
8582 javascripts = ''
8683 style = ''
8784 tablestyle = ''
8885 thead_h = 400
8986 wrapper_h = 1500
87+ style_location = "https://cms-pdmv-prod.web.cern.ch/relmon//cms-service-reldqm/"
88+
9089 if directory != None and len (directory .comparisons )> 0 :
9190 meta = directory .meta
9291 style = 'img.fail {border:1px solid #ff0000;}\n ' + \
@@ -113,14 +112,13 @@ def get_page_header(directory=None, standalone=False, additional_header=""):
113112 javascripts = ""
114113
115114
116-
117115 html = '<html>' + \
118116 '<head>' + \
119117 '<title>RelMon Summary</title>' + \
120- '<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"></script>' + \
121- '<link rel="stylesheet" href="%s/screen.css" type="text/css" media="screen, projection">' % style_location + \
122- '<link rel="stylesheet" href="%s/print.css" type="text/css" media="print">' % style_location + \
123- '<link rel="stylesheet" href="%s/fancy-type-screen.css" type="text/css" media="screen, projection">' % style_location + \
118+ '<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"></script>' + \
119+ '<link rel="stylesheet" href="%s/screen.css" type="text/css" media="screen, projection">' % ( style_location ) + \
120+ '<link rel="stylesheet" href="%s/print.css" type="text/css" media="print">' % ( style_location ) + \
121+ '<link rel="stylesheet" href="%s/fancy-type-screen.css" type="text/css" media="screen, projection">' % ( style_location ) + \
124122 '<style type="text/css">' + \
125123 '.rotation {display: block;-webkit-transform: rotate(-90deg);-moz-transform: rotate(-90deg); }' + \
126124 '%s' % style + \
0 commit comments