contact_list.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html data-bs-theme="light" lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
  6. <title>{dreamer-cms:global name="title" /}</title>
  7. <link rel="stylesheet" href="{dreamer-cms:template /}assets/bootstrap/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto.css">
  9. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto%20Slab.css">
  10. <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/styles.css">
  11. <link rel="stylesheet" type="text/css" href="{dreamer-cms:template /}assets/css/animate.min.css">
  12. </head>
  13. <body>
  14. {dreamer-cms:include file='loading.html'/}
  15. {dreamer-cms:include file='header.html'/}
  16. <main>
  17. <section>
  18. <div class="p-2">
  19. {dreamer-cms:type typeid="9t544bf9"}
  20. <div>
  21. <img style="width: 100%;object-fit: cover;" data-src="[field:typeimg /]"
  22. src="{dreamer-cms:template /}assets/img/none.png" alt="logo" id="contact-img">
  23. </div>
  24. <div class="pt-3 pt-md-5 pt-xl-4" id="contact">
  25. [field:htmlcontent /]
  26. </div>
  27. {/dreamer-cms:type}
  28. </div>
  29. </section>
  30. </main>
  31. {dreamer-cms:include file='footer.html'/}
  32. <script src="{dreamer-cms:template /}assets/js/jquery.min.js"></script>
  33. <script type="text/javascript" src="{dreamer-cms:template /}assets/js/wow.min.js"></script>
  34. <script src="{dreamer-cms:template /}assets/js/main.js"></script>
  35. <script>
  36. $(function () {
  37. var pArr = document.querySelectorAll("#contact p")
  38. pArr.forEach(element => {
  39. element.style.width = "100%"
  40. });
  41. var imgArr = document.querySelectorAll("#contact img")
  42. imgArr.forEach(i => {
  43. i.style.width = "100%"
  44. i.style.height = "auto"
  45. let src = i.getAttribute("src")
  46. i.setAttribute("data-src", src)
  47. i.setAttribute("src", "{dreamer-cms:template /}assets/img/none.png")
  48. });
  49. })
  50. </script>
  51. <script src="{dreamer-cms:template /}assets/bootstrap/js/bootstrap.min.js"></script>
  52. <script src="{dreamer-cms:template /}assets/js/bs-init.js"></script>
  53. <script src="{dreamer-cms:template /}assets/js/image.js"></script>
  54. </body>
  55. </html>