From 2a64a101536e221bcec897fca78b933c0d697e33 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Tue, 25 Apr 2017 21:45:36 +0200 Subject: [PATCH] Support ips array as replacement of ip variable * Replaced type 'array' with type 'list' (which is a comma seperated list) * Created type 'array' which is really an array * Removed 'ip' field and replaced it by 'ips' array field --- app/assets/views/builder/index.html | 26 ++++++++++++++++---------- app/js/controllers.js | 15 +++++++++++++-- app/js/models.js | 15 ++++++--------- 3 files changed, 35 insertions(+), 21 deletions(-) diff --git a/app/assets/views/builder/index.html b/app/assets/views/builder/index.html index f80fad8..e6334d4 100644 --- a/app/assets/views/builder/index.html +++ b/app/assets/views/builder/index.html @@ -196,18 +196,18 @@ - - + - + - - +
ipnetmaskips gatewaytag
{{nic.ip}}{{nic.netmask}} +
{{ip}}
+
{{nic.gateway}} admin @@ -249,15 +249,21 @@

nic settings