Refine Screen tab: Move above Sensors, add translations
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
},
|
||||
"sidebar": {
|
||||
"home": "Home",
|
||||
"screen": "Screen",
|
||||
"sensors": "Sensors",
|
||||
"database": "Database",
|
||||
"modem4g": "4G Modem",
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
},
|
||||
"sidebar": {
|
||||
"home": "Accueil",
|
||||
"screen": "Écran",
|
||||
"sensors": "Capteurs",
|
||||
"database": "Base de données",
|
||||
"modem4g": "Modem 4G",
|
||||
|
||||
@@ -6,6 +6,16 @@
|
||||
</svg>
|
||||
<span data-i18n="sidebar.home">Accueil</span>
|
||||
</a>
|
||||
|
||||
<!-- Screen Control (Hidden by default) -->
|
||||
<a class="nav-link text-white nav-screen-item" href="screen.html" id="nav-screen" style="display: none;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-display"
|
||||
viewBox="0 0 16 16">
|
||||
<path
|
||||
d="M0 4s0-2 2-2h12s2 0 2 2v6s0 2-2 2h-4c0 .667.083 1.167.25 1.5H11a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1h.75c.167-.333.25-.833.25-1.5H2s-2 0-2-2V4zm1.398-.855a.758.758 0 0 0-.254.302A1.46 1.46 0 0 0 1 4.01V10c0 .325.078.502.145.602.07.105.17.188.302.254a1.464 1.464 0 0 0 .538.143L2.01 11H14c.325 0 .502-.078.602-.145a.758.758 0 0 0 .254-.302 1.464 1.464 0 0 0 .143-.538L15 9.99V4c0-.325-.078-.502-.145-.602a.757.757 0 0 0-.302-.254A1.46 1.46 0 0 0 13.99 3H2c-.325 0-.502.078-.602.145z" />
|
||||
</svg>
|
||||
<span data-i18n="sidebar.screen">Screen</span>
|
||||
</a>
|
||||
<a class="nav-link text-white" href="sensors.html">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-thermometer-sun"
|
||||
viewBox="0 0 16 16">
|
||||
@@ -77,15 +87,7 @@
|
||||
<span data-i18n="sidebar.admin">Admin</span>
|
||||
</a>
|
||||
|
||||
<!-- Screen Control (Hidden by default) -->
|
||||
<a class="nav-link text-white nav-screen-item" href="screen.html" id="nav-screen" style="display: none;">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-display"
|
||||
viewBox="0 0 16 16">
|
||||
<path
|
||||
d="M0 4s0-2 2-2h12s2 0 2 2v6s0 2-2 2h-4c0 .667.083 1.167.25 1.5H11a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1h.75c.167-.333.25-.833.25-1.5H2s-2 0-2-2V4zm1.398-.855a.758.758 0 0 0-.254.302A1.46 1.46 0 0 0 1 4.01V10c0 .325.078.502.145.602.07.105.17.188.302.254a1.464 1.464 0 0 0 .538.143L2.01 11H14c.325 0 .502-.078.602-.145a.758.758 0 0 0 .254-.302 1.464 1.464 0 0 0 .143-.538L15 9.99V4c0-.325-.078-.502-.145-.602a.757.757 0 0 0-.302-.254A1.46 1.46 0 0 0 13.99 3H2c-.325 0-.502.078-.602.145z" />
|
||||
</svg>
|
||||
<span data-i18n="sidebar.screen">Screen</span>
|
||||
</a>
|
||||
|
||||
|
||||
<!-- New content at the bottom -->
|
||||
<div class="sidebar-footer text-center text-white">
|
||||
|
||||
Reference in New Issue
Block a user