|
100 | 100 | </nav>
|
101 | 101 | <div id="app" v-cloak class="w-full flex lg:pt-10">
|
102 | 102 | <aside class="text-sm ml-1.5 text-grey-darkest break-all bg-gray-200 pl-2 h-screen sticky top-1 overflow-auto">
|
| 103 | + <section class="pt-5 pl-2 pr-2 pb-5 border mb-10 rounded bg-white shadow"> |
| 104 | + <div class="font-sans"> |
| 105 | + <h2 class="text-sm break-normal text-black break-normal font-sans pb-1 pt-1 text-black"> |
| 106 | + Filter |
| 107 | + </h2> |
| 108 | + <p class="text-xs pb-2 font-medium text-gray-500">Hide non matching</code></p> |
| 109 | + <input type="text" v-model="filterTerm" @input="filterDocs" class="w-full p-2 border-2 border-gray-300 rounded" placeholder="/api/search"> |
| 110 | + </div> |
| 111 | + </section> |
| 112 | + <section class="pt-5 pl-2 pr-2 pb-5 border mb-10 rounded bg-white shadow"> |
| 113 | + <div class="font-sans"> |
| 114 | + <h2 class="text-sm break-normal text-black break-normal font-sans pb-1 pt-1 text-black"> |
| 115 | + Edit Request Headers |
| 116 | + </h2> |
| 117 | + <p class="text-xs pb-2 font-medium text-gray-500">Default headers sent on every request. Format <code>Key:Value</code></p> |
| 118 | + <prism-editor |
| 119 | + class="my-prism-editor" |
| 120 | + style="max-width:100%;min-height:100px;background:#2d2d2d;color: #ccc;resize:both" v-model="requestHeaders" :highlight="highlighter" line-numbers></prism-editor> |
| 121 | + </div> |
| 122 | + </section> |
103 | 123 | <h1 class="font-medium mx-3 mt-3" style="width: max-content;min-width:350px;">Routes List</h1>
|
104 | 124 | <hr class="border-b border-gray-300">
|
105 | 125 | <table class="table-fixed text-sm mt-5" style="width: max-content">
|
@@ -153,36 +173,6 @@ class="inline-flex text-xs"
|
153 | 173 | </aside>
|
154 | 174 | <br><br>
|
155 | 175 | <div class="ml-6 mr-6 pl-2 w-2/3 p-2" style="width: 100%">
|
156 |
| - <h1 class="pl-2 pr-2 break-normal text-black break-normal font-sans text-black font-medium"> |
157 |
| - Search・Sort settings |
158 |
| - </h1> |
159 |
| - <hr class="border-b border-gray-300"> |
160 |
| - <br> |
161 |
| - <section class="pt-5 pl-2 pr-2 pb-5 border mb-10 rounded bg-white shadow"> |
162 |
| - <div class="font-sans"> |
163 |
| - <h2 class="text-sm break-normal text-black break-normal font-sans pb-1 pt-1 text-black"> |
164 |
| - Filter |
165 |
| - </h2> |
166 |
| - <p class="text-xs pb-2 font-medium text-gray-500">Hide non matching</code></p> |
167 |
| - <input type="text" v-model="filterTerm" @input="filterDocs" class="w-full p-2 border-2 border-gray-300 rounded" placeholder="/api/search"> |
168 |
| - </div> |
169 |
| - </section> |
170 |
| - <h1 class="pl-2 pr-2 break-normal text-black break-normal font-sans text-black font-medium"> |
171 |
| - Request Settings (editable) |
172 |
| - </h1> |
173 |
| - <hr class="border-b border-gray-300"> |
174 |
| - <br> |
175 |
| - <section class="pt-5 pl-2 pr-2 pb-5 border mb-10 rounded bg-white shadow"> |
176 |
| - <div class="font-sans"> |
177 |
| - <h2 class="text-sm break-normal text-black break-normal font-sans pb-1 pt-1 text-black"> |
178 |
| - Append Request Headers |
179 |
| - </h2> |
180 |
| - <p class="text-xs pb-2 font-medium text-gray-500">Default headers sent on every request. Format <code>Key:Value</code></p> |
181 |
| - <prism-editor |
182 |
| - class="my-prism-editor" |
183 |
| - style="min-height:100px;background:#2d2d2d;color: #ccc;resize:both" v-model="requestHeaders" :highlight="highlighter" line-numbers></prism-editor> |
184 |
| - </div> |
185 |
| - </section> |
186 | 176 | <h1 class="pl-2 pr-2 break-normal text-black break-normal font-sans text-black font-medium">
|
187 | 177 | Routes List
|
188 | 178 | </h1>
|
|
0 commit comments