Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Die Einstellungen für den Administratoradapter",
|
||||
"Authentication was deactivated": "Die Authentifizierung wurde deaktiviert",
|
||||
"Authentication:": "Authentifikation",
|
||||
"Auto update:": "Auf Updates prüfen",
|
||||
"Background": "Hintergrund",
|
||||
"Background color of the login screen": "Hintergrundfarbe des Anmeldebildschirms",
|
||||
"Background image": "Hintergrundbild",
|
||||
"Cache:": "Puffer",
|
||||
"Chained certificate:": "Verkettetes Zertifikat",
|
||||
"Disable authentication": "Authentifizierung deaktivieren",
|
||||
"Enabled:": "Aktiviert",
|
||||
"Events threshold value:": "Ereignisschwellenwert",
|
||||
"Hide logo": "Logo ausblenden",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Warnung ignorieren",
|
||||
"Let's Encrypt settings": "Let's Encrypt Einstellungen",
|
||||
"Listen on all IPs": "Auf allen IP Adressen hören",
|
||||
"Login timeout(sec):": "Login Timeout(Sek)",
|
||||
"Own motto": "Eigenes Motto",
|
||||
"Port to check the domain:": "Port um die Domain zu prüfen",
|
||||
"Port:": "Port",
|
||||
"Private certificate:": "Privates Zertifikat",
|
||||
"Public certificate:": "Öffentliches Zertifikat",
|
||||
"Run as:": "Ausführen als",
|
||||
"Secure(HTTPS):": "Verschlüsselung (HTTPS) benutzen",
|
||||
"Set certificates or load it first in the system settings (right top).": "Setze Zertifikate oder installiere diese erst in den Systemeinstellungen (oben rechts).",
|
||||
"Unsecure_Auth": "Das Passwort wird über unsichere Verbindung gesendet. Um Ihre Passwörter zu schützen, aktivieren Sie die sichere Verbindung (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Let's Encrypt Zertifikate benutzen",
|
||||
"Use this instance for automatic update:": "Benutze diese Instanz für automatische Updates",
|
||||
"Warning!": "Warnung!",
|
||||
"every 12 hours": "alle 12 Stunden",
|
||||
"every 2 days": "alle 2 Tage",
|
||||
"every 2 weeks": "alle 2 Wochen",
|
||||
"every 3 days": "alle 3 Tage",
|
||||
"every day": "jeden Tag",
|
||||
"every week": "jede Woche",
|
||||
"manually": "manuell",
|
||||
"monthly": "monatlich",
|
||||
"place here": "Platziere die Dateien hier",
|
||||
"tooltip_auth": "Prüfe Login und Kennwort beim Öffnen. Man kann die Anwender im Benutzer-Reiter anlegen",
|
||||
"tooltip_autoUpdate": "Prüfe regelmässig auf Adapter-Updates",
|
||||
"tooltip_bind": "IP Addresse, die vom Adminadapter benutzt wird",
|
||||
"tooltip_cache": "Aktiviere den Browser-Cache.",
|
||||
"tooltip_certChained": "Verkettetes Zertifikat. Bitte zuerst im Systemeinstellungs-Dialog konfigurieren.",
|
||||
"tooltip_certPrivate": "Privates Zertifikat. Bitte zuerst im Systemeinstellungs-Dialog konfigurieren.",
|
||||
"tooltip_certPublic": "Öffentliches Zertifikat. Bitte zuerst im Systemeinstellungs-Dialog konfigurieren.",
|
||||
"tooltip_defaultUser": "Diesen Anwender für das automatische Login benutzen.",
|
||||
"tooltip_leEnabled": "Benutze Let's Encrypt Zertifikate",
|
||||
"tooltip_lePort": "Port für Challenge-Server. Let's Encrypt kann nur auf dem Port 80 arbeiten. Bei bestimmten Einstellungen im Router, man kann den Server auf einem beliebigen Port betreiben.",
|
||||
"tooltip_leUpdate": "Benutze diese Instanz um die Let's Encrypt Zertifikate alle 3 Monate upzudaten.",
|
||||
"tooltip_port": "Port für die Admin-Seite. Der Port muss frei sein. Unter Linux dürfen nicht root-Anwender nur die Ports über 1000 benutzen.",
|
||||
"tooltip_secure": "SSL Verschlüsselung aktivieren. Admin-Oberfläche wird unter https:// und nicht mehr unter http:// erreichbar.",
|
||||
"tooltip_thresholdValue": "Wenn der Browser in 3 Sekunden zu viele Ereignisse empfängt, wird das Update beendet",
|
||||
"tooltip_ttl": "Nach diese Zeit wird ein inaktiver Benutzer ausgeloggt.",
|
||||
"users permissions": "Anwenderrechte"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "The settings for the admin adapter",
|
||||
"Authentication was deactivated": "Authentication was deactivated",
|
||||
"Authentication:": "Authentication",
|
||||
"Auto update:": "Check for updates",
|
||||
"Background": "Background",
|
||||
"Background color of the login screen": "Background color of the login screen",
|
||||
"Background image": "Background image",
|
||||
"Cache:": "Cache",
|
||||
"Chained certificate:": "Chained certificate",
|
||||
"Disable authentication": "Disable authentication",
|
||||
"Enabled:": "Enabled",
|
||||
"Events threshold value:": "Events threshold value",
|
||||
"Hide logo": "Hide logo",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Ignore warning",
|
||||
"Let's Encrypt settings": "Let's Encrypt settings",
|
||||
"Listen on all IPs": "Listen on all IPs",
|
||||
"Login timeout(sec):": "Login timeout(sec)",
|
||||
"Own motto": "Own motto",
|
||||
"Port to check the domain:": "Port to check the domain",
|
||||
"Port:": "Port",
|
||||
"Private certificate:": "Private certificate",
|
||||
"Public certificate:": "Public certificate",
|
||||
"Run as:": "Run as",
|
||||
"Secure(HTTPS):": "Secure(HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Set certificates or load it first in the system settings (right top).",
|
||||
"Unsecure_Auth": "The password will be sent via unsecure connection. To protect your passwords enable the secure connection (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Use Let's Encrypt certificates",
|
||||
"Use this instance for automatic update:": "Use this instance for automatic update",
|
||||
"Warning!": "Warning!",
|
||||
"every 12 hours": "every 12 hours",
|
||||
"every 2 days": "every 2 days",
|
||||
"every 2 weeks": "every 2 weeks",
|
||||
"every 3 days": "every 3 days",
|
||||
"every day": "every day",
|
||||
"every week": "every week",
|
||||
"manually": "manually",
|
||||
"monthly": "monthly",
|
||||
"place here": "place the files here",
|
||||
"tooltip_auth": "Require a login and a password to access the admin page. This can be managed on the users tab.",
|
||||
"tooltip_autoUpdate": "Check periodically for updates of adapter",
|
||||
"tooltip_bind": "IP address where the admin will listen on",
|
||||
"tooltip_cache": "Browser cache enabled.",
|
||||
"tooltip_certChained": "Chained certificate. Root certificate + Public certificate. Please manage it in the system configs.",
|
||||
"tooltip_certPrivate": "Private certificate. Please manage it in the system configs.",
|
||||
"tooltip_certPublic": "Public certificate. Please manage it in the system configs.",
|
||||
"tooltip_defaultUser": "Auto-login with this user",
|
||||
"tooltip_leEnabled": "Use Let's Encrypt certificates",
|
||||
"tooltip_lePort": "Port for challenge server. Let's Encrypt supports only port 80, but with corresponding settings in your router, any port can be used",
|
||||
"tooltip_leUpdate": "This instance will update Let's Encrypt certificates every 3 months",
|
||||
"tooltip_port": "Port for admin interface. It must be available. If running on linux with no root you cannot use ports below 1000.",
|
||||
"tooltip_secure": "Enable SSL protocol. Admin will be available via https:// and not http://",
|
||||
"tooltip_thresholdValue": "If the browser receives too many events in 3 seconds, refresh will be stopped",
|
||||
"tooltip_ttl": "Login timeout. After this time the user will be automatically logged off.",
|
||||
"users permissions": "Users permissions"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Le impostazioni per l'adattatore di amministrazione",
|
||||
"Authentication was deactivated": "La autenticación fue desactivada",
|
||||
"Authentication:": "autenticazione",
|
||||
"Auto update:": "Ver actualizaciones",
|
||||
"Background": "Fondo",
|
||||
"Background color of the login screen": "Color de fondo de la pantalla de inicio de sesión",
|
||||
"Background image": "Imagen de fondo",
|
||||
"Cache:": "Buffer",
|
||||
"Chained certificate:": "Certificado encadenado",
|
||||
"Disable authentication": "Deshabilitar autenticación",
|
||||
"Enabled:": "Habilitado",
|
||||
"Events threshold value:": "Valor de umbral de eventos",
|
||||
"Hide logo": "Ocultar logo",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Ignorar advertencia",
|
||||
"Let's Encrypt settings": "Configuración de Let's Encrypt",
|
||||
"Listen on all IPs": "Escuchar en todas las direcciones IP",
|
||||
"Login timeout(sec):": "Tiempo de espera de inicio de sesión (seg)",
|
||||
"Own motto": "Propio lema",
|
||||
"Port to check the domain:": "Puerto para comprobar el dominio",
|
||||
"Port:": "Porta",
|
||||
"Private certificate:": "Certificado privado",
|
||||
"Public certificate:": "Certificado público",
|
||||
"Run as:": "Ejecutar como",
|
||||
"Secure(HTTPS):": "Codificación (HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Establezca certificados o cargue primero la configuración del sistema (parte superior derecha).",
|
||||
"Unsecure_Auth": "La contraseña se enviará a través de una conexión no segura. Para proteger sus contraseñas, ¡habilite la conexión segura (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Usa certificados Let's Encrypt",
|
||||
"Use this instance for automatic update:": "Utilice esta instancia para la actualización automática",
|
||||
"Warning!": "¡Advertencia!",
|
||||
"every 12 hours": "cada 12 horas",
|
||||
"every 2 days": "cada 2 días",
|
||||
"every 2 weeks": "cada 2 semanas",
|
||||
"every 3 days": "cada 3 días",
|
||||
"every day": "todos los días",
|
||||
"every week": "todas las semanas",
|
||||
"manually": "a mano",
|
||||
"monthly": "mensual",
|
||||
"place here": "coloca los archivos aquí",
|
||||
"tooltip_auth": "Compruebe el nombre de usuario y la contraseña para acceder a la página de administración. Puede configurarlo en la página de los usuarios.",
|
||||
"tooltip_autoUpdate": "Compruebe las actualizaciones del adaptador con regularidad",
|
||||
"tooltip_bind": "Dirección IP, donde se ejecutará el administrador",
|
||||
"tooltip_cache": "Buffer del navegador activado.",
|
||||
"tooltip_certChained": "Certificado encadenado. Certificado de root + Certificado público. Configurarlo en la configuración del sistema.",
|
||||
"tooltip_certPrivate": "Certificado privado. Configurarlo en la configuración del sistema.",
|
||||
"tooltip_certPublic": "Certificado público. Configurarlo en la configuración del sistema.",
|
||||
"tooltip_defaultUser": "Auto-login con este usuario",
|
||||
"tooltip_leEnabled": "Utilice los certificados Let's Encrypt",
|
||||
"tooltip_lePort": "Puerto para Challenge-Server. Let's Encrypt sólo soporta el puerto 80, pero con el router puede utilizar cualquier puerto.",
|
||||
"tooltip_leUpdate": "Esta instancia actualizará Let's Encrypt certificados cada 3 meses",
|
||||
"tooltip_port": "Puerto para la interfaz de administración. Tiene que estar disponible. Si se ejecuta en linux sin root, no puede utilizar puertos por debajo de 1000.",
|
||||
"tooltip_secure": "Habilite el protocolo SSL. El administrador estará disponible a través de https: // y no http: //",
|
||||
"tooltip_thresholdValue": "Si el explorador recibe muchos eventos en 3 segundos, se detiene la actualización",
|
||||
"tooltip_ttl": "Tiempo de espera de inicio de sesión. Después de ese tiempo, el usuario se desconectar automáticamente.",
|
||||
"users permissions": "permisos de usuario"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Configuration de l'adaptateur d'administration",
|
||||
"Authentication was deactivated": "L'authentification a été désactivée",
|
||||
"Authentication:": "Authentification",
|
||||
"Auto update:": "Vérifier les mises à jour",
|
||||
"Background": "Contexte",
|
||||
"Background color of the login screen": "Couleur d'arrière-plan de l'écran de connexion",
|
||||
"Background image": "Image de fond",
|
||||
"Cache:": "Cache",
|
||||
"Chained certificate:": "Certificat chaîné",
|
||||
"Disable authentication": "Désactiver l'authentification",
|
||||
"Enabled:": "Activée",
|
||||
"Events threshold value:": "Valeur seuil pour les événements",
|
||||
"Hide logo": "Masquer le logo",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Ignorer l'avertissement",
|
||||
"Let's Encrypt settings": "Paramètres Let's Encrypt",
|
||||
"Listen on all IPs": "Écouter sur toutes les adresses IP",
|
||||
"Login timeout(sec):": "Délai d'attente de connexion (s)",
|
||||
"Own motto": "Propre devise",
|
||||
"Port to check the domain:": "Port pour vérifier le domaine",
|
||||
"Port:": "Port",
|
||||
"Private certificate:": "Certificat privé",
|
||||
"Public certificate:": "Certificat public",
|
||||
"Run as:": "Executer en tant que",
|
||||
"Secure(HTTPS):": "Connexion sécurisée (HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Définissez des certificats ou chargez-les d'abord dans les paramètres du système (en haut à droite).",
|
||||
"Unsecure_Auth": "Le mot de passe sera envoyé via une connexion non sécurisée. Pour protéger vos mots de passe, activez la connexion sécurisée (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Utiliser les certificats Let's Encrypt",
|
||||
"Use this instance for automatic update:": "Utiliser cette instance pour la mise à jour automatique",
|
||||
"Warning!": "Attention!",
|
||||
"every 12 hours": "toutes les 12 heures",
|
||||
"every 2 days": "tous les 2 jours",
|
||||
"every 2 weeks": "toutes les 2 semaines",
|
||||
"every 3 days": "tous les 3 jours",
|
||||
"every day": "tous les jours",
|
||||
"every week": "toutes les semaines",
|
||||
"manually": "manuellement",
|
||||
"monthly": "mensuel",
|
||||
"place here": "Placez les fichiers ici",
|
||||
"tooltip_auth": "Utiliser un identifiant et un mot de passe pour accéder à la page d'administration. Vous pouvez les gérer sur l'onglet des utilisateurs.",
|
||||
"tooltip_autoUpdate": "Vérifier periodiquement les mises à jour",
|
||||
"tooltip_bind": "Adresse IP, où l'administrateur s'exécutera",
|
||||
"tooltip_cache": "Activer la cache du navigateur",
|
||||
"tooltip_certChained": "Certificat chaîné. Certificat racine + Certificat public. Veuillez le gérer dans les configs du système.",
|
||||
"tooltip_certPrivate": "Certificat privé Veuillez le gérer dans les configs du système.",
|
||||
"tooltip_certPublic": "Certificat public. Veuillez le gérer dans les configs du système.",
|
||||
"tooltip_defaultUser": "Connexion automatique avec cet utilisateur",
|
||||
"tooltip_leEnabled": "Utiliser les certificats Let's Encrypt",
|
||||
"tooltip_lePort": "Port pour le serveur de challenge. Let's Encrypt ne supporte que le port 80, mais avec certaines configurations du routeur, vous pouvez utiliser n'importe quel port",
|
||||
"tooltip_leUpdate": "Cette instance mettra à jour les certificats Let's Encrypt tous les 3 mois",
|
||||
"tooltip_port": "Port pour l'interface d'administration. Il doit être disponible. Les utilisateurs non-adminstratifs ne peuvent pas utiliser les ports inférieurs à 1000.",
|
||||
"tooltip_secure": "Activer le protocole SSL. L'administration sera disponible uniquement via https:// et non http://",
|
||||
"tooltip_thresholdValue": "Si le navigateur reçoit trop d'événements en 3 secondes, la mise à jour sera arrêtée",
|
||||
"tooltip_ttl": "Passé ce délai, l'utilisateur sera automatiquement déconnecté.",
|
||||
"users permissions": "Autorisations des utilisateurs"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Le impostazioni per l'adattatore di amministrazione",
|
||||
"Authentication was deactivated": "L'autenticazione è stata disattivata",
|
||||
"Authentication:": "Autenticazione",
|
||||
"Auto update:": "Verifica aggiornamenti",
|
||||
"Background": "Sfondo",
|
||||
"Background color of the login screen": "Colore di sfondo della schermata di accesso",
|
||||
"Background image": "Immagine di sfondo",
|
||||
"Cache:": "Buffer",
|
||||
"Chained certificate:": "Certificato di catena",
|
||||
"Disable authentication": "Disabilitare l'autenticazione",
|
||||
"Enabled:": "Abilitato",
|
||||
"Events threshold value:": "Valore soglia degli eventi",
|
||||
"Hide logo": "Nascondi logo",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Ignora l'avviso",
|
||||
"Let's Encrypt settings": "Impostazioni di Let's Encrypt",
|
||||
"Listen on all IPs": "Ascolta su tutti gli IP",
|
||||
"Login timeout(sec):": "Timeout di accesso (sec)",
|
||||
"Own motto": "Proprio motto",
|
||||
"Port to check the domain:": "Porta per controllare il dominio",
|
||||
"Port:": "Porta",
|
||||
"Private certificate:": "Certificato privato",
|
||||
"Public certificate:": "Certificato pubblico",
|
||||
"Run as:": "Correre come",
|
||||
"Secure(HTTPS):": "Sicuro (HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Imposta i certificati o caricali prima nelle impostazioni di sistema (in alto a destra).",
|
||||
"Unsecure_Auth": "La password verrà inviata tramite connessione non protetta. Per proteggere le tue password abilita la connessione sicura (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Utilizza i certificati Let's Encrypt",
|
||||
"Use this instance for automatic update:": "Utilizza questa istanza per l'aggiornamento automatico",
|
||||
"Warning!": "Avvertimento!",
|
||||
"every 12 hours": "ogni 12 ore",
|
||||
"every 2 days": "ogni 2 giorni",
|
||||
"every 2 weeks": "ogni 2 settimane",
|
||||
"every 3 days": "ogni 3 giorni",
|
||||
"every day": "ogni giorno",
|
||||
"every week": "ogni settimana",
|
||||
"manually": "manualmente",
|
||||
"monthly": "mensile",
|
||||
"place here": "posiziona i file qui",
|
||||
"tooltip_auth": "Controlla login e password per accedere alla pagina di amministrazione. Puoi gestirlo nella scheda utenti.",
|
||||
"tooltip_autoUpdate": "Controlla gli aggiornamenti dell'adattatore",
|
||||
"tooltip_bind": "Indirizzo IP, dove verrà eseguito l'amministratore",
|
||||
"tooltip_cache": "Buffer del browser abilitata.",
|
||||
"tooltip_certChained": "Certificato incatenato Certificato root + Certificato pubblico. Si prega di gestirlo nelle configurazioni di sistema.",
|
||||
"tooltip_certPrivate": "Certificato privato Si prega di gestirlo nelle configurazioni di sistema.",
|
||||
"tooltip_certPublic": "Certificato pubblico Si prega di gestirlo nelle configurazioni di sistema.",
|
||||
"tooltip_defaultUser": "Accesso automatico con questo utente",
|
||||
"tooltip_leEnabled": "Utilizza Let's Encrypt certificates",
|
||||
"tooltip_lePort": "Porta per server challenge. Let's Encrypt supporta solo la porta 80, ma con il router puoi usare qualsiasi porta",
|
||||
"tooltip_leUpdate": "Questa istanza aggiornerà i certificati Let's Encrypt ogni 3 mesi",
|
||||
"tooltip_port": "Porta per l'interfaccia di amministrazione. Deve essere disponibile. Se si esegue su Linux senza root, non è possibile utilizzare le porte inferiori a 1000.",
|
||||
"tooltip_secure": "Abilita il protocollo SSL. L'amministratore sarà disponibile tramite https: // e non http: //",
|
||||
"tooltip_thresholdValue": "se il browser riceve troppi eventi in 3 secondi, l'aggiornamento verrà interrotto",
|
||||
"tooltip_ttl": "Timeout di accesso. Dopo questo tempo l'utente si disconnetterà automaticamente.",
|
||||
"users permissions": "permessi degli utenti"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Admin adapter instellingen",
|
||||
"Authentication was deactivated": "Verificatie was gedeactiveerd",
|
||||
"Authentication:": "Authenticatie",
|
||||
"Auto update:": "Updates controleren",
|
||||
"Background": "Achtergrond",
|
||||
"Background color of the login screen": "Achtergrondkleur van het inlogscherm",
|
||||
"Background image": "Achtergrond afbeelding",
|
||||
"Cache:": "Cache",
|
||||
"Chained certificate:": "Ketencertificaat",
|
||||
"Disable authentication": "Schakel verificatie uit",
|
||||
"Enabled:": "Ingeschakeld",
|
||||
"Events threshold value:": "Drempelwaarde voor gebeurtenissen",
|
||||
"Hide logo": "Logo verbergen",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Negeer waarschuwing",
|
||||
"Let's Encrypt settings": "Let's Encrypt Instellingen",
|
||||
"Listen on all IPs": "Luister op alle IP's",
|
||||
"Login timeout(sec):": "Aanmelding Time-out (sec)",
|
||||
"Own motto": "Eigen motto",
|
||||
"Port to check the domain:": "Poort om het domein te controleren",
|
||||
"Port:": "Poort",
|
||||
"Private certificate:": "Privé certificaat",
|
||||
"Public certificate:": "Openbaar certificaat",
|
||||
"Run as:": "Uitvoeren als",
|
||||
"Secure(HTTPS):": "Encryptie (HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Stel certificaten in of installeer deze eerst in de systeeminstellingen (rechtsboven).",
|
||||
"Unsecure_Auth": "Het wachtwoord wordt verzonden via onbeveiligde verbinding. Ter beveiliging van uw wachtwoorden schakelt u de beveiligde verbinding (HTTPS) in!",
|
||||
"Use Lets Encrypt certificates:": "Gebruik Let's Encrypt-certificaten",
|
||||
"Use this instance for automatic update:": "Gebruik deze instantie voor automatische update",
|
||||
"Warning!": "Waarschuwing!",
|
||||
"every 12 hours": "Elke 12 uur",
|
||||
"every 2 days": "om de 2 dagen",
|
||||
"every 2 weeks": "elke 2 weken",
|
||||
"every 3 days": "om de 3 dagen",
|
||||
"every day": "elke dag",
|
||||
"every week": "elke week",
|
||||
"manually": "handmatig",
|
||||
"monthly": "maandelijks",
|
||||
"place here": "plaats de bestanden hier",
|
||||
"tooltip_auth": "Controleer of aanmelding en wachtwoord toegang hebben tot de beheerderspagina. U kunt gebruikers beheren op het tabblad Gebruikers.",
|
||||
"tooltip_autoUpdate": "Controleer regelmatig of er updates zijn",
|
||||
"tooltip_bind": "IP-adres welke de admin adapter gebruikt",
|
||||
"tooltip_cache": "Browser cache ingeschakeld.",
|
||||
"tooltip_certChained": "Ketencertificaat. Beheer deze in de systeemconfiguratie.",
|
||||
"tooltip_certPrivate": "Privé certificaat. Beheer deze in de systeemconfiguratie.",
|
||||
"tooltip_certPublic": "Openbaar certificaat. Beheer deze in de systeemconfiguratie.",
|
||||
"tooltip_defaultUser": "Automatisch inloggen met deze gebruiker",
|
||||
"tooltip_leEnabled": "Gebruik Let's Encrypt-certificaten",
|
||||
"tooltip_lePort": "Poort voor uitgaande server. Let's Encrypt ondersteunt alleen poort 80, maar met een router kun je elke poort gebruiken",
|
||||
"tooltip_leUpdate": "Deze instantie werkt Let's Encrypt-certificaten elke 3 maanden bij",
|
||||
"tooltip_port": "Poort voor beheerdersinterface, deze moet beschikbaar zijn. Als u op Linux draait zonder root kunt u geen poorten onder 1000 gebruiken.",
|
||||
"tooltip_secure": "Schakel SSL-protocol in. Beheerpagina is beschikbaar via https: // en niet http: //",
|
||||
"tooltip_thresholdValue": "Als de browser te veel gebeurtenissen binnen 3 seconden ontvangt, wordt de update gestopt",
|
||||
"tooltip_ttl": "Time-out aanmelding. Na deze tijd zal de gebruiker automatisch uitloggen.",
|
||||
"users permissions": "gebruikersrechten"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Ustawienia adaptera administracyjnego",
|
||||
"Authentication was deactivated": "Uwierzytelnianie zostało dezaktywowane",
|
||||
"Authentication:": "Poświadczenie",
|
||||
"Auto update:": "Sprawdzanie aktualizacji",
|
||||
"Background": "Tło",
|
||||
"Background color of the login screen": "Kolor tła ekranu logowania",
|
||||
"Background image": "Zdjęcie w tle",
|
||||
"Cache:": "Pamięć podręczna",
|
||||
"Chained certificate:": "Przykuty certyfikat",
|
||||
"Disable authentication": "Wyłącz uwierzytelnianie",
|
||||
"Enabled:": "Włączone",
|
||||
"Events threshold value:": "Wartość progowa zdarzeń",
|
||||
"Hide logo": "Ukryj logo",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Zignoruj ostrzeżenie",
|
||||
"Let's Encrypt settings": "Zakodujmy ustawienia",
|
||||
"Listen on all IPs": "Posłuchaj na wszystkich IP",
|
||||
"Login timeout(sec):": "Limit czasu logowania (s)",
|
||||
"Own motto": "Własne motto",
|
||||
"Port to check the domain:": "Port do sprawdzenia domeny",
|
||||
"Port:": "Port",
|
||||
"Private certificate:": "Prywatny certyfikat",
|
||||
"Public certificate:": "Certyfikat publiczny",
|
||||
"Run as:": "Uruchom jako",
|
||||
"Secure(HTTPS):": "Bezpieczne (HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Ustaw certyfikaty lub załaduj najpierw w ustawieniach systemu (prawy górny).",
|
||||
"Unsecure_Auth": "Hasło zostanie wysłane przez połączenie bez zabezpieczeń. Aby chronić swoje hasła, włącz bezpieczne połączenie (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Użyj Let's Encrypt certificates",
|
||||
"Use this instance for automatic update:": "Użyj tej instancji do automatycznej aktualizacji",
|
||||
"Warning!": "Ostrzeżenie!",
|
||||
"every 12 hours": "co 12 godzin",
|
||||
"every 2 days": "co 2 dni",
|
||||
"every 2 weeks": "co 2 tygodnie",
|
||||
"every 3 days": "co 3 dni",
|
||||
"every day": "codziennie",
|
||||
"every week": "co tydzień",
|
||||
"manually": "ręcznie",
|
||||
"monthly": "miesięczny",
|
||||
"place here": "umieść pliki tutaj",
|
||||
"tooltip_auth": "Sprawdź login i hasło, aby uzyskać dostęp do strony administratora. Możesz nim zarządzać na karcie użytkowników.",
|
||||
"tooltip_autoUpdate": "Sprawdź aktualizacje adaptera",
|
||||
"tooltip_bind": "Adres IP, na którym będzie uruchamiany administrator",
|
||||
"tooltip_cache": "Pamięć podręczna przeglądarki jest włączona.",
|
||||
"tooltip_certChained": "Przykuty certyfikat. Certyfikat główny + certyfikat publiczny. Zarządzaj nim w konfiguracjach systemowych.",
|
||||
"tooltip_certPrivate": "Prywatny certyfikat. Zarządzaj nim w konfiguracjach systemowych.",
|
||||
"tooltip_certPublic": "Certyfikat publiczny. Zarządzaj nim w konfiguracjach systemowych.",
|
||||
"tooltip_defaultUser": "Automatyczne logowanie z tym użytkownikiem",
|
||||
"tooltip_leEnabled": "Użyj Let's Encrypt certificates",
|
||||
"tooltip_lePort": "Port dla serwera wyzwania. Let's Encrypt obsługuje tylko port 80, ale z routerem możesz użyć dowolnego portu",
|
||||
"tooltip_leUpdate": "Ta instancja zaktualizuje certyfikaty Let's Encrypt co 3 miesiące",
|
||||
"tooltip_port": "Port dla interfejsu administratora. Musi być dostępny. Jeśli działasz na Linuksie bez roota, nie możesz używać portów poniżej 1000.",
|
||||
"tooltip_secure": "Włącz protokół SSL. Administrator będzie dostępny przez https: //, a nie http: //",
|
||||
"tooltip_thresholdValue": "jeśli przeglądarka otrzyma zbyt wiele zdarzeń w ciągu 3 sekund, aktualizacja zostanie zatrzymana",
|
||||
"tooltip_ttl": "Limit czasu logowania. Po tym czasie użytkownik zostanie automatycznie wylogowany.",
|
||||
"users permissions": "uprawnienia użytkowników"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Configurações do adaptador de administração",
|
||||
"Authentication was deactivated": "A autenticação foi desativada",
|
||||
"Authentication:": "Autenticação",
|
||||
"Auto update:": "Verificar atualizações",
|
||||
"Background": "Fundo",
|
||||
"Background color of the login screen": "Cor de fundo da tela de login",
|
||||
"Background image": "Imagem de fundo",
|
||||
"Cache:": "Buffer",
|
||||
"Chained certificate:": "Certificado acorrentado",
|
||||
"Disable authentication": "Desativar autenticação",
|
||||
"Enabled:": "Ativado",
|
||||
"Events threshold value:": "Valor limiar de eventos",
|
||||
"Hide logo": "Ocultar logotipo",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Ignorar aviso",
|
||||
"Let's Encrypt settings": "Configurações de Let's Encrypt",
|
||||
"Listen on all IPs": "Ouvir todos os IPs",
|
||||
"Login timeout(sec):": "Tempo limite de início de sessão (seg)",
|
||||
"Own motto": "Próprio lema",
|
||||
"Port to check the domain:": "Porta para verificar o domínio",
|
||||
"Port:": "Porta",
|
||||
"Private certificate:": "Certificado privado",
|
||||
"Public certificate:": "Certificado público",
|
||||
"Run as:": "Executar como",
|
||||
"Secure(HTTPS):": "Codificação (HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Defina certificados ou carregue primeiro nas configurações do sistema (parte superior direita).",
|
||||
"Unsecure_Auth": "A senha será enviada por meio de conexão não segura. Para proteger suas senhas, ative a conexão segura (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Use certificados Let's Encrypt",
|
||||
"Use this instance for automatic update:": "Use esta instância para atualização automática",
|
||||
"Warning!": "Atenção!",
|
||||
"every 12 hours": "cada 12 horas",
|
||||
"every 2 days": "cada 2 dias",
|
||||
"every 2 weeks": "cada 2 semanas",
|
||||
"every 3 days": "cada 3 dias",
|
||||
"every day": "todos os dias",
|
||||
"every week": "todas as semanas",
|
||||
"manually": "manualmente",
|
||||
"monthly": "mensal",
|
||||
"place here": "coloque os arquivos aqui",
|
||||
"tooltip_auth": "Verifique onNome de usuário e a senha para acessar a página de administração. Você pode configurá-lo na página dos usuários.",
|
||||
"tooltip_autoUpdate": "Verifique regularmente as atualizações do adaptador",
|
||||
"tooltip_bind": "Endereço IP, onde o administrador será executado",
|
||||
"tooltip_cache": "Buffer do navegador ativado.",
|
||||
"tooltip_certChained": "Certificado acorrentado. Certificado de root + Certificado público. Configure-o nas configurações do sistema.",
|
||||
"tooltip_certPrivate": "Certificado privado. Configure-o nas configurações do sistema.",
|
||||
"tooltip_certPublic": "Certificado público. Configure-o nas configurações do sistema.",
|
||||
"tooltip_defaultUser": "Auto-login com este usuário",
|
||||
"tooltip_leEnabled": "Use certificados Let's Encrypt",
|
||||
"tooltip_lePort": "Porta para Challenge-Server. Let's Encrypt só suporta a porta 80, mas com o roteador você pode usar qualquer porta.",
|
||||
"tooltip_leUpdate": "Esta instância irá atualizar Let's Encrypt certificados a cada 3 meses",
|
||||
"tooltip_port": "Porta para a interface de administração. Ele tem que estar disponível. Se estiver executando no linux sem root, você não pode usar portas abaixo de 1000.",
|
||||
"tooltip_secure": "Habilite o protocolo SSL. O administrador estará disponível através de https:// e não http://",
|
||||
"tooltip_thresholdValue": "Se o navegador receber muitos eventos em 3 segundos, a atualização será interrompida",
|
||||
"tooltip_ttl": "Tempo limite de login. Após esse tempo, o usuário será automaticamente desconectado.",
|
||||
"users permissions": "permissões de usuários"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"Admin adapter settings": "Настройки для адаптера admin",
|
||||
"Authentication was deactivated": "Аутентификация была отключена",
|
||||
"Authentication:": "Аутентификация",
|
||||
"Auto update:": "Проверка обновлений",
|
||||
"Background": "Фон",
|
||||
"Background color of the login screen": "Цвет фона экрана входа в систему",
|
||||
"Background image": "Фоновое изображение",
|
||||
"Cache:": "Кэш",
|
||||
"Chained certificate:": "'Chained' сертификат",
|
||||
"Disable authentication": "Отключить аутентификацию",
|
||||
"Enabled:": "Включено",
|
||||
"Events threshold value:": "Порог отключения обновлений",
|
||||
"Hide logo": "Скрыть логотип",
|
||||
"IP:": "IP",
|
||||
"Ignore warning": "Игнорировать предупреждение",
|
||||
"Let's Encrypt settings": "Настройкт Let's Encrypt",
|
||||
"Listen on all IPs": "Слушать на всех адресах",
|
||||
"Login timeout(sec):": "Logout через(сек)",
|
||||
"Own motto": "Собственный девиз",
|
||||
"Port to check the domain:": "Порт для проверки доменного имени",
|
||||
"Port:": "Порт",
|
||||
"Private certificate:": "'Private' сертификат",
|
||||
"Public certificate:": "'Public' сертификат",
|
||||
"Run as:": "Запустить от пользователя",
|
||||
"Secure(HTTPS):": "Шифрование(HTTPS)",
|
||||
"Set certificates or load it first in the system settings (right top).": "Нужно выбрать сертификаты или сначала загрузить их в системных настройках (вверху справа).",
|
||||
"Unsecure_Auth": "Пароль будет отправлен через незащищенное соединение. Для защиты ваших паролей активируйте безопасное соединение (HTTPS)!",
|
||||
"Use Lets Encrypt certificates:": "Использовать сертификаты Let's Encrypt",
|
||||
"Use this instance for automatic update:": "Обновлять сертификаты в этом драйвере",
|
||||
"Warning!": "Предупреждение!",
|
||||
"every 12 hours": "каждые 12 часов",
|
||||
"every 2 days": "каждые 2 дня",
|
||||
"every 2 weeks": "каждые 2 недели",
|
||||
"every 3 days": "каждые 3 дня",
|
||||
"every day": "каждый день",
|
||||
"every week": "каждую неделю",
|
||||
"manually": "вручную",
|
||||
"monthly": "раз в месяц",
|
||||
"place here": "разместите файлы здесь",
|
||||
"tooltip_auth": "Активировать проверку имени и пароля.",
|
||||
"tooltip_autoUpdate": "Регулярно проверять на наличие обновлений драйверов",
|
||||
"tooltip_bind": "IP Адрес интерфейса на котором будет запущен админ",
|
||||
"tooltip_cache": "Активировать кеш браузера",
|
||||
"tooltip_certChained": "Chained сертификат. Настройте сначала сертификаты в системных настройках.",
|
||||
"tooltip_certPrivate": "Приватный (private) сертификат. Настройте сначала сертификаты в системных настройках.",
|
||||
"tooltip_certPublic": "Публичный (public) сертификат. Настройте сначала сертификаты в системных настройках.",
|
||||
"tooltip_defaultUser": "Автоматический логин с этим пользователем.",
|
||||
"tooltip_leEnabled": "Использовать сертификаты Let's Encrypt",
|
||||
"tooltip_lePort": "Порт для challenge сервера Let's Encrypt. Сервер должен быть доступен из интернета на порту 80",
|
||||
"tooltip_leUpdate": "Обновлять в этой инстанции Let's Encrypt сертификаты раз в 3 месяца. Обновлять их может только одна инстанция",
|
||||
"tooltip_port": "Порт для интерфейса.",
|
||||
"tooltip_secure": "Активировать протокол SSL. Сайт будет доступен по https:// , а не по http://",
|
||||
"tooltip_thresholdValue": "если браузер получает слишком много событий за 3 секунды, обновление будет остановлено",
|
||||
"tooltip_ttl": "По прошествии этого времени при бездействии пользователь будет разлогинен.",
|
||||
"users permissions": "Права доступа"
|
||||
}
|
||||
@@ -0,0 +1,224 @@
|
||||
<html>
|
||||
<!-- DEPRECATED FROM ADMIN 3 -->
|
||||
<link rel="stylesheet" type="text/css" href="../../lib/css/themes/jquery-ui/redmond/jquery-ui.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/adapter.css"/>
|
||||
|
||||
<script type="text/javascript" src="../../lib/js/jquery-3.2.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../socket.io/socket.io.js"></script>
|
||||
<script type="text/javascript" src="../../lib/js/jquery-ui-1.10.3.full.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../js/translate.js"></script>
|
||||
<script type="text/javascript" src="../../js/adapter-settings.js"></script>
|
||||
<script type="text/javascript" src="words.js"></script>
|
||||
|
||||
<style>
|
||||
.number {
|
||||
width: 70px
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
var oldBind;
|
||||
var oldSecure;
|
||||
var oldPort;
|
||||
|
||||
function showHideSettings() {
|
||||
var $secure = $('#secure');
|
||||
var $auth = $('#auth');
|
||||
if ($secure.prop('checked')) {
|
||||
$('#_certPublic').show();
|
||||
$('#_certPrivate').show();
|
||||
$('#_certChained').show();
|
||||
$('.le-settings').show();
|
||||
|
||||
if ($('#leEnabled').prop('checked')) {
|
||||
$('.le-sub-settings').show();
|
||||
if ($('#leUpdate').prop('checked')) {
|
||||
$('.le-sub-settings-update').show();
|
||||
} else {
|
||||
$('.le-sub-settings-update').hide();
|
||||
}
|
||||
} else {
|
||||
$('.le-sub-settings').hide();
|
||||
}
|
||||
|
||||
} else {
|
||||
$('#_certPublic').hide();
|
||||
$('#_certPrivate').hide();
|
||||
$('#_certChained').hide();
|
||||
$auth.prop('checked', false);
|
||||
$('.le-settings').hide();
|
||||
}
|
||||
if ($auth.prop('checked')) {
|
||||
$secure.prop('checked', true);
|
||||
$('#defaultUser').val('admin');
|
||||
$('.defaultUser').hide();
|
||||
$('#_ttl').show();
|
||||
} else {
|
||||
$('.defaultUser').show();
|
||||
$('#_ttl').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the function loadSettings has to exist ...
|
||||
function load(settings, onChange) {
|
||||
if (!settings) return;
|
||||
|
||||
if (!settings.thresholdValue) {
|
||||
settings.thresholdValue = 200;
|
||||
}
|
||||
|
||||
getIPs(function(ips) {
|
||||
for (var i = 0; i < ips.length; i++) {
|
||||
$('#bind').append('<option value="' + ips[i].address + '">' + ips[i].name + '</option>');
|
||||
}
|
||||
$('#bind.value').val(settings.bind);
|
||||
});
|
||||
|
||||
oldBind = settings.bind;
|
||||
oldSecure = settings.secure;
|
||||
oldPort = settings.port;
|
||||
|
||||
if (settings.autoUpdate === undefined) settings.autoUpdate = 24;
|
||||
if (!settings.lePort) settings.lePort = 80;
|
||||
|
||||
$('.value').each(function () {
|
||||
var key = $(this).attr('id');
|
||||
var $value = $('#' + key + '.value');
|
||||
if ($value.attr('type') === 'checkbox') {
|
||||
$value.prop('checked', settings[key]).on('change', function() {
|
||||
showHideSettings();
|
||||
onChange();
|
||||
});
|
||||
} else {
|
||||
$value.val(settings[key]).on('change', onChange).on('keyup', function() {
|
||||
onChange();
|
||||
// Chack that only numbers entered
|
||||
if ($(this).hasClass('number')) {
|
||||
var val = $(this).val();
|
||||
if (val) {
|
||||
var newVal = '';
|
||||
for (var i = 0; i < val.length; i++) {
|
||||
if (val[i] >= '0' && val[i] <= '9') {
|
||||
newVal += val[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (val != newVal) {
|
||||
$(this).val(newVal);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
onChange(false);
|
||||
|
||||
fillSelectCertificates('#certPublic', 'public', settings.certPublic);
|
||||
fillSelectCertificates('#certPrivate', 'private', settings.certPrivate);
|
||||
fillSelectCertificates('#certChained', 'chained', settings.certChained);
|
||||
fillUsers('#defaultUser', settings.defaultUser);
|
||||
|
||||
showHideSettings();
|
||||
|
||||
$('#auth').change(function () {
|
||||
if ($(this).prop('checked')) {
|
||||
$('#secure').prop('checked', true);
|
||||
showHideSettings();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function save(callback) {
|
||||
var obj = {};
|
||||
$('.value').each(function () {
|
||||
var $this = $(this);
|
||||
if ($this.attr('type') === 'checkbox') {
|
||||
obj[$this.attr('id')] = $this.prop('checked');
|
||||
} else {
|
||||
obj[$this.attr('id')] = $this.val();
|
||||
}
|
||||
});
|
||||
|
||||
if ($('#secure').prop('checked') && (!$('#certPrivate').val() || !$('#certPublic').val())) {
|
||||
showMessage(_('Set certificates or load it first in the system settings (right top).'));
|
||||
return;
|
||||
}
|
||||
var isRedirect = false;
|
||||
var isHttp = false;
|
||||
if (oldBind !== obj.bind) {
|
||||
isRedirect = true;
|
||||
}
|
||||
if (oldSecure !== obj.secure) {
|
||||
isHttp = true;
|
||||
}
|
||||
if (oldPort !== obj.port) {
|
||||
isRedirect = true;
|
||||
}
|
||||
var href = '';
|
||||
if (isRedirect || isHttp) {
|
||||
href = obj.secure ? 'https://' : 'http://';
|
||||
|
||||
href += (obj.bind !== '0.0.0.0') ? obj.bind : document.location.hostname;
|
||||
href += ':' + obj.port;
|
||||
}
|
||||
|
||||
callback(obj, null, href);
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- you have to put your config page in a div with id adapter-container -->
|
||||
<div id="adapter-container">
|
||||
|
||||
<table><tr><td><img src="admin.png"></td><td><h3 class="translate">Admin adapter settings</h3></td></tr></table>
|
||||
|
||||
<table>
|
||||
<tr><td><label class="translate" for="bind">IP:</label></td><td class="admin-icon"></td><td><select class="value" id="bind"></select></td><td class="admin-tooltip" data-id="bind"></td></tr>
|
||||
<tr><td><label class="translate" for="port">Port:</label></td><td class="admin-icon"></td><td><input class="value number" id="port" size="5" maxlength="5" type="number"/></td><td class="admin-tooltip"></td></tr>
|
||||
<tr><td><label class="translate" for="secure">Secure(HTTPS):</label></td><td class="admin-icon"></td><td><input class="value" id="secure" type="checkbox" /></td><td class="admin-tooltip"></td></tr>
|
||||
<tr id="_certPublic">
|
||||
<td><label class="translate" for="certPublic">Public certificate:</label></td>
|
||||
<td class="admin-icon"></td>
|
||||
<td><select id="certPublic" class="value"></select></td>
|
||||
<td class="admin-tooltip"></td>
|
||||
</tr>
|
||||
<tr id="_certPrivate">
|
||||
<td><label class="translate" for="certPrivate">Private certificate:</label></td>
|
||||
<td class="admin-icon"></td>
|
||||
<td><select id="certPrivate" class="value"></select></td>
|
||||
<td class="admin-tooltip"></td>
|
||||
</tr>
|
||||
<tr id="_certChained">
|
||||
<td><label class="translate" for="certChained">Chained certificate:</label></td>
|
||||
<td class="admin-icon"></td>
|
||||
<td><select id="certChained" class="value"></select></td>
|
||||
<td class="admin-tooltip"></td>
|
||||
</tr>
|
||||
<tr><td><label class="translate" for="auth">Authentication:</label></td><td class="admin-icon"></td><td><input class="value" id="auth" type="checkbox" /></td><td class="admin-text"></td></tr>
|
||||
<tr id="_ttl"><td><label class="translate" for="ttl">Login timeout(sec):</label></td><td class="admin-icon"></td><td><input class="value" id="ttl" /></td><td class="admin-tooltip"></td></tr>
|
||||
<tr><td><label class="translate" for="cache">Cache:</label></td><td class="admin-icon"></td><td><input class="value" id="cache" type="checkbox" /></td><td class="admin-tooltip"></td></tr>
|
||||
<tr class="defaultUser"><td><label class="translate" for="defaultUser">Run as:</label></td><td class="admin-icon"></td><td><select class="value" id="defaultUser"></select></td><td class="admin-tooltip"></td></tr>
|
||||
<tr><td><label class="translate" for="autoUpdate">Auto update:</label></td><td class="admin-icon"></td><td>
|
||||
<select class="value" id="autoUpdate">
|
||||
<option value="0" class="translate">manually</option>
|
||||
<option value="12" class="translate">every 12 hours</option>
|
||||
<option value="24" class="translate">every day</option>
|
||||
<option value="48" class="translate">every 2 days</option>
|
||||
<option value="72" class="translate">every 3 days</option>
|
||||
<option value="168" class="translate">every week</option>
|
||||
<option value="336" class="translate">every 2 weeks</option>
|
||||
<option value="720" class="translate">monthly</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="admin-tooltip"></td>
|
||||
</tr>
|
||||
<tr><td><label class="translate" for="thresholdValue">Events threshold value:</label></td><td class="admin-icon"></td><td><input class="value" id="thresholdValue" type="number" min="50"/></td><td class="admin-tooltip"></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr class="le-settings"><td colspan="2"><h3 class="translate">Let's Encrypt settings</h3></tr>
|
||||
<tr class="le-settings"><td><label for="leEnabled" class="translate">Use Lets Encrypt certificates:</label></td><td class="admin-icon"></td><td><input class="value" id="leEnabled" type="checkbox" /></td><td class="admin-tooltip" data-link="lets-encrypt-certificates"></td></tr>
|
||||
<tr class="le-settings le-sub-settings"><td><label for="leUpdate" class="translate">Use this instance for automatic update:</label></td><td class="admin-icon"></td><td><input class="value" id="leUpdate" type="checkbox" /></td><td class="admin-tooltip" data-link="lets-encrypt-certificates"></td></tr>
|
||||
<tr class="le-settings le-sub-settings le-sub-settings-update"><td><label for="lePort" class="translate">Port to check the domain:</label></td><td class="admin-icon"></td><td><input class="value number" id="lePort" type="number" size="5" maxlength="5" /></td><td class="admin-tooltip" data-link="lets-encrypt-certificates"></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
</html>
|
||||
@@ -0,0 +1,454 @@
|
||||
<html>
|
||||
<!-- Materialze style -->
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/adapter.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../../lib/css/materialize.css">
|
||||
|
||||
<script type="text/javascript" src="../../lib/js/jquery-3.2.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../socket.io/socket.io.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../js/translate.js"></script>
|
||||
<script type="text/javascript" src="../../lib/js/materialize.js"></script>
|
||||
<script type="text/javascript" src="../../js/adapter-settings.js"></script>
|
||||
<script type="text/javascript" src="words.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var oldBind;
|
||||
var oldSecure;
|
||||
var oldPort;
|
||||
var BACK_FILE_NAME = 'login-bg.png';
|
||||
|
||||
function initDropZone() {
|
||||
document.getElementById('files').addEventListener('change', handleFileSelect, false);
|
||||
|
||||
var dropZone = document.getElementById('drop_zone');
|
||||
if (dropZone) {
|
||||
dropZone.addEventListener('dragover', handleDragOver, false);
|
||||
dropZone.addEventListener('drop', handleFileSelect, false);
|
||||
dropZone.addEventListener('dragend', function () {
|
||||
$(this).css({background: 'white'});
|
||||
console.log('dragend');
|
||||
return false;
|
||||
}, false);
|
||||
dropZone.addEventListener('dragstart', function () {
|
||||
console.log('dragstart');
|
||||
}, false);
|
||||
dropZone.addEventListener('dragleave', function () {
|
||||
$(this).css({background: 'white'});
|
||||
}, false);
|
||||
dropZone.addEventListener('dragenter', function () {
|
||||
$(this).css({background: 'gray'});
|
||||
}, false);
|
||||
}
|
||||
}
|
||||
|
||||
function showBackImage() {
|
||||
// Read names of files for gong
|
||||
socket.emit('readFile', 'admin.' + instance, BACK_FILE_NAME, function (err, file) {
|
||||
if (!err && file) {
|
||||
var arrayBufferView = new Uint8Array(file);
|
||||
var blob = new Blob([arrayBufferView], {type: 'image/png'});
|
||||
var urlCreator = window.URL || window.webkitURL;
|
||||
var imageUrl = urlCreator.createObjectURL( blob );
|
||||
$('#login_image').attr('src', imageUrl).show();
|
||||
} else {
|
||||
$('#login_image').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function uploadFile(file, callback) {
|
||||
var reader = new FileReader();
|
||||
|
||||
// Closure to capture the file information.
|
||||
reader.onload = function(e) {
|
||||
socket.emit('writeFile', 'admin.' + instance, BACK_FILE_NAME, e.target.result, function () {
|
||||
if (callback) callback(BACK_FILE_NAME);
|
||||
});
|
||||
};
|
||||
|
||||
// Read in the image file as a data URL.
|
||||
reader.readAsArrayBuffer(file);
|
||||
}
|
||||
|
||||
function handleFileSelect(evt) {
|
||||
evt.preventDefault();
|
||||
var files = evt.target.files || evt.dataTransfer.files; // FileList object
|
||||
|
||||
$('#drop_indcator').hide();
|
||||
|
||||
// files is a FileList of File objects. List some properties.
|
||||
if (!files.length) return;
|
||||
|
||||
var f = files[0];
|
||||
if (f.size > 5 * 1024 * 1024) {
|
||||
showMessage(_('File %s is too big. Maximum 5MB', escape(f.name)));
|
||||
$('#files').val('');
|
||||
return;
|
||||
}
|
||||
|
||||
uploadFile(f, function (name) {
|
||||
$('#files').val('');
|
||||
showBackImage();
|
||||
});
|
||||
}
|
||||
|
||||
function handleFileSelectDrop(evt) {
|
||||
$('#drop_indcator').hide();
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
|
||||
var files = evt.dataTransfer.files; // FileList object.
|
||||
|
||||
// files is a FileList of File objects. List some properties.
|
||||
var output = [];
|
||||
for (var i = 0, f; f = files[i]; i++) {
|
||||
if (f.size > 1024 * 1024) {
|
||||
showMessage(_('File %s is too big. Maximum 1MB', escape(f.name)));
|
||||
return;
|
||||
}
|
||||
console.log(escape(f.name));
|
||||
}
|
||||
}
|
||||
|
||||
function handleDragOver(evt) {
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
evt.dataTransfer.dropEffect = 'copy'; // Explicitly show this is a copy.
|
||||
$('#drop_indcator').show();
|
||||
}
|
||||
|
||||
function showHideSettings(id) {
|
||||
var $secure = $('#secure');
|
||||
var $auth = $('#auth');
|
||||
|
||||
if ($secure.prop('checked')) {
|
||||
$('.col-certPublic').show();
|
||||
$('.col-certPrivate').show();
|
||||
$('.col-certChained').show();
|
||||
$('.le-settings').removeClass('disabled');
|
||||
if ($('#leEnabled').prop('checked')) {
|
||||
$('.le-sub-settings').show();
|
||||
if ($('#leUpdate').prop('checked')) {
|
||||
$('.le-sub-settings-update').show();
|
||||
} else {
|
||||
$('.le-sub-settings-update').hide();
|
||||
}
|
||||
} else {
|
||||
$('.le-sub-settings').hide();
|
||||
}
|
||||
} else {
|
||||
$('.col-certPublic').hide();
|
||||
$('.col-certPrivate').hide();
|
||||
$('.col-certChained').hide();
|
||||
$('.le-settings').addClass('disabled');
|
||||
}
|
||||
if ($auth.prop('checked')) {
|
||||
$('.tab-login').removeClass('disabled');
|
||||
$('#defaultUser').val('admin');
|
||||
$('.col-defaultUser').hide();
|
||||
$('.col-ttl').show();
|
||||
|
||||
if ((id === 'auth' || id === 'secure') && !$secure.prop('checked')) {
|
||||
confirmMessage(_('Unsecure_Auth'), _('Warning!'), 'security', [_('Ignore warning'), _('Disable authentication')], function (result) {
|
||||
if (result === 1) {
|
||||
$('#auth').prop('checked', false).trigger('change');
|
||||
showToast(null, _('Authentication was deactivated'));
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
$('.tab-login').addClass('disabled');
|
||||
$('.col-defaultUser').show();
|
||||
$('.col-ttl').hide();
|
||||
}
|
||||
if ($('#loginBackgroundImage').prop('checked')) {
|
||||
$('.background').show();
|
||||
} else {
|
||||
$('.background').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the function loadSettings has to exist ...
|
||||
function load(settings, onChange) {
|
||||
if (!settings) return;
|
||||
|
||||
if (!settings.thresholdValue) {
|
||||
settings.thresholdValue = 200;
|
||||
}
|
||||
|
||||
getIPs(function (ips) {
|
||||
for (var i = 0; i < ips.length; i++) {
|
||||
$('#bind').append('<option value="' + ips[i].address + '">' + ips[i].name + '</option>');
|
||||
}
|
||||
$('#bind.value').val(settings.bind).select();
|
||||
});
|
||||
|
||||
oldBind = settings.bind;
|
||||
oldSecure = settings.secure;
|
||||
oldPort = settings.port;
|
||||
|
||||
if (settings.autoUpdate === undefined) settings.autoUpdate = 24;
|
||||
if (!settings.lePort) settings.lePort = 80;
|
||||
|
||||
$('.value').each(function () {
|
||||
var key = $(this).attr('id');
|
||||
var $value = $('#' + key + '.value');
|
||||
if ($value.attr('type') === 'checkbox') {
|
||||
$value.prop('checked', settings[key]).on('change', function() {
|
||||
showHideSettings($(this).attr('id'));
|
||||
onChange();
|
||||
});
|
||||
} else {
|
||||
$value.val(settings[key]).on('change', onChange).on('keyup', function() {
|
||||
onChange();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
onChange(false);
|
||||
M.updateTextFields();
|
||||
|
||||
fillSelectCertificates('#certPublic', 'public', settings.certPublic);
|
||||
fillSelectCertificates('#certPrivate', 'private', settings.certPrivate);
|
||||
fillSelectCertificates('#certChained', 'chained', settings.certChained);
|
||||
fillUsers('#defaultUser', settings.defaultUser);
|
||||
|
||||
initDropZone();
|
||||
showBackImage();
|
||||
|
||||
showHideSettings();
|
||||
|
||||
$('#loginBackgroundColorHelper').on('change', function () {
|
||||
$('#loginBackgroundColor').val($(this).val());
|
||||
});
|
||||
|
||||
if (settings.loginBackgroundColor) {
|
||||
$('#loginBackgroundColorHelper').val(settings.loginBackgroundColor);
|
||||
}
|
||||
|
||||
$('#loginBackgroundColor').on('change', function () {
|
||||
$('#loginBackgroundColorHelper').val($(this).val() || 'black');
|
||||
});
|
||||
}
|
||||
|
||||
function save(callback) {
|
||||
var obj = {};
|
||||
$('.value').each(function () {
|
||||
var $this = $(this);
|
||||
if ($this.attr('type') === 'checkbox') {
|
||||
obj[$this.attr('id')] = $this.prop('checked');
|
||||
} else {
|
||||
obj[$this.attr('id')] = $this.val();
|
||||
}
|
||||
});
|
||||
|
||||
if ($('#secure').prop('checked') && (!$('#certPrivate').val() || !$('#certPublic').val())) {
|
||||
showMessage(_('Set certificates or load it first in the system settings (right top).'));
|
||||
return;
|
||||
}
|
||||
var isRedirect = false;
|
||||
var isHttp = false;
|
||||
if (oldBind !== obj.bind) {
|
||||
isRedirect = true;
|
||||
}
|
||||
if (oldSecure !== obj.secure) {
|
||||
isHttp = true;
|
||||
}
|
||||
if (oldPort !== obj.port) {
|
||||
isRedirect = true;
|
||||
}
|
||||
var href = '';
|
||||
if (isRedirect || isHttp) {
|
||||
href = obj.secure ? 'https://' : 'http://';
|
||||
|
||||
href += (obj.bind !== '0.0.0.0') ? obj.bind : document.location.hostname;
|
||||
href += ':' + obj.port;
|
||||
}
|
||||
|
||||
callback(obj, null, href);
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.adapter-body {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
#drop_zone {
|
||||
border: 2px dashed #bbb;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 25px;
|
||||
text-align: center;
|
||||
font-size: 20pt;
|
||||
font-weight: bold;
|
||||
font-family: 'Arial';
|
||||
color: #bbb;
|
||||
min-width: 320px;
|
||||
min-height: 200px
|
||||
}
|
||||
|
||||
.error {
|
||||
border: 2px solid red;
|
||||
}
|
||||
#login_image {
|
||||
width: 320px;
|
||||
height: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- you have to put your config page in a div with id adapter-container -->
|
||||
<div class="m adapter-container">
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<ul class="tabs">
|
||||
<li class="tab col s2"><a href="#tab-main" class="translate active">Main settings</a></li>
|
||||
<li class="tab col s2 le-settings"><a href="#tab-le" class="translate">Let's Encrypt SSL</a></li>
|
||||
<li class="tab col s2 tab-login"><a href="#tab-login" class="translate">Background</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="tab-main" class="col s12 page">
|
||||
<div class="row">
|
||||
<div class="col s6 m4 l2">
|
||||
<img src="admin.png" class="logo">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12 m8 l5">
|
||||
<select class="value" id="bind"></select>
|
||||
<label class="translate" for="bind">IP:</label>
|
||||
</div>
|
||||
<div class="input-field col s12 m4 l3">
|
||||
<input class="value" id="port" size="5" maxlength="5" type="number"/>
|
||||
<label class="translate" for="port">Port:</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12 m6 l4">
|
||||
<input class="value" id="secure" type="checkbox" />
|
||||
<label class="translate" for="secure">Secure(HTTPS):</label>
|
||||
</div>
|
||||
<div class="input-field col s12 m6 l4 col-certPublic">
|
||||
<select id="certPublic" class="value"></select>
|
||||
<label class="translate" for="certPublic">Public certificate:</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12 m6 l4 col-certPrivate">
|
||||
<select id="certPrivate" class="value"></select>
|
||||
<label class="translate" for="certPrivate">Private certificate:</label>
|
||||
</div>
|
||||
<div class="input-field col s12 m6 l4 col-certChained">
|
||||
<select id="certChained" class="value"></select>
|
||||
<label class="translate" for="certChained">Chained certificate:</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12 m6 l4">
|
||||
<input class="value" id="auth" type="checkbox" />
|
||||
<label class="translate" for="auth">Authentication:</label>
|
||||
</div>
|
||||
<div class="input-field col s12 m6 l4 col-defaultUser">
|
||||
<select class="value" id="defaultUser"></select>
|
||||
<label class="translate" for="defaultUser">Run as:</label>
|
||||
</div>
|
||||
<div class="input-field col s12 m6 l4 col-ttl">
|
||||
<input class="value" type="number" id="ttl" />
|
||||
<label class="translate" for="ttl">Login timeout(sec):</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s12 m6 l4">
|
||||
<select class="value" id="autoUpdate">
|
||||
<option value="0" class="translate">manually</option>
|
||||
<option value="12" class="translate">every 12 hours</option>
|
||||
<option value="24" class="translate">every day</option>
|
||||
<option value="48" class="translate">every 2 days</option>
|
||||
<option value="72" class="translate">every 3 days</option>
|
||||
<option value="168" class="translate">every week</option>
|
||||
<option value="336" class="translate">every 2 weeks</option>
|
||||
<option value="720" class="translate">monthly</option>
|
||||
</select>
|
||||
<label class="translate" for="autoUpdate">Auto update:</label>
|
||||
</div>
|
||||
<div class="input-field col s12 m6 l4">
|
||||
<input class="value" id="thresholdValue" type="number" min="50"/>
|
||||
<label class="translate" for="thresholdValue">Events threshold value:</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tab-le" class="col s12 page">
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<img src="../../img/le.png" class="logo-le">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-field col s11">
|
||||
<input class="value" id="leEnabled" type="checkbox" data-link="lets-encrypt-certificates"/>
|
||||
<label for="leEnabled" class="translate">Use Lets Encrypt certificates:</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row le-sub-settings">
|
||||
<div class="input-field col s11">
|
||||
<input class="value" id="leUpdate" type="checkbox" data-link="lets-encrypt-certificates"/>
|
||||
<label for="leUpdate" class="translate">Use this instance for automatic update:</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row le-sub-settings le-sub-settings-update">
|
||||
<div class="input-field col s11 l4">
|
||||
<input class="value" id="lePort" type="number" size="5" maxlength="5" data-link="lets-encrypt-certificates"/>
|
||||
<label for="lePort" class="translate">Port to check the domain:</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tab-login" class="col s12 page">
|
||||
<div class="row">
|
||||
<div class="col s12 m8 l4">
|
||||
<input class="value" id="loginBackgroundColor" type="text"/>
|
||||
<label class="translate" for="loginBackgroundColor">Background color of the login screen</label>
|
||||
<input id="loginBackgroundColorHelper" type="color"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col s12 m4 l4">
|
||||
<input class="value" id="loginHideLogo" type="checkbox"/>
|
||||
<span class="translate" for="loginHideLogo">Hide logo</span>
|
||||
</div>
|
||||
<div class="col s12 m4 l4">
|
||||
<input class="value" id="loginMotto" type="text"/>
|
||||
<label class="translate" for="loginMotto">Own motto</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col s12 m4 l4">
|
||||
<input class="value" id="loginBackgroundImage" type="checkbox"/>
|
||||
<span class="translate" for="loginBackgroundImage">Background image</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col s12 m4 l4 file-field input-field background">
|
||||
<div class="btn">
|
||||
<span class="translate">Upload image</span>
|
||||
<input type="file" accept=".png,image/png" id="files" name="files" />
|
||||
</div>
|
||||
<div class="file-path-wrapper">
|
||||
<input class="file-path validate" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col s12 m4 l4 background">
|
||||
<div id="drop_zone">
|
||||
<span class="translate">place here</span>
|
||||
<img id="login_image" src="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user