Skip to content

Commit

Permalink
Add favicon in tests (to avoid browser 404)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Feb 5, 2025
1 parent 5757eaf commit c032dc7
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/bench/bench.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<head>
<title>DICOM Parser Benchmark</title>
<meta charset="UTF-8">
<link rel="icon" href="../favicon.ico"/>
<style>
pre {
white-space: pre-wrap;
Expand Down
1 change: 1 addition & 0 deletions tests/dicom/pages/anonymiser.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>DICOM Anonymiser</title>
<meta charset="UTF-8">
<link rel="icon" href="../../favicon.ico"/>
<!-- local -->
<script type="text/javascript"src="./anonymiser.js"></script>
<style>
Expand Down
1 change: 1 addition & 0 deletions tests/dicom/pages/generator.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>DICOM Generator</title>
<meta charset="UTF-8">
<link rel="icon" href="../../favicon.ico"/>
<!-- third party -->
<script type="text/javascript" src="../../../node_modules/jszip/dist/jszip.min.js"></script>
<!-- local -->
Expand Down
1 change: 1 addition & 0 deletions tests/dicom/pages/synthetic-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>DICOM synthetic data</title>
<meta charset="UTF-8">
<link rel="icon" href="../../favicon.ico"/>
<style>
body { font-family: Arial, Helvetica, sans-serif; }
</style>
Expand Down
Binary file added tests/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions tests/image/pages/colourmaps.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>DWV Colour Maps</title>
<meta charset="UTF-8">
<link rel="icon" href="../favicon.ico"/>
<!-- local -->
<script type="text/javascript" src="./colourmaps.js"></script>
<style>
Expand Down
3 changes: 2 additions & 1 deletion tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<html>

<head>
<meta charset="UTF-8">
<title>DWV Tests</title>
<meta charset="UTF-8">
<link rel="icon" href="./favicon.ico"/>
<style>
body { font-family: Arial, Helvetica, sans-serif; }
</style>
Expand Down
1 change: 1 addition & 0 deletions tests/pacs/dcmweb.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<title>DICOM web</title>
<link rel="icon" href="../favicon.ico"/>
<style>
body {
background-color: #efefef;
Expand Down
3 changes: 2 additions & 1 deletion tests/pacs/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>My (fake) PACS</title>
<meta charset="UTF-8">
<link rel="icon" href="../favicon.ico"/>
<style>
body {
background-color: #efefef;
Expand Down
1 change: 1 addition & 0 deletions tests/pacs/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta name="description" content="DICOM Web Viewer (DWV) simple version">
<meta name="keywords" content="DICOM,HTML5,JavaScript,medical,imaging,DWV">
<link rel="icon" href="../favicon.ico"/>
<!-- Style -->
<style type="text/css">
body {
Expand Down
1 change: 1 addition & 0 deletions tests/visual/index-jpeg.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta name="description" content="DICOM Web Viewer (DWV) simple version">
<meta name="keywords" content="DICOM,HTML5,JavaScript,medical,imaging,DWV">
<link rel="icon" href="../favicon.ico"/>
<link type="text/css" rel="stylesheet" href="style.css" />
<!-- Third party (load) -->
<script type="text/javascript" src="../../decoders/rii-mango/lossless-min.js"></script>
Expand Down
1 change: 1 addition & 0 deletions tests/visual/index-jpeg2000.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta name="description" content="DICOM Web Viewer (DWV) simple version">
<meta name="keywords" content="DICOM,HTML5,JavaScript,medical,imaging,DWV">
<link rel="icon" href="../favicon.ico"/>
<link type="text/css" rel="stylesheet" href="style.css" />
<!-- Third party (load) -->
<script type="text/javascript" src="../../decoders/pdfjs/jpx.js"></script>
Expand Down
1 change: 1 addition & 0 deletions tests/visual/index-rle.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta name="description" content="DICOM Web Viewer (DWV) simple version">
<meta name="keywords" content="DICOM,HTML5,JavaScript,medical,imaging,DWV">
<link rel="icon" href="../favicon.ico"/>
<link type="text/css" rel="stylesheet" href="style.css" />
<!-- Third party (load) -->
<script type="text/javascript" src="../../decoders/dwv/rle.js"></script>
Expand Down
1 change: 1 addition & 0 deletions tests/visual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta charset="UTF-8">
<meta name="description" content="DICOM Web Viewer (DWV) simple version">
<meta name="keywords" content="DICOM,HTML5,JavaScript,medical,imaging,DWV">
<link rel="icon" href="../favicon.ico"/>
<link type="text/css" rel="stylesheet" href="style.css" />

<!-- Local -->
Expand Down

0 comments on commit c032dc7

Please sign in to comment.