diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c1ec390..434869e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -21,6 +21,7 @@ + @@ -307,7 +308,8 @@ - + + 1601453886631 diff --git a/src/main/resources/static/css/main.css b/src/main/resources/static/css/main.css index 2d69711..64f26bc 100644 --- a/src/main/resources/static/css/main.css +++ b/src/main/resources/static/css/main.css @@ -197,17 +197,13 @@ margin-bottom: 20px; } -.headerName { - height: 20px; - padding: 5px; +.tableHead { + font-size: 24px; width: 240px; - font-size: 18px; - background: #f0f0f0; - border: 1px solid lightgray; - border-radius: 5px; + padding: 5px; } -.headerField { +.tableField { height: 20px; padding: 5px; width: 240px; @@ -217,3 +213,12 @@ border-radius: 5px; } +.headerName { + background: #f0f0f0; +} + +.httpStatusValue { + +} + + diff --git a/src/main/resources/static/js/datatransfer.js b/src/main/resources/static/js/datatransfer.js index bf6a546..f20cc28 100644 --- a/src/main/resources/static/js/datatransfer.js +++ b/src/main/resources/static/js/datatransfer.js @@ -15,7 +15,7 @@ function getData(uuid){ function clearMock(){ fillStaticFields('','','',''); - $('#headerTable').html(''); + $('#httpStatusValues').html(''); } function initializeMock(index){ @@ -43,9 +43,9 @@ function createLink(uuid, id){ } function fillHeaderTable(headers){ - var innerHTML = $('#headerTable').html(); + var innerHTML = $('#httpStatusValues').html(); innerHTML += generateHeaderTable(headers); - $('#headerTable').html(innerHTML); + $('#httpStatusValues').html(innerHTML); } function generateHeaderTable(headers){ @@ -67,8 +67,10 @@ function generateHeaderTable(headers){ for(let i=0; i' + keys[i] + '' + - '' + values[i] + '' + + '' + + '' + + '' + + '' + ''; } return innerHTML; diff --git a/src/main/resources/templates/mock.html b/src/main/resources/templates/mock.html index 08bcdcf..a0f60b8 100644 --- a/src/main/resources/templates/mock.html +++ b/src/main/resources/templates/mock.html @@ -54,21 +54,22 @@
- - - -
- NameValue
- - - - - + + + + + + + + + + + + + + + +
- - - - -
HeaderValue