diff options
-rw-r--r-- | .idea/vcs.xml | 6 | ||||
-rw-r--r-- | index.php | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="" vcs="Git" /> + </component> +</project>
\ No newline at end of file @@ -3,12 +3,18 @@ <html lang="en"> <head> <meta charset="UTF-8"> - <meta name="viewport" - content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> + <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Synccenter</title> <link rel="stylesheet" href="/assets/bootstrap.css"> <script src="/assets/bootstrap.min.js"></script> + <style> + @media (max-width: 700px) { + .nav-item.hide-mobile { + display: none; + } + } + </style> </head> <body style="overflow: hidden;"> <ul class="nav nav-tabs"> @@ -16,7 +22,7 @@ <a class="nav-link active" data-tab-id="home" aria-current="page" href="#/home">Home</a> </li> <?php $nodes = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/nodes.json"), true); foreach ($nodes as $name => $data): ?> - <li class="nav-item"> + <li class="nav-item hide-mobile"> <a class="nav-link" data-tab-id="<?= $name ?>" href="#/<?= $name ?>"> <span id="status-<?= $name ?>" class="bg-secondary" style="border-radius: 999px; display: inline-block; width: 8px; height: 8px; position: relative; top: -2px;"></span> <span><?= $data[0] ?></span> |