Refine Screen tab: Move above Sensors, add translations
This commit is contained in:
@@ -52,6 +52,7 @@
|
|||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"home": "Home",
|
"home": "Home",
|
||||||
|
"screen": "Screen",
|
||||||
"sensors": "Sensors",
|
"sensors": "Sensors",
|
||||||
"database": "Database",
|
"database": "Database",
|
||||||
"modem4g": "4G Modem",
|
"modem4g": "4G Modem",
|
||||||
@@ -109,4 +110,4 @@
|
|||||||
"refresh": "Refresh",
|
"refresh": "Refresh",
|
||||||
"clear": "Clear"
|
"clear": "Clear"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
},
|
},
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"home": "Accueil",
|
"home": "Accueil",
|
||||||
|
"screen": "Écran",
|
||||||
"sensors": "Capteurs",
|
"sensors": "Capteurs",
|
||||||
"database": "Base de données",
|
"database": "Base de données",
|
||||||
"modem4g": "Modem 4G",
|
"modem4g": "Modem 4G",
|
||||||
|
|||||||
@@ -6,6 +6,16 @@
|
|||||||
</svg>
|
</svg>
|
||||||
<span data-i18n="sidebar.home">Accueil</span>
|
<span data-i18n="sidebar.home">Accueil</span>
|
||||||
</a>
|
</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">
|
<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"
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-thermometer-sun"
|
||||||
viewBox="0 0 16 16">
|
viewBox="0 0 16 16">
|
||||||
@@ -77,15 +87,7 @@
|
|||||||
<span data-i18n="sidebar.admin">Admin</span>
|
<span data-i18n="sidebar.admin">Admin</span>
|
||||||
</a>
|
</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 -->
|
<!-- New content at the bottom -->
|
||||||
<div class="sidebar-footer text-center text-white">
|
<div class="sidebar-footer text-center text-white">
|
||||||
|
|||||||
Reference in New Issue
Block a user