forked from tleyden/open-ocr
-
Notifications
You must be signed in to change notification settings - Fork 2
/
generate_landing_page.go
200 lines (189 loc) · 13.9 KB
/
generate_landing_page.go
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
package ocrworker
import (
"math/rand"
)
func randomMOTD() string {
names := [...]string{
`<p>Nice day to put slinkies on an escalator!</p>
<pre>__ ; '.' :
| +. : ; : __
.-+\ ': ; ,,-' :
'. '. '\ ; :' ,'
,-+'+. '. \.;.: _,' '-.
'.__ "-.::||::.:'___-+'
-" '--..::::::_____.IIHb
'-:______.:; '::,,...,;:HB\
.+ \ ::,,...,;:HB \
'-.______.:+ \'+.,...,;:P' \
.-' \ \
'-.______.:+ \______________\
.-::::::::, BBBBBBBBBBBBBBB
::,,...,;:HB BBBBBBBBBBBBBBB
::,,...,;:HB BBBBBBBBBBBBBBB
::,,...,;:HB\ BBBBBBBBBBBBBBB
::,,...,;:HB \ BBBBBBBBBBBBBBB
'+.,...,;:P' \ BBBBBBBBBBBBBBB
\BBBBBBBBBBBBBBB</pre>`,
"Oh, marmalade!",
"There it is, the near-death star.",
"Hooray, I'm useful. I'm having a wonderful time.",
"Oh, Lord, I'm on the verge of a nervous melt-down.",
"The guy who wrote this is gone",
"It's running everywhere!",
"No comments, no documentation but 24 tickets",
"00 0110011 1000011 010011 01000 0110 10011 11 001010 001 0001011 110010",
"Robot Nite - Designated device drivers drink free",
"When I'm in command, every mission is a suicide-mission.",
"Protecting the environment is a crime",
"I choose to believe what I was programmed to believe.",
"No fair! You changed the outcome by measuring it.",
"I can't keep running people over. I'm not famous enough to get away with it",
"Creating tomorrow's legacy today!",
"Help! A guinea pig tricked me!",
"You win again, gravity!",
"Good news! There's a report on TV with some very bad news.",
"Who was that guy? -Fry Your momma! Now shut up and drag me to work. -Bender",
"Oh no! I should do something....but i am already in my pajamas.",
"I'd tell you the joke about UDP, but you might not get it.",
`<p>Here be dragons!</p>
<pre>
,-------, , , ,-------,
) ,' /( |\/| )\ ', (
)' / \ (qp) / \ '(
) /___ \_\/(_/ ___\ (
' '-( )-' '
)w^w(
(W_W)
((
))
((
)
</pre>`,
}
number := rand.Intn(len(names))
return names[number]
}
// GenerateLandingPage will generate a simple landing page
func GenerateLandingPage(appStop, technicalError bool, version string) string {
statusArray := [4]string{}
if technicalError {
statusArray[0] = `<a class="nes-btn is-error" href="">ERROR</a>`
statusArray[1] = `<a class="nes-btn is-disabled" href="">RUNNING</a>`
statusArray[2] = `<a class="nes-btn is-disabled" href="">WARNING</a>`
statusArray[3] = `Manual intervention required!`
} else {
switch appStop {
case true:
statusArray[0] = `<a class="nes-btn is-warning" href="">WARNING</a>`
statusArray[1] = `<a class="nes-btn is-disabled" href="">RUNNING</a>`
statusArray[2] = `<a class="nes-btn is-disabled" href="">ERROR</a>`
statusArray[3] = `Someone is shutting me down!`
case false:
statusArray[0] = `<a class="nes-btn is-success" href="">RUNNING</a>`
statusArray[1] = `<a class="nes-btn is-disabled" href="">WARNING</a>`
statusArray[2] = `<a class="nes-btn is-disabled" href="">ERROR</a>`
statusArray[3] = `I'm fine!`
}
}
head := `<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>open-ocr</title><style> html, body{font-family: "Fixedsys,Courier,monospace";}
body {cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABFklEQVRYR9WXURLDIAhE6/0PbSdOtUpcd1Gnpv1KGpTHBpCE1/cXq+vrMph7dGvXZTtpfW10DCA5jrH1H0Jhs5E0hnZdCR+vb5S8Nn8mQCeS9BdSalYJqMBjAGzq59xAESN7VFVUgV8AZB/dZBR7QTFDCqGquvUBVVoEtgIwpQRzmANSFHgWQKExHdIrPeuMvQNDarXe6nC/AutgV3JW+6bgqQLeV8FekRtgV+ToDKEKnACYKsfZjjkam7a0ZpYTytwmgainpC3HvwBocgKOxqRjehoR9DFKNFYtOwCGYCszobeCbl26N6yyQ6g8X/Wex/rBPsNEV6qAMaJPMynIHQCoSqS9JSMmwef51LflTgCRszU7DvAGiV6mHWfsaVUAAAAASUVORK5CYII=),auto;}
body{font-family: "Press Start 2P";}
@font-face {
font-family: "Press Start 2P";
src: url(data:application/fontwoff2;charset=utf-8;base64,d09GMgABAAAAABHIAA8AAAAAaXQAABFrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGiYGYACDWggEEQgKgbFkgZNuC4NUAAE2AiQDhyIEIAWINgeFUwwHG6FXM6N2kpOqJ4rSOIpRlOpM7fxfjhtjSIFoX+QuiVwnyYyFxk5pqJHGKw1H6Be2XmGxcBAmfWbihmhOfCeIuDGB26K/aNuCSkSXib6yxzvD1CKP+uIRGvskl+f53x/fPve+TwzANKtPnsTViQxmOIJ9piqPG9XATiPmhoWCb/4Tx0yiRmjaKiFznZLIpMT/v5+7iJb06lSiqHzz2fvbEGscGiFSCW2RaJEsySykYcSY+4kpRKJ45ghlISJulgaNQ6G5TC69tg+A6jeWaOQD34BAqWm5wf/3V++vHiDDhI1dodBIsd4iMT5bKALfYt/uLn+Av3zG2K864DanFsCrFwC4ZRfKp52kBwMLAwsDBwsHC9/koPHDgvAH4P+ttbon/zBvooNJqJdI+UK6tdm372M+7xpiNit3HhJayRaKdzKJTLuUKIHS6YFGxP//tUq71NkKAMlERWgCKXp+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JnTRneuVQAOcIIL3OABL/jATwndwSGHHQw6tv/WO8FSWHzPdMbGPTHyf8zLifxvzHYwFmpJaiy0dq7/pN7KAg==) format('woff2')}
body {max-width: 960px; min-width: 320px;margin: 0 auto;}section {margin-top: 3em; margin: 3em 1.5em 0 1.5em;}section:last-of-type {margin-bottom: 3em;}li {margin-top: 0.8em;}.nes-container {position: relative; padding: 1.5rem 2rem; border-color: #000; border-style: solid;border-width: 4px;} .nes-container.with-title > .title {display: table;padding: 0 .5rem;margin: -2.2rem 0 1rem; font-size:1rem;background-color: #fff;}
.nes-btn {border-image-slice: 2;border-image-width: 2;border-image-outset: 2;text-align: center; position: relative;
border-style: solid;border-width: 4px;text-decoration: none;background-color: #92cc41;display: inline-block;padding: 6px 8px;color: #fff; width: 268px;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="5" height="5" xmlns="http://www.w3.org/2000/svg"><path d="M2 1 h1 v1 h-1 z M1 2 h1 v1 h-1 z M3 2 h1 v1 h-1 z M2 3 h1 v1 h-1 z" fill="rgb(33,37,41)" /></svg>');}
.nes-btn.is-warning{background-color: #f2c409}
.nes-btn.is-error{background-color: #ce372b}
.nes-btn.is-disabled, .nes-btn.is-disabled:focus, .nes-btn.is-disabled:hover {
color: #212529;
background-color: #d3d3d3;
opacity: .6;
}
.nes-balloon.from-left::after {
bottom: -18px;
width: 18px;
height: 4px;
margin-right: 8px;
color: #212529;
background-color: #fff;
box-shadow: -4px 0,4px 0,-4px 4px #fff,0 4px,-8px 4px,-4px 8px,-8px 8px;
}
.nes-balloon.from-left::after, .nes-balloon.from-left::before {
left: 2rem;
}
.nes-balloon::after, .nes-balloon::before {
position: absolute;
content: "";
}
.nes-balloon.from-left::before {
bottom: -14px;
width: 26px;
height: 10px;
background-color: #fff;
border-right: 4px solid #212529;
border-left: 4px solid #212529;
}
.message-list > .message > .nes-balloon {
max-width: 550px;
}
.nes-balloon {
border-image-slice: 3;
border-image-width: 3;
border-image-repeat: stretch;
border-image-source: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="UTF-8" ?><svg version="1.1" width="8" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M3 1 h1 v1 h-1 z M4 1 h1 v1 h-1 z M2 2 h1 v1 h-1 z M5 2 h1 v1 h-1 z M1 3 h1 v1 h-1 z M6 3 h1 v1 h-1 z M1 4 h1 v1 h-1 z M6 4 h1 v1 h-1 z M2 5 h1 v1 h-1 z M5 5 h1 v1 h-1 z M3 6 h1 v1 h-1 z M4 6 h1 v1 h-1 z" fill="rgb(33,37,41)" /></svg>');
border-image-outset: 2;
position: relative;
display: inline-block;
padding: 1rem 1.5rem;
margin: 8px;
margin-bottom: 8px;
margin-bottom: 30px;
background-color: #fff;
border-image-repeat: stretch;
}
.nes-balloon, .nes-btn, .nes-container.is-rounded, .nes-container.is-rounded.is-dark, .nes-dialog.is-rounded, .nes-dialog.is-rounded.is-dark, .nes-input, .nes-progress, .nes-progress.is-rounded, .nes-select select, .nes-table.is-bordered, .nes-table.is-dark.is-bordered, .nes-textarea {
border-style: solid;
border-width: 4px;
}
*, ::after, ::before {
box-sizing: border-box;
}
.nes-container.is-centered {
text-align: center;
}
.nes-container {
position: relative;
padding: 1.5rem 2rem;
border-color: #000;
border-style: solid;
border-width: 4px;
margin-bottom: 1.5rem;
margin-top: 1.5em;
}
pre {
font-size: 8px;
font-family: "Press Start 2P";
}
</style></head><body><section class="nes-container with-title"> <h2 class="title">Open-ocr ` + version + ` ></h2>
<div class="nes-balloon from-left">
<p>` + statusArray[3] + `</p>
</div>
<div>`
buttons := statusArray[0] + "\n" + statusArray[1] + "\n" + statusArray[2]
middle := `</div><div class="nes-container with-title is-centered"> <p class="title">MOTD</p>`
MOTD := randomMOTD()
tail := `</div><div class="nes-container with-title">
<p class="title">info</p>
<div class="lists">
<ul class="nes-list is-circle">
<li><p>Need <a href="https://godoc.org/github.com/xf0e/open-ocr">docs</a>?</p></li>
<li><p> <a href="https://github.com/xf0e/open-ocr">repository</a></p></li>
<li><p>written as DDD process (russian: Davai Davai Deploy)</p></li>
</ul>
</div>
</section></body> </html>`
return head + buttons + middle + MOTD + tail
}