Added styling and RWD
This commit is contained in:
@@ -31,19 +31,22 @@ function showBody(body : String){
|
||||
|
||||
|
||||
<template>
|
||||
<table class="text-white h-28 w-5/12 text-center border-l-4 border-b-2">
|
||||
<tr>
|
||||
<th>Time</th>
|
||||
<th>HTTP Method</th>
|
||||
<th>HTTP Headers</th>
|
||||
<th>Request Body</th>
|
||||
</tr>
|
||||
<tr v-for="(item , index) in historyRecords" :key="index">
|
||||
<td> {{ parseTimeStamp(item.dateTimeStamp) }} </td>
|
||||
<td> {{ item.httpMethod }} </td>
|
||||
<td> <button @click="showHeaders(item.headers);">Show Headers</button> </td>
|
||||
<td> <button @click="showBody(item.requestBody)">Show Body</button> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="w-full xl:w-5/12">
|
||||
<table class="text-white h-28 w-full text-center">
|
||||
<tr>
|
||||
<th>Time</th>
|
||||
<th>HTTP Method</th>
|
||||
<th>HTTP Headers</th>
|
||||
<th>Request Body</th>
|
||||
</tr>
|
||||
<tr v-for="(item , index) in historyRecords" :key="index">
|
||||
<td> {{ parseTimeStamp(item.dateTimeStamp) }} </td>
|
||||
<td> {{ item.httpMethod }} </td>
|
||||
<td> <button @click="showHeaders(item.headers);">Show Headers</button> </td>
|
||||
<td> <button @click="showBody(item.requestBody)">Show Body</button> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
</template>
|
||||
Reference in New Issue
Block a user