forked from lin-midas-pages/common_pages
Added missing spinning-wheel resource and an explanation file why this is necessary in the first place
This commit is contained in:
1 parent
bbddea8e61
commit
1ec6e024ad
3 files changed
+31
-5
No files matched your search
@@ -4,11 +4,11 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="midas.css">
|
||||
<script src="controls.js"></script>
|
||||
<script src="midas.js"></script>
|
||||
<script src="mhttpd.js"></script>
|
||||
<script src="mhistory.js"></script>
|
||||
<script src="filesrw.js"></script>
|
||||
<script src="../controls.js"></script>
|
||||
<script src="../midas.js"></script>
|
||||
<script src="../mhttpd.js"></script>
|
||||
<script src="../mhistory.js"></script>
|
||||
<script src="../filesrw.js"></script>
|
||||
<title>Beamline elements</title>
|
||||
|
||||
<style>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
DO NOT DELETE: spinning-wheel.gif
|
||||
|
||||
The spinning-wheel.gif file in this directory is required by the MIDAS
|
||||
JavaScript infrastructure.
|
||||
|
||||
The Beamline_elements pages are served from a subdirectory of the MIDAS
|
||||
custom pages directory. mhttpd_init from mhttpd.js loads the standard MIDAS
|
||||
loading indicator using the relative URL:
|
||||
|
||||
spinning-wheel.gif
|
||||
|
||||
Because the current page is located in /Beamline_elements/, the browser
|
||||
resolves this as:
|
||||
|
||||
/Beamline_elements/spinning-wheel.gif
|
||||
|
||||
Therefore this copy of spinning-wheel.gif must be present even though it is
|
||||
not explicitly referenced by the Beamline Elements application code.
|
||||
|
||||
DO NOT DELETE this file or remove it from the installation. Doing so causes
|
||||
mhttpd to report errors such as:
|
||||
|
||||
Cannot find resource file 'Beamline_elements/spinning-wheel.gif'
|
||||
|
||||
This is a compatibility/resource-path requirement resulting from serving the
|
||||
Beamline Elements pages from their own subdirectory.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Reference in new issue
Block a user