AY 4 лет назад
Родитель
Сommit
62d8a97e24

BIN
webroot/img/cpu.png


BIN
webroot/img/hyperxraft.png


+ 41 - 0
webroot/img/license.pdf

@@ -0,0 +1,41 @@
+License Certificate
+
+FREE LICENSE (WITH ATTRIBUTION)
+
+This license allows you to use for free any of Flaticon contents for your projects as long as they are attributed to their
+author in the definitive project.
+
+How to attribute contents?
+
+        For web usage: By placing a link with the text "designed by {Author's Name} from Flaticon" in a visible spot, so the
+        author's authorship is noticeable
+        Uses different to web: If possible, the text "designed by {Author's Name} from Flaticon" must be written next to
+        Flaticon Contents, if it's not possible, the attribution must be placed in the credits or acknowledgements section
+
+   Where you can use Flaticon's content*:
+
+        Website.
+        Software, applications, mobile, Multimedia.
+        Printed and digital media (magazines, newspapers, books, cards, labels, CD, television, video, e-mail).
+        Advertisement and promotional items.
+        Presentation of products and public events.
+
+   What you CAN DO:
+
+        You have the non-exclusive, non-transferable, non-sublicensable right to use the licensed material an unlimited
+        number of times in any and all media for the commercial or personal purposes listed above.
+        You may alter and create derivative works.
+        You can use Flaticon's Contents during the rights period world widely.
+
+   What you CANNOT DO:
+
+        Sublicense, sell or rent any contents (or a modified version of them)
+        Distribute Flaticon Contents unless it has been expressly authorized by Flaticon
+        Offering Flaticon Contents designs (or modified Flaticon Contents versions) for download
+* The complete content of licenses can be consulted in the Terms of Use, that will prevail over the content of this
+document.
+www.flaticon.com/terms-of-use
+
+   Freepik Company, S.L Commercial Registry of Málaga, volume 4994, sheet 217, page number MA-113059, with Tax
+              Number B-93183366 and registered office at 13 Molina Lario Street, 5th floor, 29015 Málaga, Spain.
+

BIN
webroot/img/minecraft.png


BIN
webroot/img/ram.png


+ 64 - 0
webroot/index.html

@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <!-- Standard Meta -->
+    <meta charset="utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+
+    <!-- Site Properties -->
+    <title>Minecraft Server</title>
+
+    <script src="https://code.jquery.com/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
+    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
+    <style>
+        html {
+            overflow: hidden;
+            height: 100%;
+        }
+        
+        body {
+            background-color: #fcfcfc;
+            overflow: hidden !important;
+            height: 100%;
+        }
+        
+        iframe {
+            border: none;
+        }
+    </style>
+</head>
+
+<body>
+
+    <div class="ui top attached tabular menu">
+        <a class="item active" data-tab="1">Info</a>
+        <a class="item" data-tab="2">Players</a>
+        <a class="item" data-tab="3">Start</a>
+        <a class="item" data-tab="4">Log</a>
+        <a class="item" data-tab="5">Setting</a>
+    </div>
+    <div class="ui bottom attached tab segment active" style="height:100%;width:100%" data-tab="1">
+        <iframe src="info.html" style="height:100%;width:100%" title=""></iframe>
+    </div>
+    <div class="ui bottom attached tab segment" style="height:100%;width:100%" data-tab="2">
+        <iframe src="players.html" style="height:100%;width:100%" title=""></iframe>
+    </div>
+    <div class="ui bottom attached tab segment" style="height:100%;width:100%" data-tab="3">
+        <iframe src="start.html" style="height:100%;width:100%" title=""></iframe>
+    </div>
+    <div class="ui bottom attached tab segment" style="height:100%;width:100%" data-tab="4">
+        <iframe src="log.html" style="height:100%;width:100%" title=""></iframe>
+    </div>
+    <div class="ui bottom attached tab segment" style="height:100%;width:100%" data-tab="5">
+        <iframe src="setting.html" style="height:100%;width:100%" title=""></iframe>
+    </div>
+    <script>
+        $('.menu .item')
+            .tab();
+    </script>
+</body>
+
+</html>

