Refactor of History module (#184)
Co-authored-by: widlam <mikolaj.widla@gmail.com> Co-authored-by: Adam Bem <adam.bem@zoho.eu> Reviewed-on: #184 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:
@@ -9,6 +9,34 @@
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="popup-flex hiddable-container">
|
||||
<div class="popup-body" id="popup-body">
|
||||
<div class="popup-button-close-container">
|
||||
<button type="button" class="popup-button-close"> X </button>
|
||||
</div>
|
||||
<div class="popup-header-table hiddable-popup-option" id="history-headers-table">
|
||||
<table id="header-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
Header Name
|
||||
</th>
|
||||
|
||||
<th>
|
||||
Header Value
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="header-history-table-body">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="popup-request-body hiddable-popup-option" id="history-request-body">
|
||||
<pre class="code-content" id="history-request-body-content"><code id="code-highlight-content"></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="tool extended">
|
||||
<div class="tool-context">
|
||||
@@ -127,7 +155,10 @@
|
||||
<!-- history -->
|
||||
<div id="history" class="medium-vertical-margin tabcontent">
|
||||
<div class="block-display max-width">
|
||||
<button id="btn-history-filter" class="clickable-text highlight switch"><span class="toggleIndicator"></span> filter</button>
|
||||
<button id="btn-history-filter" class="clickable-text highlight switch">
|
||||
<span class="toggleIndicator"></span> filter
|
||||
<button type="button" class="refresh-button" onclick="refreshHistoryRecords();" >↻</button>
|
||||
</button>
|
||||
<div id ="history-filter" class="display-space-between max-width small-vertical-margin hiddable">
|
||||
<div class="three-fourth-width display-space-evenly">
|
||||
<div class="block-display half-width with-padding">
|
||||
@@ -149,7 +180,9 @@
|
||||
<thead>
|
||||
<tr class="bottom-border">
|
||||
<th>Timestamp</th>
|
||||
<th>Type</th>
|
||||
<th>Method</th>
|
||||
<th>Request Body</th>
|
||||
<th>Headers</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -299,5 +332,9 @@
|
||||
<script type="text/javascript" src="../assets/scripts/tools/mock/datatransfer.js"></script>
|
||||
<script type="text/javascript" src="../assets/scripts/tools/mock/historyloader.js"></script>
|
||||
<script type="text/javascript" src="../assets/scripts/tools/mock/fiddle.js"></script>
|
||||
<script type="text/javascript" src="../assets/scripts/tools/mock/popup.js"></script>
|
||||
<script type="text/javascript" src="../assets/scripts/tools/xmlFormatter.js"></script>
|
||||
<script type="text/javascript" src="../assets/scripts/tools/highlight.js"></script>
|
||||
<script type="text/javascript" src="../assets/scripts/common/hljs.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user