index.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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 StarWorth.
  10. StarWorth 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. StarWorth 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 StarWorth. If not, see <https://www.gnu.org/licenses/>.
  20. -->
  21. <title>StarWorth: bitting the stars..</title>
  22. <link rel="shortcut icon" href="/favicon.ico" />
  23. <meta name="description" content="Welcome to StarWorth"/>
  24. <meta name="author" content="5 Mode"/>
  25. <meta name="keywords" content="StarWorth,events,projects,calendar,on,premise,solution"/>
  26. <meta name="robots" content="index,follow"/>
  27. <script src="/SW_js/jquery-3.1.0.min.js" type="text/javascript"></script>
  28. <script src="/SW_js/common.js" type="text/javascript"></script>
  29. <script src="/SW_js/bootstrap.min.js" type="text/javascript"></script>
  30. <script src="/SW_js/sha.js" type="text/javascript"></script>
  31. <script src="/SW_js/index-.js" type="text/javascript" defer></script>
  32. <link href="/SW_css/bootstrap.min.css" type="text/css" rel="stylesheet">
  33. <link href="/SW_css/jquery-ui.1.12.1.css" type="text/css" rel="stylesheet">
  34. <link href="/SW_css/style.css" type="text/css" rel="stylesheet">
  35. <style>
  36. body {
  37. background: #FFFFFF;
  38. }
  39. </style>
  40. <script>
  41. function hideTitle() {
  42. $("#myh1").hide("slow");
  43. }
  44. function startApp() {
  45. $("#HCsplash").hide("slow");
  46. $(document.body).css("background","#ffffff");
  47. $("#frmHC").show();
  48. }
  49. window.addEventListener("load", function() {
  50. $("#frmHC").hide();
  51. $(document.body).css("background","#000000");
  52. $("#HCsplash").show("slow");
  53. setTimeout("hideTitle()", 2000);
  54. setTimeout("startApp()", 4000);
  55. }, true);
  56. </script>
  57. </head>
  58. <body>
  59. <div id="HCsplash" style="padding-top: 160px; text-align:center;color:#ffffff;display:none;">
  60. <div id="myh1"><H1>StarWorth</H1></div><br>
  61. <img src="/SW_res/SWlogo.png" style="width:310px;">
  62. </div>
  63. <form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
  64. <div class="header">
  65. <a id="burger-menu" href="#" style="display:none;"><img src="/SW_res/burger-menu2.png" style="width:58px;"></a><a id="ahome" href="http://starworth.5mode-foss.eu" target="_blank" style="color:black; text-decoration: none;"><img id="logo-hl" src="/SW_res/SWlogo.png" style="width:28px;">&nbsp;StarWorth</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="agithub" href="https://github.com/par7133/StarWorth" style="color:#000000"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="afeedback" href="mailto:posta@elettronica.lol" style="color:#000000"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a id="asupport" href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:black;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
  66. </div>
  67. <div style="clear:both; float:left; padding:8px; width:15%; height:100%; text-align:center;">
  68. <div style="padding-left:10px;text-align: left;">
  69. <a href="https://github.com/par7133/StarWorth/archive/refs/tags/v1.0.8.zip">Rel. 1.0.8 (zip)</a><br>
  70. <a href="https://github.com/par7133/StarWorth/archive/refs/tags/v1.0.8.tar.gz">Rel. 1.0.8 (tar.gz)</a><br>
  71. </div>
  72. <br><br>
  73. <img src="/SW_res/SWgenius.png" alt="HL Genius" title="SW Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
  74. &nbsp;<br><br><br>
  75. &nbsp;<input type="text" id="Password" name="Password" placeholder="password" style="font-size:10px; background:#393939; color:#ffffff; width: 90%; border-radius:3px;" value="" autocomplete="off"><br>
  76. &nbsp;<input type="text" id="Salt" placeholder="salt" style="position:relative; top:+5px; font-size:10px; background:#393939; color:#ffffff; width: 90%; border-radius:3px;" autocomplete="off"><br>
  77. &nbsp;<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
  78. <br><br><br>
  79. </div>
  80. <div style="float:left; width:85%;height:100%; padding:8px; border-left: 1px solid #2c2f34;">
  81. <div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color: #33aced; padding: 20px; margin-bottom:8px;">
  82. <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
  83. <span aria-hidden="true">&times;</span>
  84. </button>
  85. Hello and welcome to StarWorth!<br><br>
  86. StarWorth is a light and simple software on premise to log projects and events.<br><br>
  87. StarWorth is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
  88. StarWorth name comes from a prank on "StarWars" meaning our intention to make stars/projects "worth".<br><br>
  89. 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>
  90. As you are going to run StarWorth 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>
  91. <ol>
  92. <li>Check the permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
  93. <li>In the data path create a ".SW_history" and ".SW_captchahistory" files and give them the write permission.</li>
  94. <li>Finish to setup the configuration file apporpriately, in the specific:</li>
  95. <ul>
  96. <li>Configure the APP_USE appropriately.</li>
  97. <li>Configure the DISPLAY attributes as required.</li>
  98. <li>Configure the max history and MAX_AGE items as required (default: 1000 and 3600).</li>
  99. </ul>
  100. </ol>
  101. <br>
  102. Feedback: <a href="mailto:posta@elettronica.lol" style="color:#e6d236;">posta@elettronica.lol</a>
  103. </div>
  104. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  105. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  106. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  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. </div>
  111. <div class="footer">
  112. <div id="footerCont">&nbsp;</div>
  113. <div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="http://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>
  114. </div>
  115. </form>
  116. <script>
  117. function setFooterPos2() {
  118. if (document.getElementById("footerCont")) {
  119. //if ($("#Password").val() === "") {
  120. // tollerance = 48;
  121. // } else {
  122. // tollerance = 15;
  123. //}
  124. tollerance = 22;
  125. $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
  126. $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
  127. }
  128. }
  129. window.addEventListener("load", function() {
  130. setTimeout("setFooterPos2()", 4000);
  131. }, true);
  132. </script>
  133. </body>
  134. </html>