index.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <!DOCTYPE html>
  2. <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="style" content="day1"/>
  6. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  7. <!--
  8. Copyright 2021, 2024 5 Mode
  9. This file is part of Homogram.
  10. Homogram is free software: you can redistribute it and/or modify
  11. it under the terms of the GNU General Public License as published by
  12. the Free Software Foundation, either version 3 of the License, or
  13. (at your option) any later version.
  14. Homogram is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. GNU General Public License for more details.
  18. You should have received a copy of the GNU General Public License
  19. along with Homogram. If not, see <https://www.gnu.org/licenses/>.
  20. -->
  21. <title>Homogram: every person its pictures..</title>
  22. <link rel="shortcut icon" href="/Public/static/favicon.ico" />
  23. <meta name="description" content="Welcome to Homogram"/>
  24. <meta name="author" content="5 Mode"/>
  25. <meta name="keywords" content="image,photo,sharing,on,premise,solution"/>
  26. <script src="/Public/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
  27. <script src="/Public/static/js/common.js" type="text/javascript"></script>
  28. <script src="/Public/static/js/bootstrap.min.js" type="text/javascript"></script>
  29. <script src="/Public/static/js/sha.js" type="text/javascript"></script>
  30. <script src="/Public/static/js/home.js" type="text/javascript" defer></script>
  31. <link href="/Public/static/css/bootstrap.min.css" type="text/css" rel="stylesheet">
  32. <link href="/Public/static/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
  33. <script>
  34. function hideTitle() {
  35. $("#myh1").hide("slow");
  36. }
  37. function setOriginsPos() {
  38. h=parseInt(window.innerHeight);
  39. w=parseInt(window.innerWidth);
  40. mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
  41. $("#originsDisplay").css("top", mytop+"px");
  42. setTimeout("hideOrigins()",15000);
  43. }
  44. function hideOrigins() {
  45. $("#originsDisplay").css("visibility","hidden");
  46. }
  47. function startApp() {
  48. $("#HCsplash").css("display","none");
  49. $(document.body).css("background","#ffffff");
  50. //$("#originsDisplay").show();
  51. $("#frmHC").show();
  52. }
  53. window.addEventListener("load", function() {
  54. $("#frmHC").hide();
  55. $(document.body).css("background","#000000");
  56. setTimeout("setOriginsPos()", 500);
  57. $("#HCsplash").show("slow");
  58. setTimeout("hideTitle()", 2000);
  59. setTimeout("startApp()", 4000);
  60. }, true);
  61. </script>
  62. </head>
  63. <body>
  64. <div id="HCsplash" style="padding-top: 160px; text-align:center;color:#ffffff;display:none;">
  65. <div id="myh1"><H1>Homogram</H1></div><br>
  66. <img src="/Public/static/res/HGlogo2.png" style="width:310px;">
  67. </div>
  68. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  69. <div class="header">
  70. <a href="http://homogram.5mode-foss.eu" target="_self" style="color:#000000; text-decoration: none;"><img src="/Public/static/res/HGlogo2.png" style="width:45px;">&nbsp;Homogram</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/Homogram" style="color:#000000;"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:posta@elettronica.lol" style="color:#000000;"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:#000000;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
  71. </div>
  72. <div style="clear:both; float:left; padding:8px; width:15%; height:650px; text-align:center; border-right:1px solid #2c2f34;">
  73. <div style="padding-left:10px;text-align: left;">
  74. <a href="https://github.com/par7133/Homogram/archive/refs/tags/v1.5.8.zip">Rel. 1.5.8 (zip)</a><br>
  75. <a href="https://github.com/par7133/Homogram/archive/refs/tags/v1.5.8.tar.gz">Rel. 1.5.8 (tar.gz)</a><br>
  76. </div>
  77. <br><br>
  78. <img src="/Public/static/res/HGgenius.png" alt="HC Genius" title="HC Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
  79. &nbsp;<br><br><br>
  80. &nbsp;<input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" value="" autocomplete="off"><br>
  81. &nbsp;<input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#393939; color:#ffffff; width: 90%; height:30px; border-radius:3px;" autocomplete="off"><br>
  82. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
  83. <br><br><br>
  84. </div>
  85. <div style="float:left; width:85%;height:100%; padding:8px;">
  86. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color: #f0f8fb; padding: 20px; margin-bottom:8px;">
  87. <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
  88. <span aria-hidden="true">&times;</span>
  89. </button>
  90. Hello and welcome to Homogram!<br><br>
  91. Homogram is a light and simple software on premise to share your images. And it can be used as a private repository (screenshots, private shots, etc).<br><br>
  92. Homogram is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  93. The name *Homogram* comes from a prank on the name 'instagram', in fact differently from the latter Homogram gives priorities to homines. However Homogram doesn't birth as a replacement but just like its alter ego.<br><br>
  94. First step, use the left side panel password and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
  95. As you are going to run Homogram in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:<br>
  96. <ol>
  97. <li>Check the write permissions of your "HGRepo" folder in your web app public path; and set its path in the config file.</li>
  98. <li>Check the write permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
  99. <li>Set the default Locale.</li>
  100. <li>Set the default Context to PUBLIC or PRIVATE (for a private repository).</li>
  101. <li>Every picture folder may contain a "thumbs" subfolder - that you should create - to not lack in performance: file names in thumbs must be same of file names in parent folders.</li>
  102. </ol>
  103. <br>
  104. Feedback: <a href="mailto:posta@elettronica.lol">posta@elettronica.lol</a>
  105. <br><br><br><br><br>
  106. </div>
  107. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  108. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  109. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  110. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  111. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  112. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  113. </div>
  114. <div id="originsDisplay" style="display:none;">
  115. <br>
  116. &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>
  117. &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
  118. &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
  119. <br>
  120. </div>
  121. <div class="footer">
  122. <div id="footerCont">&nbsp;</div>
  123. <div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="https://5mode.com/dd.html">Disclaimer</a>&nbsp;&nbsp;A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. CC&nbsp;&nbsp;</span></div>
  124. </div>
  125. </form>
  126. <script>
  127. function setFooterPos2() {
  128. if (document.getElementById("footerCont")) {
  129. //if ($("#Password").val() === "") {
  130. // tollerance = 48;
  131. // } else {
  132. // tollerance = 15;
  133. //}
  134. tollerance = 22;
  135. $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
  136. $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
  137. }
  138. }
  139. window.addEventListener("load", function() {
  140. setTimeout("setFooterPos2()", 4000);
  141. }, true);
  142. </script>
  143. </body>
  144. </html>