PGR Update Project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
14 KiB

11 months ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <base th:href="${baseURL}" />
  7. </head>
  8. <body>
  9. <div th:fragment="accessibility">
  10. <!-- accessibility panel -->
  11. <link rel="stylesheet"
  12. href="https://img1.digitallocker.gov.in/ux4g/UX4G-CDN-accessibility/css/accesibility-style-v2.1.css">
  13. <div class="uwaw uw-light-theme gradient-head uwaw-initial paid_widget" id="uw-main">
  14. <div class="relative second-panel"><h3>Accessibility options by Bonton.</h3>
  15. <div class="uwaw-close" onclick="closeMain()"></div>
  16. </div>
  17. <div class="uwaw-body">
  18. <div class="h-scroll">
  19. <div class="uwaw-features">
  20. <div class="uwaw-features__item reset-feature" id="featureItem_sp">
  21. <button id="speak" class="uwaw-features__item__i"
  22. data-uw-reader-content="Enable the UserWay screen reader"
  23. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  24. class="uwaw-features__item__icon"> <span
  25. class="ux4g-icon icon-speaker"> </span> </span> <span
  26. class="uwaw-features__item__name">Text To Speech</span> <span
  27. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon_sp"
  28. style="display: none"> </span></button>
  29. </div>
  30. <div class="uwaw-features__item reset-feature" id="featureItem">
  31. <button id="btn-s9" class="uwaw-features__item__i"
  32. data-uw-reader-content="Enable the UserWay screen reader"
  33. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  34. class="uwaw-features__item__icon"> <span
  35. class="ux4g-icon icon-bigger-text"> </span> </span><span class="uwaw-features__item__name">Bigger Text</span>
  36. <div class="uwaw-features__item__steps reset-steps" id="featureSteps">
  37. <!-- Steps span tags will be dynamically added here --> </div>
  38. <span class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon"
  39. style="display: none"> </span></button>
  40. </div>
  41. <div class="uwaw-features__item reset-feature" id="featureItem-st">
  42. <button id="btn-small-text" class="uwaw-features__item__i"
  43. data-uw-reader-content="Enable the UserWay screen reader"
  44. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  45. class="uwaw-features__item__icon"> <span
  46. class="ux4g-icon icon-small-text"> </span> </span><span class="uwaw-features__item__name">Small Text</span>
  47. <div class="uwaw-features__item__steps reset-steps" id="featureSteps-st">
  48. <!-- Steps span tags will be dynamically added here --> </div>
  49. <span class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-st"
  50. style="display: none"> </span></button>
  51. </div>
  52. <div class="uwaw-features__item reset-feature" id="featureItem-lh">
  53. <button id="btn-s12" class="uwaw-features__item__i"
  54. data-uw-reader-content="Enable the UserWay screen reader"
  55. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  56. class="uwaw-features__item__icon"> <span
  57. class="ux4g-icon icon-line-hight"> </span> </span> <span
  58. class="uwaw-features__item__name">Line Height</span>
  59. <div class="uwaw-features__item__steps reset-steps" id="featureSteps-lh">
  60. <!-- Steps span tags will be dynamically added here --> </div>
  61. <span class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-lh"
  62. style="display: none"> </span></button>
  63. </div>
  64. <div class="uwaw-features__item reset-feature" id="featureItem-ht">
  65. <button id="btn-s10" onclick="highlightLinks()" class="uwaw-features__item__i"
  66. data-uw-reader-content="Enable the UserWay screen reader"
  67. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  68. class="uwaw-features__item__icon"> <span
  69. class="ux4g-icon icon-highlight-links"> </span> </span> <span
  70. class="uwaw-features__item__name">Highlight Links</span> <span
  71. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-ht"
  72. style="display: none"> </span></button>
  73. </div>
  74. <div class="uwaw-features__item reset-feature" id="featureItem-ts">
  75. <button id="btn-s13" onclick="increaseAndReset()" class="uwaw-features__item__i"
  76. data-uw-reader-content="Enable the UserWay screen reader"
  77. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  78. class="uwaw-features__item__icon"> <span
  79. class="ux4g-icon icon-text-spacing"> </span> </span> <span
  80. class="uwaw-features__item__name">Text Spacing</span>
  81. <div class="uwaw-features__item__steps reset-steps" id="featureSteps-ts">
  82. <!-- Steps span tags will be dynamically added here --> </div>
  83. <span class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-ts"
  84. style="display: none"> </span></button>
  85. </div>
  86. <div class="uwaw-features__item reset-feature" id="featureItem-df">
  87. <button id="btn-df" onclick="toggleFontFeature()" class="uwaw-features__item__i"
  88. data-uw-reader-content="Enable the UserWay screen reader"
  89. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  90. class="uwaw-features__item__icon"> <span
  91. class="ux4g-icon icon-dyslexia-font"> </span> </span> <span
  92. class="uwaw-features__item__name">Dyslexia Friendly</span> <span
  93. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-df"
  94. style="display: none"> </span></button>
  95. </div>
  96. <div class="uwaw-features__item reset-feature" id="featureItem-hi">
  97. <button id="btn-s11" onclick="toggleImages()" class="uwaw-features__item__i"
  98. data-uw-reader-content="Enable the UserWay screen reader"
  99. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  100. class="uwaw-features__item__icon"> <span
  101. class="ux4g-icon icon-hide-images"> </span> </span> <span
  102. class="uwaw-features__item__name">Hide Images</span> <span
  103. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-hi"
  104. style="display: none"> </span></button>
  105. </div>
  106. <div class="uwaw-features__item reset-feature" id="featureItem-Cursor">
  107. <button id="btn-cursor" onclick="toggleCursorFeature()" class="uwaw-features__item__i"
  108. data-uw-reader-content="Enable the UserWay screen reader"
  109. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  110. class="uwaw-features__item__icon"> <span
  111. class="ux4g-icon icon-cursor"> </span> </span> <span
  112. class="uwaw-features__item__name">Cursor</span> <span
  113. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-cursor"
  114. style="display: none"> </span></button>
  115. </div>
  116. <div class="uwaw-features__item reset-feature" id="featureItem-ht-dark">
  117. <button id="dark-btn" class="uwaw-features__item__i"
  118. data-uw-reader-content="Enable the UserWay screen reader"
  119. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  120. class="uwaw-features__item__name"> <span class="light_dark_icon"> <input
  121. type="checkbox" class="light_mode uwaw-featugres__item__i" id="checkbox"/> <label
  122. for="checkbox" class="checkbox-label"> <!-- <i class="fas fa-moon-stars"></i> --> <i
  123. class="fas fa-moon-stars"> <span
  124. class="ux4g-icon icon-moon"></span> </i> <i
  125. class="fas fa-sun"> <span class="ux4g-icon icon-sun"></span> </i> <span
  126. class="ball"></span> </label> </span> <span
  127. class="uwaw-features__item__name">Light-Dark</span> </span> <span
  128. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-ht-dark"
  129. style="display: none; pointer-events: none"> </span></button>
  130. </div> <!-- Invert Colors Widget -->
  131. <div class="uwaw-features__item reset-feature" id="featureItem-ic">
  132. <button id="btn-invert" class="uwaw-features__item__i"
  133. data-uw-reader-content="Enable the UserWay screen reader"
  134. aria-label="Enable the UserWay screen reader" aria-pressed="false"><span
  135. class="uwaw-features__item__icon"> <span
  136. class="ux4g-icon icon-invert"> </span> </span> <span
  137. class="uwaw-features__item__name">Invert Colors</span> <span
  138. class="tick-active uwaw-features__item__enabled reset-tick" id="tickIcon-ic"
  139. style="display: none"> </span></button>
  140. </div>
  141. </div>
  142. </div> <!-- Reset Button --> </div>
  143. <div class="reset-panel"> <!-- copyright accessibility bar -->
  144. <div class="copyrights-accessibility">
  145. <button class="btn-reset-all" id="reset-all" onclick="resetAll()"><span class="reset-icon"> </span> <span
  146. class="reset-btn-text">Reset All Settings</span></button>
  147. <a href="https://www.ux4g.gov.in" target="_blank" class="copyright-text" contenteditable="false"
  148. style="cursor: pointer;"> <span
  149. class="uwaw-features__item__name ux4g-copy ux4g-copyright">Created by Bonton</span> </a></div>
  150. </div>
  151. </div>
  152. <button id="uw-widget-custom-trigger" class="uw-widget-custom-trigger" aria-label="Accessibility Widget"
  153. data-uw-trigger="true" aria-haspopup="dialog" style="margin-bottom: 50px;"><img
  154. src="data:image/svg+xml,%0A%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1_1506)'%3E%3Cpath d='M16 7C15.3078 7 14.6311 6.79473 14.0555 6.41015C13.4799 6.02556 13.0313 5.47894 12.7664 4.83939C12.5015 4.19985 12.4322 3.49612 12.5673 2.81719C12.7023 2.13825 13.0356 1.51461 13.5251 1.02513C14.0146 0.535644 14.6383 0.202301 15.3172 0.0672531C15.9961 -0.0677952 16.6999 0.00151652 17.3394 0.266423C17.9789 0.53133 18.5256 0.979934 18.9101 1.55551C19.2947 2.13108 19.5 2.80777 19.5 3.5C19.499 4.42796 19.1299 5.31762 18.4738 5.97378C17.8176 6.62994 16.928 6.99901 16 7Z' fill='white'/%3E%3Cpath d='M27 7.05L26.9719 7.0575L26.9456 7.06563C26.8831 7.08313 26.8206 7.10188 26.7581 7.12125C25.595 7.4625 19.95 9.05375 15.9731 9.05375C12.2775 9.05375 7.14313 7.67875 5.50063 7.21188C5.33716 7.14867 5.17022 7.09483 5.00063 7.05063C3.81313 6.73813 3.00063 7.94438 3.00063 9.04688C3.00063 10.1388 3.98188 10.6588 4.9725 11.0319V11.0494L10.9238 12.9081C11.5319 13.1413 11.6944 13.3794 11.7738 13.5856C12.0319 14.2475 11.8256 15.5581 11.7525 16.0156L11.39 18.8281L9.37813 29.84C9.37188 29.87 9.36625 29.9006 9.36125 29.9319L9.34688 30.0112C9.20188 31.0206 9.94313 32 11.3469 32C12.5719 32 13.1125 31.1544 13.3469 30.0037C13.5813 28.8531 15.0969 20.1556 15.9719 20.1556C16.8469 20.1556 18.6494 30.0037 18.6494 30.0037C18.8838 31.1544 19.4244 32 20.6494 32C22.0569 32 22.7981 31.0162 22.6494 30.0037C22.6363 29.9175 22.6206 29.8325 22.6019 29.75L20.5625 18.8294L20.2006 16.0169C19.9387 14.3788 20.1494 13.8375 20.2206 13.7106C20.2225 13.7076 20.2242 13.7045 20.2256 13.7013C20.2931 13.5763 20.6006 13.2963 21.3181 13.0269L26.8981 11.0763C26.9324 11.0671 26.9662 11.0563 26.9994 11.0438C27.9994 10.6688 28.9994 10.15 28.9994 9.04813C28.9994 7.94625 28.1875 6.73813 27 7.05Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_1506'%3E%3Crect width='32' height='32' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A"><span>Accessibility Options</span>
  155. </button><!-- accessibility panel end-->
  156. <script src="https://img1.digitallocker.gov.in/ux4g/UX4G-CDN-accessibility/js/weights-v1.js"></script>
  157. <script>
  158. document.getElementById('uw-widget-custom-trigger2').addEventListener('click', function() { openMain(); });
  159. </script>
  160. </div>
  161. </body>
  162. </html>