diff options
author | RaindropsSys <contact@minteck.org> | 2023-07-02 14:21:32 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-07-02 14:21:32 +0200 |
commit | 95a5f6cde55a2a2c2fe847ef6c8f9e2d34eb3afd (patch) | |
tree | 5e84e3bf10fe7aef852480e8ea1e64e60dd99911 | |
parent | 21a19836332309ed2580d899d6e4767424345f0b (diff) | |
download | synccenter-95a5f6cde55a2a2c2fe847ef6c8f9e2d34eb3afd.tar.gz synccenter-95a5f6cde55a2a2c2fe847ef6c8f9e2d34eb3afd.tar.bz2 synccenter-95a5f6cde55a2a2c2fe847ef6c8f9e2d34eb3afd.zip |
Updated index.php and added .idea/vcs.xml (automated)
-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> |