This commit is contained in:
jakani24
2024-06-20 15:42:00 +02:00
parent 0aae255595
commit 1cb5c674e8
2 changed files with 7 additions and 8 deletions

View File

@@ -43,6 +43,7 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
<label for="keyword">Short description / keywords:</label>
<input type="text" class="form-control" id="keyword" name="keyword" required>
</div>
<br>
<button type="submit" class="btn btn-primary btn-block">Create incident</button>
</form>
<br>

View File

@@ -87,14 +87,12 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
$last_id=$row["id"];
$status=$row["status"];
$description=$row["description"];
if($last_id!=1){ //number 1 is the unauthenticated user
echo('<tr>');
echo('<td>'.$last_id.'</td>');
echo('<td>'.$status.'</td>');
echo('<td>'.$description.'</td>');
echo('<td><a href="manage_incident.php?incident_id='.$last_id.'">Goto Incident</a></td>');
echo('</tr>');
}
$stmt->close();
$num_of_incidents--;
}