index.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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 5cube.
  10. 5cube 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. 5cube 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 5cube. If not, see <https://www.gnu.org/licenses/>.
  20. -->
  21. <title>5 Cube: every person its prospects..</title>
  22. <link rel="shortcut icon" href="Public/favicon.ico" />
  23. <meta name="description" content="Welcome to 5 Cube"/>
  24. <meta name="author" content="5 Mode"/>
  25. <meta name="keywords" content="5 cube,5cube,procurement,sourcing,digital,on,premise,solution"/>
  26. <script src="Public/js/jquery-3.6.0.min.js" type="text/javascript"></script>
  27. <script src="Public/js/common.js" type="text/javascript"></script>
  28. <script src="Public/js/bootstrap.min.js" type="text/javascript"></script>
  29. <script src="Public/js/sha.js" type="text/javascript"></script>
  30. <script src="Public/js/home.js" type="text/javascript" defer></script>
  31. <link href="Public/css/bootstrap.min.css" type="text/css" rel="stylesheet">
  32. <link href="Public/css/style.css?v=164444555" 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. $("#vplayer").get(0).pause();
  49. $("#HCsplash").css("display","none");
  50. //$("#HCsplash").hide("slow");
  51. $("#originsDisplay").show();
  52. $(document.body).css("background","#ffffff");
  53. $("#frmHC").show();
  54. }
  55. function _startApp() {
  56. setTimeout("startApp()", 1000);
  57. }
  58. window.addEventListener("load", function() {
  59. $("#frmHC").hide();
  60. setTimeout("setOriginsPos()", 500);
  61. //Splash
  62. $("#HCsplash").show();
  63. $("#vplayer").get(0).play();
  64. }, true);
  65. window.addEventListener("load", function() {
  66. // Fisnished the Intro load the app..
  67. document.getElementById("vplayer").onended=_startApp;
  68. });
  69. </script>
  70. </head>
  71. <body style="background:#0d0d0d;">
  72. <div id="HCsplash" style="padding-top: 40px; text-align:center;color:#d4b0dc;font-family:'Rampart One';">
  73. <div id="myh1" style="position:relative; top:80px;"><H1>5 CUBE</H1></div><br><br>
  74. <video id="vplayer" title="If the video doesn't start automatically please start it manually by the context menu.">
  75. <source src="Public/res/cube.mp4" type="video/mp4">
  76. </video>
  77. </div>
  78. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  79. <div class="header" style="margin-top:18px;">
  80. <a href="http://5cube.5mode-foss.eu" target="_self" style="color:#000000; text-decoration: none;">&nbsp;<img src="Public/res/1cube.png" style="width:22px;">&nbsp;5 Cube</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/5cube" 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>
  81. </div>
  82. <br>
  83. <div style="clear:both; float:left; padding:8px; width:15%; height:100%; border-right: 1px solid #2c2f34; text-align:center;">
  84. <div style="padding-left:10px;text-align: left;">
  85. <a href="https://github.com/par7133/5cube/archive/refs/tags/v1.2.8.zip">Rel. 1.2.8 (zip)</a><br>
  86. <a href="https://github.com/par7133/5cube/archive/refs/tags/v1.2.8.tar.gz">Rel. 1.2.8 (tar.gz)</a><br>
  87. </div>
  88. <br><br>
  89. <img src="Public/res/5Cgenius.png" alt="5C Genius" title="5C Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
  90. &nbsp;<br><br><br>
  91. &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>
  92. &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>
  93. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
  94. <br><br><br>
  95. </div>
  96. <div style="float:left; width:85%;height:100%; padding:8px;">
  97. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color: #f0f8fb; padding: 20px; margin-bottom:8px;">
  98. <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
  99. <span aria-hidden="true">&times;</span>
  100. </button>
  101. Hello and welcome to 5 Cube!<br><br>
  102. 5 Cube is a light, simple, "peer-to-peer" software to source your prospects. Your procurement digital solution.<br><br>
  103. 5 Cube is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  104. 5 Cube got built behind some cool features like the cube interface, object drag-n-drop between broswer windows, full object serialization and xml.<br><br>
  105. 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>
  106. As you are going to run 5 Cube 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>
  107. <ol>
  108. <li>Check the write permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
  109. <li>Set the default Locale.</li>
  110. <li>Set the Business Type, City_Zip_Prov and Country of your prospects.</li>
  111. <li>Set the Editor Password of your cubes. This will be important to confirm your cube upload by dropping it and saving it.</li>
  112. <li>In Public/js/cube-code.js, in mystart class method, check if you are using 'http' or 'https'.</li>
  113. </ol>
  114. <br>
  115. Feedback: <a href="mailto:posta@elettronica.lol">posta@elettronica.lol</a>
  116. <br><br><br><br><br><br><br>
  117. </div>
  118. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  119. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  120. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  121. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  122. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  123. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  124. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  125. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  126. </div>
  127. </form>
  128. <div id="originsDisplay" style="display:none;">
  129. <br>
  130. &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>
  131. &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
  132. &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
  133. <br>
  134. </div>
  135. <div class="footer">
  136. <div id="footerCont">&nbsp;</div>
  137. <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</span></div>
  138. </div>
  139. <script>
  140. function setFooterPos2() {
  141. if (document.getElementById("footerCont")) {
  142. //if ($("#Password").val() === "") {
  143. // tollerance = 48;
  144. // } else {
  145. // tollerance = 15;
  146. //}
  147. tollerance = 22;
  148. $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
  149. $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
  150. }
  151. }
  152. setFooterPos2();
  153. //window.addEventListener("load", function() {
  154. //
  155. // setTimeout("setFooterPos2()", 4000);
  156. //
  157. //}, true);
  158. </script>
  159. </body>
  160. </html>