Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Sep 7, 2024
1 parent 9fc70b7 commit 683afdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/job/detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,12 @@ function updateProgress() {
<div class="col-xs-2" id="warnings"></div>
</div>
<hr>
<?php if (isset($data['usedOutdatedPattern']) && $data['usedOutdatedPattern'] === true) { ?>
<div id="logOutdatedBanner" class="alert alert-warning" style="display:none">
<a class="close" onclick="$('#logOutdatedBanner').hide()">×</a>
<h4><i class="icon fa fa-times-circle"></i> Outdated pattern used, use 'Recheck' </h4>
</div>
<?php } ?>
<div id="logErrorBanner" class="alert alert-danger" style="display:none">
<a class="close" onclick="$('#logErrorBanner').hide()">×</a>
<h4><i class="icon fa fa-times-circle"></i> Log contains Errors </h4>
Expand All @@ -272,12 +274,10 @@ function updateProgress() {
<a class="close" onclick="$('#logWarningBanner').hide()">×</a>
<h4><i class="icon fa fa-times-circle"></i> Log contains Warnings </h4>
</div>
<?php if (isset($data['logContainsMandatory']) && $data['logContainsMandatory'] == 0) { ?>
<div id="logMandatoryBanner" class="alert alert-danger">
<div id="logMandatoryBanner" class="alert alert-danger" style="display:none">
<a class="close" onclick="$('#logMandatoryBanner').hide()">×</a>
<h4><i class="icon fa fa-times-circle"></i> Log doesn't contain mandatory Pattern </h4>
</div>
<?php } ?>
<div style="overflow: auto; height: 400px; border: 1px solid #AAA; padding: 5px;" id="log"></div>
</div>
</div>
Expand Down

0 comments on commit 683afdf

Please sign in to comment.