diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js index 01b002a2..57274dea 100644 --- a/gateway/assets/script/bootstrap.js +++ b/gateway/assets/script/bootstrap.js @@ -2,7 +2,7 @@ // Copyright (c) Alex Ellis 2017. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. -var app = angular.module('faasGateway', ['ngMaterial', 'faasGateway.funcStore']); +var app = angular.module('faasGateway', ['ngMaterial', 'ngMessages', 'faasGateway.funcStore']); app.controller("home", ['$scope', '$log', '$http', '$location', '$interval', '$filter', '$mdDialog', '$mdToast', '$mdSidenav', function($scope, $log, $http, $location, $interval, $filter, $mdDialog, $mdToast, $mdSidenav) { diff --git a/gateway/assets/templates/newfunction.html b/gateway/assets/templates/newfunction.html index 659c154f..ec9dead4 100644 --- a/gateway/assets/templates/newfunction.html +++ b/gateway/assets/templates/newfunction.html @@ -28,13 +28,20 @@ Docker image name and tag to use for function i.e. functions/alpine:latest +
+
Docker image is required.
+
Name of the function - must be a valid DNS entry - + +
+
Function name is required.
+
Function name can only contain a-z, 0-9 and dashes
+
@@ -64,7 +71,7 @@ Close Dialog - + Deploy