Cleared unused listeners, and optimize uianimation code (#213)
Co-authored-by: widlam <mikolaj.widla@gmail.com> Reviewed-on: #213 Reviewed-by: Adam Bem <bema@noreply.example.com> Co-authored-by: Mikolaj Widla <widlam@noreply.example.com> Co-committed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
		| @@ -50,7 +50,7 @@ | ||||
|                     <!-- link --> | ||||
|                     <div> | ||||
|                         <label for="messageLink" class="block-display">Link</label> | ||||
|                         <div id="messageLink" class="bordered-field max-width with-padding disabled-background"><a class="hyperlink" href="www.google.com" target="_blank">www.google.com</a></div> | ||||
|                         <div id="messageLink" class="bordered-field max-width with-padding disabled-background tooltipped"><a class="hyperlink" href="www.google.com" target="_blank">www.google.com</a></div> | ||||
|                         <!-- <input id="messageLink" disabled class="bordered-field max-width with-padding" value="http://yourlink.com/r/api/mock/blablabla"> --> | ||||
|                     </div> | ||||
|                     <div class="display-space-between max-width"> | ||||
| @@ -59,7 +59,7 @@ | ||||
|                             <!-- status --> | ||||
|                             <div class="max-width  small-vertical-margin"> | ||||
|                                 <label for="httpStatus">Http Status</label> | ||||
|                                 <input id="httpStatus" type="number" class="bordered-field max-width data-field" value="200" list="httpStatusSuggestion"/> | ||||
|                                 <input id="httpStatus" type="number" class="bordered-field max-width data-field tooltipped" value="200" list="httpStatusSuggestion"/> | ||||
|                                 <datalist id="httpStatusSuggestion"> | ||||
|                                     <option value="200"> | ||||
|                                     <option value="300"> | ||||
| @@ -72,7 +72,7 @@ | ||||
|                             <!-- content type --> | ||||
|                             <div class="max-width  small-vertical-margin"> | ||||
|                                 <label for="typeSelector">Content Type</label> | ||||
|                                 <input id="typeSelector" class="bordered-field max-width data-field" type="text" value="application/xml" list="contentTypes"> | ||||
|                                 <input id="typeSelector" class="bordered-field max-width data-field tooltipped" type="text" value="application/xml" list="contentTypes"> | ||||
|                                 <datalist id="contentTypes"> | ||||
|                                     <option value="application/xml"> | ||||
|                                     <option value="application/json"> | ||||
| @@ -80,14 +80,14 @@ | ||||
|                                 </datalist> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                         <div id="btnSave" class="small-margins half-width with-padding action-button" style="background-color: white; border: 0px;"> | ||||
|                         <div id="btnSave" class="small-margins half-width with-padding action-button tooltipped" style="background-color: white; border: 0px;"> | ||||
|                             <button id="btn-save" class="small-margins half-width with-padding action-button" style="width: 100%; height: 100%;">Save</button> | ||||
|                         </div> | ||||
|                     </div> | ||||
|                     <!-- body --> | ||||
|                     <div class="small-vertical-margin"> | ||||
|                         <label for="bodyEditor">Body</label> | ||||
|                         <textarea id="bodyEditor" class="data-field bordered-field max-width with-padding height-300 vertically-resizeable"></textarea> | ||||
|                         <textarea id="bodyEditor" class="data-field bordered-field max-width with-padding height-300 vertically-resizeable tooltipped"></textarea> | ||||
|                     </div> | ||||
|                     <!-- show/hide --> | ||||
|                     <button id="optional" class="clickable-text highlight switch"><span class="toggleIndicator"></span> show/hide advanced settings</button> | ||||
| @@ -95,8 +95,8 @@ | ||||
|                     <div id="advanced" class="max-width with-padding hiddable"> | ||||
|                         <!-- tab menu --> | ||||
|                         <div class="tabmenu medium-vertical-margin"> | ||||
|                             <button id="headersTab" class="tabitem active clickable-text big-font">Headers</button> | ||||
|                             <button id="historyTab" class="tabitem clickable-text big-font">History</button> | ||||
|                             <button id="headersTab" class="tabitem active clickable-text big-font tooltipped">Headers</button> | ||||
|                             <button id="historyTab" class="tabitem clickable-text big-font tooltipped">History</button> | ||||
|                         </div> | ||||
|                         <!-- container --> | ||||
|                         <div class="medium-vertical-margin"> | ||||
| @@ -118,8 +118,8 @@ | ||||
|                                         </tr> | ||||
|                                     </tbody> | ||||
|                                     <tr> | ||||
|                                         <td><input id="headerKeyInput" placeholder="name"></td> | ||||
|                                         <td><input id="headerValueInput" placeholder="value"></td> | ||||
|                                         <td><input id="headerKeyInput" class="tooltipped" placeholder="name"></td> | ||||
|                                         <td><input id="headerValueInput" class="tooltipped" placeholder="value"></td> | ||||
|                                         <td><button id="btn-newRow" class="modification-button btn-add"><i class="icon-plus"></i></button></td> | ||||
|                                     </tr> | ||||
|                                 </table> | ||||
| @@ -170,10 +170,6 @@ | ||||
|                 </div> | ||||
|  | ||||
|                 <div class="large-vertical-margin"> | ||||
|                     <div id="messagesTip" class="tip"> | ||||
|                         <h3>Message</h3> | ||||
|                         <p>This is saved messages, with unique id.</p> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="large-vertical-margin"> | ||||
|                     <div id="httpStatusTip" class="tip"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user