fix all sonar bugs

This commit is contained in:
burnettk 2023-03-28 10:05:29 -04:00
parent 0d07eba5ee
commit 01f8bc0f87
3 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,7 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
background-color:white; background-color:white;
font-family: 'Arial'; font-family: 'Arial, sans-serif';
} }
header { header {
width: 100%; width: 100%;

View File

@ -1,12 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<title>Login Form</title> <title>Login Form</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('openid.static', filename='login.css') }}"> <link rel="stylesheet" type="text/css" href="{{ url_for('openid.static', filename='login.css') }}">
</head> </head>
<body> <body>
<header> <header>
<img class="logo_small" src="{{ url_for('openid.static', filename='logo_small.png') }}"/> <img class="logo_small" src="{{ url_for('openid.static', filename='logo_small.png') }}" alt="Small SpiffWorkflow logo" />
</header> </header>
<h2>Login</h2> <h2>Login</h2>

View File

@ -157,8 +157,7 @@ class ProcessInstanceService:
# navigation = processor.bpmn_process_instance.get_deep_nav_list() # navigation = processor.bpmn_process_instance.get_deep_nav_list()
# ProcessInstanceService.update_navigation(navigation, processor) # ProcessInstanceService.update_navigation(navigation, processor)
process_model_service = ProcessModelService() process_model_service = ProcessModelService()
process_model = process_model_service.get_process_model(processor.process_model_identifier) process_model_service.get_process_model(processor.process_model_identifier)
process_model.display_name if process_model else ""
process_instance_api = ProcessInstanceApi( process_instance_api = ProcessInstanceApi(
id=processor.get_process_instance_id(), id=processor.get_process_instance_id(),
status=processor.get_status(), status=processor.get_status(),