File uploading and fixes #261

Merged
bema merged 25 commits from bema/func/file_upload into master 2023-11-06 11:17:44 +01:00
4 changed files with 5 additions and 5 deletions
Showing only changes of commit 84cb8d6ca5 - Show all commits

View File

@@ -34,7 +34,7 @@ function showHeaders(headers: object, index: number){
<template> <template>
<div class="w-full xl:w-2/5 flex flex-none flex-col gap-y-4"> <div class="flex flex-1 flex-col justify-items-stretch gap-y-4">
<HistoryRecords class="xl:h-1/3 overflow-y-scroll" @click:show-headers="showHeaders" @click:show-body="showBody"></HistoryRecords> <HistoryRecords class="xl:h-1/3 overflow-y-scroll" @click:show-headers="showHeaders" @click:show-body="showBody"></HistoryRecords>
<BodyDetailComponent :content-type="currentContentType" :data="currentShownData" v-if="shownDetail == 'body' "></BodyDetailComponent> <BodyDetailComponent :content-type="currentContentType" :data="currentShownData" v-if="shownDetail == 'body' "></BodyDetailComponent>
<HeadersDetailComponent :data="currentShownData" v-if="shownDetail == 'headers' "></HeadersDetailComponent> <HeadersDetailComponent :data="currentShownData" v-if="shownDetail == 'headers' "></HeadersDetailComponent>

View File

@@ -45,8 +45,8 @@ function refreshHistory(){
</script> </script>
<template> <template>
<div> <div class="h-28 text-center text-grey-900 dark:text-white">
<table class="h-28 w-full text-center text-grey-900 dark:text-white"> <table class="w-full">
<tr> <tr>
<th>Time</th> <th>Time</th>
<th>HTTP Method</th> <th>HTTP Method</th>

View File

@@ -21,7 +21,7 @@ const props = defineProps(
<button @click="switchHiddenElement()" type="button" :class="[isActive ? 'rounded-lg' : 'rounded-lg']" class="w-full p-2 text-lg font-normal text-gray-900 transition duration-75 hover:bg-blue-100 dark:text-gray-100 dark:hover:bg-slate-600"> <button @click="switchHiddenElement()" type="button" :class="[isActive ? 'rounded-lg' : 'rounded-lg']" class="w-full p-2 text-lg font-normal text-gray-900 transition duration-75 hover:bg-blue-100 dark:text-gray-100 dark:hover:bg-slate-600">
<span class="flex-1 whitespace-nowrap">{{props.categoryName}}</span> <span class="flex-1 whitespace-nowrap">{{props.categoryName}}</span>
</button> </button>
<div class="flex flex-col w-full py-2 bg-indigo-50 dark:bg-slate-800 rounded-xl font-extralight overflow-hidden" :class="[isActive ? 'active' : 'hidden']"> <div class="flex flex-col w-full py-2 bg-indigo-50 dark:bg-slate-800 rounded-xl font-light overflow-hidden" :class="[isActive ? 'active' : 'hidden']">
<slot></slot> <slot></slot>
</div> </div>
</div> </div>

View File

@@ -17,6 +17,6 @@ const props = defineProps(
<style> <style>
.router-link-active { .router-link-active {
font-weight: 500; font-weight: 600;
} }
</style> </style>