psdi-data-conversion 0.0.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. psdi_data_conversion/__init__.py +11 -0
  2. psdi_data_conversion/app.py +242 -0
  3. psdi_data_conversion/bin/linux/atomsk +0 -0
  4. psdi_data_conversion/bin/linux/c2x +0 -0
  5. psdi_data_conversion/bin/mac/atomsk +0 -0
  6. psdi_data_conversion/bin/mac/c2x +0 -0
  7. psdi_data_conversion/constants.py +185 -0
  8. psdi_data_conversion/converter.py +459 -0
  9. psdi_data_conversion/converters/__init__.py +6 -0
  10. psdi_data_conversion/converters/atomsk.py +32 -0
  11. psdi_data_conversion/converters/base.py +702 -0
  12. psdi_data_conversion/converters/c2x.py +32 -0
  13. psdi_data_conversion/converters/openbabel.py +239 -0
  14. psdi_data_conversion/database.py +1064 -0
  15. psdi_data_conversion/dist.py +87 -0
  16. psdi_data_conversion/file_io.py +216 -0
  17. psdi_data_conversion/log_utility.py +241 -0
  18. psdi_data_conversion/main.py +776 -0
  19. psdi_data_conversion/scripts/atomsk.sh +32 -0
  20. psdi_data_conversion/scripts/c2x.sh +26 -0
  21. psdi_data_conversion/security.py +38 -0
  22. psdi_data_conversion/static/content/accessibility.htm +254 -0
  23. psdi_data_conversion/static/content/convert.htm +121 -0
  24. psdi_data_conversion/static/content/convertato.htm +65 -0
  25. psdi_data_conversion/static/content/convertc2x.htm +65 -0
  26. psdi_data_conversion/static/content/documentation.htm +94 -0
  27. psdi_data_conversion/static/content/feedback.htm +53 -0
  28. psdi_data_conversion/static/content/header-links.html +8 -0
  29. psdi_data_conversion/static/content/index-versions/header-links.html +8 -0
  30. psdi_data_conversion/static/content/index-versions/psdi-common-footer.html +99 -0
  31. psdi_data_conversion/static/content/index-versions/psdi-common-header.html +28 -0
  32. psdi_data_conversion/static/content/psdi-common-footer.html +99 -0
  33. psdi_data_conversion/static/content/psdi-common-header.html +28 -0
  34. psdi_data_conversion/static/content/report.htm +103 -0
  35. psdi_data_conversion/static/data/data.json +143940 -0
  36. psdi_data_conversion/static/img/colormode-toggle-dm.svg +3 -0
  37. psdi_data_conversion/static/img/colormode-toggle-lm.svg +3 -0
  38. psdi_data_conversion/static/img/psdi-icon-dark.svg +136 -0
  39. psdi_data_conversion/static/img/psdi-icon-light.svg +208 -0
  40. psdi_data_conversion/static/img/psdi-logo-darktext.png +0 -0
  41. psdi_data_conversion/static/img/psdi-logo-lighttext.png +0 -0
  42. psdi_data_conversion/static/img/social-logo-bluesky-black.svg +4 -0
  43. psdi_data_conversion/static/img/social-logo-bluesky-white.svg +4 -0
  44. psdi_data_conversion/static/img/social-logo-instagram-black.svg +1 -0
  45. psdi_data_conversion/static/img/social-logo-instagram-white.svg +1 -0
  46. psdi_data_conversion/static/img/social-logo-linkedin-black.png +0 -0
  47. psdi_data_conversion/static/img/social-logo-linkedin-white.png +0 -0
  48. psdi_data_conversion/static/img/social-logo-mastodon-black.svg +4 -0
  49. psdi_data_conversion/static/img/social-logo-mastodon-white.svg +4 -0
  50. psdi_data_conversion/static/img/social-logo-x-black.svg +3 -0
  51. psdi_data_conversion/static/img/social-logo-x-white.svg +3 -0
  52. psdi_data_conversion/static/img/social-logo-youtube-black.png +0 -0
  53. psdi_data_conversion/static/img/social-logo-youtube-white.png +0 -0
  54. psdi_data_conversion/static/img/ukri-epsr-logo-darktext.png +0 -0
  55. psdi_data_conversion/static/img/ukri-epsr-logo-lighttext.png +0 -0
  56. psdi_data_conversion/static/img/ukri-logo-darktext.png +0 -0
  57. psdi_data_conversion/static/img/ukri-logo-lighttext.png +0 -0
  58. psdi_data_conversion/static/javascript/accessibility.js +196 -0
  59. psdi_data_conversion/static/javascript/common.js +42 -0
  60. psdi_data_conversion/static/javascript/convert.js +296 -0
  61. psdi_data_conversion/static/javascript/convert_common.js +252 -0
  62. psdi_data_conversion/static/javascript/convertato.js +107 -0
  63. psdi_data_conversion/static/javascript/convertc2x.js +107 -0
  64. psdi_data_conversion/static/javascript/data.js +176 -0
  65. psdi_data_conversion/static/javascript/format.js +611 -0
  66. psdi_data_conversion/static/javascript/load_accessibility.js +89 -0
  67. psdi_data_conversion/static/javascript/psdi-common.js +177 -0
  68. psdi_data_conversion/static/javascript/report.js +381 -0
  69. psdi_data_conversion/static/styles/format.css +147 -0
  70. psdi_data_conversion/static/styles/psdi-common.css +705 -0
  71. psdi_data_conversion/templates/index.htm +114 -0
  72. psdi_data_conversion/testing/__init__.py +5 -0
  73. psdi_data_conversion/testing/constants.py +12 -0
  74. psdi_data_conversion/testing/conversion_callbacks.py +394 -0
  75. psdi_data_conversion/testing/conversion_test_specs.py +208 -0
  76. psdi_data_conversion/testing/utils.py +522 -0
  77. psdi_data_conversion-0.0.23.dist-info/METADATA +663 -0
  78. psdi_data_conversion-0.0.23.dist-info/RECORD +81 -0
  79. psdi_data_conversion-0.0.23.dist-info/WHEEL +4 -0
  80. psdi_data_conversion-0.0.23.dist-info/entry_points.txt +2 -0
  81. psdi_data_conversion-0.0.23.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,94 @@
