Display message id in advanced mode
This commit is contained in:
		
							
								
								
									
										29
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										29
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							| @@ -21,11 +21,8 @@ | ||||
|   <component name="ChangeListManager"> | ||||
|     <list default="true" id="458cde88-df3d-44bc-9d57-a33823e2f1a6" name="Default Changelist" comment=""> | ||||
|       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/src/main/resources/static/css/main.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/css/main.css" afterDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/src/main/resources/static/js/uianimation.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/js/uianimation.js" afterDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/src/main/resources/templates/mock.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/mock.html" afterDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/src/test/java/com/release11/klaus/controller/KlausMvcControllerTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/release11/klaus/controller/KlausMvcControllerTest.java" afterDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/src/test/java/com/release11/klaus/service/EtrackServiceImplTest.java" beforeDir="false" /> | ||||
|       <change beforePath="$PROJECT_DIR$/src/test/java/com/release11/klaus/service/KlausServiceImplTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/release11/klaus/service/KlausServiceImplTest.java" afterDir="false" /> | ||||
|     </list> | ||||
|     <option name="SHOW_DIALOG" value="false" /> | ||||
|     <option name="HIGHLIGHT_CONFLICTS" value="true" /> | ||||
| @@ -304,7 +301,7 @@ | ||||
|       <workItem from="1610986449789" duration="3336000" /> | ||||
|       <workItem from="1611052879244" duration="4081000" /> | ||||
|       <workItem from="1611059169455" duration="5146000" /> | ||||
|       <workItem from="1611126794919" duration="6159000" /> | ||||
|       <workItem from="1611126794919" duration="8797000" /> | ||||
|     </task> | ||||
|     <task id="LOCAL-00077" summary="testing jenkins docker"> | ||||
|       <created>1601453886631</created> | ||||
| @@ -700,6 +697,10 @@ | ||||
|     <option name="LAST_COMMIT_MESSAGE" value="updating docker files" /> | ||||
|   </component> | ||||
|   <component name="WindowStateProjectService"> | ||||
|     <state x="728" y="318" key="#New_Docker_Connection" timestamp="1611137360647"> | ||||
|       <screen x="0" y="0" width="1920" height="1160" /> | ||||
|     </state> | ||||
|     <state x="728" y="318" key="#New_Docker_Connection/0.0.1920.1160@0.0.1920.1160" timestamp="1611137360647" /> | ||||
|     <state x="304" y="221" width="1559" height="718" key="#Plugins" timestamp="1609858834859"> | ||||
|       <screen x="0" y="0" width="1920" height="1160" /> | ||||
|     </state> | ||||
| @@ -748,7 +749,6 @@ | ||||
|     <state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1605790889378" /> | ||||
|     <state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1602662342585" /> | ||||
|     <state x="2606" y="235" key="FileChooserDialogImpl/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501503902" /> | ||||
|     <state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824@0.0.1536.824" timestamp="1602147205037" /> | ||||
|     <state x="686" y="235" key="FileChooserDialogImpl/0.0.1920.1160@0.0.1920.1160" timestamp="1609763504572" /> | ||||
|     <state width="1493" height="380" key="GridCell.Tab.0.bottom" timestamp="1605802602593"> | ||||
|       <screen x="0" y="0" width="1536" height="824" /> | ||||
| @@ -810,15 +810,9 @@ | ||||
|     <state width="1877" height="267" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1605721684343" /> | ||||
|     <state width="1877" height="297" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1602672852817" /> | ||||
|     <state width="1493" height="252" key="GridCell.Tab.1.right/0.0.1536.824@0.0.1536.824" timestamp="1605633861934" /> | ||||
|     <state x="439" y="117" key="NewModule_or_Project.wizard" timestamp="1602062762926"> | ||||
|       <screen x="0" y="0" width="1536" height="824" /> | ||||
|     </state> | ||||
|     <state x="439" y="117" key="NewModule_or_Project.wizard/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1602062762925" /> | ||||
|     <state x="439" y="117" key="NewModule_or_Project.wizard/0.0.1536.824@0.0.1536.824" timestamp="1601971581565" /> | ||||
|     <state x="833" y="398" key="SettingsEditor" timestamp="1609777945740"> | ||||
|       <screen x="0" y="0" width="1920" height="1160" /> | ||||
|     </state> | ||||
|     <state x="277" y="57" key="SettingsEditor/0.0.1536.824@0.0.1536.824" timestamp="1601975962923" /> | ||||
|     <state x="833" y="398" key="SettingsEditor/0.0.1920.1160@0.0.1920.1160" timestamp="1609777945740" /> | ||||
|     <state x="2371" y="183" key="Vcs.Push.Dialog.v2" timestamp="1605864218215"> | ||||
|       <screen x="1920" y="0" width="1920" height="1040" /> | ||||
| @@ -827,7 +821,6 @@ | ||||
|     <state x="2371" y="183" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1605864218215" /> | ||||
|     <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494473937" /> | ||||
|     <state x="2371" y="204" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604499402409" /> | ||||
|     <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1602145235569" /> | ||||
|     <state width="968" height="528" key="XDebugger.FullValuePopup" timestamp="1605717895740"> | ||||
|       <screen x="1920" y="0" width="1920" height="1040" /> | ||||
|     </state> | ||||
| @@ -836,22 +829,20 @@ | ||||
|     <state x="2595" y="262" key="com.intellij.testIntegration.createTest.CreateTestDialog" timestamp="1604313748925"> | ||||
|       <screen x="1920" y="0" width="1920" height="1160" /> | ||||
|     </state> | ||||
|     <state x="540" y="186" key="com.intellij.testIntegration.createTest.CreateTestDialog/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1602239324911" /> | ||||
|     <state x="2595" y="235" key="com.intellij.testIntegration.createTest.CreateTestDialog/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1602255236575" /> | ||||
|     <state x="2595" y="262" key="com.intellij.testIntegration.createTest.CreateTestDialog/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604313748925" /> | ||||
|     <state x="478" y="23" width="586" height="801" key="find.popup" timestamp="1605609504178"> | ||||
|       <screen x="0" y="0" width="1536" height="824" /> | ||||
|     </state> | ||||
|     <state x="478" y="23" width="586" height="801" key="find.popup/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1605609504178" /> | ||||
|     <state x="209" y="33" key="new project wizard" timestamp="1601969134275"> | ||||
|       <screen x="0" y="0" width="1536" height="824" /> | ||||
|     </state> | ||||
|     <state x="209" y="33" key="new project wizard/0.0.1536.824@0.0.1536.824" timestamp="1601969134275" /> | ||||
|     <state x="425" y="187" key="run.anything.popup" timestamp="1605787231756"> | ||||
|       <screen x="0" y="0" width="1536" height="824" /> | ||||
|     </state> | ||||
|     <state x="425" y="187" key="run.anything.popup/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1605787231756" /> | ||||
|     <state x="2451" y="236" key="run.anything.popup/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1605716394224" /> | ||||
|     <state x="752" y="441" key="scopes" timestamp="1611136062867"> | ||||
|       <screen x="0" y="0" width="1920" height="1160" /> | ||||
|     </state> | ||||
|     <state x="752" y="441" key="scopes/0.0.1920.1160@0.0.1920.1160" timestamp="1611136062867" /> | ||||
|     <state x="539" y="204" width="840" height="955" key="search.everywhere.popup" timestamp="1609858975773"> | ||||
|       <screen x="0" y="0" width="1920" height="1160" /> | ||||
|     </state> | ||||
|   | ||||
| @@ -1,15 +1,21 @@ | ||||
| var advancedVisibility = false; | ||||
| var selectMenu = $("#selectMenuContent"); | ||||
| var advancedTab = $("#advanced"); | ||||
| var basicID = $("#basicItemData") | ||||
| var advancedID = $("#advancedItemData"); | ||||
| function changeAdvancedVisibility(){ | ||||
|     if(advancedVisibility){ | ||||
|         selectMenu.css('display', 'none'); | ||||
|         advancedTab.css('display', 'none'); | ||||
|         advancedID.css('display', 'none'); | ||||
|         basicID.css('display', 'block') | ||||
|         advancedVisibility = false; | ||||
|     } | ||||
|     else { | ||||
|         selectMenu.css('display', 'block'); | ||||
|         advancedTab.css('display', 'block'); | ||||
|         advancedID.css('display', 'block'); | ||||
|         basicID.css('display', 'none'); | ||||
|         advancedVisibility = true; | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,8 @@ | ||||
|         <div id="itemData"> | ||||
|             <form action="#" th:action="@{/mock/__${mockedMessageDto.clientUUID}__}" | ||||
|                   th:object="${mockedMessageDto}" method="post"> | ||||
|                 <div id="itemDataHead" class="articleHead">Your message</div> | ||||
|                 <div id="basicItemData" class="articleHead">Your message</div> | ||||
|                 <div id="advancedItemData" class="articleHead" style="display: none;">Message id: [[*{mockedResponseId}]]</div> | ||||
|                 <div id="link"> | ||||
|                     <p class="label">Your link</p> | ||||
|                     <div id="messageLink" class="borderStyle">http://<span id="pubhost">localhost</span>:8097/klaus/v1/get/[[${mockedMessageDto.clientUUID}]]/[[${mockedMessageDto.mockedResponseId}]]</div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user