view ViewerPlugin/mirador.html @ 312:0683312e21ba

updated copyright, as Orthanc Team now replaces Osimis
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 30 May 2024 22:11:10 +0200
parents 0040ce361d4c
children 584909ee8883
line wrap: on
line source

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="theme-color" content="#000000">
    <title>Mirador</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
    <!--link rel="shortcut icon" type="image/svg" href="/img/mirador-logo.svg"/-->
  </head>
  <body>
    <div id="mirador" style="position: absolute; top: 0; bottom: 0; left: 0; right: 0;"></div>
    <script>document.write("<script type='text/javascript' src='https://unpkg.com/mirador@latest/dist/mirador.min.js'><\/script>");</script>
    <script type="text/javascript">
      var params = new URL(document.location).searchParams;
      var manifest = params.get('iiif-content') || params.get('manifest');
      var windows = [];
      if (manifest) {
        windows.push({ manifestId: manifest});
      }
      var miradorInstance = Mirador.viewer({
        id: 'mirador',
        windows: windows
      });
    </script>
  </body>
</html>