Files
matrix/build/WebContent/WEB-INF/app/operation/reporting/gpslocviewer.jsp

40 lines
2.0 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!doctype html>
<html lang="en">
<head>
<meta charset="ISO-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Cygnus 1.0 | GPS Location</title>
<link href="/matrix/css/bootstrap-5.3.8.min.css" rel="stylesheet" />
<link href="/matrix/css/matrix-v2.css?v=6" rel="stylesheet" />
<link href="/matrix/css/report-viewer-v4.css?v=1" rel="stylesheet" />
<script src="/matrix/js/matrix-dialog-child.js?v=2" defer></script>
<script src="/matrix/js/matrix-accessibility-v1.js?v=1" defer></script>
<link href="/matrix/css/matrix-theme-v2.css?v=4" rel="stylesheet" type="text/css" />
</head>
<body class="matrix-v2 matrix-report-viewer">
<main class="matrix-report-viewer__page">
<header class="matrix-report-viewer__heading">
<div><h1>GPS Location</h1><p>Recorded visit location for this verification.</p></div>
<button type="button" class="btn btn-outline-secondary btn-sm" onclick="MatrixDialog.close(0)">Close</button>
</header>
<c:choose>
<c:when test="${not empty gpsloc}">
<div class="matrix-report-viewer__frame-wrap">
<iframe class="matrix-report-viewer__frame" src="${gpsloc}&amp;key=AIzaSyACPO53GZZKKhrDNBU8H9Kyroivd91yMKk"
title="Verification GPS location" loading="lazy" referrerpolicy="no-referrer-when-downgrade"
allowfullscreen></iframe>
</div>
</c:when>
<c:otherwise>
<section class="matrix-report-viewer__empty" role="status">
<strong>Location unavailable</strong>
<span>No GPS coordinates were recorded for this verification.</span>
</section>
</c:otherwise>
</c:choose>
</main>
</body>
</html>