From cc607be3dd2b5454e41bc30a54473a559d7ec96a Mon Sep 17 00:00:00 2001 From: modzeleg Date: Mon, 18 Jan 2021 14:43:15 +0100 Subject: [PATCH] Removed ribbon UI reference --- .idea/workspace.xml | 7 +- src/main/resources/static/js/paggination.js | 6 +- src/main/resources/templates/index.html | 114 +++++++------------- 3 files changed, 49 insertions(+), 78 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ac28277..ce63c29 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -21,7 +21,8 @@ - + + @@ -296,7 +297,7 @@ - + 1601453886631 diff --git a/src/main/resources/static/js/paggination.js b/src/main/resources/static/js/paggination.js index 32f81e9..b08c1c7 100644 --- a/src/main/resources/static/js/paggination.js +++ b/src/main/resources/static/js/paggination.js @@ -1,3 +1,6 @@ +var pubhost = location.hostname; +document.getElementById("pubhost").innerHTML = location.hostname; + var state = { 'querySet': [{ "clientUUID": "436c4774-038f-4540-9c18-2691ca9b53d4", @@ -17,8 +20,7 @@ var myList, data, previousSort; state.querySet = listForPagination; buildTable(); -var pubhost = location.hostname; -document.getElementById("pubhost").innerHTML = location.hostname; + document.querySelector('#btn-list-1').addEventListener('click', function() { var x = document.getElementById("list-wrapper"); diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 03c838f..aa43a22 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,39 +1,35 @@ - - - R11 Tools: Mock - - - - - - - -
-
- -
- -
+ + + R11 Tools: Mock + + + + + + +
+

With this tool you can create mockups for http requests and use them for integration tests of - your system.

+ your system. +


You can test the mocked message using the url default values from the form will be used.

- http://:8097/klaus/v1/get/[[${mockedMessageDto.clientUUID}]]/[[${mockedMessageDto.mockedResponseId}]] + + http://localhost:8097/klaus/v1/get/[[${mockedMessageDto.clientUUID}]]/[[${mockedMessageDto.mockedResponseId}]]

Use this link to get your message.


- - - -

In order to change mockup response settings please fill the form below and save.


+

In order to change mockup response settings please fill the form below and save.

+
@@ -50,13 +46,11 @@ - - + - + + Status codes are issued by a server in response to a client's request made to the server. + + @@ -82,21 +76,21 @@ - + + disabled="disabled"/> + +
-
Mocked response body: Body Error
Mocked response http code status: HttpStatus Error

Header name Header value
- - + + +
Mocked response id: Id Error @@ -157,11 +152,11 @@
-
-
- - - - - - - - + + \ No newline at end of file