From a916625d5783dd4863020b05583ec95254c63288 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 11 May 2012 01:20:10 +0200 Subject: [PATCH] Moved strings on console page to locale file --- frontend/css/cvm.css | 2 +- frontend/locales/english.lng | 9 +++++++++ frontend/templates/vps.console.tpl | 16 ++++++++-------- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/frontend/css/cvm.css b/frontend/css/cvm.css index 1ba8248..1fd936a 100644 --- a/frontend/css/cvm.css +++ b/frontend/css/cvm.css @@ -88,7 +88,7 @@ table.vpslist tr:hover table.console th { - width: 100px; + width: 120px; } .clickable a diff --git a/frontend/locales/english.lng b/frontend/locales/english.lng index 0f78722..8b7e988 100644 --- a/frontend/locales/english.lng +++ b/frontend/locales/english.lng @@ -27,6 +27,7 @@ title-overview; Overview title-login; Login to your VPS panel title-reinstall; Reinstall your VPS title-password; Set new root password +title-console; Out-of-band console button-login; Login button-reinstall; Reinstall @@ -91,3 +92,11 @@ reinstall-patience; (be patient; this may take a while) password-field-password; New root password password-field-confirm; Confirm password + +console-introduction; If you cannot access your container for some reason, you can use the out-of-band console (also known as shell dropper) to invoke a root shell. +console-step1; To use the out-of-band console, connect through SSH using the following details: +console-step2; After logging in with the above details, you will have to enter your VPS panel login details, after which you can select a container to invoke a root shell on. +console-title-hostname; Hostname +console-title-port; Port +console-title-username; Username +console-title-password; Password diff --git a/frontend/templates/vps.console.tpl b/frontend/templates/vps.console.tpl index b2e0288..af48c5a 100644 --- a/frontend/templates/vps.console.tpl +++ b/frontend/templates/vps.console.tpl @@ -1,26 +1,26 @@ -

Out-of-band console

+

<%!title-console>

-

If you cannot access your container for some reason, you can use the out-of-band console (also known as shell dropper) to invoke a root shell.

+

<%!console-introduction>

-

To use the out-of-band console, connect through SSH as follows:

+

<%!console-step1>

- + - + - + - +
Hostname<%!console-title-hostname> <%?host>
Port<%!console-title-port> 22
Username<%!console-title-username> vz
Password<%!console-title-password> vz
-

After logging in with the above details, you will have to enter your VPS panel login details, after which you can select a container to invoke a root shell on.

+

<%!console-step2>