-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathannouncement.php
153 lines (131 loc) · 3.33 KB
/
announcement.php
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
<?php
//
// Due to `/announcement` not being a JSON-rpc based call, we're just returning static content
// This html content is pulled mostly from the backend's Web module "wrapper" template, see var/wrapper.html
//
?>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes">
<title>KA Expanse Server Announcement</title>
<style type="text/css">
body {
background-color: #014986;
color: white;
font-family: Helvetica, san serif;
font-size: 14pt;
margin: 1em;
}
#logo {
width: 578px;
height: 136px;
margin: 0 auto;
margin-bottom: 20px;
}
a {
color: #ffb400;
}
tr {
text-align: left;
}
fieldset {
margin-top: 10px;
border: 1px solid black;
}
legend {
font-size: 12px;
color: #eeeeee;
}
.admin_menu {
font-size: 15px;
padding: 0;
margin: 0;
}
.admin_menu li {
list-style-type: none;
}
.admin_menu li a {
display: block;
border: 1px solid #003875;
background-color: #003875;
border-left: 5px solid #002764;
padding-left: 5px;
margin-bottom: 1px;
text-decoration: none;
}
.admin_highlight {
color: #ff0000;
}
A.server_button {
background-image: url(https://s3.amazonaws.com/www.lacunaexpanse.com/button_bkg.png);
text-decoration: none;
display: block;
border: 1px solid black;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
position: relative;
width: 650px;
margin: 15px;
height: 50px;
}
A.server_button div.server_name_label {
color: black;
font-size: 14px;
position: absolute;
top: 1px;
left: 5px;
}
A.server_button div.server_name {
color: #ffb400;
font-size: 22px;
position: absolute;
top: 20px;
left: 5px;
}
A.server_button div.location_label {
color: black;
font-size: 14px;
position: absolute;
top: 1px;
left: 170px;
}
A.server_button div.location {
color: #ffb400;
font-size: 22px;
position: absolute;
top: 20px;
left: 170px;
}
A.server_button div.status_label {
color: black;
font-size: 14px;
position: absolute;
top: 1px;
left: 400px;
}
A.server_button div.status {
color: #ffb400;
font-size: 22px;
position: absolute;
top: 20px;
left: 400px;
}
A.server_button div.play_now {
color: white;
font-size: 30px;
position: absolute;
top: 8px;
left: 500px;
}
</style>
</head>
<body>
<h1>Announcement!</h1>
<p>
This is a message about new features in the game or happenings from around the game universe.
The content of this announcement is predefined and served by the <a href="https://github.com/Kantigen/ka-stubs" target="_blank" rel="noopener noreferrer">stub server</a>.
</p>
</body>
</html>