Project

General

Profile

Actions

Refactor #24282

open

Improve the show_html page for arf report

Added by Ondřej Pražák over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Branch:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We display the html report on our pages in iframe, but the current solution offers limited error handling. We use the src attribute of iframe to fetch the content and hide spinner on content load. This effectively means that anything received from server is rendered inside iframe, errors included. If the file is missing on proxy, we just respond with 200 and render error message as a text which is shown inside iframe with no styling at all.

We should create request to load the report in html ourselves and then handle response appropriately by either displaying the report or errors.


Related issues 1 (1 open0 closed)

Blocks OpenSCAP - Tracker #20806: foreman_openscap UX enhancementsNew08/30/2017

Actions
Actions

Also available in: Atom PDF