+ 86 - 0
webroot/info.html

@@ -0,0 +1,86 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <!-- Standard Meta -->
+    <meta charset="utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+
+    <!-- Site Properties -->
+    <title>Minecraft Server</title>
+
+    <script src="https://code.jquery.com/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
+    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
+</head>
+
+<body>
+    <div class="ui clearing basic segment">
+        <h2 class="ui dividing header"><img src="img/minecraft.png" style="height:45px;width:auto;" alt="Minecraft icon" />Minecraft Server</h2>
+    </div>
+    <div class="ui clearing basic segment">
+        <div class="left floated ui basic segment">
+            <span style="font-size:18px;">Service started at 2020-01-01T00:00:00.</span>
+        </div>
+        <div class="right floated ui buttons">
+            <button class="positive ui button">Start</button>
+            <button class="yellow ui button">Stop</button>
+            <button class="orange ui button">Kick All</button>
+            <button class="negative ui button">Kill</button>
+        </div>
+        <br><br>
+        <div class="ui divider"></div>
+    </div>
+    <div class="ui clearing basic segment">
+        <div class="ui massive horizontal list">
+            <div class="item">
+                <img class="ui avatar image" style="border-radius: 0 !important" alt="cpu" src="/img/cpu.png">
+                <div class="content">
+                    <p class="header">CPU Usage</p>
+                    <div class="description">
+                        <div class="ui small progress">
+                            <div class="bar"></div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="item">
+                <img class="ui avatar image" style="border-radius: 0 !important" alt="ram" src="/img/ram.png">
+                <div class="content">
+                    <p class="header">RAM Usage</p>
+                    <div class="description">
+                        <div class="ui small progress">
+                            <div class="bar"></div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+        <div class="ui divider"></div>
+
+    </div>
+    <div class="ui clearing basic segment">
+        <div class="ui grid">
+            <div class="sixteen wide column">
+                <h3>Online player(s) (0/99)</h3>
+            </div>
+            <div class="four wide column">
+
+                <div class="ui massive horizontal list">
+                    <div class="item">
+                        <img class="ui avatar image" style="border-radius: 0 !important" alt="hyperxraft" src="/img/hyperxraft.png">
+                        <div class="content">
+                            <p>HyperXraft</p>
+                        </div>
+                    </div>
+                </div>
+
+            </div>
+            <div class="four wide column"></div>
+        </div>
+    </div>
+
+</body>
+
+</html>

+ 31 - 0
webroot/log.html

@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <!-- Standard Meta -->
+    <meta charset="utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+
+    <!-- Site Properties -->
+    <title>Minecraft Server</title>
+
+    <script src="https://code.jquery.com/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
+    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
+</head>
+
+<body>
+    <div class="ui form">
+        <div class="field">
+            <textarea rows="30"></textarea>
+        </div>
+    </div>
+    <br>
+    <div class="ui fluid action input">
+        <input type="text" placeholder="Command here (e.g. give @a minecraft:wooden_axe)">
+        <div class="ui button">Send</div>
+    </div>
+</body>
+
+</html>

+ 41 - 0
webroot/players.html

@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <!-- Standard Meta -->
+    <meta charset="utf-8" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
+
+    <!-- Site Properties -->
+    <title>Minecraft Server</title>
+
+    <script src="https://code.jquery.com/jquery-3.1.1.min.js" crossorigin="anonymous"></script>
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
+    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
+</head>
+
+<body>
+    <div class="ui divided items">
+        <div class="item">
+            <div class="ui mini image">
+                <img alt="hyperxraft" src="/img/hyperxraft.png">
+            </div>
+            <div class="content">
+                <div class="header">HyperXraft</div>
+                <div class="meta">
+                    <span>UUID</span>
+                </div>
+            </div>
+            <div class="ui right floated buttons">
+                <button class="ui green button">Op</button>
+                <button class="ui yellow button">De-Op</button>
+                <button class="ui orange button">Kick</button>
+                <button class="ui red button">Ban</button>
+
+            </div>
+        </div>
+    </div>
+</body>
+
+</html>