diff --git a/.dockerignore b/.dockerignore index 4be88527..d4e0e5b6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ +node_modules coverage uploads mocks diff --git a/package.json b/package.json index d24de967..fabce48b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "passport-ldapauth": "^2.0.0", "passport-local": "^1.0.0", "passport-local-mongoose": "^5.0.0", - "pm2": "^3.1.2", + "pm2": "3.1.2", "pretty-data": "^0.40.0", "request": "^2.88.0", "soap": "^0.24.0", diff --git a/public/js/app/controllers.js b/public/js/app/controllers.js index e78132f6..71be8657 100644 --- a/public/js/app/controllers.js +++ b/public/js/app/controllers.js @@ -327,6 +327,14 @@ var ctrl = angular.module("mockapp.controllers",['mockapp.services','ngFileSaver $('#failure-modal').modal('toggle'); }); }; + + $scope.totalDisplayed = 10; + + $scope.loadMore = function () { + $scope.totalDisplayed += 10; + }; + + }]) diff --git a/public/partials/addapiform.html b/public/partials/addapiform.html index 30caacbd..614d98f7 100644 --- a/public/partials/addapiform.html +++ b/public/partials/addapiform.html @@ -1,5 +1,5 @@

Mock a REST or SOAP Service

-
+
diff --git a/public/partials/spec.html b/public/partials/spec.html index 75ab1272..fa6dcbed 100644 --- a/public/partials/spec.html +++ b/public/partials/spec.html @@ -1,6 +1,6 @@

Mock from WSDL or OpenAPI

- +
diff --git a/public/partials/templateForm.html b/public/partials/templateForm.html index 93d69853..9a200001 100644 --- a/public/partials/templateForm.html +++ b/public/partials/templateForm.html @@ -3,7 +3,7 @@

Import Mock Service


Please import a virtual service in JSON format. You may use the JSON document that Mockiato creates with it's export function or create one from scratch in this format.


- +
Import Template diff --git a/public/partials/updateForm.html b/public/partials/updateForm.html index bc465b1b..be0ec32a 100644 --- a/public/partials/updateForm.html +++ b/public/partials/updateForm.html @@ -1,5 +1,5 @@

Update Mock Service

- +
@@ -54,229 +54,236 @@

Update Mock Service

-
- - -
-
-
-
-

Request / Response Pair

-
- -
- -
+
-
- -
-
- -
- -
-
- - - - + +
+
+
+
+

Request / Response Pair

-
-
-
- -
-
- +
+
-
-
- -
- -
-
-
-
- -
- -
- -
- -
- -
-
- -
-
-
+
+ +
-
-
- +
+
+
-
- -
-
-
-
-
+
+ +
+
+ +
+
+
+ +
+ +
+
+
+
+
-
-
- -
+
+ +
-
- -
+
+ +
-
- +
+ +
+
+
+
+ +
+ +
+
+ + +
-
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
-
-
- -
- +
+ +
+ +
-
-
- -
-
+
+ +
+
+
-
-
- -
-
-
-
-
+
+ +
+
+
+
+
+
-
-
- -
+
+ +
-
- -
+
+ +
-
- +
+ +
-
-
+ +
-
-
- -
- +
+ +
+ +
+ + +
+
+ + Show more pairs +
-