diff --git a/app/classes/web/server_handler.py b/app/classes/web/server_handler.py index f8e4b34a..d1ca646b 100644 --- a/app/classes/web/server_handler.py +++ b/app/classes/web/server_handler.py @@ -62,6 +62,7 @@ class ServerHandler(BaseHandler): if page == "step1": page_data['server_types'] = server_jar_obj.get_serverjar_data_sorted() + page_data['js_server_types'] = json.dumps(server_jar_obj.get_serverjar_data_sorted()) template = "server/wizard.html" self.render( diff --git a/app/frontend/templates/server/wizard.html b/app/frontend/templates/server/wizard.html index e8098d95..b04ab250 100644 --- a/app/frontend/templates/server/wizard.html +++ b/app/frontend/templates/server/wizard.html @@ -19,16 +19,21 @@
-

{{ translate('serverWizard', 'serverType') }}

- - {% for s in data['server_types'] %} - {% for v in data['server_types'][s] %} - - {% end %} + {% end %} +
+
+
+
+ +
@@ -266,4 +271,57 @@ } + {% end %} \ No newline at end of file diff --git a/app/translations/en_EN.json b/app/translations/en_EN.json index 71b36513..2f723a64 100644 --- a/app/translations/en_EN.json +++ b/app/translations/en_EN.json @@ -38,6 +38,7 @@ "serverName": "Server Name", "serverPath": "Server Path", "serverType": "Server Type", + "serverVersion": "Server Version", "absoluteServerPath": "Absolute path to your server", "serverJar": "Server Jarfile", "minMem": "Minimum Memory", diff --git a/app/translations/fi_FI.json b/app/translations/fi_FI.json index 054176da..8208a2fd 100644 --- a/app/translations/fi_FI.json +++ b/app/translations/fi_FI.json @@ -38,6 +38,7 @@ "serverName": "Palvelimen nimi", "serverPath": "Palvelimen polku", "serverType": "Palvelimen tyypi", + "serverVersion": "Palvelimen versio", "absoluteServerPath": "Absoluuttinen polku palvelimeesi", "serverJar": "Palvelimen Jar -tiedosto", "minMem": "Minimi Muisti", diff --git a/app/translations/fr_FR.json b/app/translations/fr_FR.json index c3afbe99..dfcd746b 100644 --- a/app/translations/fr_FR.json +++ b/app/translations/fr_FR.json @@ -38,6 +38,7 @@ "serverName": "Non du Serveur", "serverPath": "Chemin du Serveur", "serverType": "Type du Serveur", + "serverVersion": "Version du Serveur", "absoluteServerPath": "Chemin absolu de Votre Serveur", "serverJar": "Fichier Jar du Serveur", "minMem": "Mémoire Minimum",