Merge remote-tracking branch 'ambushed/WebAdmin'
2
MCServer/webadmin/files/guest.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Hello! Welcome to the MCServer WebAdmin.<br>
|
||||||
|
This is a default message, edit <b>files/guest.html</b> to add your own custom message.
|
BIN
MCServer/webadmin/files/header.png
Normal file
After Width: | Height: | Size: 221 B |
BIN
MCServer/webadmin/files/home.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
MCServer/webadmin/files/loading.gif
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
MCServer/webadmin/files/log_out.png
Normal file
After Width: | Height: | Size: 995 B |
219
MCServer/webadmin/files/login.css
Normal file
|
@ -0,0 +1,219 @@
|
||||||
|
/* Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
background: #fff url(header.png) repeat-x top left;
|
||||||
|
width: 100%;
|
||||||
|
min-width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link {
|
||||||
|
color: #555;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: #444;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover, a:active {
|
||||||
|
color: #000;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #069;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row1 {
|
||||||
|
border-bottom: 1px solid #000;
|
||||||
|
height: 100px;
|
||||||
|
max-height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.row2 {
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contention {
|
||||||
|
color: #000;
|
||||||
|
text-align: left;
|
||||||
|
line-height: 1.4;
|
||||||
|
margin: 0;
|
||||||
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
background: #fff;
|
||||||
|
color: #000;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 3px;
|
||||||
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin: -3px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
border-top-color: #28597a;
|
||||||
|
background: #28597a;
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
border-top-color: #1b435e;
|
||||||
|
background: #1b435e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.push10 {
|
||||||
|
padding-bottom: 75px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#panel .upper {
|
||||||
|
background: #dcdbdc url(tcat.png) repeat-x;
|
||||||
|
border-top: 1px solid #fff;
|
||||||
|
border-bottom: 1px solid #bbb;
|
||||||
|
padding: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
z-index: 99999;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer ul.menu {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer ul.menu li {
|
||||||
|
margin: 0 5px;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer .upper {
|
||||||
|
background: #dcdbdc url(tcat.png) repeat-x;
|
||||||
|
border-top: 1px solid #bbb;
|
||||||
|
padding: 6px;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer .upper ul.bottom_links {
|
||||||
|
float: left;
|
||||||
|
margin: 3px 0 0 -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer .lower {
|
||||||
|
background: #a1a2a2 url(thead.png) top left repeat-x;
|
||||||
|
color: #fff;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 8px;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer .lower a:link, #footer .lower a:visited {
|
||||||
|
color: #fff;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer .lower a:hover, #footer .lower a:active {
|
||||||
|
color: #fff;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer .lower #current_time {
|
||||||
|
float: right;
|
||||||
|
padding-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrapper {
|
||||||
|
width: 85%;
|
||||||
|
min-width: 970px;
|
||||||
|
max-width: 1500px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
height: 60px;
|
||||||
|
width: 100%;
|
||||||
|
background: #999;
|
||||||
|
border-top: 1px #000 solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #footer {
|
||||||
|
position: absolute;
|
||||||
|
top: expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
|
||||||
|
}
|
||||||
|
|
||||||
|
tr td.trow2:first-child {
|
||||||
|
border-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr td.trow2:last-child {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tborder {
|
||||||
|
-moz-border-radius: 7px;
|
||||||
|
-webkit-border-radius: 7px;
|
||||||
|
border-radius: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thead, .rounded_top {
|
||||||
|
-moz-border-radius-topleft: 6px;
|
||||||
|
-moz-border-radius-topright: 6px;
|
||||||
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
color: #000;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tborder {
|
||||||
|
background: #fff;
|
||||||
|
width: 100%;
|
||||||
|
margin: auto;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thead {
|
||||||
|
background: #a1a2a2 url(thead.png) top left repeat-x;
|
||||||
|
color: #fff;
|
||||||
|
border-bottom: 1px solid #8e8f8f;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trow2 {
|
||||||
|
background: #efefef;
|
||||||
|
border: 1px solid;
|
||||||
|
border-color: #fff #ddd #ddd #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.padtopp {
|
||||||
|
padding-top: 25px;
|
||||||
|
}
|
BIN
MCServer/webadmin/files/login.gif
Normal file
After Width: | Height: | Size: 586 B |
BIN
MCServer/webadmin/files/logo_login.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
MCServer/webadmin/files/pmfolder.gif
Normal file
After Width: | Height: | Size: 995 B |
|
@ -1,353 +1,433 @@
|
||||||
body, html
|
/* Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */
|
||||||
{
|
* {
|
||||||
font-family: "Open Sans", Tahoma, sans-serif;
|
margin: 0;
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
font-weight: 400;
|
|
||||||
background-color: #fbe9e7;
|
|
||||||
color: rgba(0, 0, 0, 0.87);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.light { font-weight: 300; }
|
body {
|
||||||
.bold { font-weight: 600; }
|
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
#wrapper
|
background: #fff;
|
||||||
{
|
width: 100%;
|
||||||
background-color: #ff5722;
|
min-width: 100%;
|
||||||
margin: 40px auto;
|
overflow-y: scroll;
|
||||||
width: 99%;
|
overflow-x: hidden;
|
||||||
max-width: 1200px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);
|
|
||||||
color: rgba(0, 0, 0, 0.87);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title
|
a:link {
|
||||||
{
|
color: #555;
|
||||||
font-size: 30pt;
|
text-decoration: none;
|
||||||
padding: 10px 40px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: white;
|
|
||||||
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
|
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar
|
a:visited {
|
||||||
{
|
color: #444;
|
||||||
float: left;
|
text-decoration: none;
|
||||||
width: 20%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sideNav
|
a:hover, a:active {
|
||||||
{
|
color: #000;
|
||||||
list-style: none;
|
text-decoration: underline;
|
||||||
background-color: #fafafa;
|
|
||||||
margin: 20px 0;
|
|
||||||
padding: 5px 0;
|
|
||||||
width: 100%;
|
|
||||||
box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sideNav li
|
img {
|
||||||
{
|
border: none;
|
||||||
padding: 10px;
|
|
||||||
color: rgba(0, 0, 0, 0.54);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sideNav li.link
|
h1 {
|
||||||
{
|
color: #069;
|
||||||
padding-left: 30px;
|
text-shadow: 2px 2px #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sideNav li.link a
|
.row1 {
|
||||||
{
|
border-bottom: 1px #000 solid;
|
||||||
text-decoration: none;
|
height: 100px;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
max-height: 100px;
|
||||||
|
background: #fff url(header.png) repeat-x top left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container
|
.row2 {
|
||||||
{
|
margin: 0 auto;
|
||||||
margin: 0;
|
text-align: center;
|
||||||
padding: 0;
|
vertical-align: middle;
|
||||||
overflow: hidden;
|
margin-top: 125px;
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#main
|
.contention {
|
||||||
{
|
color: #000;
|
||||||
float: right;
|
text-align: left;
|
||||||
width: 80%;
|
line-height: 1.4;
|
||||||
padding: 0 15px 20px 15px;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
-moz-box-sizing: border-box;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clear
|
.push10 {
|
||||||
{
|
padding-bottom: 75px;
|
||||||
clear: both;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table
|
#panel ul.menu {
|
||||||
{
|
margin: 0;
|
||||||
width: 100%;
|
padding: 0;
|
||||||
border-collapse: collapse;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
table td
|
#panel ul.menu li {
|
||||||
{
|
margin: 0 5px;
|
||||||
padding: 5px;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th
|
#panel ul.menu li a {
|
||||||
{
|
padding-left: 20px;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
background-repeat: no-repeat;
|
||||||
padding: 5px;
|
background-position: left center;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr:nth-child(odd)
|
#panel .upper ul.top_links {
|
||||||
{
|
float: right;
|
||||||
background-color: rgba(0, 0, 0, 0.015);
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
p
|
#panel .upper {
|
||||||
{
|
background: #dcdbdc url(tcat.png) repeat-x;
|
||||||
margin: 8px 0;
|
border-top: 1px solid #fff;
|
||||||
padding: 8px 3px;
|
border-bottom: 1px solid #bbb;
|
||||||
|
padding: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a
|
#footer {
|
||||||
{
|
z-index: 99999;
|
||||||
text-decoration: none;
|
|
||||||
color: #0277bd;
|
|
||||||
-webkit-transition: color 0.1s linear;
|
|
||||||
-moz-transition: color 0.1s linear;
|
|
||||||
transition: color 0.1s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover
|
#footer ul.menu {
|
||||||
{
|
margin: 0;
|
||||||
color: #01579b;
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcome-msg
|
#footer ul.menu li {
|
||||||
{
|
margin: 0 5px;
|
||||||
color: rgba(0, 0, 0, 0.54);
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.username
|
#footer .upper {
|
||||||
{
|
background: #dcdbdc url(tcat.png) repeat-x;
|
||||||
text-transform: capitalize;
|
border-top: 1px solid #bbb;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
padding: 6px;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover
|
#footer .upper ul.bottom_links {
|
||||||
{
|
float: left;
|
||||||
color: black;
|
margin: 3px 0 0 -5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, select
|
#footer .lower {
|
||||||
{
|
background: #a1a2a2 url(thead.png) top left repeat-x;
|
||||||
padding: 8px;
|
color: #fff;
|
||||||
|
border-top: 1px solid #ccc;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 8px;
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
form
|
#footer .lower a:link,#footer .lower a:visited {
|
||||||
{
|
color: #fff;
|
||||||
padding: 4px;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info input[type="submit"], .info button, .info input[type="button"],
|
#footer .lower a:hover,#footer .lower a:active {
|
||||||
.warn input[type="submit"], .warn button, .warn input[type="button"],
|
color: #fff;
|
||||||
.err input[type="submit"], .err button, .err input[type="button"]
|
font-weight: 700;
|
||||||
{
|
|
||||||
float: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.err
|
#footer .lower #current_time {
|
||||||
{
|
float: right;
|
||||||
color: white;
|
padding-right: 6px;
|
||||||
display: block;
|
|
||||||
background-color: #e51c23 !important;
|
|
||||||
padding: 15px;
|
|
||||||
line-height: 30px;
|
|
||||||
min-height: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.err:before
|
.wrapper {
|
||||||
{
|
width: 85%;
|
||||||
content: "ERROR: ";
|
min-width: 970px;
|
||||||
|
max-width: 1500px;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warn
|
#footer {
|
||||||
{
|
position: fixed;
|
||||||
color: white;
|
left: 0;
|
||||||
display: block;
|
bottom: 0;
|
||||||
background-color: #ff5722 !important;
|
height: 60px;
|
||||||
padding: 15px;
|
width: 100%;
|
||||||
line-height: 30px;
|
background: #999;
|
||||||
min-height: 30px;
|
border-top: 1px #000 solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warn:before
|
* html #footer {
|
||||||
{
|
position: absolute;
|
||||||
content: "WARNING: ";
|
top: expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
|
||||||
}
|
}
|
||||||
|
|
||||||
.info
|
tr td.trow1:first-child, tr td.trow2:first-child {
|
||||||
{
|
border-left: 0;
|
||||||
color: white;
|
|
||||||
display: block;
|
|
||||||
background-color: #5677fc !important;
|
|
||||||
padding: 15px;
|
|
||||||
line-height: 30px;
|
|
||||||
min-height: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.info:before
|
tr td.trow1:last-child, tr td.trow2:last-child {
|
||||||
{
|
border-right: 0;
|
||||||
content: "INFORMATION: ";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer .fleft
|
.tborder {
|
||||||
{
|
-moz-border-radius: 7px;
|
||||||
float: left;
|
-webkit-border-radius: 7px;
|
||||||
|
border-radius: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer .fright
|
.thead {
|
||||||
{
|
-moz-border-radius-topleft: 6px;
|
||||||
float: right;
|
-moz-border-radius-topright: 6px;
|
||||||
text-align: right;
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer
|
table {
|
||||||
{
|
color: #000;
|
||||||
margin: 0;
|
font-size: 13px;
|
||||||
padding: 10px;
|
|
||||||
font-size: 9pt;
|
|
||||||
color: rgba(255, 255, 255, 0.8);
|
|
||||||
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2) inset;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer a
|
.tborder {
|
||||||
{
|
background: #fff;
|
||||||
text-transform: none;
|
width: 100%;
|
||||||
color: white;
|
margin: auto;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="submit"], button, input[type="button"]
|
.thead {
|
||||||
{
|
background: #a1a2a2 url(thead.png) top left repeat-x;
|
||||||
background-color: #ffc107;
|
color: #fff;
|
||||||
padding: 8px 15px 8px 15px;
|
border-bottom: 1px solid #8e8f8f;
|
||||||
margin: 0 2px;
|
padding: 8px;
|
||||||
display: inline-block;
|
|
||||||
text-align: center;
|
|
||||||
color: black;
|
|
||||||
box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
|
|
||||||
border: none;
|
|
||||||
outline: none;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="submit"]:hover, button:hover, input[type="button"]:hover
|
.tcat {
|
||||||
{
|
background: #dcdbdc url(tcat.png) repeat-x;
|
||||||
background-color: #ffca28;
|
color: #fff;
|
||||||
|
border-bottom: 1px solid #bbb;
|
||||||
|
padding: 6px;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="submit"]:active, button:active, input[type="button"]:active
|
.trow1 {
|
||||||
{
|
background: #f5f5f5;
|
||||||
background-color: #ffd54f;
|
border: 1px solid;
|
||||||
-webkit-transform: translateY(1px);
|
border-color: #fff #ddd #ddd #fff;
|
||||||
-moz-transform: translateY(1px);
|
|
||||||
transform: translateY(1px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr
|
.trow2 {
|
||||||
{
|
background: #efefef;
|
||||||
border: none;
|
border: 1px solid;
|
||||||
height: 1px;
|
border-color: #fff #ddd #ddd #fff;
|
||||||
background-color: rgba(0, 0, 0, 0.12);
|
padding: 15px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4
|
.padtopp {
|
||||||
{
|
padding-top: 25px;
|
||||||
padding-bottom: 10px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
/**** PAGE SPECIFIC CSS ****/
|
color: #000;
|
||||||
|
font-size: 13px;
|
||||||
/* remove the * for disabling: */
|
text-align: left;
|
||||||
|
|
||||||
.page-core-server-settings table td
|
|
||||||
{
|
|
||||||
text-align: center;
|
|
||||||
width: 25%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-server-settings.no-param table td:nth-child(1) a,
|
.tborder {
|
||||||
.page-core-server-settings.param-tab-general table td:nth-child(1) a
|
background: #fff;
|
||||||
{
|
width: 100%;
|
||||||
font-weight: 600;
|
margin: auto;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
border: 1px solid #ccc;
|
||||||
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-server-settings.param-tab-monsters table td:nth-child(2) a
|
.thead {
|
||||||
{
|
background: #a1a2a2 url(thead.png) top left repeat-x;
|
||||||
font-weight: 600;
|
color: #fff;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
border-bottom: 1px solid #8e8f8f;
|
||||||
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-server-settings.param-tab-worlds table td:nth-child(3) a
|
.tcat {
|
||||||
{
|
background: #dcdbdc url(tcat.png) repeat-x;
|
||||||
font-weight: 600;
|
color: #fff;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
border-bottom: 1px solid #bbb;
|
||||||
|
padding: 6px;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-server-settings.param-tab-world table td:nth-child(4) a
|
.trow1 {
|
||||||
{
|
background: #f5f5f5;
|
||||||
font-weight: 600;
|
border: 1px solid;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
border-color: #fff #ddd #ddd #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-permissions form table tr,
|
.trow2 {
|
||||||
.page-core-permissions form table td,
|
background: #efefef;
|
||||||
.page-core-permissions form table th
|
border: 1px solid;
|
||||||
{
|
border-color: #fff #ddd #ddd #fff;
|
||||||
border: none;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-permissions form table tr:nth-child(1) th
|
.smalltext {
|
||||||
{
|
font-size: 11px;
|
||||||
width: 35%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-permissions form table tr:nth-child(1) td
|
textarea {
|
||||||
{
|
background: #fff;
|
||||||
width: 65%;
|
color: #000;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 2px;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-core-permissions form table td input
|
select {
|
||||||
{
|
background: #fff;
|
||||||
width: 100%;
|
padding: 3px;
|
||||||
box-sizing: border-box;
|
border: 1px solid #ccc;
|
||||||
-moz-box-sizing: border-box;
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ChatDiv
|
.usercp_nav_item {
|
||||||
{
|
display: block;
|
||||||
margin-bottom: 10px;
|
padding: 1px 0 1px 23px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ChatMessage
|
.usercp_nav_pmfolder {
|
||||||
{
|
background: url(pmfolder.gif) no-repeat left center;
|
||||||
width: 100%;
|
|
||||||
box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**/
|
.usercp_nav_sub_pmfolder {
|
||||||
|
padding-left: 40px;
|
||||||
|
background: url(sub_pmfolder.gif) no-repeat left center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.usercp_nav_home {
|
||||||
|
background: url(home.gif) no-repeat left center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagehead {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 99999;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th {
|
||||||
|
border-bottom: 1px solid rgba(0,0,0,0.12);
|
||||||
|
padding: 5px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:nth-child(odd) {
|
||||||
|
background-color: rgba(0,0,0,0.015);
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 4px 0;
|
||||||
|
padding: 4px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #000;
|
||||||
|
-webkit-transition: color .1s linear;
|
||||||
|
-moz-transition: color .1s linear;
|
||||||
|
transition: color .1s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"] {
|
||||||
|
background: #fff;
|
||||||
|
color: #000;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
padding: 2px;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
|
font-size: 13px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]:hover {
|
||||||
|
background-color: #E5E4E2;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]:focus {
|
||||||
|
background-color: #E5E4E2;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: none;
|
||||||
|
height: 1px;
|
||||||
|
background-color: rgba(0,0,0,0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
padding-bottom: 10px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
border-bottom: 1px solid rgba(0,0,0,0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ChatDiv {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ChatMessage {
|
||||||
|
width: 92%;
|
||||||
|
margin-right: 5px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="submit"] {
|
||||||
|
padding: 3px;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
background: #f5f5f5;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="submit"]:hover {
|
||||||
|
background-color: #E5E4E2;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:disabled,input:disabled {
|
||||||
|
padding: 3px;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-family: Tahoma,Verdana,Arial,Sans-Serif;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: none!important;
|
||||||
|
color: #fff!important;
|
||||||
|
background-color: #ccc!important;
|
||||||
|
}
|
||||||
|
|
BIN
MCServer/webadmin/files/sub_pmfolder.gif
Normal file
After Width: | Height: | Size: 1022 B |
BIN
MCServer/webadmin/files/tcat.png
Normal file
After Width: | Height: | Size: 183 B |
BIN
MCServer/webadmin/files/thead.png
Normal file
After Width: | Height: | Size: 132 B |
|
@ -1,25 +1,70 @@
|
||||||
|
/* Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>MCServer WebAdmin - Login</title>
|
<title>MCServer WebAdmin - Login</title>
|
||||||
<meta charset="UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<link href="login.css" rel="stylesheet" type="text/css">
|
||||||
<link rel="icon" href="favicon.ico">
|
<link rel="icon" href="favicon.ico">
|
||||||
<style type="text/css">
|
|
||||||
header {
|
|
||||||
margin: 0 auto;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<div class="contention">
|
||||||
<img src="mc-logo.png" alt="MCServer Logo" class="logo">
|
<div class="row1">
|
||||||
<h1>MCServer - WebAdmin</h1>
|
<div class="wrapper">
|
||||||
<form method="get" action="webadmin/">
|
<img src="logo_login.png" alt="MCServer Logo" class="logo">
|
||||||
<input type="submit" value="Log in">
|
</div>
|
||||||
</form>
|
</div>
|
||||||
</header>
|
<div id="panel">
|
||||||
|
<div class="upper">
|
||||||
|
<div class="wrapper">
|
||||||
|
<div>
|
||||||
|
<form method="get" action="webadmin" />
|
||||||
|
<button type="submit" value="Log in" style="width:150px;height:25px;font-family:'Source Sans Pro',sans-serif;background:transparent;border:none!important;vertical-align:middle">
|
||||||
|
<strong><img src="login.gif" style="vertical-align:bottom" /> WebAdmin Log in</strong>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row2 push10">
|
||||||
|
<div class="wrapper padtopp">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="5" class="tborder" style="margin-bottom:5px">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="thead rounded_top">
|
||||||
|
<div style="float:left!important"><strong>MCServer WebAdmin</strong></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="trow2 post_content">
|
||||||
|
<div class="post_body">
|
||||||
|
<iframe width="100%" height="100%" style="border:none;min-height:350px;max-height:450px" src="/guest.html"></iframe>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<div class="upper">
|
||||||
|
<div class="wrapper">
|
||||||
|
<ul class="menu bottom_links">
|
||||||
|
<li><a href="http://www.mc-server.org" target="_blank">MCServer</a></li>
|
||||||
|
<li><a href="http://forum.mc-server.org" target="_blank">Forums</a></li>
|
||||||
|
<li><a href="http://builds.cuberite.org" target="_blank">Buildserver</a></li>
|
||||||
|
<li><a href="http://mc-server.xoft.cz/LuaAPI" target="_blank">API Documentation</a></li>
|
||||||
|
<li><a href="http://book.mc-server.org/" target="_blank">User's Manual</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="lower">
|
||||||
|
<div class="wrapper">
|
||||||
|
<span id="current_time"><strong>Current time:</strong> <script type="text/javascript">document.write('Time: <strong><span id="date-time">',new Date().toLocaleString(),"</span></strong>");if(document.getElementById){onload=function(){setInterval("document.getElementById ('date-time').firstChild.data = new Date().toLocaleString()",50)}};</script></span>
|
||||||
|
<span id="copyright">Copyright © <a href="http://www.mc-server.org" target="_blank">MCServer Team</a> 2014.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
1
MCServer/webadmin/temp.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -81,22 +81,56 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||||
end
|
end
|
||||||
|
|
||||||
Output([[
|
Output([[
|
||||||
<!DOCTYPE html>
|
/* Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>]] .. Title .. [[</title>
|
||||||
<link rel="icon" href="/favicon.ico">
|
<meta charset="UTF-8">
|
||||||
<title>]] .. Title .. [[</title>
|
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,300' rel='stylesheet' type='text/css'>
|
<link rel="icon" href="/favicon.ico">
|
||||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div class="contention">
|
||||||
<div id="containerHolder">
|
<div class="pagehead">
|
||||||
<a href="./" class="title light">MCServer</a>
|
<div class="row1">
|
||||||
<div id="container">
|
<div class="wrapper">
|
||||||
<div id="sidebar">
|
<img src="/logo_login.png" alt="MCServer Logo" class="logo">
|
||||||
<ul class="sideNav">
|
</div>
|
||||||
<li class='link'><a href=']] .. BaseURL .. [['>Home</a></li>
|
</div>
|
||||||
|
<div id="panel">
|
||||||
|
<div class="upper">
|
||||||
|
<div class="wrapper">
|
||||||
|
<ul class="menu top_links">
|
||||||
|
<li><a>Server Name: <strong>]] .. cRoot:Get():GetServer():GetServerID() .. [[</strong></a></li>
|
||||||
|
<li><a>Memory: <strong>]] .. MemoryUsageKiB / 1024 .. [[MB</strong></a></li>
|
||||||
|
<li><a>Chunks: <strong>]] .. NumChunks .. [[</strong></a></li>
|
||||||
|
</ul>
|
||||||
|
<div class="welcome"><strong>Welcome back, ]] .. TemplateRequest.Request.Username .. [[</strong> <a href=".././"><img src="/log_out.png" style="vertical-align:bottom;"> Log Out</a></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row2 push10">
|
||||||
|
<div class="wrapper padtopp">
|
||||||
|
<table width="100%" border="0" align="center">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td width="180" valign="top">
|
||||||
|
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="thead"><strong>Menu</strong></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="trow1 smalltext"><a href=']] .. BaseURL .. [[' class='usercp_nav_item usercp_nav_home'>Home</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tcat"><div><span class="smalltext"><strong><font color="#000">Server Management</font></strong></span></div></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<tbody style="" id="usercppms_e">
|
||||||
|
<tr>
|
||||||
|
<td class="trow1 smalltext">
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,30 +139,59 @@ function ShowPage(WebAdmin, TemplateRequest)
|
||||||
local PluginWebTitle = value:GetWebTitle()
|
local PluginWebTitle = value:GetWebTitle()
|
||||||
local TabNames = value:GetTabNames()
|
local TabNames = value:GetTabNames()
|
||||||
if (GetTableSize(TabNames) > 0) then
|
if (GetTableSize(TabNames) > 0) then
|
||||||
Output("<li>"..PluginWebTitle.."</li>\n");
|
Output("<div><a class='usercp_nav_item usercp_nav_pmfolder' style='text-decoration:none;'><b>"..PluginWebTitle.."</b></a></div>\n");
|
||||||
|
|
||||||
for webname,prettyname in pairs(TabNames) do
|
for webname,prettyname in pairs(TabNames) do
|
||||||
Output("<li class='link'><a href='" .. BaseURL .. PluginWebTitle .. "/" .. webname .. "'>" .. prettyname .. "</a></li>\n")
|
Output("<div><a href='" .. BaseURL .. PluginWebTitle .. "/" .. webname .. "' class='usercp_nav_item usercp_nav_sub_pmfolder'>" .. prettyname .. "</a></div>\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Output("<br>\n");
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
Output([[
|
Output([[
|
||||||
</ul>
|
</td>
|
||||||
</div>
|
</tr>
|
||||||
|
</tbody>
|
||||||
<div id="main" class="page-]] .. string.lower(PluginPage.PluginName .. "-" .. string.gsub(PluginPage.TabName, "[^a-zA-Z0-9]+", "-")) .. reqParamsClass .. [[">
|
</table>
|
||||||
<h2 class="welcome-msg">Welcome <span class="username">]] .. TemplateRequest.Request.Username .. [[</span></h2>
|
</td>
|
||||||
|
<td valign="top" style='padding-left:25px;'>
|
||||||
<hr/>
|
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
|
||||||
|
<tbody>
|
||||||
<h3>]] .. SubTitle .. [[</h3>
|
<tr>
|
||||||
]] .. PageContent .. [[</div>
|
<td class="thead" colspan="2"><strong>]] .. SubTitle .. [[</strong></td>
|
||||||
<div class="clear"></div>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="trow2">]] .. PageContent .. [[</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<div class="upper">
|
||||||
|
<div class="wrapper">
|
||||||
|
<ul class="menu bottom_links">
|
||||||
|
<li><a href="http://www.mc-server.org" target="_blank">MCServer</a></li>
|
||||||
|
<li><a href="http://forum.mc-server.org" target="_blank">Forums</a></li>
|
||||||
|
<li><a href="http://builds.cuberite.org" target="_blank">Buildserver</a></li>
|
||||||
|
<li><a href="http://mc-server.xoft.cz/LuaAPI" target="_blank">API Documentation</a></li>
|
||||||
|
<li><a href="http://book.mc-server.org/" target="_blank">User's Manual</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="lower">
|
||||||
|
<div class="wrapper">
|
||||||
|
<span id="current_time"><strong>Current time:</strong> <script type="text/javascript">document.write('Time: <strong><span id="date-time">',new Date().toLocaleString(),"</span></strong>");if(document.getElementById){onload=function(){setInterval("document.getElementById ('date-time').firstChild.data = new Date().toLocaleString()",50)}};</script></span>
|
||||||
|
<span id="copyright">Copyright © <a href="http://www.mc-server.org" target="_blank">MCServer Team</a> 2014.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer"><div class="fleft">running MCServer using <span class="bold">]] .. MemoryUsageKiB / 1024 .. [[MB</span> of memory; <span class="bold">]] .. NumChunks .. [[</span> chunks</div><div class="fright">design by <a href="//www.github.com/WebFreak001">WebFreak001</a></div><div class="clear"></div></div>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|