Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/uds/static/admin/translations-fakejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,18 @@ gettext("Logs");
gettext("Ok");
gettext("Summary");
gettext("Servers");
gettext("License information");
gettext("UDS ID");
gettext("Brand");
gettext("Support level");
gettext("Licensed users");
gettext("Model");
gettext("Total users");
gettext("Users with services");
gettext("Assigned services");
gettext("Start date");
gettext("End date");
gettext("Close");
gettext("Updated");
gettext("License expired");
gettext("License expires in");
Expand Down Expand Up @@ -478,18 +490,6 @@ gettext("assigned");
gettext("View service pools");
gettext("restrained services");
gettext("View service pools");
gettext("License information");
gettext("UDS ID");
gettext("Brand");
gettext("Support level");
gettext("Licensed users");
gettext("Model");
gettext("Total users");
gettext("Users with services");
gettext("Assigned services");
gettext("Start date");
gettext("End date");
gettext("Close");
gettext("Summary");
gettext("Users");
gettext("Groups");
Expand Down
6 changes: 3 additions & 3 deletions src/uds/static/modern/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/uds/static/modern/styles.css

Large diffs are not rendered by default.

116 changes: 58 additions & 58 deletions src/uds/static/modern/translations-fakejs.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
// "Fake" javascript file for translations
// Typescript
gettext("Launching service");
gettext("Invalid UDS URL");
gettext("Please wait until the service is launched.");
gettext("Remember that you will need the UDS client on your platform to access the service.");
gettext("Service ready");
gettext("UDS Client not launching");
gettext("It seems that you don't have UDS Client installed. Please, install it from here:");
gettext("UDS Client Download");
gettext("Service ready");
gettext("Launching UDS Client...</br>Please wait.");
gettext("Please wait until the service is launched.");
gettext("Remember that you will need the UDS client on your platform to access the service.");
gettext("Error communicating with your service. Please, retry again.");
gettext("Your session has expired. Please, login again");
gettext("Error");
gettext("We use cookies to authenticate users and remember preferences.");
gettext("If you do not agree, please");
gettext("leave this site");
Expand All @@ -23,19 +8,10 @@ gettext("Refuse and leave");
gettext("I Accept");
gettext("Learn more");
gettext("Cookie Policy");
gettext("Favorites");
gettext("Warning");
gettext("Service is in maintenance and cannot be executed");
gettext("Errors found");
gettext("Biometric Login");
gettext("Would you like to save your credentials for future biometric login?");
gettext("Error");
gettext("Could not register biometrics");
gettext("Errors found");
gettext("seconds");
gettext("Username");
gettext("Password");
gettext("Domain");
gettext("seconds");
gettext("Service is in maintenance");
gettext("This service is currently not accessible due to schedule restrictions.");
gettext("Launcher");
Expand All @@ -48,55 +24,79 @@ gettext("Reset service: ");
gettext("Service released");
gettext("Service reseted");
gettext("Are you sure?");
gettext("Favorites");
gettext("Warning");
gettext("Service is in maintenance and cannot be executed");
gettext("Errors found");
gettext("Errors found");
gettext("Biometric Login");
gettext("Would you like to save your credentials for future biometric login?");
gettext("Error");
gettext("Could not register biometrics");
gettext("Launching service");
gettext("Invalid UDS URL");
gettext("Please wait until the service is launched.");
gettext("Remember that you will need the UDS client on your platform to access the service.");
gettext("Service ready");
gettext("UDS Client not launching");
gettext("It seems that you don't have UDS Client installed. Please, install it from here:");
gettext("UDS Client Download");
gettext("Service ready");
gettext("Launching UDS Client...</br>Please wait.");
gettext("Please wait until the service is launched.");
gettext("Remember that you will need the UDS client on your platform to access the service.");
gettext("Error communicating with your service. Please, retry again.");
gettext("Your session has expired. Please, login again");
gettext("Error");
// HTML
gettext("Close");
gettext("Yes");
gettext("No");
gettext("Please, enter access credentials");
gettext("Release service");
gettext("Reset service");
gettext("Connections");
gettext("Actions");
gettext("Filter");
gettext("Information");
gettext("Client IP");
gettext("Client IP");
gettext("Detected proxy ip");
gettext("Transports");
gettext("UDS transports for this client");
gettext("Networks");
gettext("UDS networks for this IP");
gettext("Groups");
gettext("UDS groups for this user");
gettext("Dashboard");
gettext("Downloads");
gettext("Logout");
gettext("{{ api.isDarkTheme ? 'Light theme' : 'Dark theme' }}");
gettext("UDS Client");
gettext("Download UDS client for your platform");
gettext("About");
gettext("UDS Client");
gettext("About");
gettext("UDS Service launcher");
gettext("The service you have requested is being launched.");
gettext("Please, note that reloading this page will not work.");
gettext("To relaunch service, you will have to do it from origin.");
gettext("If the service does not launchs automatically, probably you dont have the UDS Client installed");
gettext("You can obtain it from the");
gettext("UDS Client download page");
gettext("Downloads");
gettext("Always download the UDS actor matching your platform");
gettext("UDS Client");
gettext("Download UDS client for your platform");
gettext("You can access UDS Open Source code at");
gettext("UDS has been developed using these components:");
gettext("If you find that we missed any component, please let us know");
gettext("Downloads");
gettext("Always download the UDS actor matching your platform");
gettext("An error has occurred");
gettext("Return");
gettext("Login Verification");
gettext("Remember me for");
gettext("Submit");
gettext("Username");
gettext("Password");
gettext("Authenticator");
gettext("Login");
gettext("Login with Biometrics");
gettext("Login Verification");
gettext("Remember me for");
gettext("Submit");
gettext("Dashboard");
gettext("Downloads");
gettext("Logout");
gettext("{{ api.isDarkTheme ? 'Light theme' : 'Dark theme' }}");
gettext("UDS Client");
gettext("About");
gettext("UDS Client");
gettext("About");
gettext("Please, enter access credentials");
gettext("Close");
gettext("Yes");
gettext("No");
gettext("Information");
gettext("Client IP");
gettext("Client IP");
gettext("Detected proxy ip");
gettext("Transports");
gettext("UDS transports for this client");
gettext("Networks");
gettext("UDS networks for this IP");
gettext("Groups");
gettext("UDS groups for this user");
gettext("Filter");
gettext("Release service");
gettext("Reset service");
gettext("Connections");
gettext("Actions");
15 changes: 14 additions & 1 deletion src/uds/templates/uds/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
height: 100%;
}

