diff --git a/res/webserver/authenticated.html b/res/webserver/authenticated.html index a88c3fc3..4b7527c3 100644 --- a/res/webserver/authenticated.html +++ b/res/webserver/authenticated.html @@ -1,91 +1,68 @@ - - - Game Server Diagnostics - - - - - -
-
-
- Resource Usage:
- -
-
- ${ONLINE_PLAYERS} -
- ${CHARACTER_INFO} -
-
-
- ${LOG} -
-
- - + + + + + ProjectSWG Server Management Interface + + + + + + + + + +
+
+ +
+ +
+
+
+ Resource Usage +
+
+ memory_usage +
+
+
 
+
+
+ ${ONLINE_PLAYER_COUNT} +
+
+ ${ONLINE_PLAYERS} +
+
+ ${CHARACTER_INFO} +
+
+
+
+
+
Server Log
+
+
+ ${LOG} +
+
+
+
+ + \ No newline at end of file diff --git a/res/webserver/charinfo.html b/res/webserver/charinfo.html new file mode 100644 index 00000000..f14a5f3c --- /dev/null +++ b/res/webserver/charinfo.html @@ -0,0 +1 @@ +${CHARACTER_INFO} \ No newline at end of file diff --git a/res/webserver/css/auth.css b/res/webserver/css/auth.css new file mode 100644 index 00000000..86436b61 --- /dev/null +++ b/res/webserver/css/auth.css @@ -0,0 +1,198 @@ +body, html { + width: 100%; + height: 100%; + color: #444; + font-family: Verdana, Geneva, sans-serif; + -webkit-font-smoothing: antialiased; + background: #f0f0f0; + margin:0; + padding:0; +} +.wrapper{ + min-height:100%; + height:100%; + margin:0 auto; +} +.content_wrapper { + color: #000000; + margin-left:20px; + margin-top: 20px; +} + + +.online_players_table { + width: 100%; + +} +.online_player_cell { + border: 1px solid #000; + padding-left: 3px; + + +} + +.memory_container { + background: #ecf2f5; + width: 650px; + height: 63px; + margin-top: 20px; + -webkit-border-top-left-radius: 40px; + -moz-border-top-left-radius: 40px; + border-top-left-radius: 40px; + -webkit-border-top-right-radius: 40px; + -moz-border-top-right-radius: 40px; + border-top-right-radius: 40px; + border-top:#000 1px solid; + border-bottom: #000 1px solid; + border-left:#000 1px solid; + border-right:#000 1px solid; + float:left; +} + +.memory_container{ + height:304px; +} + +.resoure_label{ + padding:20px; + text-transform: uppercase; + font-weight: bold; + font-style: italic; +} + +.resource_img{ + background: #ecf2f5; + padding-left: 12px; + border-left:#000 1px solid; + border-right:#000 1px solid; + border-bottom:#000 1px solid; + border-top:#000 1px solid; + margin-left:-1px; + width:638px; + padding-bottom: 10px; + padding-top:10px; +} + +.server_info { + background: #ecf2f5; + border-left: 1px solid #000; + border-right: 1px solid #000; + border-top: 1px solid #000; + border-bottom:1px solid #000; + border-top-left-radius: 40px; + border-top-right-radius: 40px; + float: left; + height: 305px; + margin-top: 20px; + width: 715px; + overflow: auto; +} + +.online_players_count{ + padding:20px; + border-bottom:#000 1px solid; + text-transform: uppercase; + font-weight: bold; + font-style: italic; +} + +.character_info{ + padding-left: 12px; + border-left:#000 1px solid; + border-right:#000 1px solid; + border-bottom:#000 1px solid; + margin-left:-1px; + width:702px; +} +.main_log{ + float: left; + //margin-top: 229px; + position: relative; + top: 23px; + width: 91%; +} + +.log_label{ + background: #ecf2f5; + width: 91%; + //margin-top: 20px; + -webkit-border-top-left-radius: 40px; + -moz-border-top-left-radius: 40px; + border-top-left-radius: 40px; + -webkit-border-top-right-radius: 40px; + -moz-border-top-right-radius: 40px; + border-top-right-radius: 40px; + border-top:#000 1px solid; + border-left:#000 1px solid; + border-right:#000 1px solid; + float:left; + padding:20px; + font-size:14px; + text-transform: uppercase; + font-weight: bold; + font-style: italic; + height:22px; +} + +.log_container{ + color: #000000; + font-size: 12px; + overflow: visible; + padding: 20px; + position: absolute; + border-left:#000 1px solid; + border-right:#000 1px solid; + border-bottom:#000 1px solid; + border-top:#000 1px solid; + width:91%; + background: #ecf2f5; +} + +.amount{ + font-style:normal; +} + +table{ + font-weight: normal; +} +table tbody{ + font-weight: normal; +} +table tbody tr{ + font-weight: normal; +} +table tbody tr th{ + font-weight: normal; +} +table tbody tr td{ + font-weight: normal; +} + +.dist{ + float:left; + width:30px; +} + +.header{ + height:70px; + width:100%; +/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ecf2f5+0,7db9e8+100,ecf2f5+100&1+0,1+21,1+62,0.7+68,0+100 */ +/* IE9 SVG, needs conditional override of 'filter' to 'none' */ +background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZWNmMmY1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMjElIiBzdG9wLWNvbG9yPSIjZWNmMmY1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNjIlIiBzdG9wLWNvbG9yPSIjZWNmMmY1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNjglIiBzdG9wLWNvbG9yPSIjZWNmMmY1IiBzdG9wLW9wYWNpdHk9IjAuNyIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZWNmMmY1IiBzdG9wLW9wYWNpdHk9IjAiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); +background: -moz-linear-gradient(-45deg, rgba(236,242,245,1) 0%, rgba(236,242,245,1) 21%, rgba(236,242,245,1) 62%, rgba(236,242,245,0.7) 68%, rgba(236,242,245,0) 100%); /* FF3.6+ */ +background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(236,242,245,1)), color-stop(21%,rgba(236,242,245,1)), color-stop(62%,rgba(236,242,245,1)), color-stop(68%,rgba(236,242,245,0.7)), color-stop(100%,rgba(236,242,245,0))); /* Chrome,Safari4+ */ +background: -webkit-linear-gradient(-45deg, rgba(236,242,245,1) 0%,rgba(236,242,245,1) 21%,rgba(236,242,245,1) 62%,rgba(236,242,245,0.7) 68%,rgba(236,242,245,0) 100%); /* Chrome10+,Safari5.1+ */ +background: -o-linear-gradient(-45deg, rgba(236,242,245,1) 0%,rgba(236,242,245,1) 21%,rgba(236,242,245,1) 62%,rgba(236,242,245,0.7) 68%,rgba(236,242,245,0) 100%); /* Opera 11.10+ */ +background: -ms-linear-gradient(-45deg, rgba(236,242,245,1) 0%,rgba(236,242,245,1) 21%,rgba(236,242,245,1) 62%,rgba(236,242,245,0.7) 68%,rgba(236,242,245,0) 100%); /* IE10+ */ +background: linear-gradient(135deg, rgba(236,242,245,1) 0%,rgba(236,242,245,1) 21%,rgba(236,242,245,1) 62%,rgba(236,242,245,0.7) 68%,rgba(236,242,245,0) 100%); /* W3C */ +filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf2f5', endColorstr='#00ecf2f5',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */ + +} + +.logo_small{ + background-image:url(../images/small_logo.png); + background-repeat:no-repeat; + background-position:50% 50%;"> + width: 500px; + height:70px; +} \ No newline at end of file diff --git a/res/webserver/css/style.css b/res/webserver/css/style.css index 033b570d..0e7525af 100644 --- a/res/webserver/css/style.css +++ b/res/webserver/css/style.css @@ -92,7 +92,7 @@ input[type=password] { width: 100%; height: 63px; margin-top: 20px; - box-shadow: inset 0 1px 1px #fff; + box-shadow: inset 0 1px 1px #fff; border-top: 1px solid #ccc; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; diff --git a/res/webserver/images/small_logo.png b/res/webserver/images/small_logo.png new file mode 100644 index 00000000..a5eef8e9 Binary files /dev/null and b/res/webserver/images/small_logo.png differ diff --git a/res/webserver/log.html b/res/webserver/log.html new file mode 100644 index 00000000..d8577344 --- /dev/null +++ b/res/webserver/log.html @@ -0,0 +1 @@ +${LOG} \ No newline at end of file diff --git a/res/webserver/memory.html b/res/webserver/memory.html new file mode 100644 index 00000000..82e24d86 --- /dev/null +++ b/res/webserver/memory.html @@ -0,0 +1 @@ +memory_usage \ No newline at end of file diff --git a/res/webserver/online.html b/res/webserver/online.html new file mode 100644 index 00000000..8dc03781 --- /dev/null +++ b/res/webserver/online.html @@ -0,0 +1 @@ +${ONLINE_PLAYERS} \ No newline at end of file diff --git a/res/webserver/playercount.html b/res/webserver/playercount.html new file mode 100644 index 00000000..879fffd3 --- /dev/null +++ b/res/webserver/playercount.html @@ -0,0 +1 @@ +${ONLINE_PLAYER_COUNT} \ No newline at end of file