Simplified formatter
This commit is contained in:
		| @@ -330,6 +330,10 @@ | ||||
|     height: 300px; | ||||
| } | ||||
|  | ||||
| .textarea-800 { | ||||
|     height: 800px; | ||||
| } | ||||
|  | ||||
| .centered-content { | ||||
|     display: flex; | ||||
|     justify-content: center; | ||||
|   | ||||
| @@ -24,20 +24,15 @@ | ||||
|  | ||||
|                 <label for="xmlArea"><b>Insert your XML:</b></label> | ||||
|                 <textarea id="xmlArea" name="xmlArea" rows="15" | ||||
|                     class="textarea-300 bordered-field vertically-resizeable max-width" | ||||
|                     class="textarea-800 bordered-field vertically-resizeable max-width" | ||||
|                     onblur="setDefaultContent(this, 'Insert XML here');" | ||||
|                     onfocus="clearDefaultContent(this, 'Insert XML here');"></textarea> | ||||
|                 <br><br> | ||||
|                 <button id="requestButton" class="max-width block-label action-button active" | ||||
|                     onclick="performFormatRequest('prettifypost', true, 'xmlArea', 'resultArea')">Prettify XML</button> | ||||
|                     onclick="performFormatRequest('prettifypost', true, 'xmlArea', 'xmlArea')">Prettify XML</button> | ||||
|                 <button id="requestButton" class="max-width block-label action-button active" | ||||
|                     onclick="performFormatRequest('minimizepost', true, 'xmlArea', 'resultArea')">Minimize XML</button> | ||||
|                 <br><br> | ||||
|  | ||||
|                 <label for="resultArea"><b>Result:<span id="procinfo"></span></b></label> | ||||
|                 <textarea id="resultArea" name="resultArea" rows="2" | ||||
|                     class="bordered-field textarea-300 vert2ically-resizeable max-width" style="margin-bottom: 50px;"></textarea> | ||||
|  | ||||
|                     onclick="performFormatRequest('minimizepost', true, 'xmlArea', 'xmlArea')">Minimize XML</button> | ||||
|                  | ||||
|             </div> | ||||
|         </div> | ||||
|         <div class="tooltip-window rwd-hideable"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user