-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
207 lines (144 loc) · 8.79 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8"/>
<meta name="style" content="day1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!--
Copyright 2021, 2024 5 Mode
This file is part of Homogram.
Homogram is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Homogram is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Homogram. If not, see <https://www.gnu.org/licenses/>.
-->
<title>Homogram: every person its pictures..</title>
<link rel="shortcut icon" href="/Public/static/favicon.ico" />
<meta name="description" content="Welcome to Homogram"/>
<meta name="author" content="5 Mode"/>
<meta name="keywords" content="image,photo,sharing,on,premise,solution"/>
<script src="/Public/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
<script src="/Public/static/js/common.js" type="text/javascript"></script>
<script src="/Public/static/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/Public/static/js/sha.js" type="text/javascript"></script>
<script src="/Public/static/js/home.js" type="text/javascript" defer></script>
<link href="/Public/static/css/bootstrap.min.css" type="text/css" rel="stylesheet">
<link href="/Public/static/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
<script>
function hideTitle() {
$("#myh1").hide("slow");
}
function setOriginsPos() {
h=parseInt(window.innerHeight);
w=parseInt(window.innerWidth);
mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
$("#originsDisplay").css("top", mytop+"px");
setTimeout("hideOrigins()",15000);
}
function hideOrigins() {
$("#originsDisplay").css("visibility","hidden");
}
function startApp() {
$("#HCsplash").css("display","none");
$(document.body).css("background","#ffffff");
//$("#originsDisplay").show();
$("#frmHC").show();
}
window.addEventListener("load", function() {
$("#frmHC").hide();
$(document.body).css("background","#000000");
setTimeout("setOriginsPos()", 500);
$("#HCsplash").show("slow");
setTimeout("hideTitle()", 2000);
setTimeout("startApp()", 4000);
}, true);
</script>
</head>
<body>
<div id="HCsplash" style="padding-top: 160px; text-align:center;color:#ffffff;display:none;">
<div id="myh1"><H1>Homogram</H1></div><br>
<img src="/Public/static/res/HGlogo2.png" style="width:310px;">
</div>
<form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
<div class="header">
<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;"> Homogram</a> <a href="https://github.com/par7133/Homogram" style="color:#000000;"><span style="color:#119fe2">on</span> github</a> <a href="mailto:[email protected]" style="color:#000000;"><span style="color:#119fe2">for</span> feedback</a> <a href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:#000000;height:27px;text-decoration:none;"> get support </a>
</div>
<div style="clear:both; float:left; padding:8px; width:15%; height:650px; text-align:center; border-right:1px solid #2c2f34;">
<div style="padding-left:10px;text-align: left;">
<a href="https://github.com/par7133/Homogram/archive/refs/tags/v1.5.8.zip">Rel. 1.5.8 (zip)</a><br>
<a href="https://github.com/par7133/Homogram/archive/refs/tags/v1.5.8.tar.gz">Rel. 1.5.8 (tar.gz)</a><br>
</div>
<br><br>
<img src="/Public/static/res/HGgenius.png" alt="HC Genius" title="HC Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
<br><br><br>
<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>
<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>
<a href="#" onclick="showEncodedPassword();" style="position:relative; left:-2px; top:+5px; color:#000000; font-size:12px;">Hash Me!</a>
<br><br><br>
</div>
<div style="float:left; width:85%;height:100%; padding:8px;">
<div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color: #f0f8fb; padding: 20px; margin-bottom:8px;">
<button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
<span aria-hidden="true">×</span>
</button>
Hello and welcome to Homogram!<br><br>
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>
Homogram is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
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>
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>
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>
<ol>
<li>Check the write permissions of your "HGRepo" folder in your web app public path; and set its path in the config file.</li>
<li>Check the write permissions of your "data" folder in your web app private path; and set its path in the config file.</li>
<li>Set the default Locale.</li>
<li>Set the default Context to PUBLIC or PRIVATE (for a private repository).</li>
<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>
</ol>
<br>
Feedback: <a href="mailto:[email protected]">[email protected]</a>
<br><br><br><br><br>
</div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</div>
<div id="originsDisplay" style="display:none;">
<br>
<span class="originLabel">Coding:</span> Italy<br>
<span class="originLabel">Server:</span> United States <br>
<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span> Russia <br>
<br>
</div>
<div class="footer">
<div id="footerCont"> </div>
<div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;"> <a href="https://5mode.com/dd.html">Disclaimer</a> A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. CC </span></div>
</div>
</form>
<script>
function setFooterPos2() {
if (document.getElementById("footerCont")) {
//if ($("#Password").val() === "") {
// tollerance = 48;
// } else {
// tollerance = 15;
//}
tollerance = 22;
$("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
$("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
}
}
window.addEventListener("load", function() {
setTimeout("setFooterPos2()", 4000);
}, true);
</script>
</body>
</html>