/* Dark loading background: avoids the white flash when navigating in dark mode */
html.dark-theme,
html.dark-theme body {
background-color: #0f111a;
}

.app-loading {
position: relative;
display: flex;
Expand Down Expand Up @@ -75,6 +81,13 @@

<!-- just in case translations cannot be loaded, provide a fallback -->
<script type="text/javascript">
// Apply the stored theme before first paint to avoid the white flash
try {
if (localStorage.getItem('blackTheme') === 'true') {
document.documentElement.classList.add('dark-theme');
}
} catch (e) { /* localStorage unavailable */ }

django = {
gettext: function (s) {
return s;
Expand All @@ -101,6 +114,6 @@
</svg>
</div>
</uds-root>
<link rel="modulepreload" href="/uds/res/admin/chunk-4DTB3P4O.js?stamp=1779442788" integrity="sha384-gdNoIYDAixtoBX/GRVuVSRXdl8cXt8r/eRbf51/Rst7u92L8TkuZxd+S1QdPtX/B"><script src="/uds/res/admin/polyfills.js?stamp=1779442788" type="module" crossorigin="anonymous" integrity="sha384-Lov2zvNCUYj+QLZdfWW9mQb0bbObGhI6HGUI01dSPKR5uEce7CSjGPJFdCm8ZySE"></script><script src="/uds/res/admin/main.js?stamp=1779442788" type="module" crossorigin="anonymous" integrity="sha384-ZY2vWIXAgu+/uVVIVH8jvHesJ3ST46TH3KFmkyyScyLL6E1t6Tg/qzPixK/a0LH2"></script></body>
<link rel="modulepreload" href="/uds/res/admin/chunk-4DTB3P4O.js?stamp=1779459056" integrity="sha384-gdNoIYDAixtoBX/GRVuVSRXdl8cXt8r/eRbf51/Rst7u92L8TkuZxd+S1QdPtX/B"><script src="/uds/res/admin/polyfills.js?stamp=1779459056" type="module" crossorigin="anonymous" integrity="sha384-Lov2zvNCUYj+QLZdfWW9mQb0bbObGhI6HGUI01dSPKR5uEce7CSjGPJFdCm8ZySE"></script><script src="/uds/res/admin/main.js?stamp=1779459056" type="module" crossorigin="anonymous" integrity="sha384-ZY2vWIXAgu+/uVVIVH8jvHesJ3ST46TH3KFmkyyScyLL6E1t6Tg/qzPixK/a0LH2"></script></body>

</html>
17 changes: 15 additions & 2 deletions src/uds/templates/uds/modern/index.html

Large diffs are not rendered by default.

Loading