1
+ <!--
2
+ documentation.htm
3
+ Version 1.0, 11th November 2024
4
+ -->
5
+
6
+ <!DOCTYPE html>
7
+ <html>
8
+
9
+ <head>
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
+ <title>PSDI Data Conversion Service</title>
12
+ <link rel="icon" type="image/x-icon" href="../img/psdi-icon-dark.svg">
13
+ <link href="https://fonts.googleapis.com/css?family=Lato:400" rel="stylesheet" type="text/css">
14
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700" rel="stylesheet" type="text/css">
15
+ <link rel="stylesheet" href="../styles/format.css">
16
+ <script src="../javascript/load_accessibility.js"></script>
17
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
18
+ <script src="../javascript/psdi-common.js" type="module"></script>
19
+ </head>
20
+
21
+ <body marginwidth="0">
22
+
23
+ <!-- Cover to hide element loading and make page transitions seem smoother -->
24
+ <div id="cover"></div>
25
+
26
+ <header class="header" id="psdi-header"></header>
27
+
28
+ <div class="hero">
29
+ <div class="max-width-box">
30
+ <h1 class="hero__title marginless_header">Documentation</h1>
31
+ </div>
32
+ </div>
33
+
34
+ <form name="gui">
35
+ <div class="max-width-box">
36
+ <h3>Format and Converter Selection</h3>
37
+ <p>Select 'from' and 'to' file formats in the 'Convert from/to' boxes, in either order. Typing where indicated
38
+ filters the options (case insensitive); for example, typing 'can' or 'NON' reduces the number of options to one:
39
+ 'can: Canonical SMILES.' If you change your mind about a conversion, it is advisable to click on the 'Reset'
40
+ button. When both formats have been selected, converters able to carry out this conversion appear in the
41
+ 'Conversion options' box along with an indication of conversion quality (many conversions have not yet been
42
+ tested) and whether or not the converter is supported on this site.</p>
43
+ <p>Selecting a converter displays information
44
+ about it, along with a link to a relevant website. Irrespective of the selected converter, an Open Babel
45
+ conversion is offered if it can be carried out. Clicking on the 'Yes' button takes us to the 'Conversion' page.
46
+ If a file format has not been found, or if there are no converters supporting a required conversion, please
47
+ click on 'Report Missing Format/Conversion' in the navigation bar.</p><br>
48
+ <h3>Conversion</h3>
49
+ <h4>Open Babel</h4>
50
+ <p>Zero to two option flag select boxes and zero to two sets of option flag check boxes may be displayed,
51
+ depending on the conversion and the degree of completion of the database. Further information may be displayed
52
+ underneath the select boxes if available. One or more input or output flags may be selected if required (command
53
+ click [Mac] or control click [Windows] for multiple select box selections). To undo all selections in a box,
54
+ click just underneath the final option. Ticking a check box reveals a text box for entry of required
55
+ information, along with further explanation if available.</p>
56
+ <p>If 2- or 3-dimensional atomic coordinates need to be calculated (e.g., if they do not already exist in the
57
+ input file), select '2D' or '3D' and a speed/accuracy option ('fastest' is least accurate).
58
+ Note that this calculation is not appropriate for all file formats, so in these cases selections will be
59
+ ignored. Click on 'Choose file' and then select an input file of the correct format (and extension). Clicking
60
+ on 'Convert' uploads and converts the file. The output file is automatically downloaded, along with a log file.
61
+ if any issues are encountered (e.g., the output file does not download), please click on 'Provide Feedback' in
62
+ the navigation bar.</p>
63
+ <h4>Atomsk and c2x</h4>
64
+ <p>Click on 'Choose file' and then select an input file of the correct format (and extension). Clicking on
65
+ 'Convert'
66
+ uploads and converts the file. The output file is automatically downloaded, along with a log file. If any issues
67
+ are
68
+ encountered (e.g., the output file does not download), please click on 'Provide Feedback' in the navigation bar.
69
+ </p><br>
70
+ <h3>Report Missing Format/Conversion</h3>
71
+ <p>Select the type of report (missing file format or conversion) and then follow the instructions that appear.
72
+ Finally, click on 'Report.'</p><br>
73
+ <h3>Provide feedback</h3>
74
+ <p>To report issues other than missing formats or conversions, please click on the 'Feedback form' link. The form
75
+ will open in a new tab.</p><br>
76
+ <h3>Accessibility</h3>
77
+ <p>Select accessibility settings below as required, in any order. Each new setting immediately comes into effect
78
+ on this page only, in the first instance. Once the appearance of the page is satisfactory, clicking on the
79
+ 'Apply' button applies the settings to the entire website. Leaving the page without clicking on 'Apply' results
80
+ in the changes being lost. Note that page appearance may vary slightly according to the browser used.</p>
81
+ <p>The colour options here are not compatible with the dark-mode toggle in the header bar. If a custom dark scheme
82
+ is desired, the appropriate colours can be selected in light-mode.</p>
83
+ <div class="medGap"></div>
84
+ </div>
85
+ </form>
86
+
87
+ <script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4="
88
+ crossorigin="anonymous"></script>
89
+
90
+ <footer class="footer" id="psdi-footer"></footer>
91
+
92
+ </body>
93
+
94
+ </html>
@@ -0,0 +1,53 @@
1
+ <!--
2
+ feedback.htm
3
+ Version 1.0, 12th June 2024
4
+ -->
5
+
6
+ <!DOCTYPE html>
7
+ <html>
8
+
9
+ <head>
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
+ <title>PSDI Data Conversion Service</title>
12
+ <link rel="icon" type="image/x-icon" href="../img/psdi-icon-dark.svg">
13
+ <link href="https://fonts.googleapis.com/css?family=Lato:400" rel="stylesheet" type="text/css">
14
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700" rel="stylesheet" type="text/css">
15
+ <link rel="stylesheet" href="../styles/format.css">
16
+ <script src="../javascript/load_accessibility.js"></script>
17
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
18
+ <script src="../javascript/psdi-common.js" type="module"></script>
19
+ </head>
20
+
21
+ <body marginwidth="0">
22
+
23
+ <!-- Cover to hide element loading and make page transitions seem smoother -->
24
+ <div id="cover"></div>
25
+
26
+ <header class="header" id="psdi-header"></header>
27
+
28
+ <div class="hero">
29
+ <div class="max-width-box">
30
+ <h1 class="hero__title marginless_header">Provide Feedback</h1>
31
+ </div>
32
+ </div>
33
+
34
+ <form name="gui">
35
+ <div class="max-width-box">
36
+ <p>To report issues other than missing formats or conversions, please click on the 'Feedback
37
+ form' link below. The form will open in a new tab.</p>
38
+ <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=-XhTSvQpPk2-iWadA62p2Fa27wFj_AtEgNrXLTdVtPVUQzhCODEyWTRXNlFEVDg5WklURlY2MExLWiQlQCN0PWcu"
39
+ target="_blank">
40
+ Feedback form
41
+ </a>
42
+ <div class="medGap"></div>
43
+ </div>
44
+ </form>
45
+
46
+ <script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4="
47
+ crossorigin="anonymous"></script>
48
+
49
+ <footer class="footer" id="psdi-footer"></footer>
50
+
51
+ </body>
52
+
53
+ </html>
@@ -0,0 +1,8 @@
1
+ <!-- This file contains the links that will appear in the top-right of the header bar for .html files in this
2
+ directory. -->
3
+ <a href="../../" class="navbar__item navbar__link">Home</a>
4
+ <a href="report.htm" class="navbar__item navbar__link">Report Missing Format/Conversion</a>
5
+ <a href="feedback.htm" class="navbar__item navbar__link">Provide Feedback</a>
6
+ <a href="documentation.htm" class="navbar__item navbar__link">Documentation</a>
7
+ <a href="accessibility.htm" class="navbar__item navbar__link">Accessibility</a>
8
+ <a href="mailto:support@psdi.ac.uk" class="navbar__item navbar__link" id="mail">Contact Us</a>
@@ -0,0 +1,8 @@
1
+ <!-- This file contains the links that will appear in the top-right of the header bar for .html files in the
2
+ index.htm page. -->
3
+ <a href="./" class="navbar__item navbar__link">Home</a>
4
+ <a href="static/content/report.htm" class="navbar__item navbar__link">Report Missing Format/Conversion</a>
5
+ <a href="static/content/feedback.htm" class="navbar__item navbar__link">Provide Feedback</a>
6
+ <a href="static/content/documentation.htm" class="navbar__item navbar__link">Documentation</a>
7
+ <a href="static/content/accessibility.htm" class="navbar__item navbar__link">Accessibility</a>
8
+ <a href="mailto: psdi@soton.ac.uk" class="navbar__item navbar__link" id="mail">Contact</a>
@@ -0,0 +1,99 @@
1
+ <!-- This is the common footer which will be added to all pages. Everything in this file will be added within the div
2
+ that loads it. -->
3
+
4
+ <div class="max-width-box">
5
+ <div class="footer__links">
6
+ <div id="footer__links__left">
7
+ <div class="footer__title">
8
+ <h6>Funding</h6>
9
+ </div>
10
+ <h6 class="footer__title"><br></h6>
11
+ <div class="footer__hline">
12
+ <hr>
13
+ </div>
14
+ <ul class="footer__col footer__items clean-list">
15
+ <li class="funding-text">PSDI acknowledges the funding support by the EPSRC grants EP/X032701/1, EP/X032663/1
16
+ and EP/W032252/1</li>
17
+ </ul>
18
+ <ul class="footer__col footer__items clean-list">
19
+ <li>
20
+ <img class="lm-only" src="static/img/ukri-logo-lighttext.png"
21
+ alt="UKRI logo">
22
+ <img class="dm-only" src="static/img/ukri-logo-darktext.png"
23
+ alt="UKRI logo">
24
+ </li>
25
+ <li>
26
+ <img class="lm-only" src="static/img/ukri-epsr-logo-lighttext.png"
27
+ alt="UKRI EPSR logo">
28
+ <img class="dm-only" src="static/img/ukri-epsr-logo-darktext.png"
29
+ alt="UKRI EPSR logo">
30
+ </li>
31
+ </ul>
32
+ <div class="footer__hline small-screen-only">
33
+ <hr>
34
+ </div>
35
+ </div>
36
+ <div id="footer__links__right">
37
+ <div class="footer__title">
38
+ <h6>Useful Links</h6>
39
+ </div>
40
+ <div class="footer__title">
41
+ <h6>Connect</h6>
42
+ </div>
43
+ <div class="footer__hline">
44
+ <hr>
45
+ </div>
46
+ <ul class="footer__col footer__items clean-list">
47
+ <li><a href="https://psdi.ac.uk/">PSDI Home</a></li>
48
+ <li><a href="mailto:support@psdi.ac.uk">Contact Us</a></li>
49
+ <li><a href="#">Privacy</a></li>
50
+ <li><a href="#">Terms and Conditions</a></li>
51
+ </ul>
52
+ <p class="footer__col" id="footer-icon-list">
53
+ <a href="https://www.linkedin.com/company/psdiuk/" class="footer-icon">
54
+ <img src="static/img/social-logo-linkedin-white.png" alt="LinkedIn icon"
55
+ class="lm-only">
56
+ <img src="static/img/social-logo-linkedin-black.png" alt="LinkedIn icon"
57
+ class="dm-only">
58
+ </a>
59
+ <a href="https://twitter.com/psdi_uk" class="footer-icon">
60
+ <img src="static/img/social-logo-x-white.svg" alt="X icon"
61
+ class="lm-only">
62
+ <img src="static/img/social-logo-x-black.svg" alt="X icon"
63
+ class="dm-only">
64
+ </a>
65
+ <a href="https://www.instagram.com/psdi_uk" class="footer-icon">
66
+ <img src="static/img/social-logo-instagram-white.svg"
67
+ alt="Instagram icon" class="lm-only">
68
+ <img src="static/img/social-logo-instagram-black.svg"
69
+ alt="Instagram icon" class="dm-only">
70
+ </a>
71
+ <a href="https://www.youtube.com/@PSDI_UK" class="footer-icon">
72
+ <img src="static/img/social-logo-youtube-white.png" alt="YouTube icon"
73
+ class="lm-only">
74
+ <img src="static/img/social-logo-youtube-black.png" alt="YouTube icon"
75
+ class="dm-only">
76
+ </a>
77
+ <a href="https://bsky.app/profile/psdi-uk.bsky.social" class="footer-icon">
78
+ <img src="static/img/social-logo-bluesky-white.svg" alt="Bluesky icon"
79
+ class="lm-only">
80
+ <img src="static/img/social-logo-bluesky-black.svg" alt="Bluesky icon"
81
+ class="dm-only">
82
+ </a>
83
+ <a href="https://mstdn.science/@PSDI" class="footer-icon">
84
+ <img src="static/img/social-logo-mastodon-white.svg" alt="Mastodon icon"
85
+ class="lm-only">
86
+ <img src="static/img/social-logo-mastodon-black.svg" alt="Mastodon icon"
87
+ class="dm-only">
88
+ </a>
89
+ </p>
90
+ <div class="footer__hline small-screen-only">
91
+ <hr>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ <div class="footer__hline big-screen-only">
96
+ <hr>
97
+ </div>
98
+ <div class="footer__copyright__text text--center">Copyright © 2024 PSDI</div>
99
+ </div>
@@ -0,0 +1,28 @@
1
+ <!-- This is the common header which will be added to all pages. Everything in this file will be added within the div
2
+ that loads it. Header links specific to each site must be added or loaded via JS after this is loaded.-->
3
+
4
+ <div class="max-width-box navbar">
5
+ <div class="header-left">
6
+ <div class="navbar__brand">
7
+ <a class="navbar__logo" href="https://www.psdi.ac.uk/">
8
+ <img src="static/img/psdi-logo-darktext.png" alt="PSDI logo"
9
+ class="lm-only">
10
+ <img src="static/img/psdi-logo-lighttext.png" alt="PSDI logo"
11
+ class="dm-only">
12
+ </a>
13
+ <a class="navbar__title" href=".">
14
+ <h5>Data Conversion Service</h5>
15
+ </a>
16
+ </div>
17
+ </div>
18
+ <div class="navbar__items navbar__items--right">
19
+ <!-- This file contains the links that will appear in the top-right of the header bar for .html files in the index.htm page. --> <a href="./" class="navbar__item navbar__link">Home</a> <a href="static/content/report.htm" class="navbar__item navbar__link">Report Missing Format/Conversion</a> <a href="static/content/feedback.htm" class="navbar__item navbar__link">Provide Feedback</a> <a href="static/content/documentation.htm" class="navbar__item navbar__link">Documentation</a> <a href="static/content/accessibility.htm" class="navbar__item navbar__link">Accessibility</a> <a href="mailto: psdi@soton.ac.uk" class="navbar__item navbar__link" id="mail">Contact</a>
20
+ <button class="clean-btn color-mode-toggle" title="Switch between dark and light mode"
21
+ aria-label="Lightmode/darkmode toggle button">
22
+ <img src="static/img/colormode-toggle-lm.svg" alt="Lightmode toggle icon"
23
+ class="lm-only">
24
+ <img src="static/img/colormode-toggle-dm.svg" alt="Darkmode toggle icon"
25
+ class="dm-only">
26
+ </button>
27
+ </div>
28
+ </div>
@@ -0,0 +1,99 @@
1
+ <!-- This is the common footer which will be added to all pages. Everything in this file will be added within the div
2
+ that loads it. -->
3
+
4
+ <div class="max-width-box">
5
+ <div class="footer__links">
6
+ <div id="footer__links__left">
7
+ <div class="footer__title">
8
+ <h6>Funding</h6>
9
+ </div>
10
+ <h6 class="footer__title"><br></h6>
11
+ <div class="footer__hline">
12
+ <hr>
13
+ </div>
14
+ <ul class="footer__col footer__items clean-list">
15
+ <li class="funding-text">PSDI acknowledges the funding support by the EPSRC grants EP/X032701/1, EP/X032663/1
16
+ and EP/W032252/1</li>
17
+ </ul>
18
+ <ul class="footer__col footer__items clean-list">
19
+ <li>
20
+ <img class="lm-only" src="../img/ukri-logo-lighttext.png"
21
+ alt="UKRI logo">
22
+ <img class="dm-only" src="../img/ukri-logo-darktext.png"
23
+ alt="UKRI logo">
24
+ </li>
25
+ <li>
26
+ <img class="lm-only" src="../img/ukri-epsr-logo-lighttext.png"
27
+ alt="UKRI EPSR logo">
28
+ <img class="dm-only" src="../img/ukri-epsr-logo-darktext.png"
29
+ alt="UKRI EPSR logo">
30
+ </li>
31
+ </ul>
32
+ <div class="footer__hline small-screen-only">
33
+ <hr>
34
+ </div>
35
+ </div>
36
+ <div id="footer__links__right">
37
+ <div class="footer__title">
38
+ <h6>Useful Links</h6>
39
+ </div>
40
+ <div class="footer__title">
41
+ <h6>Connect</h6>
42
+ </div>
43
+ <div class="footer__hline">
44
+ <hr>
45
+ </div>
46
+ <ul class="footer__col footer__items clean-list">
47
+ <li><a href="https://psdi.ac.uk/">PSDI Home</a></li>
48
+ <li><a href="mailto:support@psdi.ac.uk">Contact Us</a></li>
49
+ <li><a href="#">Privacy</a></li>
50
+ <li><a href="#">Terms and Conditions</a></li>
51
+ </ul>
52
+ <p class="footer__col" id="footer-icon-list">
53
+ <a href="https://www.linkedin.com/company/psdiuk/" class="footer-icon">
54
+ <img src="../img/social-logo-linkedin-white.png" alt="LinkedIn icon"
55
+ class="lm-only">
56
+ <img src="../img/social-logo-linkedin-black.png" alt="LinkedIn icon"
57
+ class="dm-only">
58
+ </a>
59
+ <a href="https://twitter.com/psdi_uk" class="footer-icon">
60
+ <img src="../img/social-logo-x-white.svg" alt="X icon"
61
+ class="lm-only">
62
+ <img src="../img/social-logo-x-black.svg" alt="X icon"
63
+ class="dm-only">
64
+ </a>
65
+ <a href="https://www.instagram.com/psdi_uk" class="footer-icon">
66
+ <img src="../img/social-logo-instagram-white.svg"
67
+ alt="Instagram icon" class="lm-only">
68
+ <img src="../img/social-logo-instagram-black.svg"
69
+ alt="Instagram icon" class="dm-only">
70
+ </a>
71
+ <a href="https://www.youtube.com/@PSDI_UK" class="footer-icon">
72
+ <img src="../img/social-logo-youtube-white.png" alt="YouTube icon"
73
+ class="lm-only">
74
+ <img src="../img/social-logo-youtube-black.png" alt="YouTube icon"
75
+ class="dm-only">
76
+ </a>
77
+ <a href="https://bsky.app/profile/psdi-uk.bsky.social" class="footer-icon">
78
+ <img src="../img/social-logo-bluesky-white.svg" alt="Bluesky icon"
79
+ class="lm-only">
80
+ <img src="../img/social-logo-bluesky-black.svg" alt="Bluesky icon"
81
+ class="dm-only">
82
+ </a>
83
+ <a href="https://mstdn.science/@PSDI" class="footer-icon">
84
+ <img src="../img/social-logo-mastodon-white.svg" alt="Mastodon icon"
85
+ class="lm-only">
86
+ <img src="../img/social-logo-mastodon-black.svg" alt="Mastodon icon"
87
+ class="dm-only">
88
+ </a>
89
+ </p>
90
+ <div class="footer__hline small-screen-only">
91
+ <hr>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ <div class="footer__hline big-screen-only">
96
+ <hr>
97
+ </div>
98
+ <div class="footer__copyright__text text--center">Copyright © 2024 PSDI</div>
99
+ </div>
@@ -0,0 +1,28 @@
1
+ <!-- This is the common header which will be added to all pages. Everything in this file will be added within the div
2
+ that loads it. Header links specific to each site must be added or loaded via JS after this is loaded.-->
3
+
4
+ <div class="max-width-box navbar">
5
+ <div class="header-left">
6
+ <div class="navbar__brand">
7
+ <a class="navbar__logo" href="https://www.psdi.ac.uk/">
8
+ <img src="../img/psdi-logo-darktext.png" alt="PSDI logo"
9
+ class="lm-only">
10
+ <img src="../img/psdi-logo-lighttext.png" alt="PSDI logo"
11
+ class="dm-only">
12
+ </a>
13
+ <a class="navbar__title" href="../../">
14
+ <h5>Data Conversion Service</h5>
15
+ </a>
16
+ </div>
17
+ </div>
18
+ <div class="navbar__items navbar__items--right">
19
+ <!-- This file contains the links that will appear in the top-right of the header bar for .html files in this directory. --> <a href="../../" class="navbar__item navbar__link">Home</a> <a href="report.htm" class="navbar__item navbar__link">Report Missing Format/Conversion</a> <a href="feedback.htm" class="navbar__item navbar__link">Provide Feedback</a> <a href="documentation.htm" class="navbar__item navbar__link">Documentation</a> <a href="accessibility.htm" class="navbar__item navbar__link">Accessibility</a> <a href="mailto:support@psdi.ac.uk" class="navbar__item navbar__link" id="mail">Contact Us</a>
20
+ <button class="clean-btn color-mode-toggle" title="Switch between dark and light mode"
21
+ aria-label="Lightmode/darkmode toggle button">
22
+ <img src="../img/colormode-toggle-lm.svg" alt="Lightmode toggle icon"
23
+ class="lm-only">
24
+ <img src="../img/colormode-toggle-dm.svg" alt="Darkmode toggle icon"
25
+ class="dm-only">
26
+ </button>
27
+ </div>
28
+ </div>
@@ -0,0 +1,103 @@
1
+ <!--
2
+ report.htm
3
+ Version 1.0, 19th June 2024
4
+ -->
5
+
6
+ <!DOCTYPE html>
7
+ <html>
8
+
9
+ <head>
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
+ <title>PSDI Data Conversion Service</title>
12
+ <link rel="icon" type="image/x-icon" href="../img/psdi-icon-dark.svg">
13
+ <link href="https://fonts.googleapis.com/css?family=Lato:400" rel="stylesheet" type="text/css">
14
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700" rel="stylesheet" type="text/css">
15
+ <link rel="stylesheet" href="../styles/format.css">
16
+ <script src="../javascript/load_accessibility.js"></script>
17
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
18
+ <script src="../javascript/psdi-common.js" type="module"></script>
19
+ </head>
20
+
21
+ <body marginwidth="0">
22
+
23
+ <!-- Cover to hide element loading and make page transitions seem smoother -->
24
+ <div id="cover"></div>
25
+
26
+ <header class="header" id="psdi-header"></header>
27
+
28
+ <div class="hero">
29
+ <div class="max-width-box">
30
+ <h1 class="hero__title marginless_header">Report Missing Format/Conversion</h1>
31
+ </div>
32
+ </div>
33
+
34
+ <form name="gui" class="service-only">
35
+ <div class="max-width-box">
36
+ <p>Select the type of report (missing file format or conversion) and then follow the instructions that appear.
37
+ <p><b>Finally:</b> click on 'Report.'</p><br>
38
+ <select id="reason" class="med-width">
39
+ <option value="placeholder">-- select type of report --</option>
40
+ <option value="format">Missing file format</option>
41
+ <option value="conversion">Missing conversion</option>
42
+ </select>
43
+ <div class="medGap"></div>
44
+ <div id="formats" class="init-hidden">
45
+ <p>
46
+ <label for="formatList" id="formatLabel">Check that the format is not present in the list. If it is, consider
47
+ reporting a missing conversion.</label><br>
48
+ <input type="text" placeholder="-- type here to filter options --" id="searchFormats" class="large-width"><br>
49
+ <select size="4" id="formatList" class="large-width"></select>
50
+ </p>
51
+ <input type="button" class="button" value=" Reset " name="resetButton" id="resetButton">
52
+ </div>
53
+ <div id="missing" class="init-hidden"><br>
54
+ <br>Enter the name of the missing file format including the file extension(s) [max 100 characters].
55
+ <br><input type="text" placeholder="-- type here --" id="missingFormat" class="large-width">
56
+ </div>
57
+ <div id="in_out_formats" class="init-hidden">
58
+ <br>Select the required 'to' and 'from' formats below.
59
+ <p>
60
+ <label for="searchFrom" id="fromLabel">Convert from:</label><br>
61
+ <input type="text" placeholder="-- type here to filter options --" id="searchFrom" class="large-width"><br>
62
+ <select size="4" id="fromList" class="large-width"></select>
63
+ </p>
64
+ <div class="smallGap"></div>
65
+ <p>
66
+ <label for="searchTo" id="toLabel">Convert to:</label><br>
67
+ <input type="text" placeholder="-- type here to filter options --" id="searchTo" class="large-width"><br>
68
+ <select size="4" id="toList" class="large-width"></select>
69
+ </p>
70
+ <input type="button" class="button" value=" Reset " name="resetButton2" id="resetButton2">
71
+ </div>
72
+ <select id="success" class="large-width"></select> <!-- Not for display. For convenience only. -->
73
+ <p id="userInput" class="init-hidden">
74
+ <span id="message"></span>
75
+ <br><span id="message1"></span>
76
+ <br><input type="text" placeholder="-- type here --" id="in" class="large-width">
77
+ <br><input type="button" class="button" value=" Report " id="reportButton">
78
+ </p>
79
+ <div class="medGap"></div>
80
+ </div>
81
+ </form>
82
+
83
+ <form name="gui" class="local-only">
84
+ <div class="max-width-box">
85
+ <div class="smallGap"></div>
86
+ <p>
87
+ To report a missing format or conversion, please use
88
+ <a href="https://psdidev2.azurewebsites.net/static/content/report.htm?origin=local">the interface on the public
89
+ web app</a>.
90
+ </p>
91
+ <div class="medGap"></div>
92
+ </div>
93
+ </form>
94
+
95
+ <script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4="
96
+ crossorigin="anonymous"></script>
97
+ <script src="../javascript/report.js" type="module" language="JavaScript"></script>
98
+
99
+ <footer class="footer" id="psdi-footer"></footer>
100
+
101
+ </body>
102
+
103
+ </html>