diff --git a/configs/jureptool/config.yml b/configs/jureptool/config.yml index ab72e8a..aaa7375 100644 --- a/configs/jureptool/config.yml +++ b/configs/jureptool/config.yml @@ -16,7 +16,11 @@ timezone: 'Europe/Berlin' # Substitutions can be used with keys given in #(...)#. Inside it: # - replace can be done with: [string_from,string_to] # - removals can be done with: (string_to_remove) +# if only jureptool is used and not juri, keep this settings empty hostname: 'https://llview.fz-juelich.de/#system(-dc)[ ,_]#' +# at the bottom of the generated html page, there will be a logo to llview that +# links to juri, if there is no juri (hostname = ''), put this link instead +standalone_link: 'https://apps.fz-juelich.de/jsc/llview/docu/install/server_install/#jureptool' # JURI uses Jureptool to create html and pdf reports # Jureptool relies on plotly and jquery to build the html pages diff --git a/jureptool/src/GenerateHTML.py b/jureptool/src/GenerateHTML.py index a3102e0..1345247 100644 --- a/jureptool/src/GenerateHTML.py +++ b/jureptool/src/GenerateHTML.py @@ -1324,6 +1324,11 @@ def CreateFirstTables(data,config,num_cpus,num_gpus,gpus,ierr): """ + if config['appearance'].get('hostname'): + hostname_link = f"{replace_vars(config['appearance']['hostname'], data['job'])}/login.php" + else: + hostname_link = config['appearance'].get('standalone_link') + navbar = f"""